From 6f4533fb44202d7631b181b03194e387fc0a66e4 Mon Sep 17 00:00:00 2001 From: Brujo Benavides Date: Mon, 23 Nov 2020 09:46:17 +0100 Subject: [PATCH] Bump Version to 1.0.0 --- CHANGELOG.md | 69 +++++++++++++++++++++++++++++++++++++++++++++++++--- rebar.config | 6 +++-- rebar.lock | 12 ++++----- 3 files changed, 76 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34a497d..6d25150 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1,79 @@ # Changelog -## [0.5.0](https://github.com/inaka/elvis/tree/0.5.0) +## [1.0.0](https://github.com/inaka/elvis/tree/1.0.0) (2020-11-23) + +[Full Changelog](https://github.com/inaka/elvis/compare/0.5.0...1.0.0) + +**Implemented enhancements:** + +- Add a -elvis attribute [\#529](https://github.com/inaka/elvis/issues/529) +- Add ignore option for all existing rules [\#507](https://github.com/inaka/elvis/issues/507) +- \[Q\] Ignore existing issues, without ignoring whole modules. [\#497](https://github.com/inaka/elvis/issues/497) +- Try to implement more M:F/A ignore rules [\#488](https://github.com/inaka/elvis/issues/488) + +**Fixed bugs:** + +- Prevent hackney compilation warnings on OTP 23 [\#544](https://github.com/inaka/elvis/issues/544) +- The way globs in elvis.config are interpreted generates duplicated analysis of files [\#508](https://github.com/inaka/elvis/issues/508) +- Crash reviewing rebar.config deps with pkg\_name [\#395](https://github.com/inaka/elvis/issues/395) + +**Closed issues:** + +- elvis\_style:is\_otp\_module only checks `behavior` attribute, not `behaviour` [\#550](https://github.com/inaka/elvis/issues/550) +- elvis\_core link in readme not working [\#545](https://github.com/inaka/elvis/issues/545) +- Discuss whether seemingly text-oriented rules should move to a new API [\#542](https://github.com/inaka/elvis/issues/542) +- Document use of `beam\_files` [\#541](https://github.com/inaka/elvis/issues/541) +- Document use of generic `ignore` option [\#540](https://github.com/inaka/elvis/issues/540) +- New Rule: avoid high number of export\_types [\#539](https://github.com/inaka/elvis/issues/539) +- New Rule: Consistency in andalso/orelse v. ;/, in guards [\#538](https://github.com/inaka/elvis/issues/538) +- Document `-elvis` attribute [\#535](https://github.com/inaka/elvis/issues/535) +- Dynamic call in `try ... of ... catch` not detected as such [\#532](https://github.com/inaka/elvis/issues/532) +- New Rule: Define ChildSpecs in either supervisor or worker [\#531](https://github.com/inaka/elvis/issues/531) +- Document @since in the Rules' Wiki [\#528](https://github.com/inaka/elvis/issues/528) +- Use of defaults in code [\#525](https://github.com/inaka/elvis/issues/525) +- Wiki and/or code issues [\#523](https://github.com/inaka/elvis/issues/523) +- Potential rule duplication [\#522](https://github.com/inaka/elvis/issues/522) +- Release request for `elvis\_core` [\#520](https://github.com/inaka/elvis/issues/520) +- New Rule: atom\_naming\_convention [\#516](https://github.com/inaka/elvis/issues/516) +- Turn macro names into a naming conventions rule [\#515](https://github.com/inaka/elvis/issues/515) +- Var exposed from the scope without return [\#502](https://github.com/inaka/elvis/issues/502) +- elvis\_core violates OTP naming conventions [\#491](https://github.com/inaka/elvis/issues/491) +- Outdated Docs [\#489](https://github.com/inaka/elvis/issues/489) +- Do not use timer:sleep on tests [\#479](https://github.com/inaka/elvis/issues/479) +- Rule idea: check map field updates [\#339](https://github.com/inaka/elvis/issues/339) +- Rule idea: safe binary deserialization [\#306](https://github.com/inaka/elvis/issues/306) +- Rule idea: application name as module prefix [\#304](https://github.com/inaka/elvis/issues/304) +- Add Meta Testing [\#303](https://github.com/inaka/elvis/issues/303) +- Reject use of export\_all [\#290](https://github.com/inaka/elvis/issues/290) +- Detect and enforce comma placement style [\#276](https://github.com/inaka/elvis/issues/276) +- Check for unused fields in records [\#117](https://github.com/inaka/elvis/issues/117) + +**Merged pull requests:** + +- Remove unreachable stuff [\#548](https://github.com/inaka/elvis/pull/548) ([paulo-ferraz-oliveira](https://github.com/paulo-ferraz-oliveira)) +- Prevent eunit issues + Rock with Elvis [\#547](https://github.com/inaka/elvis/pull/547) ([paulo-ferraz-oliveira](https://github.com/paulo-ferraz-oliveira)) +- Prevent hackney warnings on future deprecated functions [\#546](https://github.com/inaka/elvis/pull/546) ([paulo-ferraz-oliveira](https://github.com/paulo-ferraz-oliveira)) +- Prevent a minor warning \(and prepare for the future\) [\#543](https://github.com/inaka/elvis/pull/543) ([paulo-ferraz-oliveira](https://github.com/paulo-ferraz-oliveira)) +- Simplify defaults in .app.src [\#524](https://github.com/inaka/elvis/pull/524) ([paulo-ferraz-oliveira](https://github.com/paulo-ferraz-oliveira)) +- Add non-empty default configuration [\#521](https://github.com/inaka/elvis/pull/521) ([dmitrivereshchagin](https://github.com/dmitrivereshchagin)) + +## [0.5.0](https://github.com/inaka/elvis/tree/0.5.0) (2020-07-10) [Full Changelog](https://github.com/inaka/elvis/compare/0.4.2...0.5.0) **Implemented enhancements:** - Implement a "confidence score" on each thing Elvis finds [\#138](https://github.com/inaka/elvis/issues/138) +- Standardize output and make it parseable [\#169](https://github.com/inaka/elvis/issues/169) **Fixed bugs:** - FUNCTION\_NAME macro treated as variable [\#505](https://github.com/inaka/elvis/issues/505) - Master doesn't build [\#503](https://github.com/inaka/elvis/issues/503) -- Fix dialyzer warnings on OTP21 [\#486](https://github.com/inaka/elvis/issues/486) - operator\_spaces handles +,- and / signs as operator in cases where it is not an operator [\#483](https://github.com/inaka/elvis/issues/483) - Elvis is not detecting "Missing space" between a comma [\#376](https://github.com/inaka/elvis/issues/376) - Crash elvis on eval formatted string [\#288](https://github.com/inaka/elvis/issues/288) +- Fix dialyzer warnings on OTP21 [\#486](https://github.com/inaka/elvis/issues/486) **Closed issues:** @@ -23,13 +81,18 @@ - Possible problems with state\_record\_and\_type validation [\#490](https://github.com/inaka/elvis/issues/490) - Make corrections for detected problems [\#478](https://github.com/inaka/elvis/issues/478) - Elvis complains about dynamic function call in behaviour module [\#467](https://github.com/inaka/elvis/issues/467) -- Rename libraries to match repo names [\#425](https://github.com/inaka/elvis/issues/425) - Elvis seems to ignore -ifdef/-else/-endif conditionals and flags disabled code parts as DRY of enabled ones. [\#321](https://github.com/inaka/elvis/issues/321) +- Change of behavior regarding defines? [\#512](https://github.com/inaka/elvis/issues/512) +- Verify dependencies are up to date [\#494](https://github.com/inaka/elvis/issues/494) +- Create elvis.config.sample file [\#438](https://github.com/inaka/elvis/issues/438) +- Rename libraries to match repo names [\#425](https://github.com/inaka/elvis/issues/425) +- Properly document elvis.config [\#380](https://github.com/inaka/elvis/issues/380) - Create release once ongoing tasks are merged into master [\#287](https://github.com/inaka/elvis/issues/287) - Create a stable tag/release in order to have a fixed reference to the latest stable version [\#205](https://github.com/inaka/elvis/issues/205) **Merged pull requests:** +- Prepare release 0.5.0 [\#514](https://github.com/inaka/elvis/pull/514) ([jfacorro](https://github.com/jfacorro)) - README.md code block formatting for Erlang [\#513](https://github.com/inaka/elvis/pull/513) ([szTheory](https://github.com/szTheory)) - \[\#491\] Update elvis\_core with correct OTP naming [\#511](https://github.com/inaka/elvis/pull/511) ([jfacorro](https://github.com/jfacorro)) - \[\#503\] Update egithub [\#504](https://github.com/inaka/elvis/pull/504) ([jfacorro](https://github.com/jfacorro)) diff --git a/rebar.config b/rebar.config index 34d9dac..0f6960a 100644 --- a/rebar.config +++ b/rebar.config @@ -20,6 +20,8 @@ , warn_untyped_record , debug_info]}. +{project_plugins, [rebar3_hex]}. + {profiles, [ {test, [ {extra_src_dirs, [{"test/examples", [{recursive, true}]}]}, @@ -61,8 +63,8 @@ %% == Dependencies == -{deps, [ {elvis_core, "0.6.0"} - , {getopt, "1.0.1"} +{deps, [ {elvis_core, "1.0.0"} + , {getopt, "1.0.2"} , {egithub, "0.6.1"} ]}. diff --git a/rebar.lock b/rebar.lock index 103a489..a414618 100644 --- a/rebar.lock +++ b/rebar.lock @@ -1,8 +1,8 @@ {"1.2.0", [{<<"certifi">>,{pkg,<<"certifi">>,<<"2.5.2">>},2}, {<<"egithub">>,{pkg,<<"egithub">>,<<"0.6.1">>},0}, - {<<"elvis_core">>,{pkg,<<"elvis_core">>,<<"0.6.0">>},0}, - {<<"getopt">>,{pkg,<<"getopt">>,<<"1.0.1">>},0}, + {<<"elvis_core">>,{pkg,<<"elvis_core">>,<<"1.0.0">>},0}, + {<<"getopt">>,{pkg,<<"getopt">>,<<"1.0.2">>},0}, {<<"goldrush">>,{pkg,<<"goldrush">>,<<"0.1.9">>},1}, {<<"hackney">>,{pkg,<<"hackney">>,<<"1.16.0">>},1}, {<<"idna">>,{pkg,<<"idna">>,<<"6.0.1">>},2}, @@ -19,8 +19,8 @@ {pkg_hash,[ {<<"certifi">>, <<"B7CFEAE9D2ED395695DD8201C57A2D019C0C43ECAF8B8BCB9320B40D6662F340">>}, {<<"egithub">>, <<"AC6DB0F15C7685AAD9C2146EC7AF508D6803BBD9AB1ACFCE731E35F3B35D42D0">>}, - {<<"elvis_core">>, <<"178B7EE3486936911B95165613651251A35144FF1CBEC41967AB22FFC7872AF9">>}, - {<<"getopt">>, <<"C73A9FA687B217F2FF79F68A3B637711BB1936E712B521D8CE466B29CBF7808A">>}, + {<<"elvis_core">>, <<"01A18169EC80004D2444001E1157B117270B4CD38693A66C3AAB61A6459ADBFA">>}, + {<<"getopt">>, <<"33D9B44289FE7AD08627DDFE1D798E30B2DA0033B51DA1B3A2D64E72CD581D02">>}, {<<"goldrush">>, <<"F06E5D5F1277DA5C413E84D5A2924174182FB108DABB39D5EC548B27424CD106">>}, {<<"hackney">>, <<"5096AC8E823E3A441477B2D187E30DD3FFF1A82991A806B2003845CE72CE2D84">>}, {<<"idna">>, <<"1D038FB2E7668CE41FBF681D2C45902E52B3CB9E9C77B55334353B222C2EE50C">>}, @@ -36,8 +36,8 @@ {pkg_hash_ext,[ {<<"certifi">>, <<"3B3B5F36493004AC3455966991EAF6E768CE9884693D9968055AEEEB1E575040">>}, {<<"egithub">>, <<"FE0610CD0102DC60A5B5635235EFEA863C2C464F64450A41FA444971ECD64BFB">>}, - {<<"elvis_core">>, <<"90D5CE9FC34233809C18DAF71124AB2D170F92DDB578F926A3C44DCED639A260">>}, - {<<"getopt">>, <<"53E1AB83B9CEB65C9672D3E7A35B8092E9BDC9B3EE80721471A161C10C59959C">>}, + {<<"elvis_core">>, <<"DDA7A54CD4CE3D2BD93A4C9B421F59CA69C2301ECF3C171761BF098C6EB6AE0A">>}, + {<<"getopt">>, <<"A0029AEA4322FB82A61F6876A6D9C66DC9878B6CB61FAA13DF3187384FD4EA26">>}, {<<"goldrush">>, <<"99CB4128CFFCB3227581E5D4D803D5413FA643F4EB96523F77D9E6937D994CEB">>}, {<<"hackney">>, <<"3BF0BEBBD5D3092A3543B783BF065165FA5D3AD4B899B836810E513064134E18">>}, {<<"idna">>, <<"A02C8A1C4FD601215BB0B0324C8A6986749F807CE35F25449EC9E69758708122">>},