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 +4 -4
- data/CHANGELOG.md +19 -0
- data/README.md +1 -1
- data/lib/micra/rails/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e4f4074e4492112121e39706b6cc8a54bf3c13f5bcf58fe28f3a16fef3fb096
|
|
4
|
+
data.tar.gz: 6372c94c69dbdf5ae96b6560695db42884164c483a4799d5bf42c7a3ee174090
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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):
|
data/lib/micra/rails/version.rb
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
module Micra
|
|
4
4
|
module Rails
|
|
5
|
-
VERSION = "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.
|
|
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.
|
|
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-
|
|
11
|
+
date: 2026-05-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|