Necessary to resolve deprecation warnings and required updating to Hanami Assets 2.3.2 to pull this off (despite breaking semantic versioniong on the Hanami side).
Milestone: minor
Weekly updates and maintneance. Mostly patches but the CLI UI is a major bump (it's not used directly, though). Most of this is related to Code Mirror.
Milestone: minor
Necessary to pick up latest fixes and enhancements. link:https://hanamirb.org/blog/2025/11/12/hanami-23-racked-and-ready[Details]. A few notes:
* Applied relevant changes as mentioned in the link:https://guides.hanamirb.org/v2.3/upgrade-notes/v2.3/[Upgrade Guide].
* Updated all actions to adhere to the new link:https://guides.hanamirb.org/v2.3/actions/formats-and-media-types/[response formats]. Unfortunately, none of the documentation links work when getting the deprecation warnings in the console so use what is linked to here.
* Was able to remove nearly all warnings but a new circular warning popped up so am ignoring for now. Opened an issue on this and will hopefully be fixed in the next patch release.
With this upgrade complete, we should be able to switch to using Rack 3.0.0 and higher next.
Milestone: minor
Necessary to provide syntax highlighting when editing source code. Supports the following features:
* Allows any HTML element to be turned into editable content by adding the `bit-editor` class.
* Adds custom styling via the `cm-editor` class which is dynamically added to DOM elements when CodeMirror renders the editor.
* Uses the One Dark Theme for a black console look and feel.
* Provides JSON and Liquid syntax highlighting (might need to add more in the future but is good for now).
* Provides dynamic language support via the HTML `data-language` attribute. Use: `json` or `liquid` as desired.
* Provides dynamic read or write mode. The default is read/write but if you want the editor to be read only, use the `data-mode="read"` HTML attribute.
* The `EditorView` is configured to dynamically listen for updates to the HTML element which has the `.bit-editor` class. All updates are kept in sync so that when the form is submitted, all changes are saved. The original element (usually a form field) is hidden from view while the editor is loaded.
* Provides tab and selection indentation key maps.
* Uses the `data-initialized` attribute to keep track of whether the editor is initialized or not. When `true` that means initialization can be skipped. This is especially important then used in conjunction with htmx partial updates.
See project link:https://codemirror.net[documentation] for further details.
Milestone: minor