lowdefy/packages/operators/CHANGELOG.md
2022-06-20 11:57:46 +02:00

39 KiB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

4.0.0-alpha.16 (2022-06-20)

Note: Version bump only for package @lowdefy/operators

4.0.0-alpha.15 (2022-06-19)

Note: Version bump only for package @lowdefy/operators

4.0.0-alpha.14 (2022-06-19)

Note: Version bump only for package @lowdefy/operators

4.0.0-alpha.13 (2022-06-16)

Bug Fixes

  • engine: Fix createSetGlobal. (542ed98)
  • Fix license typo. (972acbb)
  • Update tests to run on node and jsdom. (be2180a)

Features

4.0.0-alpha.12 (2022-05-23)

Bug Fixes

  • operators: Fix operator tests for passing down window. (562890f)
  • operators: Pass window to operators and not context. (dd9dfad)

4.0.0-alpha.11 (2022-05-20)

Bug Fixes

  • Windows compatibility fixes. (8ecdfc4)

4.0.0-alpha.10 (2022-05-06)

Note: Version bump only for package @lowdefy/operators

4.0.0-alpha.9 (2022-05-06)

Bug Fixes

  • operators: Pass operatorPrefix to operators methods. (454523c)
  • operators: Update test snapshot. (655eae5)

Features

  • operators: Remove init so parser is now sync. (aabedad)

4.0.0-alpha.8 (2022-03-16)

Bug Fixes

  • operators: Fix operators failing tests. (c25b6b6)
  • Remove _user from build operators and rogue console.log (bc39f77)

Features

  • operators: Update parse for build operators. (d2f5f45)

4.0.0-alpha.7 (2022-02-21)

Bug Fixes

  • Fix V4 tests. (d082d0c)
  • operators-js: Fix getter operator tests. (c774f3f)

3.23.2 (2021-11-29)

4.0.0-alpha.6 (2022-01-20)

Features

  • Add additional operator plugins to generateDefaultTypes, and fix operaotr packages. (a1d9c3b)
  • Create operators-change-case plugin (9aca6be)
  • Create operators-diff plugin. (97885be)
  • Create operators-mql plugin (e3084aa)
  • Create operators-uuid plugin. (7ab243b)
  • Create operators-yaml plugin. (3a521ba)

4.0.0-alpha.5 (2021-11-27)

Features

  • Add client operators to operators-js. (1453e8e)
  • Create operators-nunjucks plugin. (d299d2f)
  • Move server operators to operators-js plugin. (a864473)
  • operators: Add other functions to operators export. (16f4da7)
  • operators: Move common operators to operators-js plugin (42a8054)
  • operators: Update node and web parser and move their tests. (3647299)
  • operators: Update node and webParser and tests. (e52a22e)

4.0.0-alpha.4 (2021-11-25)

Note: Version bump only for package @lowdefy/operators

4.0.0-alpha.3 (2021-11-25)

3.23.2 (2021-11-29)

Note: Version bump only for package @lowdefy/operators

4.0.0-alpha.2 (2021-11-25)

Note: Version bump only for package @lowdefy/operators

4.0.0-alpha.1 (2021-11-25)

Bug Fixes

  • api: Add request handler tests. (b827137)
  • operators: _index operator is no longer supported in node env. (ec777ca)
  • operators: Fix _switch operator tests. (b28c65e)
  • operators: Fix operator tests for payload change. (dc41f69)
  • Replace all front end testing with @testing-library/react, jest and other updates. (22ec295)
  • Update dependency mingo to v4.2.0. (cbcf3a7)

Features

  • Add requests to client and server. (320c4a1)
  • blockTools: Update to @emotion/css, optimize makeCssClass standarise jest settings. (947defa)
  • Next server rendering blocks (e625e07)
  • operators: Convert package @lowdefy/operators to es modules. (eba25a7)
  • operators: Remove ability to get from another context. (1abc542)
  • Replace server side state with payload and _payload operator. (1f928d9)

BREAKING CHANGES

  • operators: Getter operators can no longer get from another context.
  • operators: The _index operator is no longer supported in node env.
  • The _event, _global, _input, _state, and _url_query operators are no longer evaluated in connections or requests.

3.23.1 (2021-11-20)

Note: Version bump only for package @lowdefy/operators

3.23.0 (2021-11-19)

Note: Version bump only for package @lowdefy/operators

3.23.0-alpha.0 (2021-11-09)

Bug Fixes

  • operators: Added tests for switch operator to Node and Web Parsers. (249ab6b)
  • operators: Added tests for switch operator. (ce31fa3)
  • operators: Updated switch operator to for... ...of syntax. (cdbd0e0)

Features

  • operators: Added switch operator. (436170c)

3.22.0 (2021-09-27)

Note: Version bump only for package @lowdefy/operators

3.22.0-alpha.1 (2021-09-20)

Note: Version bump only for package @lowdefy/operators

3.22.0-alpha.0 (2021-09-08)

Note: Version bump only for package @lowdefy/operators

3.21.2 (2021-08-31)

Note: Version bump only for package @lowdefy/operators

3.21.2-alpha.0 (2021-08-31)

Note: Version bump only for package @lowdefy/operators

3.21.1 (2021-08-26)

Note: Version bump only for package @lowdefy/operators

3.21.0 (2021-08-25)

Bug Fixes

  • operators: Remove array param type from v3, v5 uuid operator. (5141fdf)
  • operators: Updated tests to remove legacy v1, v4 uuid operators. (f43a054)
  • Add array and object param types to v3 and v5 uuid methods. (0a551e9)

Features

  • operators: Add array param type from v3, v5 uuid operator. (764051b)
  • Add support for v1, v3, v4 and v5 to the _uuid operator. (c9ef4b9)
  • operators: Add _hash operator. (0d3244a)
  • operators: Add _uuid v1, v2, v3, v4, and v5 options. (3f2fc75)
  • operators: Add RIPEMD-160 algorithm. (3e07218)
  • operators: Add uuid to client, closes #783 (6dc8d28)

3.20.4 (2021-08-21)

Note: Version bump only for package @lowdefy/operators

3.20.3 (2021-08-20)

Note: Version bump only for package @lowdefy/operators

3.20.2 (2021-08-20)

Note: Version bump only for package @lowdefy/operators

3.20.1 (2021-08-20)

Note: Version bump only for package @lowdefy/operators

3.20.0 (2021-08-20)

Bug Fixes

  • operators: Fix homePageId typo and update tests. (6bfa83a)
  • Add _number operator. (1ca3966)
  • Fix _number operator tests. (3b36a53)
  • Fixes for configurable basePath. (63955bb)

Features

  • operators: Add basePath to _location. (eb95c8a)
  • operators: Add pageId and homePageId to _location. (00842d4)

3.19.0 (2021-07-26)

Bug Fixes

  • operators: _request getter default value should be null. (755527f)
  • operators: Comments fixes and catch nested objects (deb8fd5)
  • operators: Fix regex in _change_case operator. (e4d577f)
  • operators: Update tests with comments fixes and catch nested objects (b6d63bb)

Features

  • operators: Add _change_case operator (e617c31)
  • operators: Add _change_case tests (87bf687)

3.18.1 (2021-06-30)

Bug Fixes

  • operators: Do not copy window.location in _location. (61f6215)

3.18.0 (2021-06-17)

Features

  • operators: Add support for dot notation in _request operator. (6ffaf46)

3.17.2 (2021-06-11)

Note: Version bump only for package @lowdefy/operators

3.17.1 (2021-06-11)

Note: Version bump only for package @lowdefy/operators

3.17.0 (2021-06-11)

Note: Version bump only for package @lowdefy/operators

3.17.0-alpha.3 (2021-06-09)

Note: Version bump only for package @lowdefy/operators

3.17.0-alpha.2 (2021-06-09)

Note: Version bump only for package @lowdefy/operators

3.17.0-alpha.1 (2021-06-09)

Note: Version bump only for package @lowdefy/operators

3.17.0-alpha.0 (2021-06-09)

Bug Fixes

  • operators: Remove deprecated _js wasm. (20d2d0f)

Features

  • operators: Add _location operator. (9175dbe)

3.16.5 (2021-05-31)

Bug Fixes

  • deps: update dependency js-yaml to v4.1.0 (d3954f3)

3.16.4 (2021-05-28)

Note: Version bump only for package @lowdefy/operators

3.16.3 (2021-05-27)

Note: Version bump only for package @lowdefy/operators

3.16.2 (2021-05-26)

Note: Version bump only for package @lowdefy/operators

3.16.1 (2021-05-26)

Note: Version bump only for package @lowdefy/operators

3.16.0 (2021-05-26)

Bug Fixes

  • operators: Update tests for _js and _actions. (022893b)

Features

  • operators: Custom _js and _actions operators. (815f6a4)

3.15.0 (2021-05-11)

Bug Fixes

  • operators: Do not filter OPENID_CLIENT_ID and OPENID_DOMAIN from secrets. (3c56737)

3.14.1 (2021-04-28)

Note: Version bump only for package @lowdefy/operators

3.14.0 (2021-04-26)

Bug Fixes

  • operators: Add prep to object. (24f6188)
  • operators: Fix stringify bug and allow for dates and console.log in _js. (0e7fe34)
  • operators: Prep operator args to handle void instance. Closes #519 , Closes #511 (5980f87)

3.13.0 (2021-04-16)

Bug Fixes

  • operators: _js encode and decode into QuickJS to escape chars in json. (45644db)
  • operators: Add tests for json response for _js. (6cf5ac7)
  • operators: Change nodeParser import to require. (d044d13)
  • operators: Getters should return default if from or key are null. (be8aae6)
  • operators: Update _js to take code with function as param. (8fa7fa0)
  • Create _js using quickjs-emscripten. (4ec8a30)
  • Update babel setup for tests. (1d89de9)
  • Update react, react-dom and react-test-renderer to v17.0.2 (78969ab)
  • operators: Update dynamic imports. (5699118)

Features

  • operators: Add _js operator and remove _experimental_unsafe_js operator. (2d1e2b3)

3.12.6 (2021-04-06)

Note: Version bump only for package @lowdefy/operators

3.12.5 (2021-03-31)

Note: Version bump only for package @lowdefy/operators

3.12.4 (2021-03-30)

Note: Version bump only for package @lowdefy/operators

3.12.3 (2021-03-26)

Bug Fixes

3.12.2 (2021-03-24)

Note: Version bump only for package @lowdefy/operators

3.12.1 (2021-03-24)

Note: Version bump only for package @lowdefy/operators

3.12.0 (2021-03-24)

Note: Version bump only for package @lowdefy/operators

3.11.4 (2021-03-19)

Bug Fixes

  • operators: Add _object.defineProperty operator. (52f598f)

3.11.3 (2021-03-12)

Note: Version bump only for package @lowdefy/operators

3.11.2 (2021-03-11)

Note: Version bump only for package @lowdefy/operators

3.11.1 (2021-03-11)

Note: Version bump only for package @lowdefy/operators

3.11.0 (2021-03-11)

Bug Fixes

  • operators: _mql on null should pass null and not throw. (3378cb4)
  • operators: Rename input to inputs. (1815daa)
  • operators: Rename more root to lowdefy. (b2e40bb)
  • _mql empty input when data is null. (a1c913a)

Features

  • operators: Configure operators to work aith root and add _user. (c9395b9)
  • operators: Filter openid secrets and block get all in _secret. (bd7a772)

3.10.2 (2021-02-25)

Bug Fixes

  • deps: Update dependency mingo to v4.1.2. (eb57a01)

3.10.1 (2021-02-19)

Bug Fixes

  • operators: Getter operators should not error if key is null. (d080e5a)

3.10.0 (2021-02-17)

Bug Fixes

  • deps: Update dependency mingo to v4.1.1. (efdb838)

3.9.0 (2021-02-16)

Note: Version bump only for package @lowdefy/operators

3.8.0 (2021-02-12)

Bug Fixes

  • operators: Allow get from object to take an integer argument. (e8bdbd9)
  • operators: Block experimental operators in _operator. (342b636)

Features

  • operators: Add _format operator. (44839da)
  • operators: Add _index operator. (995a912)
  • operators: Add experimental javascript operator (9b7998c)

3.7.2 (2021-02-09)

Bug Fixes

  • Fix package lifecycle scripts. (af7f3a8)

3.7.1 (2021-02-09)

Note: Version bump only for package @lowdefy/operators

3.7.0 (2021-02-09)

Note: Version bump only for package @lowdefy/operators

3.6.0 (2021-02-05)

Note: Version bump only for package @lowdefy/operators

3.5.0 (2021-02-05)

Bug Fixes

  • operators: Fix error when operator not supported, add support for _global (8ba32aa)

Features

  • operators: Add _event operator. (a869441)
  • operators: Add _function operator. (07f7e6f)
  • operators: Add array methods that use functions. (49f6a93)
  • operators: Rename _action_log operator to _event_log (dd2af60)

3.4.0 (2021-01-20)

Bug Fixes

  • operators: getFromObject should copy object if getting entire obj (32f0cbc)
  • operators: Update test error message snapshots. (1b49ba2)
  • _lt, _lte, _gt, _gte not to throw on non numerics. (0bad71d)
  • Temporarily log parser errors to console. (a43b386)

3.3.0 (2021-01-18)

Bug Fixes

  • Fix location not defined. (90f1e25)
  • deps: Update js-yaml from 3.14.1 to 4.0.0. (1a9e1f9)
  • Change allowed properties and methods to Sets. (8b91c21)
  • Change to mingo system import file. (a540435)
  • Evaluate _math using runMethod. (3f06967)
  • Give defaultFunction to runClass and error in undefined methodName. (38af83b)
  • Make all method operators work with runClass and runInstance. (ef58619)
  • project operator import typo (84ea45e)
  • Rename _base64_encode and _base64_decode to _base64.encode and _base64.decode. (8ded919)
  • Rename _uri_encode and _uri_decode to _uri.encode and _uri.decode. (bb0e9b4)
  • Update error message for unsupported method. (285a6cb)
  • Update runInstance and runClass to cover all function types. (bc49186)

Features

  • Add _array, _object and _string operators. (39197f7)
  • Add _base64_encode and _base64_decode operators. (25eb55a)
  • Add _diff operator on NodeParser. (ea65823)
  • Add _divide operator. (cc57d5d)
  • Add _gt, _gte, _lt, _lte operators. (e9d3bba)
  • Add _if_none operator. (6ee7e42)
  • Add _json.parse and _json.stringify to replace _json_parse and _json_stringify. (b83749f)
  • Add _log operator. (735cea0)
  • Add _math operator. (9c447f7)
  • Add _media operator. (fc860ad)
  • Add _mql to replace _mql_aggregate, _mql_test, _mql_expr. (20e16bc)
  • Add _product operator. (54704de)
  • Add _random operator. (41d1960)
  • Add _subtract operator. (0f1c1c6)
  • Add _sum operator. (05e5a8d)
  • Add _uri_encode and _uri_decode operators. (bdb0eb8)
  • Add _uuid operator to NodeParser. (0f562fe)
  • Allow method dot notation for operations, and parser performance improvement. (f0c1711)
  • Ignore operator objects with more than one key. (225a543)
  • Rename _parse to _json_parse, _stringify to _json_stringify, _dump_yaml to _yaml_stringify, _load_yaml to _yaml_parse. (ac6eb0a)
  • Replace _yaml_parse and _yaml_stringify with _yaml.parse and _yaml.stringify. (d61a316)
  • Rewrite date to us runClass. (9fe2698)
  • Throw error on _divide by zero. (3d0047d)

3.2.0 (2021-01-18)

Bug Fixes

  • Fix location not defined. (90f1e25)
  • deps: Update js-yaml from 3.14.1 to 4.0.0. (1a9e1f9)
  • Change allowed properties and methods to Sets. (8b91c21)
  • Change to mingo system import file. (a540435)
  • Evaluate _math using runMethod. (3f06967)
  • Give defaultFunction to runClass and error in undefined methodName. (38af83b)
  • Make all method operators work with runClass and runInstance. (ef58619)
  • project operator import typo (84ea45e)
  • Rename _base64_encode and _base64_decode to _base64.encode and _base64.decode. (8ded919)
  • Rename _uri_encode and _uri_decode to _uri.encode and _uri.decode. (bb0e9b4)
  • Update error message for unsupported method. (285a6cb)
  • Update runInstance and runClass to cover all function types. (bc49186)

Features

  • Add _array, _object and _string operators. (39197f7)
  • Add _base64_encode and _base64_decode operators. (25eb55a)
  • Add _diff operator on NodeParser. (ea65823)
  • Add _divide operator. (cc57d5d)
  • Add _gt, _gte, _lt, _lte operators. (e9d3bba)
  • Add _if_none operator. (6ee7e42)
  • Add _json.parse and _json.stringify to replace _json_parse and _json_stringify. (b83749f)
  • Add _log operator. (735cea0)
  • Add _math operator. (9c447f7)
  • Add _media operator. (fc860ad)
  • Add _mql to replace _mql_aggregate, _mql_test, _mql_expr. (20e16bc)
  • Add _product operator. (54704de)
  • Add _random operator. (41d1960)
  • Add _subtract operator. (0f1c1c6)
  • Add _sum operator. (05e5a8d)
  • Add _uri_encode and _uri_decode operators. (bdb0eb8)
  • Add _uuid operator to NodeParser. (0f562fe)
  • Allow method dot notation for operations, and parser performance improvement. (f0c1711)
  • Ignore operator objects with more than one key. (225a543)
  • Rename _parse to _json_parse, _stringify to _json_stringify, _dump_yaml to _yaml_stringify, _load_yaml to _yaml_parse. (ac6eb0a)
  • Replace _yaml_parse and _yaml_stringify with _yaml.parse and _yaml.stringify. (d61a316)
  • Rewrite date to us runClass. (9fe2698)
  • Throw error on _divide by zero. (3d0047d)

1.1.2 (2020-12-15)

Note: Version bump only for package @lowdefy/operators

1.1.1 (2020-12-15)

Note: Version bump only for package @lowdefy/operators

1.1.0 (2020-12-10)

Bug Fixes

  • deps: update dependency js-yaml to v3.14.1 (935ad89)
  • deps: update dependency mingo to v3.1.0 (a2dedf5)
  • operators: _regex should not error but return false on empty value in state (4ed9b85)
  • operators: support arrayIndices in Node parser (1785dc5)
  • use helpers from helpers (ebe3738)

Features

  • engine: init @lowdefy/engine package (1604212)
  • operators: init @lowdefy/operators package (a59d523)