README.md in decidim-navigation_maps-1.2.0 vs README.md in decidim-navigation_maps-1.3.0

- old
+ new

@@ -22,27 +22,46 @@ ## Installation Add this line to your application's Gemfile: ```ruby -gem "decidim-navigation_maps", "~> 1.2.0" +gem "decidim-navigation_maps" ``` And then execute (remember to repeat this if you are upgrading from version 1.1): ```bash bundle bundle exec rails decidim_navigation_maps:install:migrations +bundle exec rails decidim_navigation_maps:webpacker:install bundle exec rails db:migrate ``` +> NOTE: the `decidim_notify:webpacker:install` is only necessary for Decidim versions starting at 0.25. + +If you are upgrading from a version prior to 1.3, make sure that you migrate your existing images to Active Storae: + +``` +RAILS_ENV=production bin/rails navigation_maps:active_storage_migrations:migrate_from_carrierwave +``` + +Or check your migration status with: +``` +RAILS_ENV=production bin/rails navigation_maps:active_storage_migrations:check_migration_from_carrierwave +``` + +The correct version of Navigation Maps should resolved automatically by the Bundler. +However you can force some specific version using `gem "decidim-navigation_maps", "~> 1.3.0"` in the Gemfile. + + Depending on your Decidim version, choose the corresponding Plugin version to ensure compatibility: | Navigation Maps version | Compatible Decidim versions | |---|---| -| 1.0.x | 0.18.x - 0.21.x | -| 1.1.x | 0.22.x, 0.23.x | +| 1.3.x | 0.25.x, 0.26.x | | 1.2.x | 0.24.x | +| 1.1.x | 0.22.x, 0.23.x | +| 1.0.x | 0.18.x - 0.21.x | ## Contributing See [Decidim](https://github.com/decidim/decidim).