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MMMdhdMMMMMMMMMMM/` `dMMMMMMMMM+ :oso/` oMMMMMMMM: :NMMMN. :dMMMMMMMMM+ :MMMMMMMMMMmo:` .:smMMMMMMMNo .yNMMh: .mMMMMMMMMd hMMMMMMMMMMMMMMMMMMMMMMMMMMd. `` .:////++: oNMMMMMMMMMMMMMMMMMMMMMMd+` -+syhhdmmmNNNNNmdhss/.
๐ This release was brought to you by 65 contributors contributing 141
commits.๐ The name of this release is BrewBear to highlight the improvements made
to our dependency management system, including the addition ofbrew
๐ support for mac users. Mac has been an officially supported platform for
a long time and we would like to draw attention to this often overlooked
๐ fact. Support has also been added forconda
andcargo
allowing bears
๐ which use linters available from those package managers to manage their
dependencies.๐ Initial next generation core code has been merged and will be integrated
๐ over the coming releases. Until then, please use the current API.๐ We have added a release candidate system to our release process to allow
๐ users to easily test changes in the latest pre-release version of coala.
๐ฆ Instructions for obtaining the rc package will be posted for each
๐ minor/major release to the coala gitter channel, blog, and twitter. We
encourage all users interested in checking out new features or helping
๐ to test these pre-releases on their projects. If you do find a
๐ regression in a release candidate, please report it to the issue tracker
with the wordRegression
somewhere in the title.๐ฅ Breaking Changes
- coala now exits with a non zero exit code when error level results
๐ฒ are logged. If you relied on coala logging in scripts or other
automated systems please modify them to work with the new behavior.
โ You can find all exit codes here.
PR #3905
General
- ๐ Section Inheritance had been added to the coafile parsing. With this
๐ change we are deprecating implicitdefault
section inheritance.
Instead, you can now have definite section inheritance by using the
๐.
in the section title. Append operators are now supported
๐ allowing addition of values to inherited section. See the
Explicit Setting Inheritance
section of the
โ docs
for a syntax example and detailed instructions - The section name
cli
is reserved for cli arguments and should not
๐ง be used in the coala configuration file (coafile
). If you are
๐ง currently using it in a configuration file, coala will warn you. - coala now outputs absolute file paths when a bear fails. This should
๐ make debugging bear failures easier when using custom bears.
Usability
- A new placeholder,
source_lines
, has been added to the coala
--format
option. Use it to output the affected lines in the source
file when a result occurs. - Bears are displayed alphabetically when listed using
--show-bears
. - โ coala outputs a warning if a setting is overridden in the same
section since this is probably not what the user intended. --format
is handled correctly when--ci
is specified, outputting
formatted output without asking questions. Issue#3999- coala will report the version of the dependency required when the
๐ version check fails. Issue#3982
Bear Developers
- ๐
@linter
decorator works with global bears. See our bear writing
๐ docs
for more information on how to write a global bear with the
๐@linter
decorator. Bear.DownloadCachedFile
raises exceptions when the download fails.
๐ Please see the requests library
๐ docs
for a complete list of possible exceptions that will need to be
๐ handled.- ๐ The
deprecate_settings
decorator now supports multiple
๐ deprecations of the same setting. Issue #3537 - ๐ A new
SEE_MORE
attribute has been added to theBear
class. Use
it to attribute (usually by linking the main page) the original tool
๐ in linter bears. - ๐ Unified Diff support has been added to the
Diff
result, linter and
display mechanisms.
๐ Bugfixes
- ๐ Caching has been fixed to work correctly. Results are only cached
when a bear successfully runs. A bear which fails in the middle of a
โ run will not have a result cached anymore. This should make flushing
the cache manually mostly unnecessary for end users. PR#3722 - Non-optional settings check settings from dependent bears now.
Previously, it would error because the dependency would not have its
settings satisfied. Issue#3149 - The
Result
object now handlesNone
values of TextPosition
properly. Previously, it would return arbitrary results which would
impact bear authors. Issue#3094 - A few problems when using coala in systems with incomplete locales
๐ณ data have been fixed. This was common in Docker containers. Issue#3906
- coala now exits with a non zero exit code when error level results
Previous changes from v0.11.0.rc2
-
- ๐ Fixed critical section inheritance bug where sections with different capitalization would not inherit. Issue #4182