Skip to content

Releases: stimulusreflex/cable_ready

v5.0.6

15 Dec 08:07
f0d800e
Compare
Choose a tag to compare

Fixed

  • Observers clear references by @anaice in #298
  • Unsubscribe from the channel when UpdatesForElement disconnects by @farolanf in #299
  • Fixed missing MissingElement import in index.js by @marcoroth in 059b314

Dependencies

New Contributors

Commits

Full Changelog: v5.0.5...v5.0.6

v5.0.5

14 May 06:40
875bd51
Compare
Choose a tag to compare

Fixed

  • Update bundled dist/ files to reflect new version

Commits

Full Changelog: v5.0.4...v5.0.5

v5.0.4

09 May 18:21
d8823d2
Compare
Choose a tag to compare

Changed

Dependencies

Commits

Full Changelog: v5.0.3...v5.0.4

v5.0.3

14 Nov 14:00
Compare
Choose a tag to compare

Replacement for the corrupted 5.0.2 release

v5.0.2

09 Nov 19:19
Compare
Choose a tag to compare

Added

Fixed

Dependencies

Commits

Full Changelog: v5.0.1...v5.0.2

v5.0.1

07 Jul 09:31
Compare
Choose a tag to compare

Released: 2023-07-07

Added

Fixed

  • Set xpath flag when overwriting selector with previous_selector by @Matt-Yorkley in #278

Docs

Dependencies

Commits

Full Changelog: v5.0.0...v5.0.1

v5.0.0

13 Apr 13:44
f6d4cd2
Compare
Choose a tag to compare

Released: 2023-04-13

New Operations

Added

Fixed

  • Setup better finalizer by @hopsoft in #116
  • Fix updates for lazy loading by @julianrubisch in #150
  • Fix wrong CableReady import by @n-rodriguez in #146
  • Error handling for updates_for edge cases by @leastbad in #155
  • Query all eager loading turbo frames and patch their innerHTML by @julianrubisch in #164
  • Fix resolve error for webpack 5 by @acarpe in #169
  • Fix text_content operation for nullish values by @marcoroth in #176
  • Fix 0 value problem with null checks by @leastbad in #210
  • Fix documentElement doesn't have a parent by @leastbad in #218
  • Fix cable_ready_updates_for makes redundant calls by @leastbad in #225
  • Fix bug where using an array when calling add_css_class or remove_css_class didn't work by @binarygit in #232
  • Fix inverse_of resolution of associations used by CableReady::Updatable by @julianrubisch in #262
  • Remove unused url_helpers include from installer which causes the installer to fail and exit by @marcoroth in #267

Changed

  • Change default value of HTML in operations to empty string instead of undefined by @leastbad in #106
  • Use and export before, operate and after to build the operations by @leastbad in #110
  • The play_sound operation is now opt-in and can be triggered via the data-unlock-audio attribute on the <body> tag by @leastbad in #112
  • Improve install experience by @leastbad in #128
  • dom_id should always be lowercase by @leastbad in #129
  • Mark JavaScript bundle sideEffects free by @KonnorRogers in #138
  • Implement simplified JSON payload by @leastbad in #142
  • Add support for named operation batches by @leastbad in #142
  • Export StreamFromElement and UpdatesForElement custom elements by @julianrubisch in #156
  • Export CableReady ActionCable consumer by @julianrubisch in #158
  • Updated gemspec to specific Rails gems by @paul in #175
  • Ignore inner updates on a stimulus-reflex action or turbo submit by @julianrubisch in #174
  • updates_for should respect url and only params on each element by @leastbad in #186
  • Updates for Attachments by @andrewerlanger in #190
  • Ship prebuilt JavaScript with the cable_ready gem by @marcoroth in #191
  • Include changeset in class-level updates broadcast by @grncdr in #193
  • Register Single-Table-Inheritance descendants for collection updates when using enable_cable_ready_updates by @julianrubisch in #204
  • Explicit check for leaf parent element presence for cable_ready_updates_for by @rickbenavidez in #208
  • Make CableReady::Updatable aware of Turbo Boost Commands by @julianrubisch in #242
  • Change that CableReadyHelper doesn't raise when including the module by @marcoroth in #256

Removed

Renamed

  • Rename CableReadyHelper to CableReady::ViewHelper by @marcoroth in #220 and @erlingur in #224
  • Rename enable_updates to enable_cable_ready_updates by @marcoroth in #250
  • Rename <updates-for> to <cable-ready-updates-for> by @marcoroth in #252
  • Rename <stream-from> to <cable-ready-stream-from> by @marcoroth in #252
  • Rename stream_from(...) to cable_ready_stream_from(...) by @marcoroth in #252
  • Rename updates_for(...) to cable_ready_updates_for(...) by @marcoroth in #252
  • Rename updates_for_if(...) to cable_ready_updates_for_if(...) by @marcoroth in #252
  • Rename CableReadyBroadcastJob to CableReady::BroadcastJob by @julianrubisch in #259
  • Rework CableReady's ...
Read more

v5.0.0.rc2

27 Mar 23:11
73067fc
Compare
Choose a tag to compare
v5.0.0.rc2 Pre-release
Pre-release

Released: 2023-03-28

Changed

  • No new changes in this release. This is just a version bump so that the CableReady RCs are in sync with the StimulusReflex RCs. See: StimulusReflex 3.5.0.rc2

Commits

Full Changelog: v5.0.0.rc1...v5.0.0.rc2

v5.0.0.rc1

26 Mar 21:25
6af229c
Compare
Choose a tag to compare
v5.0.0.rc1 Pre-release
Pre-release

Released: 2023-03-26

Added

Fixed

  • Fix inverse_of resolution of associations used by CableReady::Updatable by @julianrubisch in #262
  • Remove unused url_helpers include from installer which causes the installer to fail and exit by @marcoroth in #267

Removed

Note: if you were using the any CableReady min.js files we ask you to migrate to the non-minified versions.

Renamed

  • Rename CableReadyBroadcastJob to CableReady::BroadcastJob by @julianrubisch in #259
  • Rework CableReady's ActionController::Renderers from operations to cable_ready by @marcoroth in #260
  • Rename cable_ready MIME type from application/vnd.cable-ready.json to text/vnd.cable-ready.json by @marcoroth in #260

Dependencies

Docs

New Contributors

Commits

Full Changelog: v5.0.0.pre10...v5.0.0.rc1

v5.0.0.pre10

15 Feb 00:40
9cb4b6b
Compare
Choose a tag to compare
v5.0.0.pre10 Pre-release
Pre-release

Released: 2023-02-15

New Operations

Added

Changed

  • Include changeset in class-level updates broadcast by @grncdr in #193
  • Register Single-Table-Inheritance descendants for collection updates when using enable_cable_ready_updates by @julianrubisch in #204
  • Explicit check for leaf parent element presence for cable_ready_updates_for by @rickbenavidez in #208
  • Make CableReady::Updatable aware of Turbo Boost Commands by @julianrubisch in #242
  • Change that CableReadyHelper doesn't raise when including the module by @marcoroth in #256

Fixed

  • Fix 0 value problem with null checks by @leastbad in #210
  • Fix documentElement doesn't have a parent by @leastbad in #218
  • Fix cable_ready_updates_for makes redundant calls by @leastbad in #225
  • Fix bug where using an array when calling add_css_class or remove_css_class didn't work by @binarygit in #232

Removed

  • Remove config.on_new_version_available config option by @marcoroth in #253

Renamed

New packages

@cable_ready/element

@cable_ready/invoke_operations

Refactoring/Internal

Dependencies

New Contributors

Commits

Full Changelog: v5.0.0.pre9...v5.0.0.pre10