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