live 0.18.1 → 0.18.2

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: e03f037493e99c9b309201c8f658f3f4bdd1dfc2516498a13202f157e7f73211
4
- data.tar.gz: 37b81f8c41e3115724de8bb4e836ff4b8dcd26741920ec8cee4c0e7331781b8a
3
+ metadata.gz: 6fd073e4bcfdb47b09acbfa2fb6cb1f53b4bc06ecae09ba4854104aa36e9d5f2
4
+ data.tar.gz: 68fb08690390f594445794913adbc33e90b5c014f8c4b4efe1fb9614e0461dc9
5
5
  SHA512:
6
- metadata.gz: 356991404963632fb53677321ab6b3b89395891916cc6485106bc8f8c8de42fe1be56d2c69dddb441cb94943ac19b1fe3d3382ee8ebb0a5c50c9cc57a3778858
7
- data.tar.gz: 7a04b36d8ef732f273b3f41e6df786a405697b9866a1e97ad2c28c2ac8f0f92fea807d12364d5a686bf0dfaaa0b9ee2d7036330a003bedd855b6033f60d0deef
6
+ metadata.gz: e8290817ecf9c469d2611a866775dd99386aa79bf00ca8610aae00c754376d2ef950e433dca17c7b5a0aab35530493ed6a18183c402d08901c386a6f098063c2
7
+ data.tar.gz: 9699bfdd912686e4d91f189ef0fd103c455dca91e570028d7652614112c6bf4207cbf01c5dd8c8fb0aff4ea2e718f7216a3f7e8702d75a511524c5db86c461ed
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/live/element.rb CHANGED
@@ -145,7 +145,7 @@ module Live
145
145
  end
146
146
 
147
147
  def dispatch_event(selector, type, **options)
148
- rpc(:dispatch_event, selector, type, options)
148
+ rpc(:dispatchEvent, selector, type, options)
149
149
  end
150
150
 
151
151
  # Render the element.
data/lib/live/version.rb CHANGED
@@ -4,5 +4,5 @@
4
4
  # Copyright, 2021-2026, by Samuel Williams.
5
5
 
6
6
  module Live
7
- VERSION = "0.18.1"
7
+ VERSION = "0.18.2"
8
8
  end
data/readme.md CHANGED
@@ -54,6 +54,13 @@ Please see the [project releases](https://socketry.github.io/live/releases/index
54
54
  - Using older versions of `live` with `live-js` v0.16.0 or later may also result in unexpected behavior or errors.
55
55
  - Updating both `live` and `live-js` to their latest versions is recommended to ensure compatibility, and requires no changes to application code.
56
56
 
57
+ ### v0.18.0
58
+
59
+ - **Breaking Change**: Live now uses Web Components for managing life-cycle events instead of observers. You will need to use `live-js` v0.16.0 or later with this version of `live`, which emits `<live-view>` elements (instead of `<div>` elements).
60
+ - Using older versions of `live-js` with this version of `live` may result in unexpected behavior or errors.
61
+ - Using older versions of `live` with `live-js` v0.16.0 or later may also result in unexpected behavior or errors.
62
+ - Updating both `live` and `live-js` to their latest versions is recommended to ensure compatibility, and requires no changes to application code.
63
+
57
64
  ### Developer Certificate of Origin
58
65
 
59
66
  In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: live
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 0.18.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file