Annotate v3.1.1 Release Notes
Release Date: 2020-03-09 // about 3 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
toActiveSupport::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