Skip to content

Latest commit

 

History

History
155 lines (105 loc) · 6.15 KB

CHANGELOG.md

File metadata and controls

155 lines (105 loc) · 6.15 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

Note: Unlisted patch versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies.

0.7.10 (2024-10-05)

♻️ Refactoring

  • add explicit type casts (TS5.6.2) (dcbdd60)

0.7.0 (2024-07-25)

🚀 Features

  • update KMeansOpts.initial (f70073d)
    • support custom init functions
    • add KMeansInit type alias
    • update handling in kmeans()

0.6.89 (2024-06-21)

♻️ Refactoring

  • enforce uniform naming convention of internal functions (56992b2)

0.6.85 (2024-04-20)

♻️ Refactoring

0.6.43 (2023-11-09)

♻️ Refactoring

  • update all tests (packages A-S) (e3085e4)

0.6.0 (2023-02-10)

🚀 Features

  • filter result clusters, minor optimizations (78169e6)
    • use u32 array for internal cluster assignments
    • remove attempt to start new cluster if one became unused
    • update buildClusters to filter out empty

0.5.0 (2021-11-17)

🚀 Features

  • Using workspaces for local tools (bf7a404) Improving the overall build ergonomics
    • introduced a tools workspaces
    • imported it in all needed packages/examples
    • inclusive project root

♻️ Refactoring

  • testrunner to binary (4ebbbb2) this commit reverts (partly) changes made in: ef346d7a8753590dc9094108a3d861a8dbd5dd2c overall purpose is better testament ergonomics: instead of having to pass NODE_OPTIONS with every invocation having a binary to handle this for us.

0.4.1 (2021-10-13)

♻️ Refactoring

  • update imports in all pkgs (5fa2b6f)
    • add .js suffix for all relative imports
  • update imports in all tests/pkgs (effd591)

0.4.0 (2021-10-12)

🛑 Breaking changes

  • major update of ALL pkgs (export maps, ESM only) (0d1d6ea)
  • BREAKING CHANGE: discontinue CommonJS & UMD versions
    • only ESM modules will be published from now on
    • CJS obsolete due to ESM support in recent versions of node:
      • i.e. launch NodeJS via:
      • node --experimental-specifier-resolution=node --experimental-repl-await
      • in the node REPL use await import(...) instead of require()
    • UMD obsolete due to widespread browser support for ESM Also:
    • normalize/restructure/reorg all package.json files
    • cleanup all build scripts, remove obsolete
    • switch from mocha to @thi.ng/testament for all tests

♻️ Refactoring

  • update all tests in all pkgs (8b582bc)
  • update all test stubs (f2d6d53)
  • update imports (138571a)
  • update deps & imports in various pkgs (e1cf29e)
    • largely related to recent updates/restructuring of these packages:
      • api
      • defmulti
      • errors
      • logger

0.3.0 (2021-08-04)

🚀 Features

  • auto-correct k if needed (d3c3ffa)
    • update initKmeanspp() & kmeans() to auto-adjust (reduce) k if needed
    • add potential failsafe to bail early in initKmeanspp()

0.2.5 (2021-08-04)

🩹 Bug fixes

  • update initKmeanspp() (dd0d965)
    • use dist for argmin() calls
    • use rnd for weightedRandom()

0.2.0 (2021-04-20)

🚀 Features

  • add meansLatLon centroid strategy, docstrings (269c11c)

♻️ Refactoring

  • update initKmeanspp() (193c054)
    • ensure unique centroids

0.1.0 (2021-04-19)

🚀 Features

  • import as new pkg (a32aaf6)
  • add k-medians support (6bc450b)
    • add CentroidStrategy, update KMeansOpts
    • update kmeans() to use strategy impl
    • extract means() & medians() strategies
  • add kmeans++ initialization, update opts (fcc2dcc)
    • add KMeansOpts.initial to provide initial centroids
    • add initKmeanspp() impl
    • update kmeans() to use improved init step (if needed)

🩹 Bug fixes

  • use dist metric in initKmeanspp() (37bd6c6)
    • update to use user-provided distance metric