Skip to content

Releases: rails/sprockets-rails

v3.5.1

07 Jun 09:28
Compare
Choose a tag to compare

What's Changed

  • Handle the gem being loaded via sprockets/railtie rather than the expected sprockets/rails entrypoint. by @mamhoff in #525

New Contributors

Full Changelog: v3.5.0...v3.5.1

v3.5.0

06 Jun 09:21
Compare
Choose a tag to compare

What's Changed

  • Add useful message for logger silence error by @rossta in #381
  • Use a dedicated ActiveSupport::Deprecation for Rails 7.2 compatibility by @etiennebarrie in #517
  • Dropped support for Rails versions older than 6.1

New Contributors

Full Changelog: v3.4.2...v3.5.0

v3.4.2

11 Dec 07:31
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Fix protocol relative URLs amended accidentally by @PikachuEXE in #485
  • Add assets.resolve_assets_in_css_urls configuration option to allow disabling AssetUrlProcessor by @rmacklin in #489

New Contributors

Full Changelog: v3.4.1...v3.4.2

v3.4.1

22 Nov 19:31
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • expose dependencies from AssetUrlProcessor by @zarqman in #480
  • Fix issues with relative paths from AssetUrlProcessor by @jcoyne in #482
  • Fix sourcemapping url replacement by @dhh in #484

Full Changelog: v3.4.0...v3.4.1

v3.4.0

15 Nov 15:47
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Ensure source mapping URLs set by transpilers are not broken by appending a semicolon to their path and translate the paths to the digested versions for deployment by @dhh in #479

This makes sprockets-rails compatible out of the box with sourcemap generation from jsbundling-rails.

v3.3.0

11 Nov 14:30
@dhh dhh
Compare
Choose a tag to compare

What's Changed

  • Process css files so that they get digested paths for asset files by @jcoyne in #476. This allows you to use sprockets-rails together with cssbundling-rails and be able to reference assets in the asset pipeline without additional compilation.
  • Raise the error that includes an error message by @ghiculescu in #472

Full Changelog: v3.2.2...v3.3.0

3.2.2

12 Sep 07:49
1bf94e2
Compare
Choose a tag to compare
  • Fix extending ActionView::Base instances with Sprockets::Rails::Helper on Rails 6.1
  • Fix deprecation warning on Ruby 2.7 [#454]
  • action_view/base is no longer required when rake tasks are loaded [#455]
  • Asset not precompiled error exception renamed to AssetNotPrecompiledError [#414]

3.2.1

31 Aug 20:35
v3.2.1
Compare
Choose a tag to compare
  • Fix load error with ActionView::Helpers. [#383]

3.2.0

31 Aug 20:34
Compare
Choose a tag to compare
  • Add new config option config.assets.unknown_asset_fallback when set to a falsy value will error when a requested asset is not in the pipeline. [#375]

3.1.1

29 Jun 03:26
v3.1.1
df59500
Compare
Choose a tag to compare
  • Only set the gzip option if the sprockets version supports it.