Skip to content

Latest commit

 

History

History
113 lines (81 loc) · 4.64 KB

CHANGELOG.md

File metadata and controls

113 lines (81 loc) · 4.64 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.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 tests/pkgs (effd591)
  • update imports in all pkgs (5fa2b6f)
    • add .js suffix for all relative imports

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

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

  • 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)
  • add k-medians support (6bc450b)
    • add CentroidStrategy, update KMeansOpts
    • update kmeans() to use strategy impl
    • extract means() & medians() strategies
  • import as new pkg (a32aaf6)

🩹 Bug fixes

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