Releases: 0b5vr/tweakpane-plugin-profiler
Releases · 0b5vr/tweakpane-plugin-profiler
Release list
v0.4.1
v0.4.0
🚨 BREAKING CHANGES 🚨
-
#1: Migrated to Tweakpane v4, which results in incompatibility of Tweakpane v3.
- The module is now esm instead of umd
- See the v4 migration guide to bump your Tweakpane!
-
#2: Changed the interface of
ProfilerBladeMeasureHandler- It now receives
measureStart, which is expected to return a function that returns a number instead ofmeasure.
- It now receives
✨ New features
- #2: New API,
measureStartandmeasureEnd- more classical way to measure things like you do in
console.timeandconsole.timeEnd measurestill can be used, don't worry!
- more classical way to measure things like you do in
📄 Docs
- 4831d9e: Update readme image
🧹 Chores
📦 Deps
- #1: Bump Tweakpane to v4
v0.3.0
🚨 BREAKING CHANGES 🚨
- 3a1bc9f: ProfilerBladeMeasureHandler no longer have path on its first argument
- fe1e529: Drop <es2017 support
💡 Behavior Changes
- 3c290a1: The first argument of
ProfilerBladeApi.measureshould be namednameinstead ofpath
💪 Performance
🧹 Chores
- 6cb5b22: Use double quotes instead of singlequotes inside package.json
- Windows support. See: tweakpane/plugin-template#1
- 6ca0e64:
yarn cleanshould also remove type def directories
v0.2.0
🚨 BREAKING CHANGES 🚨
- 398a955: Now it calculates mean of recent frames instead of median
- 398a955: Change a parameter name:
medianBufferSize->bufferSize
✨ New Features
- 398a955: New parameter,
calcMode, can be selected from"frame","mean", or"median"- It's
"mean"by default, calculates mean value of recent frames - Because of this change, the parameter
medianBufferSizehas been renamed tobufferSize
- It's
📄 Docs
- 6c4cbbb: Fix an image url