coala v0.10.0 Release Notes
Release Date: 2017-02-05 // over 7 years ago-
`++- -o+` -oo: :yhho ohhy: :oo. :hhhoohhh+ +hhhoohhy: ``.--shhhhhy: /yhhhhho--..` +hhhhhhhhhhh+ ohhhhhhhhhhh/ `/+/////+hhhh/ +hhhy+///////` -yhhhs hshhhy- .os/ hhhhy- -yhhhh +ss. .yhho shhho``ohhhs `ohhy` -yhhs` +hhhsshhh+ `shhy- .::shhhs++/+yhy////shhhhhhs////yhy++++yhhho::- /hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh/ -::shhhs++++yhy////shhhhhhs +shhhs::. -yhhs` +hhhsshhh+ `shhy- .yhho` shhho``ohhhs ohhy. .ss+ hhhhy -yhhhh /so. -yhhhs shhhy- `///////+yhhh+ /hhhh+/////+/` /hhhhhhhhhhho +hhhhhhhhhhh+ `..--ohhhhhy/ :yhhhhhs--.`` :hhhoohhh+ +hhhoohhh: -oo: :yhho ohhy: :oo- `+o- -++`
๐ For this release we had 168 commits contributed by 66 unique contributors
over 2.5 months.๐ The name of this release is PolarBear to reflect changes we have made to our
๐ release process. We have implemented a release freeze before all releases
โ to serve as a testing period for all staged changes. This should also help
๐ us keep releases on schedule.๐ This release is an enhancement release which brings the usual slew of
๐ improvements to documentation and API. We have started preparing the codebase
for the big changes that are outlined in the cEPs like section inheritance
and the next generation core.Known Bugs
- Results are cached even if a bear does not run. This can lead to empty
results where there should be errors. To temporarily deal with this
โ run coala with the--flush-cache
option
General
- โ
Test cases have been improved across the board so they catch more errors
before production. - ๐ฒ Log output via json has been added which is accessible by using the
๐ฒ--log-json
option. - coala domain has been changed from
coala-analyzer.org
tocoala.io
.
Please file a bug if you find any broken links or instances of the old url.
Usability
- ๐ emacs has been added to list of editors that coala supports.
- โ coala will now output a warning if you specify an editor that is not known.
- ๐ The
noqa
keyword used by other linters as an ignore keyword is now
๐ supported as a coala ignore keyword. - โก๏ธ
libclang-py3
update to 3.4 is known to cause problems for some users. Please
uninstall and reinstall it if coala tells you there is a version mismatch
inlibclang-py3
. - ๐
C#
now has proper language support and should work with AnnotationBear
๐ง and all other bears which require language configuration.
๐ Deprecations
- ๐
change_line
method inDiff.py
has been deprecated and has been
โฑ scheduled for removal. - ๐
format_str
setting has been completely removed after being deprecated
๐ last release. Useformat
instead to specify a formatting string.
Developers
- โ Travis has been enabled for developers to test their changes on their own CI.
- Bears will now check for prerequisites using specified requirements
before running. Either overridecheck_prequisites
in the bear or write
a new requirement class if you wish to have a custom check. - When a language is not known by coala, an
Unknown
language will be
๐ used. - ๐
@linter
decorator now warns when using unsupported or anonymous capture
groups. - ๐ New
dependency_management
package has been created to contain package
manager and dependency classes used by coala. All of the old*Requirement
๐ classes have been moved here. Some new dependencies classes are
CabalRequirement
andMavenRequirement
. Developers should add
๐ requirement classes there now for the requirement types they wish to support. - ๐ฆ
DistributionRequirement
can now check if a package is installed in many
๐ง popular linux distros. - Diffs are able to add a single line using the
add_line
method now. Language
class ignores leading and trailing spaces in language lookups.Language
class should auto-complete when using languages that have
been defined.
๐ Docs
- A Code of Conduct has been added. This will guide conflict resolution if the
need ever arises. - ๐ API docs are now part of the coala repository.
- ๐ Developer contribution documentation has received a major update
๐ Bugfixes
- ๐ Fixed an issue where using linter bears on windows had thrown an exception.
Issue 3323 - ๐ coala
-c
(config file) option properly supports specifying directories.
๐ป Previously it has thrown an exception.
Issue 3221 - ๐ Documentation status github badge has been fixed.
- Console interaction uses a unicode dot to represent spaces instead of the
๐ bullet for better cross platform rendering.
Issue 2751 - ๐ป
Language
class raises proper exception to fixhasattr
behavior.
Issue 3160 - ๐ Ignore statements in multi-line comments should be supported properly now.
Issue 3441
- Results are cached even if a bear does not run. This can lead to empty