micra-rails 0.2.0 → 0.3.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: 7edc9ad1b18c34b676616edf2fb7069d709d9431ae952333f7466aa427d7ce1f
4
- data.tar.gz: e3ff36f687b9f081faf8d2660e4632c0ba3e6599bb77dce319f95a42a44f07c4
3
+ metadata.gz: 5e4f4074e4492112121e39706b6cc8a54bf3c13f5bcf58fe28f3a16fef3fb096
4
+ data.tar.gz: 6372c94c69dbdf5ae96b6560695db42884164c483a4799d5bf42c7a3ee174090
5
5
  SHA512:
6
- metadata.gz: 5d7f7dd4129f3781d42b4e400f4037ea728d997a245b5db2a1b3460d09679c8c483b7ba9d329b46b8d55fe57f73a8ecb5204627e0ff678bf7a55ea97871234b0
7
- data.tar.gz: 359b1bc7b53699ac41e65623a08ec936d60a9f8093d6ceb8fe32ca3e1d684919258c3e13b2437e6adf0db7a797ed3e9f51b8baadfaf8eda70da810b4d1f22b69
6
+ metadata.gz: 82f3f343b8927a76e229522903dac6d6cf3285294199b555b9aee43d29a08d26eb3a301d84d58d78addb204af6109e17b414909c40e71ab393ee487c64722d65
7
+ data.tar.gz: ea86256dd7de10d5725904282fefd29f5a2ab78ca30e075d8facfd61f33d2a7d5df2b7f40b9ab58f00321c5ef55593ad2ec319e49cc2d1e42e5abd3ba1c51b3c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.0] — 2026-05-30
4
+
5
+ - **Track Micra.js v2.3.0.** Default importmap pin now points at the
6
+ v2.3.0 ESM bundle (`micra.js@2.3.0/dist/micra.esm.js`). Upstream
7
+ brings a type-safe event bus via the augmentable `MicraEvents`
8
+ interface (declare your app's events once, `this.emit` /
9
+ `this.on` enforce payload types and arity at the call site) and a
10
+ positional-reuse diff for non-keyed `<template data-each>` lists —
11
+ re-renders no longer rebuild the entire list, retained rows keep
12
+ DOM identity and event listeners. See the upstream
13
+ [changelog](https://github.com/denisfl/micra.js/blob/master/CHANGELOG.md#230--2026-05-30)
14
+ for the full release notes.
15
+ - No gem-side API changes — existing `micra_component`, `micra_includes`,
16
+ and `micra_state` helpers work unchanged against the new release.
17
+ - Bumping is a pin-only change for most consumers; pre-existing apps
18
+ using `bin/importmap pin micra --download` should re-run that command
19
+ to pull the new vendor bundle.
20
+
3
21
  ## [0.2.0] — 2026-05-27
4
22
 
5
23
  - **Track Micra.js v2.2.0.** Default importmap pin now points at the
@@ -15,5 +33,6 @@
15
33
  - Generator: `rails g micra:install` pins micra.js via importmap and adds
16
34
  a `<%= micra_includes %>` line to the application layout.
17
35
 
36
+ [0.3.0]: https://github.com/denisfl/micra-rails/compare/v0.2.0...v0.3.0
18
37
  [0.2.0]: https://github.com/denisfl/micra-rails/compare/v0.1.0...v0.2.0
19
38
  [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.2.0/dist/micra.esm.js"
99
+ pin "micra", to: "https://cdn.jsdelivr.net/npm/micra.js@2.3.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.2.0"
5
+ VERSION = "0.3.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.2.0"
10
+ MICRA_JS_VERSION = "2.3.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.2.0
4
+ version: 0.3.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-27 00:00:00.000000000 Z
11
+ date: 2026-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails