Skip to content

Releases: mourner/rbush

v4.0.1

21 Aug 19:15
Compare
Choose a tag to compare
  • Change main entry in package.json to point to the ESM bundle to fix compatibility issues with some TypeScript setups. #139
  • Update quickselect dependency to v3.

v4.0.0

27 Jun 08:37
Compare
Choose a tag to compare
  • ⚠️ Breaking: RBush is now published as a ES module. To use RBush in CommonJS environments, please use v3.0.1.
  • ⚠️ Breaking: RBush is no longer transpiled for IE11 (you can still transpiled on your end to keep IE11 support).

v3.0.1

31 Jul 21:19
Compare
Choose a tag to compare

Fixed a rare race condition that led to an error when inserting infinity-area rectangles. #94 (Thanks @DiogoDoreto!)

v3.0.0

14 May 20:53
Compare
Choose a tag to compare

⚠️ Breaking changes

  • Changed the API from rbush(...) to new 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, eliminating eval-like code and making RBush fully compliant with strict CSP environments. The new way to define custom formats is described here.

v2.0.2

14 May 20:43
Compare
Choose a tag to compare

Added default export for better ES6 modules / transpiler support.

v2.0.1

29 Jun 17:01
Compare
Choose a tag to compare
  • Fixed browser builds in NPM.

v2.0.0

29 Jun 17:01
Compare
Choose a tag to compare
  • 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 to remove 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.

v1.4.3

29 Jun 17:03
Compare
Choose a tag to compare
  • Fixed an error when inserting many empty bounding boxes.

v1.4.2

29 Jun 17:03
Compare
Choose a tag to compare
  • 50% faster insertion.

v1.4.1

29 Jun 17:04
Compare
Choose a tag to compare
  • Fixed insertion in IE8.