Annotate v3.1.1 Release Notes

Release Date: 2020-03-09 // about 4 years ago
  • ๐Ÿ”„ Changes

    • โฌ†๏ธ Bump required ruby version to >= 2.4 #772
    • โช [Revert #677] Fix column default annotations #768

    Project Improvements

    • ๐Ÿ”จ Refactor by adding AnnotateRoutes::Helpers #770
    • Bump puma from 4.3.1 to 4.3.3 in /spec/integration/rails_6.0.2.1 #771
    • Bump puma from 3.12.2 to 4.3.3 in /spec/integration/rails_5.2.4.1 #769
    • Bump nokogiri from 1.10.7 to 1.10.8 in /spec/integration/rails_5.2.4.1 #766
    • Bump nokogiri from 1.10.7 to 1.10.8 in /spec/integration/rails_6.0.2.1 #765
    • ๐Ÿ”จ Refactor test cases of AnnotateRoutes #760
    • ๐Ÿ“‡ Rename FactoryGirl -> FactoryBot comment #759

Previous changes from v3.1.0

  • ๐Ÿ”„ Changes

    • ๐Ÿ›  Fix new lines after comments for rubocop compatibility #757
    • ๐Ÿ›  Fix messages from AnnotateRoutes #737
    • ๐Ÿ‘Œ Support YARD notation #724
    • Refactor AnnotateRoutes.routes_file_exist? #716
    • ๐Ÿ”จ Refactor namespace Annotate #719
    • โž• Add columns managed by Globalize gem #602

    ๐Ÿ› Bug Fixes

    • Fix additional_file_patterns parsing #756
    • ๐Ÿ›  Fix typo in README #752
    • ๐Ÿ›  Fix bin/annotate NoMethodError #745
    • ๐Ÿ›  Fix README for YARD format #740
    • ๐Ÿ›  Fix constant names that were not renamed in #721 #739
    • ๐Ÿ—„ Replace soft-deprecated constant HashWithIndifferentAccess to ActiveSupport::HashWithIndifferentAccess #699
    • Fix #570 Change of foreign key should be considered as a column change
    • Fix #430 Handle columns from activerecord-postgis-adapter #694
    • โž• Add ActiveAdmin option to template #693
    • ๐Ÿ›  Fix foreign key issue with Rails 6 and Sqlite3 #695
    • ๐Ÿ›  Fix Serializers Test Directory #625
    • 0๏ธโƒฃ Fix #624 Correct default values for columns when ActiveRecord::Enum is used #677
    • Fix #675 Correct indentation for double-byte characters #676
    • ๐Ÿ›  FIX: Ensure only one line is around the annotation #669
    • Fix shifted when format_markdown option enabled and used non-ascii #650

    Project improvements

    • ๐Ÿ”จ Refactor RSpec for AnnotateModels - structuralize test cases #755
    • ๐Ÿ”จ Refactor test cases of AnnotateRoutes as for Rake versions #754
    • โž• Add integration tests to project #747
    • Refactor test cases for AnnotateRoutes.remove_annotations #748
    • ๐Ÿ”จ Refactor RSpec for AnnotateModels - with Globalize gem #749
    • ๐Ÿ›  Fixed CHANGELOG.md to add link to each PR #751
    • โœ‚ Delete integration test fixtures #746
    • โœ‚ Remove remaining integration test files #744
    • โœ‚ Remove unworking integration tests #725
    • ๐Ÿ”จ Refactor Annotate::Parser #742
    • Refactor RSpec for AnnotateModels (4) - AnnotateModels.get_schema_info (without custom options) #735
    • ๐Ÿ”จ Refactor RSpec for AnnotateRoutes (1) #736
    • Refactor AnnotateRoutes.rewrite_contents #734
    • AnnotateModels.get_schema_info (with custom options) #732
    • ๐Ÿ›  Fix typo in RSpec of AnnotateModels #731
    • Remove AnnotateRoutes.rewrite_contents_with_header #730
    • Refactor AnnotateRoutes.annotate_routes and .rewrite_contents_with_header #729
    • ๐Ÿ”จ Refactor AnnotateModels::Parser #728
    • Remove invalid document of AnnotateRoutes.rewrite_contents #727
    • ๐Ÿ”จ Refactor RSpec for AnnotateModels (1) #726
    • ๐Ÿ”จ Refactor AnnotateModels::Helpers #723
    • Refactor AnnotateRoutes.remove_annotations #715
    • Fix AnnotateRoutes.extract_magic_comments_from_array #712
    • ๐Ÿ“‡ Rename FactoryGirl to FactoryBot #721
    • ๐Ÿ”จ Refactor AnnotateRoutes.header #714
    • Freeze constant AnnotateRoutes::HEADER_ROW #713
    • Add constants MAGIC_COMMENT_MATCHER #711
    • ๐Ÿ“‡ Rename method and variable of AnnotateRoutes for readability #709
    • ๐Ÿ”จ Refactor lib/annotate.rb #707
    • โœ‚ Delete TODO.md #700
    • Tidy README #701
    • ๐Ÿ“š Convert documentation files to Markdown #697
    • โฌ†๏ธ Upgrade and fix CI #698
    • โž• Add upgrade instructions to README #687
    • ๐Ÿ›  Fix Github release action #682