Skip to content

Latest commit

 

History

History
449 lines (221 loc) · 18.1 KB

CHANGELOG.md

File metadata and controls

449 lines (221 loc) · 18.1 KB

Change Log

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

5.1.5 (2021-03-17)

Note: Version bump only for package @thi.ng/vectors

5.1.4 (2021-03-12)

Note: Version bump only for package @thi.ng/vectors

5.1.0 (2021-03-03)

Bug Fixes

  • vectors: update GVec internals (TS4.2) (e6b7b74)

Features

  • vectors: add softMax() & oneHot() (4f242c8)

5.0.0 (2021-02-20)

Code Refactoring

  • vectors: update mem mapped type handling (4a6e9b1)

Features

  • vectors: add weightedDistance HOF (8500a79)

BREAKING CHANGES

  • vectors: buffer mapping fns use new type string consts
  • part of umbrella-wide changes to thi.ng/api Type aliases (see a333d4182)

4.9.0 (2021-01-21)

Bug Fixes

  • vectors: add explicit return types (zeroes/ones()) (fc2f662)

Features

4.8.0 (2020-11-24)

Features

  • vectors: add roundN(), update round() (36f07e6)
  • vectors: add signedVolume() (907438e)

4.7.0 (2020-10-03)

Features

  • vectors, geom: point on ray at distance (0b04b80)

4.6.0 (2020-08-10)

Features

  • vectors: add not() bvec op (a820b8f)
  • vectors: add/update vec coercions & types (073389e)

4.5.0 (2020-06-20)

Features

  • vectors: add cornerBisector2() (aff9bfa)

4.4.0 (2020-05-14)

Features

  • vectors: add mapVectors() (61ddde7)

4.3.1 (2020-04-23)

Bug Fixes

  • vectors: add missing equals2/3/4 exports (041f590)

4.3.0 (2020-04-23)

Features

  • vectors: add equals/2/3/4() (34cad0e)

4.2.0 (2020-03-01)

Features

4.1.0 (2020-02-25)

Bug Fixes

  • vectors: add missing types & annotations (TS3.8) (8680e37)

Features

  • vectors: add cornerBisector() (b2d923e)
  • vectors: add ivec/uvec/bvec conversions (1147acb)

4.0.0 (2019-11-09)

Bug Fixes

  • vectors: fix normalizeS2/3/4 (f048393)
  • vectors: fix out args in mixCubic/mixQuadratic (d02dae6)
  • vectors: update random2/3/4 to return new vec if none given (a0be4d4)

Code Refactoring

  • vectors: rename strided-scalar op suffixes (SN => NS) (66258d8)

Features

  • vectors: add fill(), add MultiVecOp.impl(), update vop() (21ff930)
  • vectors: add mixCubicHermite versions & tangent fns (b382d25)
  • vectors: add more strided vec ops, refactor templates (ca91fa9)
  • vectors: add new intoBuffer(), move fns for wrapped versions (53581f1)
  • vectors: add strided random ops, types, defHofOpS() codegen (1e46f5a)
  • vectors: add strided rotate ops (4f2b5a7)
  • vectors: update readme (f16bb45)

Performance Improvements

  • vectors: minor optimization for 0-index Vec2/3/4 accessors (a7c561d)

BREAKING CHANGES

  • vectors: setSN2/3/4 => setSN2/3/4

3.3.0 (2019-08-21)

Features

  • vectors: add isNaN(), isInf() vec ops, update readme (ed60d09)

3.2.0 (2019-08-17)

Features

  • vectors: add atan_2/22/23/24, update readme (e9b156b)

3.1.0 (2019-07-31)

Features

  • vectors: add new bvec ops & types, update readme (931ee43)

3.0.1 (2019-07-08)

Bug Fixes

  • vectors: reflect output handling (8ec12a4)

3.0.0 (2019-07-07)

Bug Fixes

  • vectors: update arg types (6d213bd)

Code Refactoring

  • vectors: fix #95, update madd/maddN arg order, bug fixes (020b4c8)

Features

  • vectors: add atan, exp_2, log_2, setVN, setVV, minor type fixes (8683c19)
  • vectors: add bitwise int vec ops (signed/unsigned versions) (a364f1f)
  • vectors: add bvec types, componentwise logic & comparison ops (7b9f03d)
  • vectors: add degrees(), radians(), add fitXX type hints (b313a56)
  • vectors: add fmod/fmodN fns (GLSL style mod op) (928b95b)
  • vectors: add integer math ops (signed/unsigned) (c8a997f)
  • vectors: add swizzle setters (114003c)
  • vectors: add vecOf() ctor fn (25feeee)
  • vectors: enable TS strict compiler flags (refactor) (94715ff)

BREAKING CHANGES

  • vectors: update madd/maddN arg order, rename functions
  • madd & maddN args now OpenCL/CUDA compatible, i.e.
    • madd(a,b,c) => a * b + c
    • maddN(a,n,b) => a * n + b
  • rename perpendicularLeft/Right => perpendicularCCW/CW
  • rename normalLeft/Right => normalCCW/CW
  • fix output vec handling in addW fns

2.5.0 (2019-03-28)

Features

  • vectors: add hash() op and IHash impls for Vec2/3/4 (577d8cf)
  • vectors: add Vec2/3/4Like type aliases, update ReadonlyVec (3d5cd61)

2.4.0 (2019-03-03)

Features

  • vectors: add headingSegment*() fns, update readme (6ab6858)

2.3.0 (2019-02-15)

Features

  • vectors: add fit, fit01, fit11 fns (161d19d)

2.2.0 (2019-02-05)

Features

  • vectors: add corner2, clockwise2, signedAreaC2, isInArray fns (2440ffd)
  • vectors: add VecPair type alias, add copyVectors() (58e0a05)

2.1.0 (2019-01-21)

Features

  • vectors: migrate direction(), normalLeft/Right2() from geom pkg (07d5f8f)

2.0.0 (2019-01-21)

Bug Fixes

  • vectors: fix NaNs in Mat23.scaleWithCenter (92bce73)

Build System

  • update package build scripts & outputs, imports in ~50 packages (b54b703)

BREAKING CHANGES

  • enabled multi-outputs (ES6 modules, CJS, UMD)
  • build scripts now first build ES6 modules in package root, then call scripts/bundle-module to build minified CJS & UMD bundles in /lib
  • all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.

1.4.0 (2018-10-17)

Features

  • vectors: add axis consts, add/update ops (473ec80)
  • vectors: add collate & eqDelta fns, update ctors (221fb7f)
  • vectors: add comparators & ICompare impls for vec2/3/4 (6a0f8aa)
  • vectors: add IMinMax interface (34312d8)
  • vectors: add operation specific interfaces, rename Vec3.toPolar() (5c44ad9)
  • vectors: replace math.ts w/ imports from @thi.ng/maths package (0967929)

1.3.0 (2018-09-28)

Features

  • vectors: add vector ops codegen, update basic vec2/3/4 ops (#51) (b5ed254)

1.1.0 (2018-09-10)

Bug Fixes

  • vectors: GVec.copy() / get() (ae261ab)
  • vectors: Mat23/33/44 toString() impls (07d1ccf)

Features

  • vectors: add matrix index & property accessors (3dd0072)

1.0.0 (2018-09-05)

Features

  • vectors: add immutable vec2/3/4 ops (a3c0407)
  • vectors: add/update transformVectors*(), update types (2eec700)

BREAKING CHANGES

  • vectors: update transformVectors1/2() arg order

0.6.0 (2018-09-03)

Bug Fixes

  • vectors: add missing arg types (c0fbb4e)
  • vectors: add opt normalize for angleBetween2/3 (25ea00c)
  • vectors: update GVec method args (readonly) (ad13151)

Features

  • vectors: add mixBilinear1/2/3/4 (f0ccd0c)
  • vectors: add new vector ops, update readme (9510f01)
  • vectors: add Vec*.intoBuffer() impls (16aa0c4)

0.5.2 (2018-09-01)

Bug Fixes

  • vectors: add missing deps (d2b4faf)

0.5.0 (2018-08-30)

Features

  • vectors: consolidate vector consts, add toJSON() impls (bdb5d37)
  • vectors: update types, update GVec, add maths fns, swap impls (d5cec94)

0.4.0 (2018-08-28)

Features

  • vectors: add more vec2/3 ops (cd834f8)

0.3.0 (2018-08-27)

Features

  • vectors: add mix1(), minor cleanups (cfb2b74)

0.2.0 (2018-08-02)

Features

  • vectors: add gvec size checks, add IEquiv & Iterable impls (2a13f28)
  • vectors: add toCylindrical3() / fromCylindrical3() (74f939c)
  • vectors: make Vec2/3/4 array-like, add IEquiv impls, add tests (3039a35)

0.1.2 (2018-07-30)

Bug Fixes

  • vectors: get*() return types, refactor using set*() (3534274)

0.1.1 (2018-07-29)

Bug Fixes

  • vectors: naming convention, add function overview tables (3de5cea)

0.1.0 (2018-07-29)

Bug Fixes

  • vectors: copy/paste mistakes, add tests (2a5a744)

Features

  • vectors: add generic vec fns & class wrapper (e3c6167)
  • vectors: add minor/majorAxis(), minor/major2/3 (35af6a5)
  • vectors: add swizzle fns, update/unify fn naming (5bba592)
  • vectors: add vec4 ops & class wrapper (b59fadf)
  • vectors: re-add matrix class wrappers, update vec classes (1ec75e6)
  • vectors: re-import updated mat23/33/44 functions (4fdda6a)
  • vectors: re-import updated mat44, add orthoNormal3 (21b04f0)
  • vectors: re-import vector types from old thi.ng/geom TS version (d154153)
  • vectors: update get & copy fns to retain buffer types (54b3db2)