Skip to content

0.4.2-fork.2

Latest

Choose a tag to compare

@kitschpatrol kitschpatrol released this 12 Nov 03:32
· 2 commits to main since this release

Added

  • Add a /lite export and minified lite build that import @tweakpane/core for sharing across plugins.
  • Export ProfilerBladeApi and ProfilerBladePluginParams types from the package entry.

Changed

  • Bundle @tweakpane/core in the default and minified builds; use /lite to retain externalized core imports.
  • Breaking: Restrict package entry points to the root, /lite, and /package.json, consolidate declarations, and mark the package side-effect-free.
  • Breaking: Raise the browser JavaScript build target from ES2015 to ES2022.
  • Breaking: Restrict declared Node.js support to 18, 20, 22, 24, and 26 or newer.
  • Breaking: Change ProfilerBladeMeasureHandler from an interface to a type alias, removing declaration-merging support.

Fixed

  • Skip legacy measure-handler warnings for blades belonging to other plugins.
  • Apply hover highlighting to profiler bars only on devices that support hover.
  • Report a clear error when measureEnd() is called without a matching measureStart().
  • Correct the exported css type to string instead of the stylesheet placeholder literal.

Documentation

  • Add installation and registration examples, explain bundled and /lite imports and core dependencies, and document contributor workflows.

Maintenance

  • Update the pinned pnpm version to 12.16.1.
  • Update the GitHub release and release-note actions.
  • Update npm publishing to obtain a one-time password through the 1Password CLI.
  • Migrate JavaScript, SCSS, and declaration builds to tsdown, validate packages with publint and Are the Types Wrong, and serve the demo with Vite.
  • Adopt @kitschpatrol/shared-config and ksc for linting and formatting, refactor internal modules, and refresh editor tasks.
  • Add Vitest coverage for plugin registration, measurement APIs, rendering, disposal, and calculation utilities.
  • Add build, lint, and test CI on Linux, macOS, and Windows.
  • Add monthly and manually triggered dependency-update automation.
  • Integrate chagent into release commits and build after version bumps before publishing.
  • Refresh development dependencies and repository actions, and update the pinned pnpm version to 12.18.0.