Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Releases: scottbedard/cube

1.0.0

06 Jul 17:56
Compare
Choose a tag to compare

No changes were made between this and version 1.0.0-beta.0. Breaking changes will now be incrementing the major version number.

1.0.0-beta.0

14 Dec 20:55
Compare
Choose a tag to compare
1.0.0-beta.0 Pre-release
Pre-release

Going forward, we will try not to make breaking changes, as the API is now considered stable.

Breaking changes

  • State keys are now upper cased
  • Turn notation now uses a superset of WCA notation (#14)

New

  • A cli command has been added to parse turn strings (#13)

Improved

  • More minification optimizations (#12)

0.5.2

02 Dec 18:34
Compare
Choose a tag to compare

Fixed

  • The cube now correctly detects all unsolved states (#11)

Improved

  • Optimized array operations to enable better minification (#12)

0.5.1

30 Nov 02:30
Compare
Choose a tag to compare

Fixed

  • Cleaned up require call to removed dependency (989bdde)

0.5.0

28 Nov 05:51
Compare
Choose a tag to compare

Breaking change

  • The cube no longer maintains a turn history (#8)

New

  • A cli command has been added to test solutions (#3)
  • A cli command has been added to turn cubes (#9)

Improved

  • Stringified turns with a depth of 1 will now omit the turn depth (#7)

0.4.0

18 Nov 23:00
Compare
Choose a tag to compare

Breaking change

  • When using sticker objects, the index key has been renamed to originalIndex. This value does not change as the cube is turned, and can be used to determine a solution for "super cubes", where there is only one solved state.

New

  • Cube instances now expose a parseTurn method to convert turn strings into objects

0.3.1

17 Nov 04:35
Compare
Choose a tag to compare

New

A minified browser-friendly build is now included

0.3.0

17 Nov 04:27
Compare
Choose a tag to compare

New

  • Added an option to store state as { index, value } objects
  • Added a stickers method to iterate over all stickers
// these can be used together to attach additional information to stickers
const cube = new Cube(3, { useObjects: true });

cube.stickers(sticker => {
    sticker.foo = 'whatever';
});

0.2.2

03 Nov 21:07
Compare
Choose a tag to compare
0.2.2

0.2.1

03 Nov 20:58
Compare
Choose a tag to compare
0.2.1