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 dependencies
- Now to use the
loadScript
function you have to activate theglobal
mode
- Exception thrown when using
loadScript
in local mode - Exception thrown when using
setFunction
in local mode
- Attribute
global
is nowfalse
by default so each element uses its own privatehydra-synth
engine
- JSDoc for documentation and typing
- Unit tests
- Exception thrown when parsing an invalid JSON string with
parseJSON
- Now the component evaluates the code between the element tags
- New
code
property - New
global
attribute - New
transforms
property - New
pb
property - New
canvas
property - New
loop
attribute andtick
method
- The component is already reactive to attribute changes 🎉
- The bundler has been changed from webpack to vite
- Ensure the hydra-synth is created only once. As a result the component loses reactivity to attribute changes 😒
- Use valid SPDX license identifier in package.json.
- Distribute the correct bundle 😅
- Attributes are now initialized in the constructor to prevent webpack from defining them before the super() call.