UNPKG

hydra-element

Version:

A custom element for wrapping the hydra-synth engine

89 lines (49 loc) 1.88 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.5.1] - 2024-04-07 ### Fixed - Update dependencies ## [0.5.0] - 2023-12-17 ### Changed - Now to use the `loadScript` function you have to activate the `global` mode ## [0.4.1] - 2023-12-17 ### Fixed - Exception thrown when using `loadScript` in local mode - Exception thrown when using `setFunction` in local mode ## [0.4.0] - 2023-12-16 ### Changed - Attribute `global` is now `false` by default so each element uses its own private `hydra-synth` engine ## [0.3.1] - 2023-12-12 ### Added - JSDoc for documentation and typing - Unit tests ### Fixed - Exception thrown when parsing an invalid JSON string with `parseJSON` ## [0.3.0] - 2023-11-12 ### Added - 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 and `tick` method ### Fixed - The component is already reactive to attribute changes 🎉 ### Changed - The bundler has been changed from webpack to vite ## [0.2.0] - 2021-09-04 ### Changed - Ensure the hydra-synth is created only once. As a result the component loses reactivity to attribute changes 😒 ### Fixed - Use valid SPDX license identifier in package.json. ## [0.1.2] - 2021-08-17 ### Fixed - Distribute the correct bundle 😅 ## [0.1.1] - 2021-08-17 ### Changed - Attributes are now initialized in the constructor to prevent webpack from defining them before the super() call. ## [0.1.0] - 2021-08-13 ### First public release.