Skip to content

Releases: axelpale/nudged

2.1.1

08 Nov 02:18
59de667
Compare
Choose a tag to compare

Added

  • Add TypeScript type declarations index.d.ts (#29 #30)
  • Release UMD bundle via Unpkg.com (#32)
  • Add dev dependency: yamdog (#34) and terser (#32)
  • Add navigational links to README
  • Add source code links from API docs to GitHub.
  • Add GitHub Pages for Nudged.
  • Add GitHub action job for testing type declarations.

Changed

  • Generate API docs with yamdog instead of ad-hoc tooling. (#34)
  • Improve documentation all around.
  • Minify standalone builds by default (#32)

Fixed

  • Fix a property name typo in transform.toMatrix documentation.

Removed

  • Remove unused dev dependencies: async, lodash
  • Remove .npmignore in favour of 'files' in package.json

2.0.1

28 Oct 15:50
c6bfd38
Compare
Choose a tag to compare

This release brings improvements to numerical stability and documentation.

Added

  • Add dependency status badge in README
  • Write "See also" section in README
  • Write CHANGELOG.md (#35)

Changed

  • Improve error message in nudged.estimate regarding nullish params.estimator property. (#37)
  • Migrate continuous integration from Travis CI to GitHub Actions CI (#33)
  • Improve test output: replace outdated tap-spec with tap-arc
  • Upgrade standalone module bundler: browserify
  • Upgrade code style guide: standard
  • Upgrade version module generator: genversion
  • Improve wording in README: Acknowledgements, Guidelines, Versioning

Fixed

  • Fix robustness issues relating to near-zero determinant in R, TS, TR, and TSR estimators (#31)
  • Repair error message bug in nudged.estimate (#37)

Migration Tips

The TS, TR, and TSR estimators now always fall back to translation when domain and range provide only a single point pair for estimation. Previously this was not guaranteed in rare edge cases due to floating point rounding errors. Therefore, if your application had some additional checks to choose T for single point situations over TS, TR or TSR, those additional checks can now be safely removed.

2.0.0

05 Aug 23:16
Compare
Choose a tag to compare

Complete codebase rewrite. In short:

  • Pure functional approach. No object-oriented code.
  • Use { x: 1, y: 2 } instead of [ 1, 2 ] to denote a point.
  • Use { a: 1, b: 2, x: 3, y: 4 } instead of Transform to denote a transform.
  • Rearrange code and API into submodules
  • New analysis tools: mse, rss
  • Switched from ES5 to ES6: const and let instead of var etc
  • Switched testing framework from mocha to tape
  • High quality generated API documentation

1.6.0

05 Aug 14:01
Compare
Choose a tag to compare

New features:

  • nudged.createFromString enables creating a Transform from CSS matrix string

Other improvements

  • Reparied weird characters in docs

1.5.0

06 Jan 16:59
Compare
Choose a tag to compare

New translation estimators:

  • nudged.estimateL
  • nudged.estimateX
  • nudged.estimateY

Other improvements:

  • A slight efficiency improvement in nudged.estimate function.
  • Main documentation has been restructured and partly rewritten.
  • There is new but yet undocumented method transform.toString() that returns a CSS transform-function string.

Changes in development:

  • CI integration is migrated from travis-ci.org to travis-ci.com.
  • Git workflow updated, development branch dropped

1.4.0

12 Jan 23:30
4792741
Compare
Choose a tag to compare

Changes:

  • alias for Transform.equals(): Transform.equal()
  • a new method Transform.almostEqual()
  • expose Transform.EPSILON
  • use prototype in Transform instead of patching

1.3.1 Floating point bugfix

11 Jan 01:02
04272a1
Compare
Choose a tag to compare

Fixes a floating point bug in estimateTR

1.3.0

09 Jan 17:46
66e9f59
Compare
Choose a tag to compare

No breaking changes. Additions:

  • multiplyRight alias multiplyBy
  • Prebuilt transformations Transform.R90, .R180, .R270, and .X2
  • New transformation type I

Developmental changes:

  • replace jshint with standardjs
  • use genversion