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 +4 -4
- data/CHANGELOG.md +20 -2
- data/README.md +2 -2
- data/lib/hanami/assets/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d326358015477bef885a6ae220b03601868f809a39c891b26df1aa4b0194f04
|
|
4
|
+
data.tar.gz: 4c077f097f30383e065eaf9c0ef4ca5e09e14761da78bb42eaf5afad906a5cac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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/
|
|
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 = ["
|
|
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.
|
|
5
|
+
[forum]: https://discourse.hanakai.org
|
|
6
6
|
[rubygem]: https://rubygems.org/gems/hanami-assets
|
|
7
7
|
|
|
8
8
|
# Hanami Assets [][rubygem] [][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 = ["
|
|
175
|
+
config.assets.subresource_integrity = ["sha384"]
|
|
176
176
|
end
|
|
177
177
|
end
|
|
178
178
|
```
|