Releases: Arilas/array-aggregate
Releases · Arilas/array-aggregate
v1.2.0
Array Aggregate v1.2.0
Improvements:
- Migration to the correct ESM imports
- Bundle is now done using
tsup
- Migrated to Vitest from Jest
- Upgraded TypeScript to latest version
- Upgraded ESLint to latest version with type linting
- Upgraded env
- Increased test coverage
Fixes:
- Fixed incorrect date detection for
$eq
/$gt
/$gte
/$lte
/$lt
- Fixed incorrect types being used on ESM env
- Fixed incorrect ESM build
- Fixed wrong typings in some areas of a lib
Full Changelog: v1.0.0...v1.2.0
v1.0.0
Today I've releasing array-aggregate 1.0.0!
In this release, I've finalized the bare-bone implementation of the filtering and sorting mechanism to be 99% compatible with MongoDB implementation.
From the time of initial implementation array-aggregate received a lot of changes:
- Rewritten using TypeScript
- Made
$eq
operator work more accurate and be compatible with MongoDB behavior, not simply compare values based on simple===
. - Refactored main logic of building filters to be much more performant and simple
- Increased performance by caching much more checkers in memory, reduced the complexity of end result structure so it's much easier for JIT to perform.
- Added
buildSort
that generated sorters compatible withArray.sort
- Made a lot of typings fixes and changes