Releases: mourner/rbush
Releases · mourner/rbush
v4.0.1
v4.0.0
v3.0.1
v3.0.0
⚠️ Breaking changes
- Changed the API from
rbush(...)
tonew RBush(...)
. #93 - RBush is now published as a ES module with a modern syntax, while still providing a ES5-compatible UMD build for browsers and Node. #89
- Removed the
format
constructor argument, eliminatingeval
-like code and making RBush fully compliant with strict CSP environments. The new way to define custom formats is described here.
v2.0.2
v2.0.1
v2.0.0
- Breaking: changed the default format of inserted items from
[20, 40, 30, 50]
to{minX: 20, minY: 40, maxX: 30, maxY: 50}
. - Breaking: changed the
search
method argument format from array to object literal too. - Improved performance by up to 30%.
- Added
equalsFn
optional argument toremove
to be able to remove by value rather than by reference. - Changed the source code to use CommonJS module format. Browser builds are automatically built and published to NPM.
- Quickselect algorithm (used internally) is now a separate module.