Releases: axelpale/nudged
Releases · axelpale/nudged
2.1.1
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
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 nullishparams.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
, andTSR
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
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
andlet
instead ofvar
etc - Switched testing framework from mocha to tape
- High quality generated API documentation
1.6.0
1.5.0
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
1.3.1 Floating point bugfix
Fixes a floating point bug in estimateTR