Releases: cubing/cubing.js
Releases · cubing/cubing.js
v0.39.1
Release notes:
- [twisty] Avoid a 180° jumping bug when dragging the puzzle too far in either direction.
- [search] Remove
forceStringWorker
fromsetDebug(…)
completely.
v0.39.0
Release notes: - [alg] Reject suffixes without families. - [twisty] Fix smart quotes and adjust spacing on paste into `<twisty-alg-editor>` - [kpuzzle] Support `orientationMod`. - [twisty] Rename `KPuzzleSVGWrapper` to `TwistyAnimatedSVG`. - [search] Rename `setDebug(…)` to `setSearchDebug(…)`. - [search] Add a debug option to disable worker instantiation warnings.
v0.38.1
Release notes: - [twisty] Fix a typo: `ColorSchemeRequstProp` → `ColorSchemeRequestProp`.
v0.38.0
Release notes: - [puzzles] Clock changes: - Add frame rotations (`z` and `x2`). - SVG includes 12 o'clock marks and a back side label. - 3-pin, diagonal, and back moves: | Type | Reference | F pins |B pins | Count | |----------------|-----------|----------------------|----------|---------------------------| | 0-pin | bb/bb | N/A | `B1+` | 1 | | 1-pin | Fb/bb | `UL1+` (WCA) | `BDRw1+` | 2×4 | | Adjacent 2-pin | FF/bb | `UL+` (WCA) | `BD1+` | 2×4 | | Diagonal 2-pin | Fb/bF | `MUL1+` | `BMUR1+` | 2×4 | | 3-pin | FF/Fb | `ULw1+` | `BDR1+` | 2×4 | | 4-pin | FF/FF | `ALL1+` (WCA), `F1+` | N/A | 2 | | Axis rotations | N/A | N/A | N/A | 3 (`x2`, `y2` (WCA), `z`) | See https://github.com/cubing/cubing.js/issues/280 for more details.
v0.37.0
Release notes: - Switch purely to module workers. - As of [Firefox 114](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/114), all modern JavaScript browsers and runtimes with worker support are now able to instantiate module workers. This is important for performance, as it significantly improves worker loading for `cubing.js` (requiring ⅓ as much code as before): https://github.com/cubing/cubing.js/issues/214 - Due to the heavy complexity and maintenance burden of alternatives to module workers, `cubing.js` is dropping support for "classic" workers and there is no longer a "catch-all" fallback when worker instantiation fails. In removing this fallback, have carefully made sure `cubing.js` scrambles will continue work out of the box with all modern browsers, as well as the main runtimes that support web worker (`node` and `deno`). We have also tested compatibility against major bundlers. However, if you are passing `cubing.js` through your own choice of bundler, then it must correctly bundle the worker "entry file" using one of the following: - [`import.meta.resolve(…)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import.meta/resolve) — this is the only "officially supported" way that we plan to support indefinitely, and the only one that will work without showing a warning in the JavaScript console. - One of two variants of using `new URL(…, import.meta.url)` as an alternative to `import.meta.resolve(…)`. - Using this workaround for `esbuild`: https://github.com/evanw/esbuild/issues/312#issuecomment-952291570
v0.37.0-pre2
Release notes: - [search] Add a direct inline worker instantiation fallback.
v0.37.0-pre1
Release notes: - [search] Remove the string-based classic worker instantiation fallback. With the release of Firefox 114, all modern browsers support module workers. This allows us to remove a significant amount of code, and load some `cubing.js`-based apps with 1/3 of the code. We will not support fallbacks going forward. For more details, see: https://github.com/cubing/cubing.js/issues/214
v0.36.3
Release notes: - [notation] Support RBTM and RBQTM for PG puzzle loaders. - [twisty] Remove legacy abbreviations for displaying metrics.
v0.36.2
Release notes: - [puzzle-geometry] Revert the internal dodecahedral face names.
v0.36.1
Release notes: - [alg] Handle Square-1 tuple inversion. - [alg] Don't error while stringifying `Grouping`s that look like Square-1 tuples with an amount other than 1.