Skip to content

v3.0.0

Compare
Choose a tag to compare
@smikitky smikitky released this 06 Oct 16:33
· 145 commits to master since this release

Breaking Changes

  • Removed the following methods which had been deprecated since v2.0.0.
    • isContinuous() (Gone for good. Use segmentLength() === 1 instead)
    • hasRange() *
    • appendRange() *
    • subtractRnage() *

It's still possible to access some methods (marked with *) unless you are using TypeScript (these methods were only turned to private methods). They will be there for the time being, although undocumented.

  • (TypeScript) *.d.ts file included in the package is now ready for --strictNullChecks. This means TypeScript users need to update their compiler to v2.0 or later to use the definition file. (You do not necessarily have to enable --strictNullChecks flag. See this issue for details.)

New

  • Added four convenient methods: min(), max(), shift(), and pop()