Skip to content

Releases: havelessbemore/munkres

v2.0.4

22 Jun 22:30
Compare
Choose a tag to compare

Misc

  • Update the CommonJS package export from .js to .cjs

    • Should mitigate issues importing the package in CommonJS environments.
  • Add the examples/ directory

  • Refactor and add tests

  • Update dev dependencies:

Full Changelog: v2.0.3...v2.0.4

v2.0.3

25 May 23:14
Compare
Choose a tag to compare

Updates

  • Update documentation

Misc

  • Add support for JSR:
    jsr add @munkres/munkres
    
  • Update dev dependencies

Full Changelog: v2.0.2...v2.0.3

v2.0.2

30 Apr 16:32
Compare
Choose a tag to compare

Updates

  • Refactor internals

Misc

  • Support Node 22
  • Migrate bundler
  • Migrate tester
  • Remove LaTeX in README which was breaking anchor links

Full Changelog: v2.0.1...v2.0.2

v2.0.1

20 Apr 16:37
c65f669
Compare
Choose a tag to compare

Updates

  • Cap memory complexity to $O(M + N)$

    • Tall MxN matrices (M > N) no longer need to be copied and rotated.
  • Reduce memory usage by up to ~12%

Full Changelog: v2.0.0...v2.0.1

v2.0.0

17 Apr 19:28
Compare
Choose a tag to compare

New

  • Add new type MatrixLike.
  • munkres() now accepts MatrixLike inputs
  • Helper functions getMatrixMax and getMatrixMin now accept MatrixLike inputs.
  • Add new helper functions:
    • copyMatrix
    • genMatrix

Updates

  • Improve performance by ~10%.

Breaking

  • Rename type Tuple to Pair.

  • Rename helper functions:

    • createCostMatrix -> createMatrix
    • getMaxCost -> getMatrixMax
    • getMinCost -> getMatrixMin
    • invertCostMatrix -> invertMatrix
    • negateCostMatrix -> negateMatrix

Full Changelog: v1.2.4...v2.0.0

v1.2.4

15 Apr 20:52
Compare
Choose a tag to compare

Updates

  • Improve performance by ~24% when using number[][] cost matrices.
  • Reduce memory by ~11%

Other

  • Implement CI/CD benchmarks (link).

Full Changelog: v1.2.3...v1.2.4

v1.2.3

13 Apr 21:56
Compare
Choose a tag to compare

Updates

  • Minor performance improvement.

Full Changelog: v1.2.2...v1.2.3

v1.2.2

11 Apr 16:43
Compare
Choose a tag to compare

Fixes

  • Fix benchmark formatting.

Full Changelog: v1.2.1...v1.2.2

v1.2.1

11 Apr 16:37
Compare
Choose a tag to compare

Updates

  • Slightly improve performance.

Full Changelog: v1.2.0...v1.2.1

v1.2.0

10 Apr 15:17
Compare
Choose a tag to compare

Updates

  • Improve performance by 100x when using number[][] cost matrices.

Full Changelog: v1.1.0...v1.2.0