Skip to content

v3.2.0

Compare
Choose a tag to compare
@tristanls tristanls released this 21 Aug 16:46
· 27 commits to master since this release

The implementation of the API did not enforce the contract for closest(id, n) method call when n (required) is not provided. Some consumers of the library used closest(id), without specifying n. v3.0.3 introduced a change in internal implementation that, while maintaining behavior with n specified, changed the behavior when n was omitted. This release reverts the observed behavior of closest, when n is omitted, to be the same as prior to v3.0.3. The API is now updated, and n in closest(id [, n = Infinity]) is optional and set to Infinity by default.