js-sdsl v4.0.0-beta.0 Release Notes

Release Date: 2022-07-24 // about 2 years ago
  • โž• Added

    • โœ… Complete test examples (don't effect using).
    • The error thrown is standardized, you can catch it according to the error type.

    ๐Ÿ”„ changed

    • ๐Ÿ”จ Refactor all container from function to class (don't effect using).
    • Abstracting tree containers and hash containers, change Set's and Map's name to OrderedSet and OrderedMap to distinguish it from the official container.
    • ๐Ÿ”„ Change OrderedSet api eraseElementByValue's name to eraseElementByKey.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed so many bugs.

Previous changes from v3.0.0-beta.0

  • โž• Added

    • Bidirectional iterator is provided for all containers except Stack, Queue, HashSet and HashMap.
    • โž• Added begin, end, rBegin and rEnd functions to some containers for using iterator.
    • โž• Added eraseElementByIterator function.

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Changed Pair type T, K to K, V (don't effect using).
    • ๐Ÿ”„ Changed find, lowerBound, upperBound, reverseLowerBound and reverseUpperBound function's returned value to Iterator.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed an error when the insert value was 0.
    • ๐Ÿ›  Fixed the problem that the lower version browser does not recognize symbol Compilation error caused by iterator.