Skip to content

Latest commit

 

History

History
203 lines (99 loc) · 7.52 KB

CHANGELOG.md

File metadata and controls

203 lines (99 loc) · 7.52 KB

Change Log

All notable changes to this project will be documented in this file.

3.0.4 (2024-01-31)

Bug Fixes

  • ensure "exists" js interpreter returns value depends on parent field existance for nested fields (ec1c7d6)

3.0.4 (2024-01-31)

Bug Fixes

  • ensure "exists" js interpreter returns value depends on parent field existance for nested fields (ec1c7d6)

3.0.3 (2023-02-15)

Bug Fixes

  • adds typings to ESM exports in package.json (1ffb703)
  • updates metadata in package.json (2fa89f5)

3.0.2 (2021-07-15)

Bug Fixes

  • remove type commonjs from package.json to improve webpack compat (#28) (6b1ad28)

3.0.1 (2021-01-10)

Bug Fixes

  • marks packages as commonjs by default with a separate ESM entry (a3f4896)

3.0.0 (2020-10-17)

Bug Fixes

  • api: removes deprecated equal option for interpreter (9b086b5)

BREAKING CHANGES

  • api: removes deprecated equal option. It's complitely replaced by compare function

    Before

    import { createJsInterpreter, allInterpreters } from '@ucast/js';
    
    const interpret = createJsInterpreter(allInterpreters, {
      equal: (a, b) => /* custom equality check */
    });

    After

    import { createJsInterpreter, allInterpreters, compare } from '@ucast/js';
    
    const interpret = createJsInterpreter(allInterpreters, {
      compare: (a, b) => {
        if (/* custom equality check */) {
          return 0;
        }
    
        return compare(a, b);
      }
    });

2.2.3 (2020-10-17)

Performance Improvements

  • get: replaces reduce with for loop in hot function (e54d86a)

2.2.2 (2020-08-26)

Bug Fixes

  • interpreter: ensure regexp correctly works with null & undefined values (#14) (061e5b0)

2.2.1 (2020-08-24)

Bug Fixes

  • get: ensure get returns flat array for deeply nested object of arrays of object arrays (#13) (2efeb91)

2.2.0 (2020-08-20)

Features

  • esm: adds ESM support via dual loading in package.json for latest Node.js version (c730f95), closes #10

2.1.3 (2020-08-20)

Bug Fixes

  • operator: ensure exists can check existance of array item (3196ec7)

2.1.2 (2020-08-20)

Bug Fixes

  • get: ensures that getObjectField properly works with numeric fields in path (ee501a2)

2.1.1 (2020-08-14)

Bug Fixes

  • interpreters: ensure field level interpreters work with array values as well (32e38ef), closes #7

2.1.0 (2020-08-11)

Features

  • comparing: adds compare option to interpreter (576d128)

2.0.1 (2020-08-08)

Bug Fixes

  • docs: removes $ sign from README (1a7e96b)

2.0.0 (2020-08-08)

Code Refactoring

  • interpreters: removes $ prefix from names of operator interpreters (04ea7ac)

Performance Improvements

  • build: adds es6cjs format which works few times faster then umd in node env (4adba3b)

BREAKING CHANGES

  • interpreters: removes $ prefix from names of operator interpreters. Also renames $in to within because in is a reserved word in JS. This ensures we can safely import/re-export symbols from this package and other parsers/interpreters inside/from single file:

Before:

import { $in, $and } from '@ucast/js'

After:

import { within, and } from '@ucast/js'

1.0.2 (2020-07-23)

Bug Fixes

  • license: changes mistakenly set MIT license to the correct one - Apache 2.0 (197363c)

1.0.1 (2020-07-10)

Bug Fixes

  • package: fixes deps ranges (c2de9c1), closes #1

1.0.1 (2020-07-10)

Bug Fixes

  • package: fixes deps ranges (c2de9c1), closes #1

1.0.0 (2020-07-10)

Features

  • mongo: stabilize mongo package (7d77768)
  • mongo: updates mongo parser to support ValueParsingInstruction (b918c34)

Reverts

  • package: reverts root package.json to fix CI (277deb5)