micra-rails 0.1.0 → 0.2.0

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: 4a6d0b13ecc6a8986ce5eea667182297f74cd8c5c8b32632e04b1b58f6cd4c26
4
- data.tar.gz: f2d33530d1f24d31382a61a4bf1321d3a566d5ddb1cabe8906724afe7628fa07
3
+ metadata.gz: 7edc9ad1b18c34b676616edf2fb7069d709d9431ae952333f7466aa427d7ce1f
4
+ data.tar.gz: e3ff36f687b9f081faf8d2660e4632c0ba3e6599bb77dce319f95a42a44f07c4
5
5
  SHA512:
6
- metadata.gz: dbe6c5e23d82e90f2414e448db3a01bdd3015708bc940439e279cad84117fd4a6547d4a4a712f5323aa9d2479033c53cc7d6fff057f05391a1335c4e20967c25
7
- data.tar.gz: c17d3344f4c6419d2c00c3f493b322473bc0d31bbe08cac15de3b9b1658fec75ff2e7ab805166a50b018d0a870b751fbc20cbf7738a77cbaf6159072f2733089
6
+ metadata.gz: 5d7f7dd4129f3781d42b4e400f4037ea728d997a245b5db2a1b3460d09679c8c483b7ba9d329b46b8d55fe57f73a8ecb5204627e0ff678bf7a55ea97871234b0
7
+ data.tar.gz: 359b1bc7b53699ac41e65623a08ec936d60a9f8093d6ceb8fe32ca3e1d684919258c3e13b2437e6adf0db7a797ed3e9f51b8baadfaf8eda70da810b4d1f22b69
data/CHANGELOG.md CHANGED
@@ -1,10 +1,19 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased]
3
+ ## [0.2.0] — 2026-05-27
4
4
 
5
- - Initial release skeleton.
5
+ - **Track Micra.js v2.2.0.** Default importmap pin now points at the
6
+ v2.2.0 ESM bundle (`micra.js@2.2.0/dist/micra.esm.js`). Upstream
7
+ brings full TypeScript inference (your `define()` literal now types
8
+ `this.state.X` and `this.someMethod()`) and a ~50% faster mount path
9
+ via single-pass DOM scan.
10
+
11
+ ## [0.1.0] — 2026-05-26
12
+
13
+ - Initial release.
6
14
  - Helpers: `micra_component`, `micra_includes`, `micra_state`.
7
- - Generator: `rails g micra:install` pins micra.js via importmap and adds a
8
- `<%= micra_includes %>` line to the application layout.
15
+ - Generator: `rails g micra:install` pins micra.js via importmap and adds
16
+ a `<%= micra_includes %>` line to the application layout.
9
17
 
10
- [unreleased]: https://github.com/denisfl/micra-rails/compare/v0.0.0...HEAD
18
+ [0.2.0]: https://github.com/denisfl/micra-rails/compare/v0.1.0...v0.2.0
19
+ [0.1.0]: https://github.com/denisfl/micra-rails/releases/tag/v0.1.0
data/README.md CHANGED
@@ -96,7 +96,7 @@ Pair Micra with **Turbo Streams** for the full Hotwire stack with reactivity.
96
96
  By default, `micra-rails` pins to jsDelivr:
97
97
 
98
98
  ```ruby
99
- pin "micra", to: "https://cdn.jsdelivr.net/npm/micra.js@2.1.0/dist/micra.esm.js"
99
+ pin "micra", to: "https://cdn.jsdelivr.net/npm/micra.js@2.2.0/dist/micra.esm.js"
100
100
  ```
101
101
 
102
102
  To self-host (no third-party CDN):
@@ -2,11 +2,11 @@
2
2
 
3
3
  module Micra
4
4
  module Rails
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.0"
6
6
 
7
7
  # Tracks the Micra.js npm version we ship by default. The importmap pin
8
8
  # uses this value. Bump it together with VERSION when wrapping a new
9
9
  # upstream release.
10
- MICRA_JS_VERSION = "2.1.0"
10
+ MICRA_JS_VERSION = "2.2.0"
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: micra-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Fedosov-Ledovskikh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-26 00:00:00.000000000 Z
11
+ date: 2026-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails