hanami-assets 3.0.0.rc1 → 3.1.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb068dfbb3f66779fb4f3e7f90851e9dfceb3f90b1179f5086710f394eed2024
4
- data.tar.gz: 9fda06a5aebe4d0c6f5eb4bd11209d8584359b38b1e3cfcb095d40b7349d4436
3
+ metadata.gz: 6d326358015477bef885a6ae220b03601868f809a39c891b26df1aa4b0194f04
4
+ data.tar.gz: 4c077f097f30383e065eaf9c0ef4ca5e09e14761da78bb42eaf5afad906a5cac
5
5
  SHA512:
6
- metadata.gz: ee518c103898cfde26ac0473841973dc38f3a6398dedab2d479b62bc43e7ad01757912734357bd9a48a28bf697cfbf42fdbfed3f9aa744f293afa9f16d60c53e
7
- data.tar.gz: db86423cbb3964390e9c9b52fb16cc4a266aacd6110c0db4888118a0a7597c32a4a1e81f639b70a304f88431c59481dd658ae2886acae5cbcd8da4e1789f89e0
6
+ metadata.gz: 8a552d13c0efbd5fed5863cd792a9141d42deb895bfc6dcdf3168d1ca975a21d10bbbf08e438cb0cc85ee95bda5ffea35be62a7ee2670cd72c7da2eadd7c3deb
7
+ data.tar.gz: 988232299217077971e7cea455a526904890432aba2edc0252490110c09dd805a835c665854fd94484a1e1cc90b916d5bfcd5d79999a01c2b2c4fa18f8b55531
data/CHANGELOG.md CHANGED
@@ -19,7 +19,25 @@ and this project adheres to [Break Versioning](https://www.taoensso.com/break-ve
19
19
 
20
20
  ### Security
21
21
 
22
- [Unreleased]: https://github.com/hanami/assets/compare/v2.3.0...HEAD
22
+ [Unreleased]: https://github.com/hanami/assets/compare/v3.1.0.rc1...HEAD
23
+
24
+ ## [3.1.0.rc1] - 2026-11-27
25
+
26
+ No changes.
27
+
28
+ [3.1.0.rc1]: https://github.com/hanami/assets/compare/v3.0.0...v3.1.0.rc1
29
+
30
+ ## [3.0.0] - 2026-06-30
31
+
32
+ ### Added
33
+
34
+ - Add [specification](SPEC.md) for compliant asset bundlers. (@timriley in #150)
35
+
36
+ ### Changed
37
+
38
+ - Require Ruby 3.3 or newer.
39
+
40
+ [3.0.0]: https://github.com/hanami/assets/compare/v2.3.0...v3.0.0
23
41
 
24
42
  ## [3.0.0.rc1] - 2026-06-16
25
43
 
@@ -111,7 +129,7 @@ and this project adheres to [Break Versioning](https://www.taoensso.com/break-ve
111
129
  - Removed `Hanami::Assets.deploy`, `.precompile`, `.load!` as precompile process is now handled via JavaScript. (Luca Guidi)
112
130
  - Removed `Hanami::Assets.sources`, as third-party libraries should be handled via Yarn. (Luca Guidi)
113
131
  - Removed `Hanami::Assets::Config#fingerprint`, as fingerprinting will be always activated. (Luca Guidi)
114
- - Changed `Hanami::Assets::Config#subresource_integrity`. To activate the feature, pass an array of algorithms to use (e.g. `config.subresource_integrity = ["sha-384"]`). (Luca Guidi)
132
+ - Changed `Hanami::Assets::Config#subresource_integrity`. To activate the feature, pass an array of algorithms to use (e.g. `config.subresource_integrity = ["sha384"]`). (Luca Guidi)
115
133
  - Removed `Hanami::Assets::Config#cdn`. To activate the feature, pass the CDN base URL to the initializer of the configuration (`base_url` keyword argument). (Luca Guidi)
116
134
  - Removed `Hanami::Assets::Config#javascript_compressor` and `stylesheet_compressor`, as the compression is now handled via JavaScript. (Luca Guidi)
117
135
  - Removed `Hanami::Assets::Config#scheme`, `#host`, `#port`, and `#prefix`. Use `base_url` keyword argument to pass to configuration initializer. (Luca Guidi)
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [actions]: https://github.com/hanami/hanami-assets/actions
4
4
  [chat]: https://discord.gg/naQApPAsZB
5
- [forum]: https://discourse.hanamirb.org
5
+ [forum]: https://discourse.hanakai.org
6
6
  [rubygem]: https://rubygems.org/gems/hanami-assets
7
7
 
8
8
  # Hanami Assets [![Gem Version](https://badge.fury.io/rb/hanami-assets.svg)][rubygem] [![CI Status](https://github.com/hanami/hanami-assets/workflows/CI/badge.svg)][actions]
@@ -172,7 +172,7 @@ Subresource Integrity (SRI) is a security mechanism that allows browsers to veri
172
172
  ```ruby
173
173
  module MyApp
174
174
  class App < Hanami::App
175
- config.assets.subresource_integrity = ["sha-384"]
175
+ config.assets.subresource_integrity = ["sha384"]
176
176
  end
177
177
  end
178
178
  ```
@@ -5,6 +5,6 @@ module Hanami
5
5
  # Defines the version
6
6
  #
7
7
  # @since 0.1.0
8
- VERSION = "3.0.0.rc1"
8
+ VERSION = "3.1.0.rc1"
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc1
4
+ version: 3.1.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hanakai team