Importmap Rails Versions Save

Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling.

v0.9.0

2 years ago

What's Changed

Full Changelog: https://github.com/rails/importmap-rails/compare/v0.8.2...v0.9.0

v0.8.0

2 years ago
  • NEW: Added --download or -d to bin/importmap to download pinned packages from the CDN into vendor/javascript. This removes a runtime dependency on the CDN. Note that you must add //= link_tree ../../../vendor/javascript .js to your app/assets/config/manifest.js file when using Sprockets (this is automatically done on new installations).
  • UPDATE: Upgraded to ES Module Shims 1.2.0
  • CHANGE: Pins are no longer preloaded by default. You most explicitly add preload: true to have them be preloaded.
  • CHANGE: Demand a minimum Ruby version of 2.7, in line with Rails 7.
  • CHANGE: Use a minimized version of ES Module Shims by default.

Full Changelog: https://github.com/rails/importmap-rails/compare/v0.7.6...v0.8.0