Releases: coala/coala-bears
coala-bears 0.11.0 - BrewBear
This release has been brought to you by 30 contributors contributing
over 101 commits.
New Bears
CSS:
StyleLintBear- Lints css files using stylelint
Elm:
ElmLintBear- Formats source code according to given set of rules.
Generic:
LicenseCheckBear- Checks given files for license. Searches start
or end of files for lines belonging to various licenses.DuplicateFileBear- Checks for duplicate files.
Enhancements:
FilenameBearcan now recognize kebab-case naming convention.FilenameBearcan predict naming conventions for wide-spread
languages like java, javascript and python. Set the
file_naming_conventiontoautoto use this feature.GitCommitBearcan now enforce issue reference in commits.GitCommitBearnow recognizesuser/repo#12type issue references.JSONFormatBearnotifies if run on empty files.JSONFormatBeartells the lines and columns at which the error
occured instead of showing it in the error message.
New settings
LineCountBearcan now exclude blank lines in counting the number
of lines in a file. The new setting name isexclude_blank_lines
and it is disabled by default i.e.False.PyUnusedCodeBearcan remove unused variables, see setting
remove_unused_variable.ShellCheckBearcan ignore specific rules by providing those in the
ignore_actionssetting.YAMLLintBearcan now be configured to check for maximum characters
in a line, by default it is set to 80.
Default Setting Modifications
LanguageToolBear-languagesetting is changed to
natural_language, please update your settings, it'll be deprecated
completely in next release.MarkdownBear-max_line_lengthsetting is changed toNone
instead of 80. Issue 1581YAMLLintBear-document_startsetting is changed toNone, not
forbiding the usage of document start marker(---) by default. Issue 1417
Bug Fixes
InvalidLinkBearnow extracts links from markdown correctly. Issue 1338InvalidLinkBearnow extracts all the links in a line. Earlier it
used to extract only the first match.PyCodeStyleBearnow uses user settings along with default
settings. Earlier it used to ignore default settings if user changed
one of them.PyImportSortBearnow correctly supports option
known_third_party_imports. Issue 1510KeywordBeardoesn't report false results when unsetting it.
Previously, it used to match any text instead of matching nothing.
Issue 1689
coala-bears 0.10.1
Bugfixes:
- Remark dependency has been pinned back to ~5.4 because version 6 changes
current behavior and breaks tests. This is a hotfix which will be rolled
back when the upstream addresses this.
coala-bears 0.10.0 - PolarBear
This release, we had 97 commits contributed by 42 contributors.
The coala website has been updated to a new, more modern design. You can now find a quick overview of bears and their settings at http://coala.io/#!/languages. We also have sample a bear output on the front page for some common languages.
Separation of bear dependencies from the coala_bears package is planned. This release will keep the same behavior as previous releases. However to keep current installation behavior in the future, please use the pip package index option [alldeps] as in pip3 install coala_bears[alldeps].
Here are the important changes and additions. This release tracks coala 0.10. Please see the coala release notes for the improvements in this version.
New Bears
Haskell:
GhcModBear- Checks your Haskell code for syntax errors.
Python:
PyFlakesBear- Checks for errors by parsing, making it safe for modules with side effects.PyromaBear- Checks how well your code conforms to the python packaging system (pip, distribute, etc).PythonPackageInitBear- Checks that modules have an__init__.pyin their directories.
Others:
DennisBear- ChecksPOandPOTfiles for problems.
Bears With New Settings
You can look up the new settings at http://coala.io/#!/languages.
GitCommitBearInvalidLinkBearMarkdownBear
Deprecated Settings
InvalidLinkBear-timeoutsetting has been deprecated. Usenetwork_timeoutinstead.
Enhancements
InvalidLinkBearallows per website timeouts. To use, setnetwork_timeoutto a dictionary with website URL and timeout.InvalidLinkBearallow multiple URL ignores inlinks_to_ignoresetting by setting it to a string of comma delimited URLs.InvalidLinkBearnow parses version control system URLs.CSVLintBearnow outputs the affected line.XMLBearnow uses severity that matches the underlying linter.
Bugfixes
coala\_bearspackage will refuse to install on unsupported python versions. Issue 3310InvalidLinkBearnow analyses all links in a file. Previously, it would
only check the first one. Issue 1296InvalidLinkBearnow parses markdown links properly. Issue 1338KeywordBearproposes keyword removal patches for all keywords now. Previously, it would only generate a patch for the first keyword. Issue 1274KeywordBearnow outputs the appropriate message if it is run on an unsupported language. Previously, it would throw an unhandled exception. Issue 1256YAPFBearDefault settings now match upstream defaults properly. Issue 3241- The dependencies of the following bears were bumped due to upstream bugfixes:
PycodestyleBear
coala-bears 0.9.2
- A dependency problem in
RadonBearcausing install failure has been fixed
Issue #1228 - coala dependency has been fixed to only allow coala versions 0.9.x with
0.9 series bears
Pull #1243 InvalidLinkBeardefault timeout has been increased to 15 seconds from 2
because it was creating false positives
Issue #1219
coala-bears 0.9.1
This bugfix release fixes the following issues:
TailorBearwas not distributed correctly.
(#1048)
coala 0.9.0 - GlobalBear
This release, we had 40 different contributors, pushing almost 200 commits.
To get a quick overview over the current state of all bears, check out
https://coala.io/languages. We added a number of asciinemas so you can see
them in action right away.
Here are the important changes and additions, of course coala was upgraded to
0.9 so you can enjoy all it's new features and bugfixes:
New Bears:
Language Independent:
QuotesBear- Checks and corrects your quoting style for any language!SpellCheckBear- Checks for english spelling mistakes in any source code.
Python:
MypyBear- Checks Python code for typing using Mypy!BanditBear- Checks Python code for security issues.PEP8NotebookBear- Autocorrects formatting for Python code in Jupyter
Notebooks.PySafetyBear- Checks for known security vulnerabilities of your Python
requirements.PinRequirementsBear- Checks if Python requirements are pinned precisely.PycodestyleBear- Checks Python coding style with better error messages
and reliability thanPEP8Bear, however without automatic correction.
Others:
PHPCodeSnifferBear- Ensures that your PHP, JavaScript or CSS code remains
clean and consistent.Jinja2Bear- Detects and fixes formatting issues in Jinja2 templates.RSTcheckBear- Checks reStructuredText for formatting and syntax.PuppetLintBear- Checks and autocorrects puppet configuration files.CSVLintBear- Checks syntax of CSV files.
Bears with New Settings:
You can look up the new settings at https://coala.io/languages.
InvalidLinkBearGitCommitBearYapfBearSCSSLintBear
Deleted Settings:
CSecurityBeardoes not accept aneverignoresetting anymore. Those kinds
of issues are and should be consistently handled by coala.
Deprecated Settings:
- The
ignore_regexsetting fromInvalidLinkBearwas deprecated in favour of
link_ignore_regexfor more clarity in coafiles. KeywordBearaccepts only onekeywordsargument. Theci_keywordsand
cs_keywordsarguments have been deprecated.JSHintBearprovides anes_versionargument that implies the
use_es6_syntaxargument. The latter has been deprecated in favour of the
former.JSHintBearprovides a more flexiblejavascript_strictnessargument
instead of theallow_global_strictwhich has been deprecated.RuboCopBearusesnaming_conventioninstead ofname_casenow.
Other Bear Enhancements:
- The
coala-bearspackage does no longer require Java upon installation. VultureBearpicks up global dependencies.ESLintBearshows errors asWARNINGin coala. This simplifies debugging
bad ESLint configurations.KeywordBearcan now automatically remove TODO comments for any language
coala hasLanguagedefinitions for.FilenameBearsupports thespacecaseconvention.KeywordBearchecks fortodoandfixmeby default.GitCommitBearhas improved result messages.YAMLLintBeardoes not check fordocument-startby default. This was not
a commonly chosen setting.YapfBearwill pass files in-memory to save precious IO time.
Major API Changes:
- The bears testing modules were moved to the coalib and are deprecated.
Bug Fixes:
AnnotationBearyields aHiddenResultwith an error message instead of
raising an exception, when the desired language is not available.AnnotationBearyields correct results for escaped strings.
(#993)AnnotationBearyields correct results for rare corner cases of multiline
strings. (#1006)- An issue where
LatexLintBearcrashed has been resolved.
(#317) InvalidLinkBearparses links within backticks properly. It also ignores
links with placeholders like%sand others.InvalidLinkBearignores FTP links.
(#906)DartLintBearemits an error when it cannot satisfy given settings.
(#897)CheckstyleBearemits an error when it cannot satisfy given settings.
(#898)CheckstyleBear: preset configurationsgoogleandsunare no longer
downloaded. (#1034)YAMLLintBearpicks up the configuration properly.
(#979)JavaPMDBearworks correctly on Mac now.
(#998)- The dependencies of the following bears were bumped due to upstream
bugfixes:AlexBearCPPCleanBearESLintBearMarkdownBearProseLintBearYapfBear
Internal Changes:
- All bears use the new
linterAPI now.
coala-bears 0.8.3
coala-bears 0.8.2
This bugfix release fixes the following issues:
- YapfBear handles empty files correctly now.
(#739) - JSComplexityBear shows errors on invalid syntax correctly
(#729) - Cases where RadonBear failed to raise an issue have been solved
(#609)
coala-bears 0.8.1
This bugfix release fixes two issues:
- A dependency issue due to a newly released version of one of coala's
dependencies. - YapfBear's unstable syntax verification has been disabled.
(#738)
0.8.0 - grizzly
coala-bears 0.8.0
For this release, we have had 19 contributors from around the world
contributing 176 commits to just coala-bears in the past 9 weeks.
Here are the important changes and additions:
New Bears
CSecurityBear- Lints C/C++ files and identifies possible security
issues. [CSecurityBear documentation]HappinessLintBear- Checks JavaScript files for semantic and syntax
errors usinghappiness. [HappinessLintBear documentation].WriteGoodLintBear- Lints the text files usingwrite-goodto
improve proses. [WriteGoodLintBear documentation]coalaBear- Checks for the correct spelling and casing ofcoala
in the text files. [coalaBear documentation].VultureBear- Checks Python code for unused variables and functions
usingvulture. [VultureBear documentation]YapfBear- Checks and corrects the formatting of Python code using
yapfutility. [YapfBear documentation]
Major API Changes
- Settings unification - most bears have seen API changes. Settings' names
are now consistent across bears. This supports backwards
compatibility, however (but with a deprecation notice). You can find the
whole list here.
New Features
- Bear upload tool - this is a part of the complete decentralization of
bears. With this tool, bears are uploaded as individual packages to PyPI
and just the necessary bears (and their dependencies) can be installed. - Also as a part of the decentralization process, several bears now have
theREQUIREMENTSattribute. This is one of the requirement objects
supporting various package managers such asapt-get,dnf,
yum,pip,npm,gem, and so on. To learn more, please
see thecoala0.8.0 release changelog. - Several bears now support the
ASCIINEMA_URLattribute. This contains
an URL to an asciinema video displaying the bear's working.
Bug Fixes
- An issue in
FilenameBearinvolving files with fully capitalized names
has been resolved. Pull #687 - Various corner cases with
InvalidLinkBearinvolving some false positives
and false negatives have been fixed.
Issue #691
Documentation
- A complete overhaul of the README page with a special emphasis on design
and user-friendliness.
Regressions
- Python 3.3 support was dropped.
0.7.0 - baloo
For this release, 17 contributors have contributed about 200 commits to
coala-bears only.
We are bumping the version number to 0.7.0 to keep it in sync with the
coala releases.
New bears:
VerilogLintBear(Lints verilog code)AnnotationBear(Annotates source code language independent for
further processing)TailorBear(Checks Swift code for style compliance)CPPCheckBear(Checks C/C++ code for security issues)RAMLLintBear(Checks style of RAML documents)GoErrCheckBear(Finds unchecked Go function calls)RubySmellBear(Finds code smells in Ruby)FilenameBear(Checks and corrects file naming conventions)IndentationBear(An experimental indentation checker and fixer
with a language independent algorithm.)
New features:
- Numerous documentation improvements.
- GitCommitBear:
- The WIP check yields a
NormalResult now.
- The WIP check yields a
- InvalidLinkBear:
- Numerous false positive fixes.
- An ignore regex can now be passed.
- RuboCopBear:
- About 30 new configuration options were added.
- GNUIndentBear:
- 15 new configuration options were added.
- FormatRBear:
- 6 new configuration options were added.
Bugfixes:
- CPDBear:
- A case where results with an invalid line reference were
yielded was fixed.
- A case where results with an invalid line reference were
- CheckstyleBear:
- In some cases results were not correctly parsed. This
was fixed.
- In some cases results were not correctly parsed. This
Internal changes:
- Almost all bears use the new
linternow instead ofLint.