diff --git a/CHANGELOG.md b/CHANGELOG.md index 43669e42d..358790bed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,53 @@ # Changelog -## [v1.15.0-rc](https://github.com/skywinder/github-changelog-generator/tree/v1.15.0-rc) (2017-10-29) -[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.15.0.pre.beta...v1.15.0-rc) +## [v2.0.0](https://github.com/skywinder/github-changelog-generator/tree/v2.0.0) (2018-04-12) + +[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.15.0.pre.rc...v2.0.0) + +**Implemented enhancements:** + +- Support printing changelog to stdout [\#624](https://github.com/skywinder/github-changelog-generator/pull/624) ([sue445](https://github.com/sue445)) +- Fix unlabeled, mixed labels, and unmapped labels handling [\#618](https://github.com/skywinder/github-changelog-generator/pull/618) ([hunner](https://github.com/hunner)) +- Implemented a Dockerfile [\#592](https://github.com/skywinder/github-changelog-generator/pull/592) ([ferrarimarco](https://github.com/ferrarimarco)) +- Make 'change log' a single word [\#579](https://github.com/skywinder/github-changelog-generator/pull/579) ([mesaugat](https://github.com/mesaugat)) + +**Fixed bugs:** + +- Use git history to find PRs in a tag instead of time [\#619](https://github.com/skywinder/github-changelog-generator/pull/619) ([hunner](https://github.com/hunner)) + +**Closed issues:** + +- Updating to v1.15.0-rc requires --user and --project [\#633](https://github.com/skywinder/github-changelog-generator/issues/633) +- Can we exclude closed Requests [\#632](https://github.com/skywinder/github-changelog-generator/issues/632) +- Some PRs logged for the wrong releases [\#617](https://github.com/skywinder/github-changelog-generator/issues/617) +- since\_tag with unreleased tag unexpected behavior [\#604](https://github.com/skywinder/github-changelog-generator/issues/604) +- Generator doesn't work when I run the command presented in the docs [\#599](https://github.com/skywinder/github-changelog-generator/issues/599) +- Docker image does not exist on docker hub [\#593](https://github.com/skywinder/github-changelog-generator/issues/593) +- Dockerfile and Docker automated builds [\#591](https://github.com/skywinder/github-changelog-generator/issues/591) +- bug: Output on aborting when unknown user and project only prints out banner, not why it aborted [\#577](https://github.com/skywinder/github-changelog-generator/issues/577) + +**Merged pull requests:** + +- Issue \#558 Keepachangelog labels [\#636](https://github.com/skywinder/github-changelog-generator/pull/636) ([jennyknuth](https://github.com/jennyknuth)) +- \[CI\] Test against Ruby 2.5 [\#635](https://github.com/skywinder/github-changelog-generator/pull/635) ([nicolasleger](https://github.com/nicolasleger)) +- Remove docker bits [\#634](https://github.com/skywinder/github-changelog-generator/pull/634) ([ferrarimarco](https://github.com/ferrarimarco)) +- Linty McLintface [\#628](https://github.com/skywinder/github-changelog-generator/pull/628) ([hunner](https://github.com/hunner)) +- Regenerate man, html docs [\#622](https://github.com/skywinder/github-changelog-generator/pull/622) ([olleolleolle](https://github.com/olleolleolle)) +- Raise error instead of unhelpful behavior for --since-tag or --due-tag [\#621](https://github.com/skywinder/github-changelog-generator/pull/621) ([hunner](https://github.com/hunner)) +- Linting: formatting code to suit RuboCop [\#611](https://github.com/skywinder/github-changelog-generator/pull/611) ([olleolleolle](https://github.com/olleolleolle)) +- Update license date [\#610](https://github.com/skywinder/github-changelog-generator/pull/610) ([benhc123](https://github.com/benhc123)) +- Update git-generate-changelog.md [\#607](https://github.com/skywinder/github-changelog-generator/pull/607) ([benhc123](https://github.com/benhc123)) +- Capitalization and full stops [\#605](https://github.com/skywinder/github-changelog-generator/pull/605) ([benhc123](https://github.com/benhc123)) +- RuboCop 0.52.0 linting [\#603](https://github.com/skywinder/github-changelog-generator/pull/603) ([olleolleolle](https://github.com/olleolleolle)) +- Add $ or \# to indicate whether a command needs to be run as root or n… [\#602](https://github.com/skywinder/github-changelog-generator/pull/602) ([mueller-ma](https://github.com/mueller-ma)) +- Error message correction [\#601](https://github.com/skywinder/github-changelog-generator/pull/601) ([benhc123](https://github.com/benhc123)) +- Minor change [\#597](https://github.com/skywinder/github-changelog-generator/pull/597) ([benhc123](https://github.com/benhc123)) +- minor cosmetic change [\#596](https://github.com/skywinder/github-changelog-generator/pull/596) ([benhc123](https://github.com/benhc123)) +- Add option --configure-sections, --add-sections, --include-merged [\#587](https://github.com/skywinder/github-changelog-generator/pull/587) ([eputnam](https://github.com/eputnam)) + +## [v1.15.0.pre.rc](https://github.com/skywinder/github-changelog-generator/tree/v1.15.0.pre.rc) (2017-10-29) + +[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.15.0.pre.beta...v1.15.0.pre.rc) **Implemented enhancements:** @@ -19,6 +65,7 @@ - \[docs\] Contributing file [\#575](https://github.com/skywinder/github-changelog-generator/pull/575) ([olleolleolle](https://github.com/olleolleolle)) ## [v1.15.0.pre.beta](https://github.com/skywinder/github-changelog-generator/tree/v1.15.0.pre.beta) (2017-10-13) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.15.0.pre.alpha...v1.15.0.pre.beta) **Implemented enhancements:** @@ -48,12 +95,13 @@ - Update license date [\#553](https://github.com/skywinder/github-changelog-generator/pull/553) ([benhc123](https://github.com/benhc123)) ## [v1.15.0.pre.alpha](https://github.com/skywinder/github-changelog-generator/tree/v1.15.0.pre.alpha) (2017-10-01) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.14.3...v1.15.0.pre.alpha) **Implemented enhancements:** - Add newline after version name and Full Changelog link [\#548](https://github.com/skywinder/github-changelog-generator/pull/548) ([ianroberts131](https://github.com/ianroberts131)) -- Update the token failure example to OctoKit 404 failure [\#525](https://github.com/skywinder/github-changelog-generator/pull/525) ([00xcoffee](https://github.com/00xcoffee)) +- Update the token failure example to OctoKit 404 failure [\#525](https://github.com/skywinder/github-changelog-generator/pull/525) ([0xalexdelgado](https://github.com/0xalexdelgado)) - Rescue invalid commands and present the valid options list [\#498](https://github.com/skywinder/github-changelog-generator/pull/498) ([Lucashuang0802](https://github.com/Lucashuang0802)) - bundled cacert.pem with --ssl-ca-file PATH option [\#480](https://github.com/skywinder/github-changelog-generator/pull/480) ([olleolleolle](https://github.com/olleolleolle)) - Option parsing: Remove tag1, tag2 cruft [\#479](https://github.com/skywinder/github-changelog-generator/pull/479) ([olleolleolle](https://github.com/olleolleolle)) @@ -111,6 +159,7 @@ - Gemspec: demand rainbow 2.2.1+ [\#466](https://github.com/skywinder/github-changelog-generator/pull/466) ([olleolleolle](https://github.com/olleolleolle)) ## [v1.14.3](https://github.com/skywinder/github-changelog-generator/tree/v1.14.3) (2016-12-31) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.14.2...v1.14.3) **Fixed bugs:** @@ -132,6 +181,7 @@ - Travis: Use ruby 2.3.3 and 2.2.6 [\#452](https://github.com/skywinder/github-changelog-generator/pull/452) ([olleolleolle](https://github.com/olleolleolle)) ## [v1.14.2](https://github.com/skywinder/github-changelog-generator/tree/v1.14.2) (2016-11-12) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.14.1...v1.14.2) **Implemented enhancements:** @@ -143,6 +193,7 @@ - Error: can't convert Sawyer::Resource to Array when iterating over a 301 Moved Permanently [\#448](https://github.com/skywinder/github-changelog-generator/issues/448) ## [v1.14.1](https://github.com/skywinder/github-changelog-generator/tree/v1.14.1) (2016-11-06) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.14.0...v1.14.1) **Closed issues:** @@ -154,6 +205,7 @@ - Add multi\_json as a runtime dependency [\#445](https://github.com/skywinder/github-changelog-generator/pull/445) ([rnelson0](https://github.com/rnelson0)) ## [v1.14.0](https://github.com/skywinder/github-changelog-generator/tree/v1.14.0) (2016-11-05) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.13.2...v1.14.0) **Implemented enhancements:** @@ -191,9 +243,11 @@ - Travis: Add JRuby 9.1.5.0 to matrix [\#424](https://github.com/skywinder/github-changelog-generator/pull/424) ([olleolleolle](https://github.com/olleolleolle)) ## [v1.13.2](https://github.com/skywinder/github-changelog-generator/tree/v1.13.2) (2016-09-29) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.13.2...v1.13.2) ## [1.13.2](https://github.com/skywinder/github-changelog-generator/tree/1.13.2) (2016-09-29) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.13.1...1.13.2) **Implemented enhancements:** @@ -219,6 +273,7 @@ - Spec: avoid Ruby warning about already-defined constant [\#409](https://github.com/skywinder/github-changelog-generator/pull/409) ([olleolleolle](https://github.com/olleolleolle)) ## [1.13.1](https://github.com/skywinder/github-changelog-generator/tree/1.13.1) (2016-07-22) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.13.0...1.13.1) **Implemented enhancements:** @@ -243,6 +298,7 @@ - Parser: YARD docstrings and a rename, and RegExp named capture groups [\#391](https://github.com/skywinder/github-changelog-generator/pull/391) ([olleolleolle](https://github.com/olleolleolle)) ## [1.13.0](https://github.com/skywinder/github-changelog-generator/tree/1.13.0) (2016-07-04) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.12.1...1.13.0) **Merged pull requests:** @@ -250,6 +306,7 @@ - Carry PR \#301: usernames\_as\_github\_logins [\#392](https://github.com/skywinder/github-changelog-generator/pull/392) ([olleolleolle](https://github.com/olleolleolle)) ## [1.12.1](https://github.com/skywinder/github-changelog-generator/tree/1.12.1) (2016-05-09) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.12.0...1.12.1) **Fixed bugs:** @@ -268,6 +325,7 @@ - Avoid nil bug in detect\_since\_tag [\#368](https://github.com/skywinder/github-changelog-generator/pull/368) ([olleolleolle](https://github.com/olleolleolle)) ## [1.12.0](https://github.com/skywinder/github-changelog-generator/tree/1.12.0) (2016-04-01) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.8...1.12.0) **Closed issues:** @@ -280,6 +338,7 @@ - Added tag exclusion with a filter \(string or regex\) [\#320](https://github.com/skywinder/github-changelog-generator/pull/320) ([soundstep](https://github.com/soundstep)) ## [1.11.8](https://github.com/skywinder/github-changelog-generator/tree/1.11.8) (2016-03-22) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.7...1.11.8) **Implemented enhancements:** @@ -311,6 +370,7 @@ - README: Document GitHub token URI scope [\#345](https://github.com/skywinder/github-changelog-generator/pull/345) ([olleolleolle](https://github.com/olleolleolle)) ## [1.11.7](https://github.com/skywinder/github-changelog-generator/tree/1.11.7) (2016-03-04) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.6...1.11.7) **Merged pull requests:** @@ -319,6 +379,7 @@ - Gemspec, default date [\#346](https://github.com/skywinder/github-changelog-generator/pull/346) ([olleolleolle](https://github.com/olleolleolle)) ## [1.11.6](https://github.com/skywinder/github-changelog-generator/tree/1.11.6) (2016-03-01) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.5...1.11.6) **Fixed bugs:** @@ -334,6 +395,7 @@ - Gemspec: Calculate date using Date stdlib [\#343](https://github.com/skywinder/github-changelog-generator/pull/343) ([olleolleolle](https://github.com/olleolleolle)) ## [1.11.5](https://github.com/skywinder/github-changelog-generator/tree/1.11.5) (2016-03-01) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.4...1.11.5) **Merged pull requests:** @@ -342,6 +404,7 @@ - Update Rakefile to avoid install-breaking bug [\#341](https://github.com/skywinder/github-changelog-generator/pull/341) ([olleolleolle](https://github.com/olleolleolle)) ## [1.11.4](https://github.com/skywinder/github-changelog-generator/tree/1.11.4) (2016-02-26) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.3...1.11.4) **Merged pull requests:** @@ -349,6 +412,7 @@ - Man page copying: only copy .1 [\#338](https://github.com/skywinder/github-changelog-generator/pull/338) ([olleolleolle](https://github.com/olleolleolle)) ## [1.11.3](https://github.com/skywinder/github-changelog-generator/tree/1.11.3) (2016-02-25) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.2...1.11.3) **Closed issues:** @@ -356,6 +420,7 @@ - Cannot install gem [\#335](https://github.com/skywinder/github-changelog-generator/issues/335) ## [1.11.2](https://github.com/skywinder/github-changelog-generator/tree/1.11.2) (2016-02-25) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.1...1.11.2) **Fixed bugs:** @@ -367,6 +432,7 @@ - Fix installation by not running the specs - which have dependencies [\#337](https://github.com/skywinder/github-changelog-generator/pull/337) ([skywinder](https://github.com/skywinder)) ## [1.11.1](https://github.com/skywinder/github-changelog-generator/tree/1.11.1) (2016-02-25) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.0...1.11.1) **Merged pull requests:** @@ -376,12 +442,15 @@ - \[Refactor\] Generator\#exclude\_issues\_by\_labels simpler, tested [\#332](https://github.com/skywinder/github-changelog-generator/pull/332) ([olleolleolle](https://github.com/olleolleolle)) ## [1.11.0](https://github.com/skywinder/github-changelog-generator/tree/1.11.0) (2016-02-24) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.10.5...1.11.0) ## [1.10.5](https://github.com/skywinder/github-changelog-generator/tree/1.10.5) (2016-02-24) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.10.4...1.10.5) ## [1.10.4](https://github.com/skywinder/github-changelog-generator/tree/1.10.4) (2016-02-24) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.10.3...1.10.4) **Fixed bugs:** @@ -394,12 +463,15 @@ - Fix crash installing on systems without overcommit [\#330](https://github.com/skywinder/github-changelog-generator/pull/330) ([jkeiser](https://github.com/jkeiser)) ## [1.10.3](https://github.com/skywinder/github-changelog-generator/tree/1.10.3) (2016-02-23) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.10.2...1.10.3) ## [1.10.2](https://github.com/skywinder/github-changelog-generator/tree/1.10.2) (2016-02-23) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.11.0...1.10.2) ## [v1.11.0](https://github.com/skywinder/github-changelog-generator/tree/v1.11.0) (2016-02-23) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.10.1...v1.11.0) **Implemented enhancements:** @@ -417,6 +489,7 @@ - Update README.md [\#324](https://github.com/skywinder/github-changelog-generator/pull/324) ([Zearin](https://github.com/Zearin)) ## [1.10.1](https://github.com/skywinder/github-changelog-generator/tree/1.10.1) (2016-01-06) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.10.0...1.10.1) **Fixed bugs:** @@ -424,6 +497,7 @@ - Parser: avoid Ruby exit, to make Rake tasks work [\#315](https://github.com/skywinder/github-changelog-generator/pull/315) ([olleolleolle](https://github.com/olleolleolle)) ## [1.10.0](https://github.com/skywinder/github-changelog-generator/tree/1.10.0) (2016-01-05) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.9.0...1.10.0) **Implemented enhancements:** @@ -447,6 +521,7 @@ - Add base option to RakeTask [\#287](https://github.com/skywinder/github-changelog-generator/pull/287) ([jkeiser](https://github.com/jkeiser)) ## [1.9.0](https://github.com/skywinder/github-changelog-generator/tree/1.9.0) (2015-09-17) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.8.5...1.9.0) **Implemented enhancements:** @@ -455,6 +530,7 @@ - Auto parse options from file .github\_changelog\_generator [\#278](https://github.com/skywinder/github-changelog-generator/pull/278) ([dlanileonardo](https://github.com/dlanileonardo)) ## [1.8.5](https://github.com/skywinder/github-changelog-generator/tree/1.8.5) (2015-09-15) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.8.4...1.8.5) **Merged pull requests:** @@ -462,6 +538,7 @@ - Rake task: Be able to set false value in config [\#279](https://github.com/skywinder/github-changelog-generator/pull/279) ([olleolleolle](https://github.com/olleolleolle)) ## [1.8.4](https://github.com/skywinder/github-changelog-generator/tree/1.8.4) (2015-09-01) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.8.3...1.8.4) **Fixed bugs:** @@ -469,6 +546,7 @@ - Sending OATH through -t fails [\#274](https://github.com/skywinder/github-changelog-generator/issues/274) ## [1.8.3](https://github.com/skywinder/github-changelog-generator/tree/1.8.3) (2015-08-31) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.8.2...1.8.3) **Merged pull requests:** @@ -476,6 +554,7 @@ - Do not alter pull\_requests while iterating on it [\#271](https://github.com/skywinder/github-changelog-generator/pull/271) ([raphink](https://github.com/raphink)) ## [1.8.2](https://github.com/skywinder/github-changelog-generator/tree/1.8.2) (2015-08-26) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.8.1...1.8.2) **Closed issues:** @@ -487,6 +566,7 @@ - This PRi will fix \#274. [\#275](https://github.com/skywinder/github-changelog-generator/pull/275) ([skywinder](https://github.com/skywinder)) ## [1.8.1](https://github.com/skywinder/github-changelog-generator/tree/1.8.1) (2015-08-25) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.8.0...1.8.1) **Implemented enhancements:** @@ -499,11 +579,12 @@ - Use since\_tag as default for older\_tag [\#267](https://github.com/skywinder/github-changelog-generator/pull/267) ([raphink](https://github.com/raphink)) ## [1.8.0](https://github.com/skywinder/github-changelog-generator/tree/1.8.0) (2015-08-24) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.7.0...1.8.0) **Implemented enhancements:** -- Generate changelog since/due specific tag [\#254](https://github.com/skywinder/github-changelog-generator/issues/254) +- Generate change log since/due specific tag [\#254](https://github.com/skywinder/github-changelog-generator/issues/254) - Add --base option [\#258](https://github.com/skywinder/github-changelog-generator/pull/258) ([raphink](https://github.com/raphink)) **Merged pull requests:** @@ -515,6 +596,7 @@ - Add --since-tag [\#257](https://github.com/skywinder/github-changelog-generator/pull/257) ([raphink](https://github.com/raphink)) ## [1.7.0](https://github.com/skywinder/github-changelog-generator/tree/1.7.0) (2015-07-16) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.6.2...1.7.0) **Implemented enhancements:** @@ -523,6 +605,7 @@ - Arbitrary templates [\#242](https://github.com/skywinder/github-changelog-generator/issues/242) ## [1.6.2](https://github.com/skywinder/github-changelog-generator/tree/1.6.2) (2015-07-16) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.6.1...1.6.2) **Fixed bugs:** @@ -530,6 +613,7 @@ - --unreleased-only broken [\#250](https://github.com/skywinder/github-changelog-generator/issues/250) ## [1.6.1](https://github.com/skywinder/github-changelog-generator/tree/1.6.1) (2015-06-12) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.6.0...1.6.1) **Implemented enhancements:** @@ -541,6 +625,7 @@ - not encapsulated character `\<` [\#249](https://github.com/skywinder/github-changelog-generator/issues/249) ## [1.6.0](https://github.com/skywinder/github-changelog-generator/tree/1.6.0) (2015-06-11) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.5.0...1.6.0) **Implemented enhancements:** @@ -554,13 +639,14 @@ - Exclude and Include tags is broken [\#245](https://github.com/skywinder/github-changelog-generator/issues/245) ## [1.5.0](https://github.com/skywinder/github-changelog-generator/tree/1.5.0) (2015-05-26) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.4.1...1.5.0) **Implemented enhancements:** - Show `Unreleased` section even when there is no tags in repo. [\#228](https://github.com/skywinder/github-changelog-generator/issues/228) - Add option `--exclude-tags x,y,z` [\#214](https://github.com/skywinder/github-changelog-generator/issues/214) -- Generate changelog between 2 specific tags [\#172](https://github.com/skywinder/github-changelog-generator/issues/172) +- Generate change log between 2 specific tags [\#172](https://github.com/skywinder/github-changelog-generator/issues/172) - Yanked releases support [\#53](https://github.com/skywinder/github-changelog-generator/issues/53) **Merged pull requests:** @@ -568,11 +654,12 @@ - Big refactoring [\#243](https://github.com/skywinder/github-changelog-generator/pull/243) ([skywinder](https://github.com/skywinder)) ## [1.4.1](https://github.com/skywinder/github-changelog-generator/tree/1.4.1) (2015-05-19) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.4.0...1.4.1) **Implemented enhancements:** -- Trees/Archives with missing changelog notes for the current tag. [\#230](https://github.com/skywinder/github-changelog-generator/issues/230) +- Trees/Archives with missing change log notes for the current tag. [\#230](https://github.com/skywinder/github-changelog-generator/issues/230) **Fixed bugs:** @@ -587,11 +674,12 @@ - Add future release option [\#231](https://github.com/skywinder/github-changelog-generator/pull/231) ([sildur](https://github.com/sildur)) ## [1.4.0](https://github.com/skywinder/github-changelog-generator/tree/1.4.0) (2015-05-07) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.3.11...1.4.0) **Implemented enhancements:** -- Parsing of existing Changelog file [\#212](https://github.com/skywinder/github-changelog-generator/issues/212) +- Parsing of existing Change Log file [\#212](https://github.com/skywinder/github-changelog-generator/issues/212) - Warn users about 0 tags in repo. [\#208](https://github.com/skywinder/github-changelog-generator/issues/208) - Cleanup [\#220](https://github.com/skywinder/github-changelog-generator/pull/220) ([tuexss](https://github.com/tuexss)) @@ -609,6 +697,7 @@ - Add --max-issues argument to limit requests [\#76](https://github.com/skywinder/github-changelog-generator/pull/76) ([sneal](https://github.com/sneal)) ## [1.3.11](https://github.com/skywinder/github-changelog-generator/tree/1.3.11) (2015-03-21) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.3.10...1.3.11) **Merged pull requests:** @@ -616,6 +705,7 @@ - Add fallback with warning message to prevent crash in case of exceed API Rate Limit \(temporary workaround for \#71\) [\#75](https://github.com/skywinder/github-changelog-generator/pull/75) ([skywinder](https://github.com/skywinder)) ## [1.3.10](https://github.com/skywinder/github-changelog-generator/tree/1.3.10) (2015-03-18) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.3.9...1.3.10) **Fixed bugs:** @@ -623,6 +713,7 @@ - Fix termination in case of empty unreleased section with `--unreleased-only` option. [\#70](https://github.com/skywinder/github-changelog-generator/pull/70) ([skywinder](https://github.com/skywinder)) ## [1.3.9](https://github.com/skywinder/github-changelog-generator/tree/1.3.9) (2015-03-06) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.3.8...1.3.9) **Implemented enhancements:** @@ -634,12 +725,15 @@ - Resolved concurrency problem in case of issues \> 2048 [\#65](https://github.com/skywinder/github-changelog-generator/pull/65) ([skywinder](https://github.com/skywinder)) ## [1.3.8](https://github.com/skywinder/github-changelog-generator/tree/1.3.8) (2015-03-05) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.3.6...1.3.8) ## [1.3.6](https://github.com/skywinder/github-changelog-generator/tree/1.3.6) (2015-03-05) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.3.5...1.3.6) ## [1.3.5](https://github.com/skywinder/github-changelog-generator/tree/1.3.5) (2015-03-04) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.3.4...1.3.5) **Fixed bugs:** @@ -647,6 +741,7 @@ - Pull Requests in Wrong Tag [\#60](https://github.com/skywinder/github-changelog-generator/issues/60) ## [1.3.4](https://github.com/skywinder/github-changelog-generator/tree/1.3.4) (2015-03-03) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.3.3...1.3.4) **Fixed bugs:** @@ -654,6 +749,7 @@ - --no-issues appears to break PRs [\#59](https://github.com/skywinder/github-changelog-generator/issues/59) ## [1.3.3](https://github.com/skywinder/github-changelog-generator/tree/1.3.3) (2015-03-03) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.3.2...1.3.3) **Closed issues:** @@ -661,6 +757,7 @@ - Add \# character to encapsulate list. [\#58](https://github.com/skywinder/github-changelog-generator/issues/58) ## [1.3.2](https://github.com/skywinder/github-changelog-generator/tree/1.3.2) (2015-03-03) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.3.1...1.3.2) **Fixed bugs:** @@ -668,9 +765,11 @@ - generation failed if github commit api return `404 Not Found` [\#57](https://github.com/skywinder/github-changelog-generator/issues/57) ## [1.3.1](https://github.com/skywinder/github-changelog-generator/tree/1.3.1) (2015-02-27) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.3.0...1.3.1) ## [1.3.0](https://github.com/skywinder/github-changelog-generator/tree/1.3.0) (2015-02-26) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.2.8...1.3.0) **Implemented enhancements:** @@ -689,6 +788,7 @@ - Implement filtering of Pull Requests by milestones [\#50](https://github.com/skywinder/github-changelog-generator/pull/50) ([skywinder](https://github.com/skywinder)) ## [1.2.8](https://github.com/skywinder/github-changelog-generator/tree/1.2.8) (2015-02-17) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.2.7...1.2.8) **Closed issues:** @@ -701,6 +801,7 @@ - Prettify output [\#48](https://github.com/skywinder/github-changelog-generator/pull/48) ([skywinder](https://github.com/skywinder)) ## [1.2.7](https://github.com/skywinder/github-changelog-generator/tree/1.2.7) (2015-01-26) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.2.6...1.2.7) **Implemented enhancements:** @@ -708,6 +809,7 @@ - Add compare link between older version and newer version [\#46](https://github.com/skywinder/github-changelog-generator/pull/46) ([sue445](https://github.com/sue445)) ## [1.2.6](https://github.com/skywinder/github-changelog-generator/tree/1.2.6) (2015-01-21) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.2.5...1.2.6) **Merged pull requests:** @@ -715,6 +817,7 @@ - fix link tag format [\#45](https://github.com/skywinder/github-changelog-generator/pull/45) ([sugamasao](https://github.com/sugamasao)) ## [1.2.5](https://github.com/skywinder/github-changelog-generator/tree/1.2.5) (2015-01-15) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.2.4...1.2.5) **Implemented enhancements:** @@ -728,6 +831,7 @@ - PrettyPrint class is included using lowercase 'pp' [\#43](https://github.com/skywinder/github-changelog-generator/pull/43) ([schwing](https://github.com/schwing)) ## [1.2.4](https://github.com/skywinder/github-changelog-generator/tree/1.2.4) (2014-12-16) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.2.3...1.2.4) **Fixed bugs:** @@ -736,6 +840,7 @@ - Crash when try generate log for rails [\#35](https://github.com/skywinder/github-changelog-generator/issues/35) ## [1.2.3](https://github.com/skywinder/github-changelog-generator/tree/1.2.3) (2014-12-16) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.2.2...1.2.3) **Implemented enhancements:** @@ -753,6 +858,7 @@ - Fix crash when user is NULL [\#40](https://github.com/skywinder/github-changelog-generator/pull/40) ([skywinder](https://github.com/skywinder)) ## [1.2.2](https://github.com/skywinder/github-changelog-generator/tree/1.2.2) (2014-12-10) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.2.1...1.2.2) **Fixed bugs:** @@ -760,6 +866,7 @@ - Encapsulate \[ \> \* \_ \ \] signs in issues names [\#34](https://github.com/skywinder/github-changelog-generator/issues/34) ## [1.2.1](https://github.com/skywinder/github-changelog-generator/tree/1.2.1) (2014-11-22) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.2.0...1.2.1) **Fixed bugs:** @@ -772,6 +879,7 @@ - Disable default --filter-pull-requests option. [\#28](https://github.com/skywinder/github-changelog-generator/pull/28) ([skywinder](https://github.com/skywinder)) ## [1.2.0](https://github.com/skywinder/github-changelog-generator/tree/1.2.0) (2014-11-19) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.1.4...1.2.0) **Merged pull requests:** @@ -781,6 +889,7 @@ - Don't receive issues in case of --no-isses flag specied [\#24](https://github.com/skywinder/github-changelog-generator/pull/24) ([skywinder](https://github.com/skywinder)) ## [1.1.4](https://github.com/skywinder/github-changelog-generator/tree/1.1.4) (2014-11-18) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.1.2...1.1.4) **Implemented enhancements:** @@ -792,6 +901,7 @@ - Sort tags by date [\#23](https://github.com/skywinder/github-changelog-generator/pull/23) ([skywinder](https://github.com/skywinder)) ## [1.1.2](https://github.com/skywinder/github-changelog-generator/tree/1.1.2) (2014-11-12) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.1.1...1.1.2) **Merged pull requests:** @@ -800,6 +910,7 @@ - Fix bug with dot signs in user name [\#17](https://github.com/skywinder/github-changelog-generator/pull/17) ([skywinder](https://github.com/skywinder)) ## [1.1.1](https://github.com/skywinder/github-changelog-generator/tree/1.1.1) (2014-11-10) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.1.0...1.1.1) **Merged pull requests:** @@ -809,6 +920,7 @@ - Add ability to add or exclude issues without any labels [\#13](https://github.com/skywinder/github-changelog-generator/pull/13) ([skywinder](https://github.com/skywinder)) ## [1.1.0](https://github.com/skywinder/github-changelog-generator/tree/1.1.0) (2014-11-10) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.0.1...1.1.0) **Implemented enhancements:** @@ -821,9 +933,11 @@ - Markdown formating in the last line wrong [\#9](https://github.com/skywinder/github-changelog-generator/issues/9) ## [1.0.1](https://github.com/skywinder/github-changelog-generator/tree/1.0.1) (2014-11-10) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.0.0...1.0.1) ## [1.0.0](https://github.com/skywinder/github-changelog-generator/tree/1.0.0) (2014-11-07) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/0.1.0...1.0.0) **Implemented enhancements:** @@ -841,6 +955,7 @@ - Add support for issues in CHANGELOG [\#7](https://github.com/skywinder/github-changelog-generator/pull/7) ([skywinder](https://github.com/skywinder)) ## [0.1.0](https://github.com/skywinder/github-changelog-generator/tree/0.1.0) (2014-11-07) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/0.0.2...0.1.0) **Merged pull requests:** @@ -850,9 +965,13 @@ - Add option \(-o --output\) to specify name of the output file. [\#1](https://github.com/skywinder/github-changelog-generator/pull/1) ([skywinder](https://github.com/skywinder)) ## [0.0.2](https://github.com/skywinder/github-changelog-generator/tree/0.0.2) (2014-11-06) + [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/0.0.1...0.0.2) ## [0.0.1](https://github.com/skywinder/github-changelog-generator/tree/0.0.1) (2014-11-06) +[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/2a5b354410a422e2046f8d95b019df5985b003e4...0.0.1) + + \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \ No newline at end of file diff --git a/lib/github_changelog_generator/generator/generator.rb b/lib/github_changelog_generator/generator/generator.rb index dc8573280..dbc5af137 100644 --- a/lib/github_changelog_generator/generator/generator.rb +++ b/lib/github_changelog_generator/generator/generator.rb @@ -92,13 +92,14 @@ def generate_entry_between_tags(older_tag, newer_tag) Entry.new(options).generate_entry_for_tag(filtered_pull_requests, filtered_issues, newer_tag_name, newer_tag_link, newer_tag_time, older_tag_name) end - # Filters issues and pull requests based on, respectively, `closed_at` and `merged_at` - # timestamp fields. + # Filters issues and pull requests based on, respectively, `actual_date` + # and `merged_at` timestamp fields. `actual_date` is the detected form of + # `closed_at` based on merge event SHA commit times. # # @return [Array] filtered issues and pull requests def filter_issues_for_tags(newer_tag, older_tag) filtered_pull_requests = filter_by_tag(@pull_requests, newer_tag) - filtered_issues = delete_by_time(@issues, "closed_at", older_tag, newer_tag) + filtered_issues = delete_by_time(@issues, "actual_date", older_tag, newer_tag) newer_tag_name = newer_tag.nil? ? nil : newer_tag["name"] diff --git a/lib/github_changelog_generator/version.rb b/lib/github_changelog_generator/version.rb index 8a98a4f52..b1ebab3d6 100644 --- a/lib/github_changelog_generator/version.rb +++ b/lib/github_changelog_generator/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module GitHubChangelogGenerator - VERSION = "1.15.0-rc" + VERSION = "2.0.0" end diff --git a/man/git-generate-changelog b/man/git-generate-changelog new file mode 100644 index 000000000..131d78861 --- /dev/null +++ b/man/git-generate-changelog @@ -0,0 +1,13 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "GIT\-GENERATE\-CHANGELOG" "" "April 2018" "" "" +. +.SH "NAME" +\fBgit\-generate\-changelog\fR +. +.P +\&\.\e" generated with Ronn/v0\.7\.3 \.\e" http://github\.com/rtomayko/ronn/tree/0\.7\.3 \. \.TH "GIT\-GENERATE\-CHANGELOG" "1" "March 2018" "" "" \. \.SH "NAME" \efBgit\-generate\-changelog\efR \- Generate changelog from GitHub \. \.SH "SYNOPSIS" \efBgit generate\-changelog\efR [\-h|\-\-help] [\-u|\-\-user] [\-p|\-\-project] \. \.SH "DESCRIPTION" Automatically generate changelog from your tags, issues, labels and pull requests on GitHub\. \. \.SH "OPTIONS" \-u, \-\-user [USER] \. \.P Username of the owner of target GitHub repo \. \.P \-p, \-\-project [PROJECT] \. \.P Name of project on GitHub \. \.P \-t, \-\-token [TOKEN] \. \.P To make more than 50 requests per hour your GitHub token is required\. You can generate it at: https://github\.com/settings/tokens/new \. \.P \-f, \-\-date\-format [FORMAT] \. \.P Date format\. Default is %Y\-%m\-%d \. \.P \-o, \-\-output [NAME] \. \.P Output file\. Default is CHANGELOG\.md \. \.P \-b, \-\-base [NAME] \. \.P Optional base file to append generated changes to\. \. \.P \-\-bugs\-label [LABEL] \. \.P Setup custom label for bug\-fixes section\. Default is "\efBFixed bugs:\efR \. \.P \-\-enhancement\-label [LABEL] \. \.P Setup custom label for enhancements section\. Default is "\efBImplemented enhancements:\efR" \. \.P \-\-issues\-label [LABEL] \. \.P Setup custom label for closed\-issues section\. Default is "\efBClosed issues:\efR" \. \.P \-\-header\-label [LABEL] \. \.P Setup custom header label\. Default is "# Changelog" \. \.P \-\-front\-matter [JSON] \. \.P Add YAML front matter\. Formatted as JSON because it\e\'s easier to add on the command line \. \.P \-\-pr\-label [LABEL] \. \.P Setup custom label for pull requests section\. Default is "\efBMerged pull requests:\efR" \. \.P \-\-[no\-]issues \. \.P Include closed issues in changelog\. Default is true \. \.P \-\-[no\-]issues\-wo\-labels \. \.P Include closed issues without labels in changelog\. Default is true \. \.P \-\-[no\-]pr\-wo\-labels \. \.P Include pull requests without labels in changelog\. Default is true \. \.P \-\-[no\-]pull\-requests \. \.P Include pull\-requests in changelog\. Default is true \. \.P \-\-[no\-]filter\-by\-milestone \. \.P Use milestone to detect when issue was resolved\. Default is true \. \.P \-\-[no\-]author \. \.P Add author of pull\-request in the end\. Default is true \. \.P \-\-usernames\-as\-github\-logins \. \.P Use GitHub tags instead of Markdown links for the author of an issue or pull\-request\. \. \.P \-\-unreleased\-only \. \.P Generate log from unreleased closed issues only\. \. \.P \-\-[no\-]unreleased \. \.P Add to log unreleased closed issues\. Default is true \. \.P \-\-unreleased\-label [label] \. \.P Setup custom label for unreleased closed issues section\. Default is "\efBUnreleased:\efR" \. \.P \-\-[no\-]compare\-link \. \.P Include compare link (Full Changelog) between older version and newer version\. Default is true \. \.P \-\-include\-labels x,y,z \. \.P Only issues with the specified labels will be included in the changelog\. \. \.P \-\-exclude\-labels x,y,z \. \.P Issues with the specified labels will be always excluded from changelog\. Default is \e\'duplicate,question,invalid,wontfix\e\' \. \.P \-\-bug\-labels x,y,z \. \.P Issues with the specified labels will be always added to "Fixed bugs" section\. Default is \e\'bug,Bug\e\' \. \.P \-\-enhancement\-labels x,y,z \. \.P Issues with the specified labels will be always added to "Implemented enhancements" section\. Default is \e\'enhancement,Enhancement\e\' \. \.P \-\-exclude\-tags x,y,z \. \.P Changelog will exclude specified tags \. \.P \-\-exclude\-tags\-regex [REGEX] \. \.P Apply a regular expression on tag names so that they can be excluded, for example: \-\-exclude\-tags\-regex "\.*+\eed{1,}" \. \.P \-\-since\-tag x \. \.P Changelog will start after specified tag \. \.P \-\-due\-tag x \. \.P Changelog will end before specified tag \. \.P \-\-max\-issues [NUMBER] \. \.P Max number of issues to fetch from GitHub\. Default is unlimited \. \.P \-\-release\-url [URL] \. \.P The URL to point to for release links, in printf format (with the tag as variable)\. \. \.P \-\-github\-site [URL] \. \.P The Enterprise Github site on which your project is hosted\. \. \.P \-\-github\-api [URL] \. \.P The enterprise endpoint to use for your Github API\. \. \.P \-\-simple\-list \. \.P Create simple list from issues and pull requests\. Default is false\. \. \.P \-\-future\-release [RELEASE\-VERSION] \. \.P Put the unreleased changes in the specified release number\. \. \.P \-\-release\-branch [RELEASE\-BRANCH] \. \.P Limit pull requests to the release branch, such as master or release \. \.P \-\-http\-cache \. \.P Use HTTP Cache to cache GitHub API requests (useful for large repos) Default is true\. \. \.P \-\-[no\-]cache\-file [CACHE\-FILE] \. \.P Filename to use for cache\. Default is github\-changelog\-http\-cache in a temporary directory\. \. \.P \-\-cache\-log [CACHE\-LOG] \. \.P Filename to use for cache log\. Default is github\-changelog\-logger\.log in a temporary directory\. \. \.IP "" 4 \. \.nf +. +.P +\-\-ssl\-ca\-file [PATH] \. \.fi \. \.IP "" 0 \. \.P Path to cacert\.pem file\. Default is a bundled lib/github_changelog_generator/ssl_certs/cacert\.pem\. Respects SSL_CA_PATH\. \. \.P \-\-require file1\.rb,file2\.rb \. \.P Paths to Ruby file(s) to require before generating changelog\. \. \.P \-\-[no\-]verbose \. \.P Run verbosely\. Default is true \. \.P \-\-configure\-sections [HASH, STRING] \. \.P Define your own set of sections which overrides all default sections") do |v| \. \.P \-\-add\-sections [HASH, STRING] \. \.P Add new sections but keep the default sections" \. \.P \-v, \-\-version \. \.P Print version number \. \.P \-h, \-\-help \. \.P Displays Help \. \.SH "REBASED COMMITS" GitHub pull requests that have been merged whose merge commit SHA has been modified through rebasing, cherry picking, or some other method may be tracked via a special comment on GitHub\. Git commit SHAs found in comments on pull requests matching the regular expression \efB/rebased commit: ([0\-9a\-f]{40})/i\efR will be used in place of the original merge SHA when being added to the changelog\. \. \.SH "EXAMPLES" \. \.SH "AUTHOR" Written by Petr Korolev sky4winder@gmail\.com \. \.SH "REPORTING BUGS" <\efIhttps://github\.com/skywinder/github\-changelog\-generator/issues\efR> \. \.SH "SEE ALSO" <\efIhttps://github\.com/skywinder/github\-changelog\-generator/\efR>