chore: Release v3.13.0.

This commit is contained in:
SamTolmay 2021-04-16 10:51:23 +02:00
parent edc44000a9
commit 88ef174347
54 changed files with 429 additions and 81 deletions

View File

@ -3,6 +3,66 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
## Changes
### Features
- Add Knex SQL support. This adds support forthe following databases:
- Amazon Redshift
- MariaDB
- Microsoft SQL Server
- MySQL
- Oracle Database
- PostgreSQL
- SQLite
- Add \_js operator that evaluates JavaScript functions. This replaces the \_experimental_unsafe_js operator.
- Add eval option to \_ref operator during build, to evaluate js files and reference JavaScript function definitions.
- Operators on the client are now imported lazily.
### Fixes
- Getter operators now return the specified default value if the key or from arguments are null.
- OpenID Connect fields were present on the user object if a page was reloaded.
## Commits
### Bug Fixes
- **build:** Add configDirectory to context for full local builds. ([5a6a36d](https://github.com/lowdefy/lowdefy/commit/5a6a36dc3373b9864896171b2f5d3185d72d6c3b))
- **build:** Add eval option to \_ref operator during build. ([eb62e8a](https://github.com/lowdefy/lowdefy/commit/eb62e8a22b326c16148ae8324d64d89022cf16c6))
- **build:** Add list of operators in context to build. ([88a6f24](https://github.com/lowdefy/lowdefy/commit/88a6f24c8f486ee5370e78c8829cad0fb2d18492))
- **docs:** Add \_js operator to docs. ([b7b2135](https://github.com/lowdefy/lowdefy/commit/b7b21354fb9822914357f5924349640a7e712578))
- **docs:** Add \_ref.eval to docs. ([d90e02f](https://github.com/lowdefy/lowdefy/commit/d90e02f719f506cd03a99a099524b0f98df10345))
- **docs:** Make connection examples and secrets more consistant ([4c473a3](https://github.com/lowdefy/lowdefy/commit/4c473a3e6308d768cf7658758aa696fa2141aeb8))
- **docs:** Update \_js operator docs. ([1c00b36](https://github.com/lowdefy/lowdefy/commit/1c00b369e2cbf6c1c180159eabf979ade0b1f6d2))
- **docs:** Update docs to use \_js operator. ([91dda91](https://github.com/lowdefy/lowdefy/commit/91dda91eea03654c55c16c089c3583f62aea3c10))
- **engine:** Init async operators. ([63f8d14](https://github.com/lowdefy/lowdefy/commit/63f8d143796e928b5a87a8c6e4a90b4e975a83bc))
- **graphql:** Improve KnexBuilder errors, add KnexBuilder tests. ([daced49](https://github.com/lowdefy/lowdefy/commit/daced49ee28fa7c0863859875a3eb3fae4ef3b22))
- **graphql:** Init operators. ([951e3a7](https://github.com/lowdefy/lowdefy/commit/951e3a7a15f652941d548c784d7967a5c748edc4))
- **graphql:** Knex tests, add tablename prop to builder. ([ba696f8](https://github.com/lowdefy/lowdefy/commit/ba696f80dd45bc056d5b3205c00aaabc0ffa11db))
- **graphql:** Pin mongodb to v3.6.5 due to yarn pnp bug in v3.6.6 ([4b74cb6](https://github.com/lowdefy/lowdefy/commit/4b74cb697adad67030d2a4cd17388182d1c774e2))
- **operators:** Getters should return default if from or key are null. ([be8aae6](https://github.com/lowdefy/lowdefy/commit/be8aae62499065a66e8e1ed9e8ce4c481017203f))
- Fix graphql-federated build, move knex dependencies to cli. ([ff32126](https://github.com/lowdefy/lowdefy/commit/ff321269bf46dd5f334a1f4e2c91c52b59b9dc67))
- **operators:** \_js encode and decode into QuickJS to escape chars in json. ([45644db](https://github.com/lowdefy/lowdefy/commit/45644db11193c571cb886da50d74f397eb337104))
- **operators:** Add tests for json response for \_js. ([6cf5ac7](https://github.com/lowdefy/lowdefy/commit/6cf5ac78c140d627b3648d889eac263ace4d9be1))
- **operators:** Change nodeParser import to require. ([d044d13](https://github.com/lowdefy/lowdefy/commit/d044d1375d8f285ef7ef42185278b401ae2b4f0e))
- **operators:** Update \_js to take code with function as param. ([8fa7fa0](https://github.com/lowdefy/lowdefy/commit/8fa7fa056c4b786aa707d3275445dade1f8fcb26))
- **renderer:** Filter OpenId Connect fields from user object. ([8cdf96f](https://github.com/lowdefy/lowdefy/commit/8cdf96f5eef07358507bb52298679362b8ddba4d))
- Create \_js using quickjs-emscripten. ([4ec8a30](https://github.com/lowdefy/lowdefy/commit/4ec8a300d1f6ff05f87f2cb9a49a686d4c804099))
- Update babel setup for tests. ([1d89de9](https://github.com/lowdefy/lowdefy/commit/1d89de9edb3e64f005bc044ebdc80ef6a8a0eecd))
- Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
- **operators:** Update dynamic imports. ([5699118](https://github.com/lowdefy/lowdefy/commit/5699118eda068f0f729223eb9ee3cdf8ed4f9840))
### Features
- Update Knex docs for all suported databases. ([1b45b01](https://github.com/lowdefy/lowdefy/commit/1b45b01a647e8710bfa3a60e1a0142226a2f60e2))
- **docs:** Add Knex docs. ([7caefdc](https://github.com/lowdefy/lowdefy/commit/7caefdcd0240a71a884a9c006996b523d3ad589d))
- **graphql:** init Knex connection. ([dac5a4c](https://github.com/lowdefy/lowdefy/commit/dac5a4cb5c8d5fc3452473267547e607e634e7ac))
- **graphql:** Update Knex schemas. ([d2d8a73](https://github.com/lowdefy/lowdefy/commit/d2d8a732d8c129da02ba5b8ba1ffe5e9f7f3300b))
- **operators:** Add \_js operator and remove \_experimental_unsafe_js operator. ([2d1e2b3](https://github.com/lowdefy/lowdefy/commit/2d1e2b3b18f7f379bbe2821055122b0aee31ce62))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
## Changes

View File

@ -1,5 +1,5 @@
{
"version": "3.12.6",
"version": "3.13.0",
"packages": [
"src/packages/*",
"src/packages/blocks/*",

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
**Note:** Version bump only for package @lowdefy/ajv
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/ajv

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/ajv",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -38,7 +38,7 @@
"prepare": "yarn build"
},
"dependencies": {
"@lowdefy/nunjucks": "3.12.6",
"@lowdefy/nunjucks": "3.13.0",
"ajv": "6.12.6",
"ajv-errors": "1.0.1"
},

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/block-tools

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/block-tools",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "Lowdefy Block Tools",
"homepage": "https://lowdefy.com",
@ -37,7 +37,7 @@
"test": "jest --coverage"
},
"dependencies": {
"@lowdefy/helpers": "3.12.6",
"@lowdefy/helpers": "3.13.0",
"ajv": "6.12.6",
"ajv-errors": "1.0.1",
"create-emotion": "10.0.27",

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/blocks-antd",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "Lowdefy Ant Design Blocks",
"homepage": "https://lowdefy.com",
@ -45,9 +45,9 @@
},
"dependencies": {
"@ant-design/icons": "4.5.0",
"@lowdefy/block-tools": "3.12.6",
"@lowdefy/color": "3.12.6",
"@lowdefy/helpers": "3.12.6",
"@lowdefy/block-tools": "3.13.0",
"@lowdefy/color": "3.13.0",
"@lowdefy/helpers": "3.13.0",
"antd": "4.4.2",
"classnames": "2.2.6",
"moment": "2.29.1",

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/blocks-basic

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/blocks-basic",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "Basic html Lowdefy blocks.",
"homepage": "https://lowdefy.com",
@ -38,7 +38,7 @@
"test": "jest --coverage --config jest.config.js --no-cache"
},
"dependencies": {
"@lowdefy/block-tools": "3.12.6",
"@lowdefy/block-tools": "3.13.0",
"dompurify": "2.2.6",
"react": "17.0.2",
"react-dom": "17.0.2"
@ -48,7 +48,7 @@
"@babel/core": "7.12.16",
"@babel/preset-env": "7.12.16",
"@babel/preset-react": "7.12.13",
"@lowdefy/helpers": "3.12.6",
"@lowdefy/helpers": "3.13.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/blocks-color-selectors

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/blocks-color-selectors",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "A Lowdefy color selector blocks based on react-color.",
"homepage": "https://lowdefy.com",
@ -40,8 +40,8 @@
"test": "jest --coverage --config jest.config.js --no-cache"
},
"dependencies": {
"@lowdefy/block-tools": "3.12.6",
"@lowdefy/blocks-antd": "3.12.6",
"@lowdefy/block-tools": "3.13.0",
"@lowdefy/blocks-antd": "3.13.0",
"react": "17.0.2",
"react-color": "2.19.3",
"react-dom": "17.0.2"
@ -51,7 +51,7 @@
"@babel/core": "7.12.16",
"@babel/preset-env": "7.12.16",
"@babel/preset-react": "7.12.13",
"@lowdefy/helpers": "3.12.6",
"@lowdefy/helpers": "3.13.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/blocks-echarts

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/blocks-echarts",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "ECharts Blocks for Lowdefy.",
"homepage": "https://lowdefy.com",
@ -40,7 +40,7 @@
"test": "jest --coverage --config jest.config.js --no-cache"
},
"dependencies": {
"@lowdefy/block-tools": "3.12.6",
"@lowdefy/block-tools": "3.13.0",
"echarts": "5.0.2",
"echarts-for-react": "3.0.1",
"react": "17.0.2",
@ -52,7 +52,7 @@
"@babel/core": "7.12.16",
"@babel/preset-env": "7.12.16",
"@babel/preset-react": "7.12.13",
"@lowdefy/helpers": "3.12.6",
"@lowdefy/helpers": "3.13.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"buffer": "6.0.3",

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/blocks-markdown

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/blocks-markdown",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "Lowdefy markdown blocks.",
"homepage": "https://lowdefy.com",
@ -40,7 +40,7 @@
"test": "jest --coverage --config jest.config.js --no-cache"
},
"dependencies": {
"@lowdefy/block-tools": "3.12.6",
"@lowdefy/block-tools": "3.13.0",
"dompurify": "2.2.6",
"react": "17.0.2",
"react-dom": "17.0.2",
@ -53,7 +53,7 @@
"@babel/core": "7.12.16",
"@babel/preset-env": "7.12.16",
"@babel/preset-react": "7.12.13",
"@lowdefy/helpers": "3.12.6",
"@lowdefy/helpers": "3.13.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",

View File

@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* **build:** Add configDirectory to context for full local builds. ([5a6a36d](https://github.com/lowdefy/lowdefy/commit/5a6a36dc3373b9864896171b2f5d3185d72d6c3b))
* **build:** Add eval option to _ref operator during build. ([eb62e8a](https://github.com/lowdefy/lowdefy/commit/eb62e8a22b326c16148ae8324d64d89022cf16c6))
* **build:** Add list of operators in context to build. ([88a6f24](https://github.com/lowdefy/lowdefy/commit/88a6f24c8f486ee5370e78c8829cad0fb2d18492))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/build

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/build",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -36,10 +36,10 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/ajv": "3.12.6",
"@lowdefy/helpers": "3.12.6",
"@lowdefy/node-utils": "3.12.6",
"@lowdefy/nunjucks": "3.12.6",
"@lowdefy/ajv": "3.13.0",
"@lowdefy/helpers": "3.13.0",
"@lowdefy/node-utils": "3.13.0",
"@lowdefy/nunjucks": "3.13.0",
"ajv": "6.12.6",
"axios": "0.21.1",
"dataloader": "2.0.0",

View File

@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Fix graphql-federated build, move knex dependencies to cli. ([ff32126](https://github.com/lowdefy/lowdefy/commit/ff321269bf46dd5f334a1f4e2c91c52b59b9dc67))
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package lowdefy

View File

@ -1,6 +1,6 @@
{
"name": "lowdefy",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "Lowdefy CLI",
"homepage": "https://lowdefy.com",
@ -40,8 +40,8 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/helpers": "3.12.6",
"@lowdefy/node-utils": "3.12.6",
"@lowdefy/helpers": "3.13.0",
"@lowdefy/node-utils": "3.13.0",
"apollo-server-express": "2.21.0",
"axios": "0.21.1",
"chalk": "4.1.0",
@ -71,7 +71,7 @@
"@babel/core": "7.12.16",
"@babel/preset-env": "7.12.16",
"@babel/preset-react": "7.12.13",
"@lowdefy/block-tools": "3.12.6",
"@lowdefy/block-tools": "3.13.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"clean-webpack-plugin": "3.0.0",

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
**Note:** Version bump only for package @lowdefy/color
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/color

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/color",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",

View File

@ -3,6 +3,27 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* **docs:** Add _js operator to docs. ([b7b2135](https://github.com/lowdefy/lowdefy/commit/b7b21354fb9822914357f5924349640a7e712578))
* **docs:** Add _ref.eval to docs. ([d90e02f](https://github.com/lowdefy/lowdefy/commit/d90e02f719f506cd03a99a099524b0f98df10345))
* **docs:** Make connection examples and secrets more consistant ([4c473a3](https://github.com/lowdefy/lowdefy/commit/4c473a3e6308d768cf7658758aa696fa2141aeb8))
* **docs:** Update _js operator docs. ([1c00b36](https://github.com/lowdefy/lowdefy/commit/1c00b369e2cbf6c1c180159eabf979ade0b1f6d2))
* **docs:** Update docs to use _js operator. ([91dda91](https://github.com/lowdefy/lowdefy/commit/91dda91eea03654c55c16c089c3583f62aea3c10))
### Features
* Update Knex docs for all suported databases. ([1b45b01](https://github.com/lowdefy/lowdefy/commit/1b45b01a647e8710bfa3a60e1a0142226a2f60e2))
* **docs:** Add Knex docs. ([7caefdc](https://github.com/lowdefy/lowdefy/commit/7caefdcd0240a71a884a9c006996b523d3ad589d))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/docs

View File

@ -13,7 +13,7 @@
# limitations under the License.
name: '@lowdefy/docs'
lowdefy: '3.12.6'
lowdefy: '3.13.0'
licence: Apache-2.0
global:

View File

@ -60,7 +60,7 @@ _ref:
###### Evaluating JavaScript
JavaScript can be evaluated during build time by referencing a JavaScript file to the `eval` argument. The result of `_ref` operator will be the exported result of the evaluated JavaScript using [`eval`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval). If the exported result is a function, `function.toString()` will be returned, useful for loading `code` for the [`_js`](/_js) operator. The `eval` argument should be the file path (relative to the root of the project) to a JavaScript file that exports the a JSON serializable result or function when evaluated.
JavaScript can be evaluated during build time by referencing a JavaScript file to the `eval` argument. The result of `_ref` operator will be the exported result of the evaluated JavaScript using [`eval`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval). If the exported result is a function, `function.toString()` will be returned, useful for loading `code` for the [`_js`](/_js) operator. The `eval` argument should be the file path (relative to the root of the project) to a JavaScript file that exports the a JSON serializable result or function when evaluated.
For example:
```js
@ -70,7 +70,7 @@ _ref:
}
module.exports = fooFn(10);
```
This will evaluate to an object: `{ foo: 10 }`.
This will evaluate to an object: `{ foo: 10 }`.
And when returning a function will provide the exported function, for example:
```js
@ -102,7 +102,7 @@ _ref:
###### Reference pages:
```yaml
# lowdefy.yaml
lowdefy: '3.12.5'
lowdefy: '3.13.0'
pages:
- _ref: pages/page1.yaml
- _ref: pages/page2.yaml
@ -123,7 +123,7 @@ _ref:
```
Returns:
```
lowdefy: '3.12.5'
lowdefy: '3.13.0'
pages:
- id: page1
type: PageHeaderMenu

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/docs",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",

View File

@ -76,7 +76,7 @@ _ref:
```yaml
name: lowdefy-project-template
lowdefy: 3.12.6
lowdefy: 3.13.0
pages:
################ -------- Copy from here -------- ################

View File

@ -180,7 +180,7 @@ _ref:
Open the `lowdefy.yaml` file using a text editor like [VS Code](https://code.visualstudio.com/download). The content of the file should look like this:
```yaml
lowdefy: 3.12.6
lowdefy: 3.13.0
name: Lowdefy starter
pages:

View File

@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Update babel setup for tests. ([1d89de9](https://github.com/lowdefy/lowdefy/commit/1d89de9edb3e64f005bc044ebdc80ef6a8a0eecd))
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
* **engine:** Init async operators. ([63f8d14](https://github.com/lowdefy/lowdefy/commit/63f8d143796e928b5a87a8c6e4a90b4e975a83bc))
* **operators:** Update dynamic imports. ([5699118](https://github.com/lowdefy/lowdefy/commit/5699118eda068f0f729223eb9ee3cdf8ed4f9840))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/engine

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/engine",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -36,8 +36,8 @@
"test": "jest --coverage"
},
"dependencies": {
"@lowdefy/helpers": "3.12.6",
"@lowdefy/operators": "3.12.6",
"@lowdefy/helpers": "3.13.0",
"@lowdefy/operators": "3.13.0",
"graphql": "15.5.0",
"graphql-tag": "2.11.0"
},

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
**Note:** Version bump only for package @lowdefy/format
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/format

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/format",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Fix graphql-federated build, move knex dependencies to cli. ([ff32126](https://github.com/lowdefy/lowdefy/commit/ff321269bf46dd5f334a1f4e2c91c52b59b9dc67))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/graphql-federated

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/graphql-federated",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -37,7 +37,7 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/graphql": "3.12.6"
"@lowdefy/graphql": "3.13.0"
},
"devDependencies": {
"@babel/cli": "7.13.14",

View File

@ -3,6 +3,28 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* **graphql:** Improve KnexBuilder errors, add KnexBuilder tests. ([daced49](https://github.com/lowdefy/lowdefy/commit/daced49ee28fa7c0863859875a3eb3fae4ef3b22))
* **graphql:** Init operators. ([951e3a7](https://github.com/lowdefy/lowdefy/commit/951e3a7a15f652941d548c784d7967a5c748edc4))
* **graphql:** Knex tests, add tablename prop to builder. ([ba696f8](https://github.com/lowdefy/lowdefy/commit/ba696f80dd45bc056d5b3205c00aaabc0ffa11db))
* **graphql:** Pin mongodb to v3.6.5 due to yarn pnp bug in v3.6.6 ([4b74cb6](https://github.com/lowdefy/lowdefy/commit/4b74cb697adad67030d2a4cd17388182d1c774e2))
* Fix graphql-federated build, move knex dependencies to cli. ([ff32126](https://github.com/lowdefy/lowdefy/commit/ff321269bf46dd5f334a1f4e2c91c52b59b9dc67))
### Features
* **docs:** Add Knex docs. ([7caefdc](https://github.com/lowdefy/lowdefy/commit/7caefdcd0240a71a884a9c006996b523d3ad589d))
* **graphql:** init Knex connection. ([dac5a4c](https://github.com/lowdefy/lowdefy/commit/dac5a4cb5c8d5fc3452473267547e607e634e7ac))
* **graphql:** Update Knex schemas. ([d2d8a73](https://github.com/lowdefy/lowdefy/commit/d2d8a732d8c129da02ba5b8ba1ffe5e9f7f3300b))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/graphql",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -38,11 +38,11 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/ajv": "3.12.6",
"@lowdefy/helpers": "3.12.6",
"@lowdefy/node-utils": "3.12.6",
"@lowdefy/nunjucks": "3.12.6",
"@lowdefy/operators": "3.12.6",
"@lowdefy/ajv": "3.13.0",
"@lowdefy/helpers": "3.13.0",
"@lowdefy/node-utils": "3.13.0",
"@lowdefy/nunjucks": "3.13.0",
"@lowdefy/operators": "3.13.0",
"@sendgrid/mail": "7.4.2",
"ajv": "6.12.6",
"ajv-errors": "1.0.1",

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
**Note:** Version bump only for package @lowdefy/helpers
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/helpers

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/helpers",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/layout

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/layout",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -37,8 +37,8 @@
"test": "jest --coverage"
},
"dependencies": {
"@lowdefy/block-tools": "3.12.6",
"@lowdefy/helpers": "3.12.6",
"@lowdefy/block-tools": "3.13.0",
"@lowdefy/helpers": "3.13.0",
"antd": "4.4.2",
"react": "17.0.2",
"react-dom": "17.0.2"

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
**Note:** Version bump only for package @lowdefy/node-utils
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/node-utils

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/node-utils",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -36,7 +36,7 @@
"prepare": "yarn build"
},
"dependencies": {
"@lowdefy/helpers": "3.12.6",
"@lowdefy/helpers": "3.13.0",
"rimraf": "3.0.2"
},
"devDependencies": {

View File

@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
**Note:** Version bump only for package @lowdefy/nunjucks
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/nunjucks

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/nunjucks",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -38,7 +38,7 @@
"prepare": "yarn build"
},
"dependencies": {
"@lowdefy/helpers": "3.12.6",
"@lowdefy/helpers": "3.13.0",
"nunjucks": "3.2.3",
"nunjucks-date-filter": "0.1.1"
},

View File

@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* **operators:** _js encode and decode into QuickJS to escape chars in json. ([45644db](https://github.com/lowdefy/lowdefy/commit/45644db11193c571cb886da50d74f397eb337104))
* **operators:** Add tests for json response for _js. ([6cf5ac7](https://github.com/lowdefy/lowdefy/commit/6cf5ac78c140d627b3648d889eac263ace4d9be1))
* **operators:** Change nodeParser import to require. ([d044d13](https://github.com/lowdefy/lowdefy/commit/d044d1375d8f285ef7ef42185278b401ae2b4f0e))
* **operators:** Getters should return default if from or key are null. ([be8aae6](https://github.com/lowdefy/lowdefy/commit/be8aae62499065a66e8e1ed9e8ce4c481017203f))
* **operators:** Update _js to take code with function as param. ([8fa7fa0](https://github.com/lowdefy/lowdefy/commit/8fa7fa056c4b786aa707d3275445dade1f8fcb26))
* Create _js using quickjs-emscripten. ([4ec8a30](https://github.com/lowdefy/lowdefy/commit/4ec8a300d1f6ff05f87f2cb9a49a686d4c804099))
* Update babel setup for tests. ([1d89de9](https://github.com/lowdefy/lowdefy/commit/1d89de9edb3e64f005bc044ebdc80ef6a8a0eecd))
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
* **operators:** Update dynamic imports. ([5699118](https://github.com/lowdefy/lowdefy/commit/5699118eda068f0f729223eb9ee3cdf8ed4f9840))
### Features
* **operators:** Add _js operator and remove _experimental_unsafe_js operator. ([2d1e2b3](https://github.com/lowdefy/lowdefy/commit/2d1e2b3b18f7f379bbe2821055122b0aee31ce62))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/operators

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/operators",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -36,9 +36,9 @@
"prepare": "yarn build"
},
"dependencies": {
"@lowdefy/format": "3.12.6",
"@lowdefy/helpers": "3.12.6",
"@lowdefy/nunjucks": "3.12.6",
"@lowdefy/format": "3.13.0",
"@lowdefy/helpers": "3.13.0",
"@lowdefy/nunjucks": "3.13.0",
"deep-diff": "1.0.2",
"js-yaml": "4.0.0",
"mingo": "4.1.2",

View File

@ -3,6 +3,19 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* **renderer:** Filter OpenId Connect fields from user object. ([8cdf96f](https://github.com/lowdefy/lowdefy/commit/8cdf96f5eef07358507bb52298679362b8ddba4d))
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
* **operators:** Update dynamic imports. ([5699118](https://github.com/lowdefy/lowdefy/commit/5699118eda068f0f729223eb9ee3cdf8ed4f9840))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/renderer",
"version": "3.12.6",
"version": "3.13.0",
"licence": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -40,10 +40,10 @@
"@apollo/link-context": "2.0.0-beta.3",
"@apollo/link-error": "2.0.0-beta.3",
"@apollo/link-retry": "2.0.0-beta.3",
"@lowdefy/block-tools": "3.12.6",
"@lowdefy/engine": "3.12.6",
"@lowdefy/helpers": "3.12.6",
"@lowdefy/layout": "3.12.6",
"@lowdefy/block-tools": "3.13.0",
"@lowdefy/engine": "3.13.0",
"@lowdefy/helpers": "3.13.0",
"@lowdefy/layout": "3.13.0",
"graphql": "15.5.0",
"graphql-type-json": "0.3.2",
"react": "17.0.2",

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/server-dev

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/server-dev",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -37,8 +37,8 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/graphql": "3.12.6",
"@lowdefy/node-utils": "3.12.6",
"@lowdefy/graphql": "3.13.0",
"@lowdefy/node-utils": "3.13.0",
"apollo-server-express": "2.21.0",
"dotenv": "8.2.0",
"express": "4.17.1",
@ -49,7 +49,7 @@
"@babel/core": "7.12.16",
"@babel/preset-env": "7.12.16",
"@babel/preset-react": "7.12.13",
"@lowdefy/block-tools": "3.12.6",
"@lowdefy/block-tools": "3.13.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"clean-webpack-plugin": "3.0.0",

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/server-docker

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/server-docker",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -39,8 +39,8 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/graphql": "3.12.6",
"@lowdefy/node-utils": "3.12.6",
"@lowdefy/graphql": "3.13.0",
"@lowdefy/node-utils": "3.13.0",
"apollo-server-express": "2.21.0",
"express": "4.17.1",
"graphql": "15.5.0"
@ -50,7 +50,7 @@
"@babel/core": "7.12.16",
"@babel/preset-env": "7.12.16",
"@babel/preset-react": "7.12.13",
"@lowdefy/block-tools": "3.12.6",
"@lowdefy/block-tools": "3.13.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"clean-webpack-plugin": "3.0.0",

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [3.13.0](https://github.com/lowdefy/lowdefy/compare/v3.12.6...v3.13.0) (2021-04-16)
### Bug Fixes
* Update react, react-dom and react-test-renderer to v17.0.2 ([78969ab](https://github.com/lowdefy/lowdefy/commit/78969abd39e8b04a7cddb39472985da6da50c7b9))
## [3.12.6](https://github.com/lowdefy/lowdefy/compare/v3.12.5...v3.12.6) (2021-04-06)
**Note:** Version bump only for package @lowdefy/server-netlify

View File

@ -1,6 +1,6 @@
{
"name": "@lowdefy/server-netlify",
"version": "3.12.6",
"version": "3.13.0",
"license": "Apache-2.0",
"description": "",
"homepage": "https://lowdefy.com",
@ -37,8 +37,8 @@
"webpack": "webpack --config webpack.config.js"
},
"dependencies": {
"@lowdefy/graphql": "3.12.6",
"@lowdefy/node-utils": "3.12.6",
"@lowdefy/graphql": "3.13.0",
"@lowdefy/node-utils": "3.13.0",
"apollo-server-express": "2.21.0",
"express": "4.17.1",
"graphql": "15.5.0",
@ -49,7 +49,7 @@
"@babel/core": "7.12.16",
"@babel/preset-env": "7.12.16",
"@babel/preset-react": "7.12.13",
"@lowdefy/block-tools": "3.12.6",
"@lowdefy/block-tools": "3.13.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"clean-webpack-plugin": "3.0.0",