This release updates the toolkit to version 2.2.2. It rolls up several major, minor, and patch updates that have been introduced since the last GitHub release (v1.6.0).
π Major Modernization (v2.0.0)
- ES2016 Transition: The codebase has been fully reviewed and updated to ES2016 standards.
- Dependency Reduction: Removed
node-fetchas it is no longer required.
β¨ New Features (v2.1.0 - v2.2.1)
Transform()Method:- Introduced the new
Transform()method as a modern replacement for thetoTable()method. - Integrated
Transform()internally into theDice()andSlice()methods. - Added support for the
"objarr"output format inTransform(). - Added support for the
"object"output format inTransform()(providing direct compatibility with Google's DataTable).
- Introduced the new
π Bug Fixes & Optimizations
- Performance: Optimized the
Unflatten()method for greater efficiency. toTable()Fixes:- Fixed a bug when
unit=true. - Fixed a bug when
type="arrobj",comma=true, andfield="label".
- Fixed a bug when
Transform()Fixes: Corrected the treatment ofnullvalues when thecomma=trueoption is enabled.
π Security & Build Updates (v2.2.2)
- Resolved security vulnerabilities by upgrading build tools and dependencies:
- Bumped
rollupdevDependency to4.59.0. - Upgraded
serialize-javascripttransitive dependency (used by@rollup/plugin-terser) to7.0.5. - Upgraded
picomatchtransitive dependency to4.0.4.
- Bumped
π Documentation & Examples
- Substantially expanded documentation across
API.md,EXAMPLES.md, andINSTALL.mdwith comprehensive examples (e.g., unemployment rates, population pyramids) and links to Observable notebooks.