From 879d8a3fb824e26ce4b29e8aa09eb0c87a1f108d Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Fri, 6 Nov 2020 16:35:12 +0100 Subject: [PATCH] Add a CHANGELOG --- CHANGELOG.md | 54 ++++++++++++++++++++++++++++++++++++++++ Rakefile | 8 ++++++ alchemy-json_api.gemspec | 1 + 3 files changed, 63 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a719419 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,54 @@ +# Changelog + +## [v0.5.0](https://github.com/AlchemyCMS/alchemy-json_api/tree/v0.5.0) (2020-11-06) + +[Full Changelog](https://github.com/AlchemyCMS/alchemy-json_api/compare/v0.4.0...v0.5.0) + +**Merged pull requests:** + +- Add fixed\_elements relationship to element serializer [\#14](https://github.com/AlchemyCMS/alchemy-json_api/pull/14) ([tvdeyen](https://github.com/tvdeyen)) +- Rename element\_type into name [\#13](https://github.com/AlchemyCMS/alchemy-json_api/pull/13) ([tvdeyen](https://github.com/tvdeyen)) +- Only include errors mixin in production mode [\#12](https://github.com/AlchemyCMS/alchemy-json_api/pull/12) ([tvdeyen](https://github.com/tvdeyen)) + +## [v0.4.0](https://github.com/AlchemyCMS/alchemy-json_api/tree/v0.4.0) (2020-10-28) + +[Full Changelog](https://github.com/AlchemyCMS/alchemy-json_api/compare/v0.3.0...v0.4.0) + +**Merged pull requests:** + +- Use full module paths in serializers [\#11](https://github.com/AlchemyCMS/alchemy-json_api/pull/11) ([tvdeyen](https://github.com/tvdeyen)) + +## [v0.3.0](https://github.com/AlchemyCMS/alchemy-json_api/tree/v0.3.0) (2020-10-28) + +[Full Changelog](https://github.com/AlchemyCMS/alchemy-json_api/compare/v0.2.0...v0.3.0) + +**Merged pull requests:** + +- Add EssencePageSerializer [\#10](https://github.com/AlchemyCMS/alchemy-json_api/pull/10) ([tvdeyen](https://github.com/tvdeyen)) +- Remove link\_helper [\#9](https://github.com/AlchemyCMS/alchemy-json_api/pull/9) ([tvdeyen](https://github.com/tvdeyen)) +- Expose essence serializer behavior [\#8](https://github.com/AlchemyCMS/alchemy-json_api/pull/8) ([tvdeyen](https://github.com/tvdeyen)) +- Add support for nested urlnames [\#7](https://github.com/AlchemyCMS/alchemy-json_api/pull/7) ([tvdeyen](https://github.com/tvdeyen)) + +## [v0.2.0](https://github.com/AlchemyCMS/alchemy-json_api/tree/v0.2.0) (2020-09-15) + +[Full Changelog](https://github.com/AlchemyCMS/alchemy-json_api/compare/v0.1.0...v0.2.0) + +**Merged pull requests:** + +- Fix specs, bump version [\#6](https://github.com/AlchemyCMS/alchemy-json_api/pull/6) ([mamhoff](https://github.com/mamhoff)) +- Add pagination to pages endpoint [\#5](https://github.com/AlchemyCMS/alchemy-json_api/pull/5) ([tvdeyen](https://github.com/tvdeyen)) + +## [v0.1.0](https://github.com/AlchemyCMS/alchemy-json_api/tree/v0.1.0) (2020-05-15) + +[Full Changelog](https://github.com/AlchemyCMS/alchemy-json_api/compare/f51e01b16ad44b372edbaf983b041b6b6ed383b6...v0.1.0) + +**Merged pull requests:** + +- Do not render trashed elements [\#4](https://github.com/AlchemyCMS/alchemy-json_api/pull/4) ([mamhoff](https://github.com/mamhoff)) +- Add Rufo and Rubocop [\#3](https://github.com/AlchemyCMS/alchemy-json_api/pull/3) ([mamhoff](https://github.com/mamhoff)) +- Add Layout Pages Controller [\#2](https://github.com/AlchemyCMS/alchemy-json_api/pull/2) ([mamhoff](https://github.com/mamhoff)) +- Add Language Serializer [\#1](https://github.com/AlchemyCMS/alchemy-json_api/pull/1) ([mamhoff](https://github.com/mamhoff)) + + + +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/Rakefile b/Rakefile index 0c4696d..2d7e83e 100644 --- a/Rakefile +++ b/Rakefile @@ -26,3 +26,11 @@ task :test_setup do exit($?.exitstatus) unless $?.success? end end + +require "github_changelog_generator/task" +require "alchemy/json_api/version" +GitHubChangelogGenerator::RakeTask.new(:changelog) do |config| + config.user = "AlchemyCMS" + config.project = "alchemy-json_api" + config.future_release = "v#{Alchemy::JsonApi::VERSION}" +end diff --git a/alchemy-json_api.gemspec b/alchemy-json_api.gemspec index 8659b6f..ed7bcc3 100644 --- a/alchemy-json_api.gemspec +++ b/alchemy-json_api.gemspec @@ -22,6 +22,7 @@ Gem::Specification.new do |spec| spec.add_dependency "jsonapi.rb" spec.add_development_dependency "factory_bot" + spec.add_development_dependency "github_changelog_generator" spec.add_development_dependency "jsonapi-rspec" spec.add_development_dependency "rspec-rails" end