Skip to content

Releases: lightning-js/blits

v1.46.0

22 Jan 13:31
53502c4

Choose a tag to compare

  • Improved Announcer on Comcast devices
  • Added new afterEach router hook
  • Added router option to dynamically disable back-key handling by the router
  • Added this.$debounce-method
  • Added automatic inspector data items ($componentType, $hasFocus and $isTransitioning)
  • Added functionality to auto size the holder node of a Component when the wrapper Element has dimensions
  • Bumped Lightning renderer to v2.20.4 with correct handling of failed textures

v1.45.2

15 Jan 07:54
21d7809

Choose a tag to compare

  • Updated renderer to v2.20.2

v1.45.1

29 Dec 21:18

Choose a tag to compare

  • fixed issue magic-string package being a dev dependency

v1.45.0

29 Dec 14:55

Choose a tag to compare

  • Added support for defining types for custom plugins on the Blits component definitions
  • Added importable type definitions for built-in plugins
  • Added support for JS sourcemaps
  • Added reactivity for shader props (individual shaders, not effects via dynamic shader)
  • Fixed issue with usage of Blits plugins not working in for loops
  • Improved test coverage

v1.44.0

20 Nov 11:28
538cee8

Choose a tag to compare

  • Added $input method to facilitate key handling without also passing focus
  • Added support for passing type of image in the src-attribute (regular, svg, compressed for cases the file type can't be derived from the file name)
  • Bumped Lightning renderer to v2.20.0 with improved support for compressed textures

v1.43.2

13 Nov 15:43
ea7c6e5

Choose a tag to compare

  • Fixed issue with endless loop in router when first page in history would fail an async before / beforeEach hook (introduced in v1.43.0)

v1.43.1

13 Nov 12:36
f4ca992

Choose a tag to compare

  • Added arguments of fpsUpdate and frameTick hooks to type definitions

v1.43.0

12 Nov 20:36
032d270

Choose a tag to compare

  • Exposed different renderer events as hooks (idle, fpsUpdate and frameTick)
  • Added $clearListeners utility helper
  • Added $clearListeners and $unlisten to type definitions
  • Fixed issue with DEV flag being set in vite config
  • Fixed lint and lint:fix scripts to work cross platform (added Windows support)
  • Added support for utterance options (rate, pitch, lang, voice and volume) to Announcer plugin
  • Added reactivity to src-attribute of the Sprite
  • Updates deprecated assert keyword for new with keyword

v1.42.1

28 Oct 21:09

Choose a tag to compare

  • Updated to version 2.19.1 of the renderer
  • Fixed scale animation snapping issue when using object notation with transitions (again)

v1.42.0

24 Oct 12:35
a1a62a1

Choose a tag to compare

  • Added effects prop support to Sprite component
  • Added support for redirecting in before hooks returning a route object (with updated path)
  • Fixed meta options on routes functionality
  • Enhanced router hook test coverage
  • Fixed scale animation snapping issue when using object notation with transitions