All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Update publishing to comply with new npm policy
- Add missing sourcemap
- Add support for
radioinputs andcontenteditableelements inchangeHandler - Do not update state without a
nameinchangeHandler
- Fix bug in
setState()where URL was incorrectly set to""when callingreplaceState()
- Add event target and dispatch
changeandbeforechangeevents on state changes - Add support for
setState()accepting functions - Add
changeHandler()as callback to update state onchangeandinputevents
- Set default base as
document.documentElementto supprt<head> - Fix linting errors and eslint config
- "Reactivity" of elements (attributes, text, styles) via
data-aegis-state-*sttributes &MutationObserver toJSON()support of proxy objects viagetState()
- Add JSDocs
- Add minified
.mjsversion in output
getStatenow returns aProxyobject for the value (reflected inmanageState)setStateis no longer async
Initial Release