Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@lowdefy/graphql-federated

lowdefy7k3.23.3

null

lowdefy, graphql, graphql server

readme

Lowdefy

Discord

Tweet Follow

Tests Maintainability Test Coverage Codecov Total alerts Language grade: JavaScript

Lowdefy is an open-source (Apache-2.0) low-code framework that lets you build web apps with YAML or JSON configuration files. It is great for building admin panels, BI dashboards, workflows, and CRUD apps.

Advantages of writing internal tools in YAML or JSON

  • All apps use the same structured config schema, this makes it easy to debug large apps or pick up where others left off.
  • Nothing is hidden in a GUI. This allows you to do basic essential stuff, like copy, paste, find, replace, review changes etc. which makes developing apps more productive.
  • App config is just data, thus you can even develop scripts to create and manage your apps.
  • YAML files work with your favorite developer and source control tools.

How Lowdefy apps work 👉 https://docs.lowdefy.com

Lowdefy apps are built using:

  • 📦 Blocks are the visual part of the app, the React components. Lowdefy provides a set of default block types but app capabilities can be extended with custom blocks.
  • ⚙️ Operators are the functions that are used to express logic within an app. Lowdefy has many built in easy to use operator functions for creating dynamic applications with ease, however, custom javascript operators can also be loaded.
  • ⚡️ Actions are triggered by events, like clicking a button or loading a page. When events are triggered, a list of javascript functions can be called. Lowdefy has a set of useful actions, but applications functionality can be enriched by adding custom Lowdefy actions.
  • 📣 Requests make calls to external services to hydrate applications with data or post data to external services. Lowdefy doesn't have any data storage built in. Instead, it provides connections to external services like databases and APIs.

We are working on expanding the list of connections, and you can vote for the ones you need here.

Lowdefy apps are self-hosted

Our goal is to make it easy to run Lowdefy apps anywhere. Lowdefy app servers are also stateless which makes it easy to run apps in serverless environments. Currently you can host Lowdefy apps:

Quick start

Run:

npx lowdefy@latest init && npx lowdefy@latest dev

This will create a file called lowdefy.yaml in the current working directory that contains the configuration for a Lowdefy app (as well as a .gitignore) and launch a local development server at http://localhost:3000. Make changes in the lowdefy.yaml file to see them reflect in the app.

Examples

CRUD example

This example shows patterns to implement a data admin app which allows users to view, create new, edit and delete data records.

Survey example

This is a simple customer survey example built with Lowdefy. With this example we demonstrate how simple it is to define a public webform and thank you page in Lowdefy.

Case management (ticketing) system example

This example focuses on building a rich UI for a hypothetical case management app, in a customer relations setting.

Movies reporting example

This example demonstrates useful patterns for building a BI report/dashboard pages in Lowdefy. It connects to a MongoDB database with the Atlas Movies sample dataset pre-loaded.

Other Lowdefy packages and resources

Changelog

All changes to this project are documented in CHANGELOG.md.

Contributing

Please see CONTRIBUTING.md.

Security

If you discover a vulnerability, please follow the guide in SECURITY.md to disclose this to us responsibly.

Code of conduct

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to follow the Contributor Covenant code of conduct. See CODE_OF_CONDUCT.md for more.

Licence

Apache-2.0

changelog

Change Log

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

3.23.3 (2022-04-20)

Changes

Blocks

  • Fix icons on ConfirmModal buttons. Closes #1160.

Connections

  • Fix AxiosHttp to allow arrays in the data property. Closes #1158.

Commits

Bug Fixes

  • Fix axios docs after schema fix. (2e3c632)
  • Update docs snapshot test (e8445e8)
  • blocksAntd: Pass icons to confirm modal, closes #1160 (2256b2b)
  • graphql: Update AxiosHttp schema to allow for data arrays (ff4d168), closes #1158

3.23.2 (2021-11-29)

Changes

Blocks

  • Fix an issue where the Selector and MultipleSelector blocks were not handling bounced onSearch events correctly and leaving the loading state early. Closes #968.

Commits

Bug Fixes

  • blocksAntd: Added deboucing condition to Selector and MultipleSelector. (ce1d3e4)

3.23.1 (2021-11-20)

Fixes

  • Release to fix Docker builds.

3.23.0 (2021-11-19)

Changes

Blocks

  • Added onSearch event to MultipleSelector and Selector.

Build

  • Better error messages on build.

Operators

  • Added _switch operator.

General

  • Added experimental feature config.experimental_initPageId.
  • Added auth.jwt.loginStateExpiresIn parameter to configure OpenID connect state token expiry.

Commits

Bug Fixes

  • blocksAntd: Update test snapshots for Selector and MultipleSelector. (67202c4)
  • docs: Included onSearch event example in MultipleSelector and Selector docs. (0e53cb8)
  • Updated MultipleSelector block to include onSearch event. (0339e63)
  • blocksAntd: Updated Selector block to include onSearch event. (5e9ec14)
  • docs: Fix _ref resolver function example. (0903094)

Features

  • build: Better error messages on build. (9934d07)

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

Bug Fixes

  • Add _switch operator to docs. (c5c6f0c)
  • Support .yml in lowdefy.yaml file. (0f7cc2a), closes #902
  • docs: Add avatar and links to blog template. (d855599)
  • docs: Fix the iframe videos in the docs. (c4a957a)
  • improvements on blog template. (30e2291)
  • docs: Add how to generate CSVs. (2cc8e45)
  • docs: Add how to generate pdfs. (7b35550)
  • 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

  • docs: Add how to generate csv. (3257f51)
  • docs: Add videos to how tos. (57c7779)
  • Add generate pdf how to. (5bde460)
  • docs: Added switch operator documentation. (7c42c78)
  • operators: Added switch operator. (436170c)

3.22.0 (2021-09-27)

Changes

Blocks

  • Added new blocks PasswordInput and CheckboxSwitch.
  • Added an onClick event to the Card block.
  • Fixed the text copied to the clipboard when the Copy button is clicked in the Paragraph and Title blocks.
  • Falsy values like 0, false, and null are now rendered correctly in blocks that render HTML.

Build

  • Fixed a bug where the _var operator did not work with falsy values for the default property.

CLI

  • The renderer served from blocks server url is now used if a blocks server url configured.

Connections

  • Added Stripe connection.

Documentation

  • Fixed AxiosHttp connection type spelling in docs
  • Added \_get operator switch example.
  • Added _array.reduce examples.
  • Updated CLI npm install docs.
  • Changed npx commands to use specific CLI versions for docker deployments.
  • Added readme to CLI package.
  • Fixed MultipleSelector block events documentation.
  • Fixed Title block copyable and ellipsis properties documentation.

Commits

Bug Fixes

  • blocksAntd: Fix selector option labels and filter function. (38445a5)
  • cli: Use renderer served from blocks server url if configured. (69d14b4), closes #840
  • docs: Fix AxiosHttp connection type spelling in docs. (d9b53a0)

Features

  • Add _array.reduce examples. (c9a6b50)

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

Bug Fixes

  • blocksAntd: Add tests for CheckboxSwitch. (089150e)
  • blocksAntd: Added CheckboxSwitch tests. (db8c05b)
  • blocksAntd: Fix CheckboxSwitch color property. (d2ea3c6)
  • blocksAntd: Fix MultipleSelector schema and docs. (41d25a1)
  • blocksAntd: Fix typo in Paragraph input copyable text property. (b92621a)
  • blocksAntd: Paragraph and Title blocks copyable error fixed. (483013d)
  • blocksAntd: Updated CheckboxSwitch test snapshots. (025a158)
  • blocksAntd: Use updated renderHtml helper function (5e3de6f), closes #820
  • blocksAntd: Use updated renderHtml in selector blocks (0da3bd1)
  • blocksBasic: Handle none type values in DangerousHtml block (a765be4)
  • blocksBasic: Use renamed HtmlComponent in Html block (was RenderHtml) (cf85d6c)
  • blockTools: Add renderHtml helper function. (b0c35f7)
  • blockTools: Handle falsey values better in RenderHtml component (4363803)
  • build: Updated meta location tests to include CheckboxSwitch. (905f47e)
  • build: Updated meta locations to include CheckboxSwitch block. (cd2ab8c)
  • cli: Add readme to CLI package. (cf5c406)
  • deps: Update dependency axios to v0.21.4 (81cd2b6)
  • docs: Added CheckboxSwitch examples and CheckboxSelector note. (9cf56bf)
  • docs: Added copyable and ellipsis config to Title block. (9f8632e)
  • docs: Change npx commands to specific versions for deployments. (f2c380b)
  • docs: Convert CLI commands to npx commands. (c9cd643)
  • docs: Update CLI npm install docs. (98a8b71)

Features

  • blocksAntd: Added CheckboxSwitch demo example. (7187849)
  • blocksAntd: CheckboxSwitch block has been added. (838f5ea)
  • docs: Add _get operator switch example. (b727b9e)
  • docs: Added CheckboxSwitch docs. (81752aa)

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

Bug Fixes

  • blocksAntd: Updated Password Input tests. (7f32230)
  • build: Updated meta locations tests. (9e20ace)

Features

  • blocksAntd: Card block now has an onClick event. (4263f6b)
  • blocksAntd: Password Input block has been added. (9d99ef8)
  • build: Added PasswordInput meta location. (66abcdd)
  • docs: Add Stripe documentation. (ed963ec)
  • docs: Added Password Input block docs. (ee8bda4)
  • graphql: Add Stripe connection. (e676258)

3.21.2 (2021-08-31)

Changes

Blocks

  • Fix undefined Tooltip title showing empty tooltip.

Build

  • Add async option to actions schema

Connections

  • Fix MongoDB in AWS Lambda by downgrading to the LTS version (3.6.12) of the mongodb driver. MongoDB connections were throwing a right-hand side of instanceof is not an object error.

Commits

Bug Fixes

  • Downgrade mongodb driver to LTS version 3.6.12. (24f94f6)
  • blocksAntd: Fix blocks tooltip tests. (b869fb0)
  • blocksAntd: Fix undefined Tooltip title showing empty tooltip. (358e423)
  • build: Add async to actions schema. (1276422)
  • deps: Update dependency mongodb to v4.1.1. (96aa9a6)

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

Bug Fixes

  • Downgrade mongodb driver to LTS version 3.6.12. (24f94f6)
  • blocksAntd: Fix blocks tooltip tests. (b869fb0)
  • blocksAntd: Fix undefined Tooltip title showing empty tooltip. (358e423)
  • build: Add async to actions schema. (1276422)
  • deps: Update dependency mongodb to v4.1.1. (96aa9a6)

3.21.1 (2021-08-26)

Bug Fixes

  • blocksAntd: Fix Alert padding. (9fb9686)
  • docs: Add missing hash docs. (2520555)
  • docs: Add responsive layout docs and video. (5c31dac)
  • docs: Update node server docs. (bb64d3e)
  • renderer: Fix loading skeletons, closes #798 (e4dd10e)
  • docs: Added responsive setup to Layout Concepts. (0635433)

3.21.0 (2021-08-25)

Changes

Actions

  • Add onMount and onMountAsync actions for all blocks.
  • Add debounce to the build schema.

Blocks

  • Divider not to render empty title.
  • RenderHtml to return span by default.

Renderer

  • Refactor renderer to work with props.children instead of a render function.

Connections

  • Add https agent options to AxiosHttp connection.

Docs

  • Add basic full example for AxiosHttp.

Operators

  • Add _hash operator.
  • Add _uuid v1, v3, v4, and v5 options.

Servers

  • Fix replaceAll not a function.

Commits

Bug Fixes

  • blocksAntd: Divider not to render empty title, closes #790 (790fb89)
  • blocksBasic: Html test change to new RenderHtml. (e43617a)
  • blocksBasic: Test change to new RenderHtml. (ee9e3f0)
  • blocksColorSelectors: Update tests. (dcbbf0b)
  • blockTools: RenderHtml to only update ref after render. (9351255)
  • blockTools: RenderHtml to return span by default, closes #775 #777 (abbd823)
  • build: Add debounce to the build schema. (2ea31b1)
  • docs: Add basic full example for AxiosHttp. (1e689d2)
  • docs: Reformat v3 and v5 uuid argument definitions. (98cd626)
  • docs: Update _uuid docs. (07178f1)
  • docs: Updated docs to remove legacy v1, v4 uuid operators. (8544dc9)
  • docs: Updated documented v3, v5 uuid function definitions. (bd0e777)
  • operators: Remove array param type from v3, v5 uuid operator. (5141fdf)
  • operators: Updated tests to remove legacy v1, v4 uuid operators. (f43a054)
  • renderer: Add crypto build fallback. (1f74ca7)
  • server: replaceAll not a function, closes #789 (055a2ac)
  • Add array and object param types to v3 and v5 uuid methods. (0a551e9)

Features

  • docs: Add onMount and onMountAsync docs. (a3c698d)
  • graphql: Add https agent options to AxiosHttp connection. (df94e01), closes #794
  • operators: Add _hash operator. (0d3244a)
  • operators: Add _uuid v1, v2, v3, v4, and v5 options. (3f2fc75)
  • operators: Add array param type from v3, v5 uuid operator. (764051b)
  • renderer: Refactoring renderer and implementing onMount and onMountAsyc, closes #778 (101d23a)
  • Add support for v1, v3, v4 and v5 to the _uuid operator. (c9ef4b9)
  • operators: Add RIPEMD-160 algorithm. (3e07218)
  • operators: Add uuid to client, closes #783 (6dc8d28)

3.20.4 (2021-08-21)

Bug Fixes

  • blocksAntd: Fix Card block title area. (475aef6)
  • blocksAntd: Fix Card title if no title is specified. (60074f9)
  • blocksAntd: Update Card block snapshot tests. (4c67f41)
  • blocksAntd: Update schema for Descriptions. (50bf48c)
  • build: Fix user specified type locations. (0456b00)

3.20.3 (2021-08-20)

Bug Fixes

  • server-netlify: Initialise basePath in Netlify server. (8085b4a)

3.20.2 (2021-08-20)

Bug Fixes

  • build: Cache readFile and getMeta promises. (d1fd3da)
  • cli: Initialise basePath in CLI dev server. (3c2093a)
  • docs: Remove console log. (41bc269)

3.20.1 (2021-08-20)

Bug Fixes

  • build: Fix unevaluated being passed to _ref transformer. (537a776)

3.20.0 (2021-08-20)

Changes

Actions

  • A debounce option has been added to events.
  • An async option has been added to actions so that they are not awaited in the action chain.
  • A new ResetValidation action has been added.
  • A new Throw action has been added.
  • A back option has been added to the Link action.
  • The Lowdefy action functions can now be used inside the JsAction action.
  • The Validate action can now take a list of regular expressions to match blocks to validate.
  • Only blocks that have been validated now show the validation result.

Blocks

  • The List block now has direction, wrap, and scroll properties.

  • HTML is now supported in block properties that used to only take strings. The following blocks now have support for HTML properties:

    • Alert
    • AutoComplete
    • Button
    • ButtonSelector
    • Card
    • CheckboxSelector
    • CircleColorSelector
    • Collapse
    • ColorSelector
    • CompactColorSelector
    • ConfirmModal
    • Descriptions
    • Divider
    • GithubColorSelector
    • Label
    • Message
    • Modal
    • MultipleSelector
    • Notification
    • Paragraph
    • RadioSelector
    • Result
    • Selector
    • SliderColorSelector
    • Statistic
    • SwatchesColorSelector
    • Title
    • Tooltip
    • TwitterColorSelector
  • The showTotal property in the Pagination block can now be a string or function.

  • If the onClose event fails in the ConfirmModal, Drawer, and Modal blocks, the block no longer closes.
  • The ParagraphInput and TitleInput blocks now render non-truthy values.

CLI and build

  • The _ref operator can now specify a resolver function that overrides the default reading of configuration files from the file system.
  • A default _ref resolver function can be specified for an app.
  • The CLI can now be configured from the lowdefy.yaml file.
  • The dev command now has watch and watchIgnore options to control which files are watched for rebuilds.
  • The blocks server URL is now configurable.
  • The dev server no longer exits if the initial build fails.

Connections

  • The following Elasticsearch requests have been added:
    • ElasticsearchDelete
    • ElasticsearchDeleteByQuery
    • ElasticsearchIndex
    • ElasticsearchUpdate
    • ElasticsearchUpdateByQuery
  • Read and write checking for Elasticsearch has been added.
  • The mongodb driver has been updated to 4.1.0, and now supports different options.
  • Connection options are now passed to the MongoDBCollection connection.

Docs

  • The AxiosHttp examples have been fixed.
  • The Netlify deployment steps have been updated.

Operators

  • The _location operator now returns the basePath, homePageId, and pageId.
  • The _number operator has been added.

Servers

  • The server basePath is now configurable.
  • A Node.js production server has been added.

Commits

Bug Fixes

  • blocks-antd: Fix Descriptions block items schema (525e8eb)
  • blocks-antd: Update snapshot tests for basePath (5add1a7)
  • blocksAntd: Add additional properties to Descriptions and use RenderHtml. (dfc468d)
  • blocksAntd: Add blocks display type to Descriptions schema. (bd78efc)
  • blocksAntd: Add option to define showTotal as a string or function. (9ac3fc9)
  • blocksAntd: Added string output for ParagraphInput and TitleInput. (5735bbf)
  • blocksAntd: Do not close modals and drawer if event is bounced. (33814b0)
  • blocksAntd: Use relative paths with Link. (f43762f)
  • blocksBasic: Add row-reverse, column-reverse options to List direction. (5926be6)
  • blocksBasic: Refactor to use RenderHtml. (8e8ff8d)
  • blocksBasic: Updated List schema and snapshots. (7319fe7)
  • blocksBasic: Updated List schema. (006b3b7)
  • blockTools: Add RenderHtml to blockTools. (7662de1)
  • blockTools: RenderHtml should default to display-inline block. (dcaf615)
  • build: Add tests for readConfigFile. (809f09a)
  • build: Add writeBuildArtifact test. (350f25f)
  • build: Fix getMeta memoisation (7f824b0)
  • build: Fix getMeta memoised return. (a939bd5)
  • build: Fix getMeta return value after dataloader has been removed. (993d398)
  • build: Refactor build refs. (dbb7c88)
  • build: refactor buildRefs function. (b66cc5a)
  • build: Refactor buildRefs. (8d43e00)
  • build: Refactor reading of config files. (d1591a2)
  • build: Refactor writing of build artifact files. (7162760)
  • build: Remove dataloader dependency (4c64bd7)
  • build: remove metaloader to remove dataloader dependency (f6f35a9)
  • build: Remove unsupported eval property on _ref. (808f619)
  • build: Remove unused tests. (f2db270)
  • build: Standarise buildPages function signatures. (65c7e8b)
  • build: Test memoisation in getMeta. (c1f887e)
  • cli: Do not exit dev server if the initial build fails (41653f8), closes #711
  • cli: Fix print tests in CI. (6be137d)
  • docs: Add more examples to Throw. (8ef4bb3)
  • docs: Docs typo fixes. (df5770d)
  • docs: Fix AxiosHttp examples, closes #686 (1fc3329)
  • docs: Fix custom blocks basePath typo. (eaee5aa)
  • docs: Fix mongodb examples in docs. (cde85b7)
  • docs: Fix sentences on Validation docs. (d5a5b7f)
  • docs: Remove documentation for eval option on _ref. (baf1090)
  • docs: Remove local types. (282380a)
  • docs: Sort endpoints alphabetically (26ca2b7)
  • docs: Update Netlify deployment steps (071d402)
  • engine: Add tests for Blocks.validate. (0a0a66a)
  • engine: Catch CallMethod method not defined error and add tests for CallMethod. (96f9cb1)
  • engine: Fixes to event debouncing and tests. (89266f2)
  • engine: Refactor Validate to work with getBlockMatcher. (8c9de14)
  • engine: Remove showValidationErrors from context. (24e0bbc)
  • engine: Update action tests to include debounce. (b21c440)
  • engine: Update events test for undefined event. (05bc928)
  • operators: Fix homePageId typo and update tests. (6bfa83a)
  • Add _number operator. (1ca3966)
  • Enable read/write checking for Elasticsearch (9d13c32)
  • Fix _number operator tests. (3b36a53)
  • Fix Docker server docs (5171320)
  • Fixes for configurable basePath. (63955bb)

Features

  • blocksAntd: Add support for html on all input Label title and extra. (59979c7)
  • blocksAntd: Add support for html to Descriptions and refactor. (6261355)
  • blocksAntd: Added onclose action chain error detection to ConfirmModal, Drawer, Modal. (66e0692)
  • blocksAntd: options labels to support html. (3533a96)
  • blocksAntd: Selector option.label can be html. (9200e34)
  • blocksBasic: Added list direction, wrapping and scrolling. (aba280a)
  • build: Add support for app default ref resolver function. (b23e8c9)
  • build: Add support for resolver functions in _ref operator. (aa7fddc)
  • cli: Add option to configure cli from the lowdefy.yaml file (e4f62d0)
  • cli: Add watch and watchIgnore options to dev command (9eaf3e8)
  • docs: Add event debounce. (e4c5db4)
  • docs: Add ResetValidation docs. (289c762)
  • docs: Document _ref resolver functions. (446b383)
  • docs: Document basePath setting. (aa9601c)
  • docs: Update docs for new Validation. (a91a7c7)
  • engine: Add async option to actions (81036db)
  • engine: Add async tests and update docs. (fd967b9)
  • engine: Add debounce option to events. (003cb0b)
  • engine: Add ResetValidation action. (01237e3)
  • engine: Add tests for events debounce. (2ff29cb)
  • engine: Add Throw action. (d2a23f0)
  • engine: Document Lowdefy action functions in JsAction. (7634145)
  • engine: showValidation on block level and params.regex for Validate. (6824b07)
  • graphql: Updated mongo client to include connection options and documented command options. (57127ee)
  • graphql: Updated mongodb to 4.1.0 and documented MongoDBAggregation options. (3fefe99)
  • operators: Add basePath to _location. (eb95c8a)
  • operators: Add pageId and homePageId to _location. (00842d4)
  • Ability to use html in ConfirmModal, Divider, Message, Modal. (ec69fb7)
  • Add back option to link. (b6cf705), closes #728
  • add ElasticsearchDelete request. (9f1fc34)
  • Add ElasticsearchDeleteByQuery request. (a370e9e)
  • add ElasticsearchIndex request. (08de720)
  • Add ElasticsearchUpdate request. (a23a7be)
  • Add ElasticsearchUpdateByQuery request. (3cc30ca)
  • Add Lowdefy actions to JsAction (7af4442)
  • Added ability to use html in Alert, Descriptions and Notification. (efa61bd)
  • Added ability to use html in Button, Card and Collapse. (6d4d696)
  • Added ability to use html in Paragraph, Result and Statistic. (483eee6)
  • Added ability to use html in Title and Tooltip. (9329d24)
  • Document node server. (20dfb7d)
  • Initialise @lowdefy/server-node package (17c27f7)
  • Make blocks server URL configurable. (65c9fe7), closes #670
  • Make server basepath configurable (3981f8c)
  • Update Elasticsearch docs (8feb78b)
  • Updated antd blocks fields .json that support html. (c9ae5e7)

3.19.0 (2021-07-26)

Changes

Features

  • Adds support for Elasticsearch.
  • Adds the _change_case operator.

Fixes

  • Increases the server bodyParserConfig limit to 5mb. This is to mitigate errors where the payload is too large if their is a lot of data in state or global. This issue will be resolved in the next major version by #641.
  • Changes the default value of the Selector showSearch property to true.
  • The default value returned by the _request operator if values are not found is now null, like other getter operators.

Contributions

Commits

Bug Fixes

  • blocksAntd: Update Selector test snapshots. (417e802)
  • docs: Comment fixes on _change_case operator (b2a30e7)
  • operators: Fix regex in _change_case operator. (e4d577f)
  • Increase bodyParserConfig limit to 5mb. (fc688a2)
  • graphql: Throw correct request configuration error messge. (5443154)
  • operators: _request getter default value should be null. (755527f)
  • operators: Comments fixes and catch nested objects (deb8fd5)
  • operators: Update tests with comments fixes and catch nested objects (b6d63bb)

Features

  • Update Elasticsearch docs. (7b883e1)
  • blocks-antd: Make Selector showSearch default true. (6bf511a)
  • docs: Add _change_case operator docs. (f57d7eb)
  • graphql: Change ElasticsearchSearch request and response schema. (efd70a3)
  • operators: Add _change_case operator (e617c31)
  • operators: Add _change_case tests (87bf687)

3.18.1 (2021-06-30)

Changes

Fixes

  • Fix S3UploadButton block.
  • Evaluate actions with error messages #663.
  • Replace 'Action unsuccessful' error message with message provided by Error.
  • Serializer to maintain Errors #664.
  • Fix _location.

Commits

Bug Fixes

  • blocksAntd: Fix S3UploadButton block to new responses schema. (37a15bf)
  • blocksAntd: Update snapshots. (43b23f4)
  • docs: Fix typo in mql example. (22ca375)
  • engine: Evaluate action error messages after error. closes #663 (514fd14)
  • engine: Remove error.lowdefyMessage. (9f8590f)
  • engine: Responses for actions and tests using _actions in messages. (38cf7ef)
  • engine: Up test covarage in Wait. (a40ad4f)
  • helpers: Serializer to maintain error. closes #664 (bfbdf58)
  • operators: Do not copy window.location in _location. (61f6215)
  • shell: Add dev build option to serve renderer from localhost. (3f3840d)

3.18.0 (2021-06-17)

Changes

Feature

  • Add a new Wait action, #625.
  • Add supported for dot notation in the _request operator, #646

Fixes

  • Fix 404 page build issue, closes #647.
  • Improve build error messages for missing ids.
  • Throw an error if request id contains a period.
  • Fix Dockerfiles in docs.
  • Reconnect docsearch after page change.

Commits

Bug Fixes

  • build: default 404 page should be copied in build. (8e0d8ca), closes #647
  • build: Improve build error messages for missing ids. (ecd2488)
  • build: Improve error message. (258d4ad)
  • build: Throw an error if request id contains a period. (933e4fa)
  • docs: Fix Dockerfiles in docs (4f53889)
  • docs: Reconnect docsearch after page change. (48c26e8)

Features

  • docs: Add algolia docsearch. (e3c6de7)
  • engine: Add wait operator. (40ead25), closes #625
  • operators: Add support for dot notation in _request operator. (6ffaf46)

3.17.2 (2021-06-11)

Changes

Fixes

  • Fix Netlify deploys.

Commits

Bug Fixes

  • server-netlify: Fix Netlify build configuration path. (e2ddc11)

3.17.1 (2021-06-11)

Changes

Fixes

  • Fix Netlify deploys.

Commits

Bug Fixes

  • server-netlify: Fix Netlify server express GraphQL path. (f3959ad)

3.17.0 (2021-06-11)

Changes

Breaking

  • Remove support for depreciate _js.function and _js.evaluate operators.

Features

  • Add support for deploying with Docker. See more at https://docs.lowdefy.com/docker.
  • Add support for deploying with AWS Lambda. See more at https://docs.lowdefy.com/aws-lambda.
  • Add try-catch error handling to events, closes [#608].
  • Add forceSubMenuRender property to menus in Menu, PageHeaderMenu, and PageSiderMenu blocks.
  • Add _location window location operator.
  • Add links to previous Lowdefy versions in docs.
  • Add a default 404 page if no 404 page is defined, closes [#280].

Fixes

  • The CLI init starter app docs button now opens in a new tab.
  • Fix AxiosHttp baseUrl typo in docs, closes [#607]

Commits

Bug Fixes

  • docs: Add lowdefy version in dockerfile warnings (1672f24)
  • docs: Fix aws lambda docs. (7136663)
  • docs: Fix type in MongoDB docs. (07de3e9)
  • shell: Fix gqlUri in shell app. (3da4851)

Features

  • docs: Add docs for Docker and AWS Lambda deployment (e57fa03)

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

Bug Fixes

  • cli: Open docs link in new tab. (2da64c2)
  • servers: .babelrc file should not be in .dockerignore (994c13f)

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

Bug Fixes

  • Do not tag prereleases with latest tag on npm (106aef7)
  • docs: Restore docs to previous stable version (ce1aac0)
  • Fix lerna npm publish on release action. (9469148)
  • Test npm lerna publish (92f4b88)

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

Bug Fixes

  • Fix npm publish comand in publish action. (24cc119)

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

Bug Fixes

  • Add publish environment to publish workflow (b65211a)
  • Fix release workflow file. (028ecf0)
  • remove linux/arm/v7 docker platform. (c78d72e)
  • Remove yarn cache clean from docker builds. (e5d8d9d)
  • blocksAntd: Add forceSubMenuRender property to menu. (3f85e6e)
  • blocksAntd: Include menu tests for working renders. (b8fa4d0)
  • blocksAntd: Skip menu render test. (5a321ec)
  • build: Handle try catch options in actions schema. (7e05b0e)
  • docs: Add _location operator. (038977a)
  • docs: Add forceSubMenuRender to menu. (a4b7abc)
  • docs: Add lowdefy versions to docs. (5ff0e16)
  • docs: Fix baseUrl typo, closes #607 (4b1e6ce)
  • docs: Remove deprecated _js wasm. (8b00683)
  • docs: Update docs for try catch actions. (3d7969d)
  • operators: Remove deprecated _js wasm. (20d2d0f)
  • server-docker: Use port 3000 as default port. (53bbc5f)
  • servers: Use a empty app config instead of starter config for lowdefy default. (db4b7f9)

Features

  • Add configurable public directory to servers. (7c2beeb)
  • Add docker ignore files (441b150)
  • Github actions to deploy docker images (de49159)
  • Update release action to publish to npm and docker. (acd2c5d)
  • build: Add a default 404 page if no page is defined. (b0abb39)
  • engine: Add catchActions to events, closes #608 (305b3aa)
  • operators: Add _location operator. (9175dbe)
  • Init @lowdefy/server package. (f4699be)
  • Init @lowdefy/shell package (1c188a0)
  • Init aws lambda server. (f48021e)
  • Update docker server dockerfile. (0f52b35)
  • Use @lowdefy/server package in dev server. (dc4848a)
  • use lowdefy server in docker and lambda servers (4854f74)
  • Use lowdefy server in netlify server. (4a78a97)
  • Use lowdefy shell in aws lambda server. (933281f)
  • Use shell package in dev and docker servers (d9abe05)
  • server-docker: Update lowdefy app directory in dockerfile (cedea93)

Reverts

  • Revert "chore: Update yarn version." (04fe765)
  • Revert "chore: Yarn upgrade rename .pnp.js" (59a0413)

3.16.5 (2021-05-31)

Changes

This release only contains updates to dependencies.

Commits

Bug Fixes

  • deps: update apollo server packages to v2.24.1. (a538a22)
  • deps: update apollo server packages to v2.25.0 (bbe713d)
  • deps: update dependency @apollo/client to v3.3.19. (ac1d1f9)
  • deps: update dependency @sendgrid/mail to v7.4.4. (75097df)
  • deps: update dependency aws-sdk to v2.914.0 (8259549)
  • deps: update dependency aws-sdk to v2.918.0 (68eed24)
  • deps: update dependency classnames to v2.3.1 (d4c7249)
  • deps: update dependency dompurify to v2.2.8. (1d9b4de)
  • deps: update dependency dotenv to v10.0.0 (19e6a71)
  • deps: update dependency echarts to v5.1.1 (6d3a824)
  • deps: update dependency fs-extra to v10.0.0 (d9ad1a5)
  • deps: update dependency graphql-tag to v2.12.4 (daf81cf)
  • deps: update dependency js-yaml to v4.1.0 (d3954f3)
  • deps: update dependency knex to v0.95.6. (c2b718e)
  • deps: update dependency mongodb to v3.6.8 (21cacae)
  • deps: update dependency mongodb to v3.6.9 (310d474)
  • deps: update dependency mssql to v7.1.0. (becfe14)
  • deps: update dependency openid-client to v4.7.4 (79d2ad2)
  • deps: update dependency pg to v8.6.0 (630b448)
  • deps: update dependency query-string to v7.0.0. (f96afb8)
  • deps: update dependency tslib to v2.2.0 (8873c41)

3.16.4 (2021-05-28)

Changes

Fixes

  • CLI now works for previous Lowdefy versions, closes #598
  • Fix development server hot reload.
  • The index.html file is no longer cached by the development server.
  • Add separate file hosting section to the docs.
  • Fix an issue on selector blocks where the correct value was not found in options if the value was a complex object.

Commits

Bug Fixes

  • blocks-antd: Fix selector index comparison. (3f06fcd)
  • cli: Fix CLI for previous lowdefy versions (89b8533), closes #598
  • cli: Fix dev server reload. (af6e70d)
  • docs: Split file hosting to separate concepts section. (f802a6c)

3.16.3 (2021-05-27)

Changes

Fixes

  • Custom HTML was not appended when navigating to the home (/) route.

Commits

Bug Fixes

  • servers: Append html when serving index from url root (12cb782)

3.16.2 (2021-05-26)

Changes

Fixes

  • Fix CLI development server.

Commits

Bug Fixes

  • blocks-antd: Remove Descriptions example with failing schema (7e45bb3)
  • cli: Fix cli dev server missing import (beff373)
  • Update yarn lock (622ae88)

3.16.1 (2021-05-26)

Changes

Fixes

  • Add new block locations to build.
  • Fix Descriptions schema for docs generator.

Commits

Bug Fixes

  • build: Add default locations for new blocks. (544d1e1)
  • docs: Fix Descriptions schema for docs generator. (dbe1efe)

3.16.0 (2021-05-26)

Changes

BREAKING

  • Rename selectGMT to selectUTC for DateTimeSelector.

Depreciated

Features

  • Add support for custom HTML before the closing head and body tags of the app.
  • Add the JsAction action, that can run custom JavaScript.
  • Javascript operators are now implemented differently. See https://docs.lowdefy.com/custom-code
  • Add Tooltip and Img blocks.

Fixes

  • Fix docs sitemap.
  • Add new-line support to Descriptions, closes #581
  • Fix DateTimeSelector to work for local or utc time, closes #580
  • Document client and server environment operators.
  • Document context initialization events for context blocks.
  • SendGridMailSend to handle arrays, closes #582
  • Document Tabs block events, closes #576.
  • Wait for login action on expired token refresh.
  • Fixed cached scripts on app update by including contenthash in webpack output, closes #575.

Commits

Bug Fixes

  • docs: Sitemap must be https. (290b271)
  • fix indentation level op events in schema (4426888)
  • blocksAntd: Add new-line support to Descriptions, closes #581 (41bb9ee)
  • blocksAntd: Fix DateTimeSelector to work for local or utc time, closes #580 # (30a4764)
  • blocksAntd: Fix srcSet and media change width. (4fb991a)
  • blocksAntd: Rename selectGMT to selectUTC for DateTimeSelector. (e817fb1)
  • build: Do not throw on validate app config. (96904a7)
  • docs: Add alerts for client or server operators. (bf5c9be)
  • docs: Add custom code concept. (b0e63e1)
  • docs: Add discord link. (0a24af7)
  • docs: Document context initialization events for context blocks. (a59bff5), closes #576
  • engine: Add tests for JsAction. (2113ae5)
  • engine: Update tests for new action responses structure. (73c84e6)
  • graphql: SendGridMailSend to handle arrays, closes #582 (dc0ef6c)
  • Fix Tabs blocks events in schema. (70a13af), closes #576
  • webpack config so that index.html is not minified. (d9cbf8d)
  • docs: Change to head.html. (a7f20c4)
  • docs: Create modules/index and load filterDefaultValue. (e45e5f1)
  • docs: Fix custom block event actions history description. (eb49803)
  • docs: Import _js.filterDefaultValue as operator. (a6e2fe0)
  • docs: Updates to custom code docs. (a4be530)
  • engine: Modify action response object. (94db71d)
  • operators: Update tests for _js and _actions. (022893b)
  • renderer: Fix deprication build warning. (18baf4a)
  • renderer: Load and remove lowdefy.imports. (e6fccbc)
  • renderer: Wait for login action on expired token refresh. (7219cdd)
  • Rename appendHeader to appendHead. (4e79736)
  • servers: Express function changed to async. (6df571b)

Features

  • add Tooltip to docs (e79a876)
  • new Tooltip block and tests (8717767)
  • blockBasic: Add Img block. (c850cb3)
  • Include contenthash in webpack output. (dd2adbb), closes #575
  • build: Build app config. (6575bc7)
  • cli: Add appendHead, appendBody and custom js scripts. (0f74833)
  • docs: Add _actions operator. (d5583d2)
  • docs: Add JsAction. (19fd956)
  • engine: Add JsAction. (005155a)
  • operators: Custom _js and _actions operators. (815f6a4)
  • renderer: Add customActions, jsOperators, registerCustomAction and registerJsOperator to lowdefy object. (95f853d)
  • server: Add head and body load scripts. (ad195b4)
  • servers: Load header and body html on server. (a5b070f)

3.15.0 (2021-05-11)

Changes

BREAKING

  • Remove logoutFromProvider option in config.auth.openId.
  • Remove OracleDB support.

Features

  • Allow custom OpenID Connect authorization url parameters.
  • Add nunjucks template logout url.
  • Use square logo for PageHeaderMenu and PageSiderMenu on mobile media sizes.
  • Docs for user authentication and authorization.

Fixes

  • Show warning message before validation error message.
  • Replace nunjucks-date-filter dependency with dateFilter function that does not default to utc time.
  • Do not filter OPENID_CLIENT_ID and OPENID_DOMAIN from secrets.
  • Id token was not sent with openIdLogoutUrlInput request.

Commits

Bug Fixes

  • blocksAntd: Add square logo for mobile menu. Closes #545 (296c7ec)
  • blocksAntd: Show warning before validation. Closes #562 (7b4909b)
  • docs: Add users object, general fixes. (72c0e25)
  • docs: Add user authorization docs. (9f259fd)
  • docs: Add user object and roles docs. (ccc8138)
  • docs: Document protected pages. (7a338b9)
  • docs: Generate sitemap for docs. (5a2e0cd)
  • docs: Remove OracleDB. (0672aa8)
  • nunjucks: Fix tests. (f60f00e)
  • nunjucks: Replace nunjucks-date-filter dependancy with dateFilter function. (f876c5b)
  • operators: Do not filter OPENID_CLIENT_ID and OPENID_DOMAIN from secrets. (3c56737)
  • Remove support for oracle db due to lack of apple silicon support. (0a1ca68)
  • renderer: Id token was not sent with openIdLogoutUrlInput request. (e636c79)

Features

  • Allow custom openid authorization url parameters. (427b3a1), closes #546
  • Remove logoutFromProvider config, and nunjucks template logout url (111d3da), closes #563

3.14.1 (2021-04-28)

Changes

Fixes

  • Fix required validation broken by dynamic operators, closes #554.

Commits

Bug Fixes

  • engine: Fix required validation broken by dynamic operators. (6d38dbb)

3.14.0 (2021-04-26)

Changes

Features

  • Role based authorization for pages.
  • Handle dates in _js operator.
  • Enable console.log in _js operator.

Fixes

  • The _array, _object, and _string operators no longer throw errors on null values.
  • Operators in page title are now evaluated correctly.
  • Improved error pages.
  • Fix an error when serializing data for _js operator.

Commits

Bug Fixes

  • blocksAntd: Update snapshots. (ed6b6e7)
  • blocksColorSelector: Fix tests for Label. (f2e6bc1)
  • blockTools: Add full error page. (9baf5ad)
  • blockTools: Update error defaults. (cc02a89)
  • build: Fix build import. (307d0ce)
  • cli: Fix webpack config mode, should be production. (86d7f38)
  • docs: Fix typo in docs. (343553a)
  • graphql: Simplify auth check (cfb4d7f)
  • operators: Add prep to object. (24f6188)
  • renderer: Catch render error with full page. (9775e24)
  • Add lgtm badges. (62af825)
  • Fix yarn lock (b161786)
  • Make lgtm corrections. (ef20857)
  • 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)
  • renderer: Remove extra root context and pass page properties to Helmet. (f17b412)

Features

  • build: Build auth objects for role bases authorization. (5fa6436)
  • build: Build correct auth object for menus (2145033)
  • build: Update lowdefy app schema to include rolesField. (3f1e06b)
  • graphql: Add role based authorization. (4e15ed3)

3.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)
  • build: Add eval option to _ref operator during build. (eb62e8a)
  • build: Add list of operators in context to build. (88a6f24)
  • docs: Add _js operator to docs. (b7b2135)
  • docs: Add _ref.eval to docs. (d90e02f)
  • docs: Make connection examples and secrets more consistant (4c473a3)
  • docs: Update _js operator docs. (1c00b36)
  • docs: Update docs to use _js operator. (91dda91)
  • engine: Init async operators. (63f8d14)
  • graphql: Improve KnexBuilder errors, add KnexBuilder tests. (daced49)
  • graphql: Init operators. (951e3a7)
  • graphql: Knex tests, add tablename prop to builder. (ba696f8)
  • graphql: Pin mongodb to v3.6.5 due to yarn pnp bug in v3.6.6 (4b74cb6)
  • operators: Getters should return default if from or key are null. (be8aae6)
  • Fix graphql-federated build, move knex dependencies to cli. (ff32126)
  • 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: Update _js to take code with function as param. (8fa7fa0)
  • renderer: Filter OpenId Connect fields from user object. (8cdf96f)
  • 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

  • Update Knex docs for all suported databases. (1b45b01)
  • docs: Add Knex docs. (7caefdc)
  • graphql: init Knex connection. (dac5a4c)
  • graphql: Update Knex schemas. (d2d8a73)
  • operators: Add _js operator and remove _experimental_unsafe_js operator. (2d1e2b3)

3.12.6 (2021-04-06)

Changes

Fixes

  • Fix bug where user object is still defined on the client after login has expired.
  • Fix Pagination block. The onSizeChange event was triggered when the onChange event was supposed to be triggered.
  • Fix S3UploadButton state value, add the missing bucket and key values.

Commits

Bug Fixes

  • Fix bug where user object is still defined after login has expired. (e3e8803)
  • blocks-antd: Fix Pagination block onChange. (5813ff1)
  • blocks-antd: Fix S3UploadButton state value. (c11184e)
  • deps: update dependency openid-client to v4.6.0 (55be522)

3.12.5 (2021-03-31)

Changes

Fixes

  • Fix S3UploadButton file uploads.

Commits

Bug Fixes

  • blocks-antd: Fix S3UploadButton not uploading files. (7005a8f)
  • engine: Fix Request action response. (45aaa18)

3.12.4 (2021-03-30)

Changes

Fixes

  • Fix S3UploadButton file uploads.
  • Fix AwsS3Bucket type name.

Commits

Bug Fixes

  • blocks-antd: Fix S3UploadButton file uploads. (2fa854b)
  • deps: update dependency openid-client to v4.5.2 (0963d68)
  • graphql: Fix AwsS3Bucket type name. (7aa6581)

3.12.3 (2021-03-26)

Changes

Fixes

  • Fix renderer list and request race condition.

Features

  • Add _ne operator.

Commits

Bug Fixes

  • renderer: List render race condition, closes #520 (07907df)
  • Update _ne tests. (5611439)
  • operators: Add _ne operator. (d7b62e0)

3.12.2 (2021-03-24)

Changes

Fixes

  • Fix ECharts remoteEntry path for block meta data.

Commits

Bug Fixes

  • blocksECharts: Correct the remoteEntry path for ECharts. (f99cccc)

3.12.1 (2021-03-24)

Changes

Fixes

  • Fix EChart schema definition for docs.
  • Add @lowdefy/blocks-echarts to Lowdefy CDN.

Commits

Bug Fixes

  • Fix docs issue and add echarts to github actions cdn. (7509914)

3.12.0 (2021-03-24)

Changes

Fixes

  • Size loading block based on block layout and style settings.

Features

  • Add EChart block 🎁.

Commits

Bug Fixes

  • renderer: Loading to size loading block based on block size. (16e2930)

Features

  • blockECharts: Add EChart block 🎁. (deff965)
  • docs: Add docs for EChart block. (9f7b31a)

3.11.4 (2021-03-19)

Features

  • Add _object.defineProperty operator.

Fixes

  • OpenID Connect for Netlify deployment fix.
  • Block update on loading complete.

Documentation

  • Add _object.defineProperty operator.

Bug Fixes

  • deps: update dependency openid-client to v4.5.1 (b6a7cd8)
  • docs: typo _object.defineProperty docs. (c99ef38)
  • operators: Add _object.defineProperty operator. (52f598f)
  • renderer: Set updaters on every render, closes #499 (b68e5bd)
  • server-netlify: Fix auth token cookie path. (6784e27)

3.11.3 (2021-03-12)

Fixes

  • Fix OpenID connect callback in CLI dev server.

Bug Fixes

  • cli: Fix dev server url paths for auth callback (8cb2717)
  • deps: update dependency openid-client to v4.5.0 (364d521)

3.11.2 (2021-03-11)

Fixes

  • Fix Netlify server deployments.

Bug Fixes

  • server-netlify: Fix netlify graphql server path (07394ac)

3.11.1 (2021-03-11)

Bug Fixes

  • server-netlify: Fix Netlify server graphql path (0898642)

3.11.0 (2021-03-11)

Features

This release includes initial support for OpenID Connect. There might be breaking changes to the configuration required as this is tested in the wild. Please see #483 for more information.

Fixes

  • Requests were added to the wrong context in build if more than one context was used on a page.
  • The _mql operator no longer throws error when the on argument is null.
  • Fixed an issue where displayMessage was not initialized properly.

Documentation

  • Fix Descriptions bordered property default value.
  • Add a section on using JSON instead of YAML.
  • Added a diagram to the overview page.

Bug Fixes

  • blocks-antd: Fix Descriptions bordered property default value (c2503e1)
  • build: Add auth config to all menu items. (cea8982)
  • build: Nested context caused request to be created in wrong context. (16e2b15)
  • build: Page auth config fixes. (601c942)
  • build: Throw when poth protected and public pages are listed. (5581ac4)
  • docs: Add a section on using JSON instead of YAML (a709086)
  • docs: Add app schema image to docs public folder. (df1c6c7)
  • docs: Add deployment tutorial video (1e63ddd)
  • docs: Typos. (760abe6)
  • docs: Update overview with diagram. (e8087b7)
  • engine: Assign rootContext to context, instead of assigning individual fields. (9461990)
  • engine: Rename more root to lowdefy. (df858c1)
  • engine: Rename rootContext to lowdefy, and add pageId to root. (3ee8807)
  • engine: Use context specific pageId in engine. (e80e461)
  • graphql: Improve logoutRedirectUri configuration. (74e1183)
  • operators: _mql on null should pass null and not throw. (3378cb4)
  • operators: Rename input to inputs. (1815daa)
  • operators: Rename more root to lowdefy. (b2e40bb)
  • renderer: Fix login logout. (2c51020)
  • renderer: Init displayMessage before it is loaded, closes #470. (fac7e39)
  • renderer: Move pageId into lowdefy object. (5a19389)
  • renderer: Setup link function using setupLink. (b078b22)
  • renderer: Update blocks using use state. (de4f899)
  • _mql empty input when data is null. (a1c913a)
  • Add twitter badges. (432f4c4)
  • Update telemetry data field names. (085e5cc)

Features

  • build: Add auth field and homePageId to config in app schema. (a878a31)
  • build: Add auth to build arifacts. (c6a2e53)
  • build: Update app OpenID configuration schema (a6df3c0)
  • graphql: Add OpenID Connect flow queries. (1ac0b3d)
  • graphql: All user object to request operators parser. (9e43b27)
  • graphql: Allow specifed input, pageId, urlQuery in state token. (353dfab)
  • graphql: Do authorization checks on pages and requests. (00bf504)
  • graphql: Filter menu items. (cd14afd)
  • graphql: Make JWT expiry time configurable. (30bde0b)
  • graphql: Set and unset authorization cookie. (8abe43c)
  • graphql: Update jwt tokens, add tests. (f5ea705)
  • renderer: Improve OpenID Connect flows (e7cca6f)
  • renderer: Switch rootcontext to root lowdefy object (30919a2)
  • Move all servers to expressed based apps. (ffc6043)
  • operators: Configure operators to work aith root and add _user. (c9395b9)
  • renderer: Handle expired tokens in GQL client and unset tokenId. (2cc0492)
  • Init OpenID Connect flow. (e2e29d0)
  • use setHeader plugin to set auth headers (6238c6f)
  • operators: Filter openid secrets and block get all in _secret. (bd7a772)
  • renderer: Finish OpenId callback. (9997136)

3.10.2 (2021-02-25)

Changes

Fixes

  • Validate action error messages were not showing correctly.
  • Validation warnings were showing as errors.
  • A Lowdefy object is now added to the browser window when running on localhost for debugging.
  • The files that are created by the CLI init command are now logged.
  • Fixes to Modal block schema.
  • The Favicon PUBLIC_URL error in the browser has been resolved.

Documentation

  • This version includes a large number of updates to the documentation and tutorial.

Commits

Bug Fixes

  • blocksAntd: Update modal schema. (f2c6739)
  • cli: Log info about created files in init (bcb8933)
  • deps: Update dependency mingo to v4.1.2. (eb57a01)
  • docs: Add AgGrid reference to custom-blocks. (c90f7b5)
  • docs: Add docs README (2747197)
  • docs: Add links to example demos and code in next steps. (1bb9569)
  • docs: Add netlify deploy section to docs. (be82708)
  • docs: Add telemetry (1d6c07e)
  • docs: add thank you message to footer. (aa85e8a)
  • docs: Add tutorial videos (9e07674)
  • docs: Docs and tutorial improvements (28ef6df)
  • docs: Fix links and improve docs content (3019495)
  • docs: fix Request action call all requests documentation. (c6593f3)
  • docs: fix tutorial. (8c9d30d)
  • docs: General docs fixes and improvements (deddeb4)
  • docs: Improve body markdown block ids in tutorial (7e04786)
  • docs: Move deployment to the end of tutorial (b934f9c)
  • docs: Post newsletter subsriptions to Lowdefy API. (ed51ddb)
  • docs: Remove unused template files (be0546d)
  • docs: Rename validation to validate in docs. (147f8de)
  • docs: Tutorial fixes (3bc9a55)
  • docs: Update introduction. (4f17f35)
  • engine: Validate was not showing the correct error message. (4fcbda4)
  • engine: Validation warnings were shown as errors not warnings. (84ad6b3)
  • renderer: Add Lowdefy object to window if running on localhost. (726022d)
  • renderer: Remove unneed favicon from Helmet component. (e9e4795)

3.10.1 (2021-02-19)

Changes

Fixes

  • Return data property to TimelineList until list values get their value in state.
  • Improve schema error messages.
  • Stop the CLI dev server if the Lowdefy version in lowdefy.yaml changes.
  • Fix the saslprep warning when using the MongoDB connection.
  • Fix the issue where aggregation pipeline updates cannot be used with MongoDB update requests.
  • Getter operators no longer throw an error when getting from null.

Documentation

  • Added documentation for custom blocks.
  • Added documentation for versions and updates.

Commits

Bug Fixes

  • blocks-antd: Add data prop back to timeline list until lists get value from state (71eb8be)
  • build: Start schema error messages with a new line (80110c5)
  • cli: Give dev command name to startup function. (1ce7e3f)
  • cli: Stop dev server if lowdefy version changes (a944cc8), closes #447
  • docs: Add comment on LTS version. (fdf4361)
  • docs: Add custom blocks. (501664a)
  • docs: Add versions and updates section. (168175e)
  • docs: Update custom blocks concepts. (f5bdd5d)
  • graphql: Include saslprep in webpack build for mongodb. (19e048e)
  • graphql: MongoDB updates can use aggregation pipelines. (8e9653c)
  • operators: Getter operators should not error if key is null. (d080e5a)

3.10.0 (2021-02-17)

Bug Fixes

  • blocks: Do not pass methods down to imported blocks. (ff3f588)
  • blocks: Update block tests. (898fc3c)
  • blocksAntd: Fix icon in Notification. (34c03fc)
  • build: Add action messages to app schema (2aff1cb)
  • cli: Log command and lowdefy version in error handler. (6c1ed5b)
  • deps: Update dependency @ant-design/icons to v4.5.0. (8382bbb)
  • deps: Update dependency @apollo/client to v3.3.11. (27f553d)
  • deps: Update dependency apollo-server packages to v2.21.0 (276012c)
  • deps: Update dependency aws-sdk to v2.845.0. (55f5ef7)
  • deps: Update dependency css-loader to v5.0.2. (6dd6a82)
  • deps: Update dependency eslint to v7.20.0. (36b3892)
  • deps: Update dependency html-webpack-plugin to v5.1.0 (d0dd688)
  • deps: Update dependency imports-loader to v2.0.0. (9543482)
  • deps: Update dependency json5 to v2.2.0. (d93df2b)
  • deps: Update dependency less to v4.1.1. (19ec1e2)
  • deps: Update dependency less-loader to v8.0.0. (465727b)
  • deps: Update dependency mingo to v4.1.1. (efdb838)
  • deps: Update dependency mongodb to v3.6.4. (5a82096)
  • deps: Update dependency nunjucks to v3.2.3. (741616e)
  • deps: Update dependency query-string to v6.14.0. (3a942f1)
  • deps: Update dependency webpack to v5.22.0. (bb9f69e)
  • deps: Update dependency webpack-cli to v4.5.0. (445d55c)
  • deps: Update package commander to v7.1.0. (e13945e)
  • docs: Add concepts pages for lists, secrets and deployment. (fb93e33)
  • docs: CallMethod takes an array as input. (a698d0b)
  • engine: Fix Link action always errors. (ec4c0f2)
  • engine: Fix set block to update on event loading. (db80390)
  • engine: Use displayMessage from window. (a7e50b3)
  • graphql: Add descriptions to SendGridMailSendSchema. (edefaa7)
  • graphql: Add saslprep dependancy for mongodb. (4d1137a)
  • renderer: Set displayMessage on window. (8ba9606)

Features

  • cli: Add init command to cli. (ec496a5)
  • cli: Check for outdated versions on startup. (7236da3)
  • cli: Rename @lowdefy/cli package to lowdefy (b73777a)

Reverts

  • fix(deps): Update dependency less to v4.1.1 to v3.13.0. (2e09287)

3.9.0 (2021-02-16)

Bug Fixes

  • actions: Fix action response, add tests. (0d16f82)
  • blocksAntd: Fix args.icon for Message. (8a16504)
  • blocksAntd: Return the message function. (6fb2aec)
  • blocksAntd: Update Timeline to work from value settings. (c95009b)
  • blocksColorSelectors: Include block value test. (9da9c32)
  • blockTools: Add example value to block render tests. (e860013)
  • build: Fix TimelineList block location (renamed from Timeline). (02c5dea)
  • docs: Add docs for SendGridMailSend. (3e19e4c)
  • docs: Add init menu for PageSiderMenu and PageHeaderMenu. (2f8c6d2)
  • docs: Add List and ControlledList. (513a494)
  • docs: filterDefaultValue not to filter arrays. (48ccc5c)
  • docs: Fix schemas for Context Pages. (2700d68)
  • docs: Fixes to SendGridMail. (4a6cd66)
  • docs: Improve blocks default value filter. (8e722d1)
  • docs: Improve example rendering in template. (e528776)
  • docs: Only recurse getNestedValue on objects. (d6d3e04)
  • docs: Remove and fix old block examples. (11defbe)
  • docs: Typos in AxiosHttp. (5928330)
  • docs: Update _format operator docs. (8aa42aa)
  • docs: Update CallMethod docs with new usage. (0f0f320)
  • engine: Fix Link action with input and urlQuery. (be6a1e1)
  • engine: Fix Validate function name (795d876)
  • engine: Log action errors to the console. (38ea5ff)
  • add SECURITY.md (84a03ba)
  • renderer: Add displayMessage to renderer. (863515e)

Features

  • engine: Parse params for all actions. Refactor actions and events. (0d55bd2)

3.8.0 (2021-02-12)

Bug Fixes

  • blocks: Remove react router from render loop where not required. (7b6970f)
  • blocks-antd: Remove formatter option from Statistic block. (4c6a3b8)
  • blocksAntd: Fix Label areas.label bug. (6bcd258)
  • blocksAntd: Fix suffixIcon and label on MonthSelector. (9547ff5)
  • blocksAntd: PageSiderMenu affix toggle button. (ae46923)
  • blocksAntd: PageSiderMenu clean up. (340a760)
  • blocksAntd: PageSiderMenu collapsed state should not open defaultOpenKeys. (9172904)
  • blocksAntd: Remove open property from Modal and Drawer. (e5954ff)
  • blocksAntd: Update Anchor to use href spec. (1b9a5b1)
  • blocksColorSelectors: Add default colors for SwatchesColorSelector. (9650f73)
  • blocksColorSelectors: Add value label for CircleColorSelector. (ee5c05b)
  • blocksColorSelectors: Upfate blocksColorSelectors examples render loop. (2f88449)
  • docs: Improve concepts docs. (f982f83)
  • docs: Add 404 to general template. (c31cb4b)
  • docs: Add Collapse, Tabs and MobileMenu blocks (6db451b)
  • docs: Add container block docs. (b490ec7)
  • docs: Add context category block docs. (39fb6c3)
  • docs: Add examples to Progress. (9169001)
  • docs: Add filePath to all pages. (b890a2a)
  • docs: Fix content overflow on mobile. (33c1abb)
  • docs: Fix object propertiesGetterTransformer to assign to default object when null. (31df2a4)
  • docs: fix schema on ScrollTo blockId example (9c0b620)
  • docs: Fix selector value types for init_state_values. (6cfd6a1)
  • docs: Link to community in header. (62da21b)
  • docs: Remove Skeleton for now. (45d5b69)
  • docs: Render value by default on color selectors. (3db0f53)
  • docs: Update blocks template to one use schema variable. (54aa7dc)
  • docs: Update blocks templates for context blocks (8e7bd77)
  • docs: Update footer links to hrefs. (787cfb0)
  • docs: Update templates with header and footer. (e2a63fa)
  • engine: Fix container chlidren visibilty if container vis is null. (0af48bd)
  • operators: Allow get from object to take an integer argument. (e8bdbd9)
  • operators: Block experimental operators in _operator. (342b636)
  • renderer: Loading must render inside BlockLayout. (e1bced9)

Features

  • engine: Rename Link action newWindow to newTab. (35b47f6)
  • 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/lowdefy

3.7.0 (2021-02-09)

Bug Fixes

  • blockDefaults: Change allowClear default to false for TextArea and TextInput. (30323ea)
  • blocksAntd: Fix Menu default open and selected keys. (a1f48c5)
  • blocksAntd: Fix placeholder default for DateRangeSelector. (03b03ad)
  • blocksAntd: Update styling for ControlledList. (e5d773b)
  • blockTools: Add pageId to block schema in schemaTest. (548ba6a)
  • blockTools: Fix Skeleton linear-gradient for safari. (59026f4)
  • build: Allow _ref path argument to be a _var. (a8bd287)
  • engine: Actions should only skip when “skip” is explicitly true (e34dc05)
  • engine: Only update when onInit is done. (9f21597)

Features

  • docs: Update blocks property getters. (e68f774)

3.6.0 (2021-02-05)

Bug Fixes

  • Fix blocks-color-seletors typo. (b6ccedd)
  • blocksAntd: PageHSCF events rename. (ec4e9ed)
  • build: Add 'field' to block schema. (4aa76e8)
  • cli: Fix netlify build. (3c930e8)
  • docs: Events rename fixes. (a43cd3d)
  • docs: Update docs for v3.5.0 (969414d)
  • engine: Events rename fix. (ca142ca)

Features

  • githubactions: Upload blocks to cdn on publish. (2afebd1)
  • 🐢Redirect all paths to blocks-cdn. (a45447a)

3.5.0 (2021-02-05)

Bug Fixes

  • blockBasic: Fix typo. (9772e1a)
  • blocks: Add default colors to ColorSelector schemas. (ed03d73)
  • blocks: Add events to all subblocks. (753ae60)
  • blocks: Block schema fixes. (34b5a11)
  • blocks: Fix NumberInput to not apply default precision. (f2ddcaa)
  • blocks: Fix port setting in webpack config. (c828740)
  • blocks: RatingSlider NA checkkbox to set NA value to state. (a15693d)
  • blocks: Update block schemas for all blocks. (9a79743)
  • blocks-antd: Update snapshots for Avatar schema. (784c0e9)
  • blocksAntd: Alert description only margin issue. Closes #327 (864e74e)
  • blocksAntd: Correct disabledDates typo. Closes #358 (558becf)
  • blocksAntd: Fix top padding on RatingSlider. (48f9c13)
  • blocksAntd: Maintain cursor position for input blocks. Closes #344 (7e90fed)
  • blocksBasic: Add bad html test. (98740b8)
  • blocksMarkdown: Update schemas. (9af217c)
  • build: Add types object to app schema. (bd40748)
  • build: Improve error message if _var receives invalid arguments. (c52a942)
  • build: Improve warning message if menu’s page not found (7df576a)
  • build: Update default locations. (203175d)
  • cli: Clean node_modules in netlify build before copying. (9251d58)
  • cli: Fix function name case (1ba1c65)
  • cli: Fix reload port clash when running multiple dev servers. (4910718)
  • cli: Only start server if initial build has completed. (20cfcaa)
  • DangerousHtml: Fix DangerousHtml description in include render details. (30b348a)
  • deps: Update dependency @and-design/icons to v4.4.0 (9189eae)
  • deps: update dependency aws-sdk to v2.832.0 (ed9f6d4)
  • deps: update dependency chokidar to v3.5.1 (fe8ff89)
  • deps: Update dependency copy-webpack-plugin to v7.0.0. (901d412)
  • deps: Update dependency graphql to v15.5.0 (90acf72)
  • deps: Update dependency ora to v5.3.0. (542c115)
  • deps: Update peer dependencies. (57e5295)
  • docs: Add default values and loading to blocks. (fcadf76)
  • docs: Catch null in filter_default_value. (8975b0f)
  • docs: Change secret warning to Alert. (9be4ef5)
  • docs: Concepts pages fixes and additions. (fd6fba5)
  • docs: Convert propertiesFormTransform to work with objects. (33042ba)
  • docs: Fix all date value_type. (51e6b70)
  • docs: Fix connection docs formatting (37ff0ce)
  • docs: Fix lowdfey.yaml (01cc8fc)
  • docs: Fix merge conflict and S3UploadButton examples (e496d8c)
  • docs: Fix operator docs (7bf5a6c)
  • docs: Improve default value filter for config yaml. (e0cfc63)
  • docs: Operator docs fixes. (a36f31c)
  • docs: Operator docs improvements. (919949f)
  • docs: ParagraphInput remove content property. (83d00ed)
  • docs: Remove text size setting from markdown blocks. (58cf464)
  • docs: Review cli and lowdefy-schema. (4440ecf)
  • docs: Right align all label for blocks. (9060988)
  • docs: Set initial values for new propertiesFormTransformer. (01632c6)
  • docs: Tutorial fixes (6536cc0)
  • docs: Typo fixes on operators. (d48d391)
  • docs: Update concpets ortder. (91a5450)
  • docs: Update connections docs. (75ac999)
  • docs: Update Pagination tests. (fa583f2)
  • docs: Update snapshots for Avatar schema. (0176a85)
  • docs: Update template tests. (391c36e)
  • graphql: Mongodb, do not allow $out/$merge when write is false. (92aa370), closes #242
  • operators: Fix error when operator not supported, add support for _global (8ba32aa)
  • renderer: Fix registerMethods object. Closes #348 (d28931f)
  • concept pages typos and minor fixes (f0df767)
  • renderer: Fix context creation render loop bug. (019dbdc)

Features

  • block-tools: Rename block actions to events (e33d0f3)
  • blocks: Add default block loading. (d0d1801)
  • blocks: Fix disableDates in date selector schemas. (b2763ee)
  • blocks: Update block schemas and tests. (30636bd)
  • blocks-antd: Rename block actions to events. (9d9dce2)
  • blocks-basic: Rename block actions to events. (cbb5626)
  • blocks-color-selectors: Rename block actions to events. (ea13e8e)
  • blocksBasic: Sanitize html with dompurify. (83f72a4)
  • blocksMarkdown: Split MarkdownWithCode and Markdown, and add DangerousMarkdown which uses dompurify. (61ea65b)
  • build: Do not cache block metas if served from localhost. (58772af)
  • docs: Add _array and _string docs. (ea2ad05)
  • docs: Add _date, _object and _state docs. (de2035a)
  • docs: Add _input, _global, _media, and _url_query docs. (9c81963)
  • docs: Add _ref and _var operators. (420eef7)
  • docs: Add _secret, _menu, _get, _event doc pages (edd5b01)
  • docs: Add Alert, Anchor, Avatar and Breadcrumb docs. (0983607)
  • docs: Add all ColorSelector blocks. (3913968)
  • docs: Add all Selectors. (f5e65ab)
  • docs: Add block schema transformer (4cdf891)
  • docs: Add blocks for Divider, Menu, Icon, Paragraph, Progress, Skeleton, Statistic. (a2901ec)
  • docs: Add CLI docs page. (75cc5ba)
  • docs: Add concepts and next steps. (f1b8055)
  • docs: add concepts docs. (3b12dc9)
  • docs: Add DangerousMarkdown, Markdown, MarkdownWithCode blocks. (963cfa2)
  • docs: Add date selector docs. (767f9ac)
  • docs: Add docs for GoogleSheet connection. (8d2ff5d)
  • docs: Add docs for TextArea. (102494e)
  • docs: Add gutter example to layout docs. (4929366)
  • docs: Add Html and DangerousHtml to docs. (c6fb602)
  • docs: Add Html block to docs. (0daff90)
  • docs: Add Lowdefy schema concept page. (5d6c78c)
  • docs: Add math operator page. (1c29bda)
  • docs: Add NumberInput docs. (b05cf14)
  • docs: Add operator docs. (47ad077)
  • docs: Add operator docs. (606346a)
  • docs: Add operator docs. (e164d7d)
  • docs: Add optionsSelector displayType. (572a63d)
  • docs: Add Pagination to docs. (83a96ab)
  • docs: Add RatingSlider to docs. (f64e363)
  • docs: Add S3UploadButton docs. (c024488)
  • docs: Add schemas for connections, requests, action. (f061f96)
  • docs: Add Switch block. (7da2dfb)
  • docs: Add Title block. (adaa229)
  • docs: Add TitleInput and ParagraphInput. (3e5b239)
  • docs: Add validation to blocks. (c841b8a)
  • docs: Block loading. (a64c488)
  • docs: Context data object init. (f757eb2)
  • docs: Docs improvements (529e924)
  • docs: Finalize the Lowdefy introduction. (938e6fc)
  • docs: Init Blocks concept. (acf7a0c)
  • docs: Init docs. (99cdadd)
  • docs: Make propertiesFormTransformer work with arrays. (9967d73)
  • docs: Move tutorial content from md files to page yaml file (30f5286)
  • docs: Nest layout examples in a Collapse. (689a8d3)
  • docs: Overview and operators concepts pages. (b298dd4)
  • docs: TDLR for blocks. (ef1954b)
  • docs: Update actions doc pages. (ae01776)
  • docs: Update blocks concepts. (19ccf72)
  • docs: Update blocks page template to use transformers (158539e)
  • docs: Update concepts (04bfcef)
  • docs: Update Connections and Requests. (6600773)
  • docs: Update context to context-and-state (d6b0081)
  • docs: Update defaultValueTransformer to pull nested defaults from schemas. (4ecb396)
  • docs: Update events-and-actions. (a09bb11)
  • docs: Update Layout. (3d920e6)
  • docs: Update operator docs template for methods. (03be26f)
  • docs: Update operator docs. (a31009c)
  • docs: Update tutorial. (2c9cb61)
  • docs: Update tutorial. (b58e95d)
  • docs: Use transformer fn to create properties from block schema (faad65c)
  • engine: Add support for meta.initValue to initialize block value from meta. (5d5307c)
  • engine: Rename block actions to events (bd4f7a7)
  • graphql: Rename args object to event. (e3bb6f5)
  • 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)
  • Rename blocks “actions” field to “events”. (8f2e998)
  • renderer: Rename actions to events (134b275)
  • renderer: Rename actions to events. (601ae65)

3.4.0 (2021-01-20)

Bug Fixes

  • block-tools: Fix test snapshot. (e70fc5c)
  • build: Fix app schema test tests. (86917c0)
  • build: Fix lowdefy app schema. (f33c151)
  • graphql: Add request deserialize tests for entire inputs. (98cdbd8)
  • graphql: Deserialize request input variables. (82e8475)
  • graphql: Update tests operator error message. (c534328)
  • 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)

Features

  • build: Add licence field to app schema. (a6f7c91)

3.3.0 (2021-01-18)

Bug Fixes

  • Fix location not defined. (90f1e25)
  • Give defaultFunction to runClass and error in undefined methodName. (38af83b)
  • Make all method operators work with runClass and runInstance. (ef58619)
  • Update error message for unsupported method. (285a6cb)
  • Update tests in engie to work with new operator format. (4f626a1)
  • deps: update apollo server packages to v2.19.1 (#326) (8b977e3)
  • deps: update dependency aws-sdk to v2.828.0 (a94debd)
  • deps: update dependency axios to v0.21.1 [security] (99d91ed)
  • deps: update dependency axios to v0.21.1 [security] yarn pnp (69807c2)
  • deps: update dependency chokidar to v3.5.0 (#329) (3e79f6f)
  • deps: update dependency query-string to v6.13.8 (17bdbb8)
  • deps: Update js-yaml from 3.14.1 to 4.0.0. (1a9e1f9)
  • project operator import typo (84ea45e)
  • Update runInstance and runClass to cover all function types. (bc49186)
  • cli: add dev server port option (744ce51)
  • deps: update apollo server packages to v2.19.2 (68f89d0)
  • deps: update dependency @apollo/client to v3.3.7 (390dbb1)
  • deps: Update package @wojtekmaj/enzyme-adapter-react-17 to v0.4.1 (251102e)
  • Change allowed properties and methods to Sets. (8b91c21)
  • Change to mingo system import file. (a540435)
  • Evaluate _math using runMethod. (3f06967)
  • packages/graphql/package.json to reduce vulnerabilities (63aab05)
  • packages/graphql/package.json to reduce vulnerabilities (942fa1e)
  • 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)

Features

  • Add _diff operator on NodeParser. (ea65823)
  • Rewrite date to us runClass. (9fe2698)
  • Throw error on _divide by zero. (3d0047d)
  • build: Add transformer function option to _ref. (27c9114)
  • build: add vars parameter to transformer function. (c0782fe)
  • cli: Rename version field in lowdefy.yaml to lowdefy. (51ed277)
  • Add _array, _object and _string operators. (39197f7)
  • Add _base64_encode and _base64_decode operators. (25eb55a)
  • 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)
  • Add .env file support for serverDev. (d533726)
  • Add copy option to get. (9d5b40f)
  • 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)
  • Update default block versions to ^3.0.0. (78f1200)

3.2.0 (2021-01-18)

Bug Fixes

  • Fix location not defined. (90f1e25)
  • Give defaultFunction to runClass and error in undefined methodName. (38af83b)
  • Make all method operators work with runClass and runInstance. (ef58619)
  • Update error message for unsupported method. (285a6cb)
  • Update tests in engie to work with new operator format. (4f626a1)
  • deps: update apollo server packages to v2.19.1 (#326) (8b977e3)
  • deps: update dependency aws-sdk to v2.828.0 (a94debd)
  • deps: update dependency axios to v0.21.1 [security] (99d91ed)
  • deps: update dependency axios to v0.21.1 [security] yarn pnp (69807c2)
  • deps: update dependency chokidar to v3.5.0 (#329) (3e79f6f)
  • deps: update dependency query-string to v6.13.8 (17bdbb8)
  • deps: Update js-yaml from 3.14.1 to 4.0.0. (1a9e1f9)
  • project operator import typo (84ea45e)
  • Update runInstance and runClass to cover all function types. (bc49186)
  • cli: add dev server port option (744ce51)
  • deps: update apollo server packages to v2.19.2 (68f89d0)
  • deps: update dependency @apollo/client to v3.3.7 (390dbb1)
  • deps: Update package @wojtekmaj/enzyme-adapter-react-17 to v0.4.1 (251102e)
  • Change allowed properties and methods to Sets. (8b91c21)
  • Change to mingo system import file. (a540435)
  • Evaluate _math using runMethod. (3f06967)
  • packages/graphql/package.json to reduce vulnerabilities (63aab05)
  • packages/graphql/package.json to reduce vulnerabilities (942fa1e)
  • 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)

Features

  • Add _diff operator on NodeParser. (ea65823)
  • Rewrite date to us runClass. (9fe2698)
  • Throw error on _divide by zero. (3d0047d)
  • build: Add transformer function option to _ref. (27c9114)
  • build: add vars parameter to transformer function. (c0782fe)
  • cli: Rename version field in lowdefy.yaml to lowdefy. (51ed277)
  • Add _array, _object and _string operators. (39197f7)
  • Add _base64_encode and _base64_decode operators. (25eb55a)
  • 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)
  • Add .env file support for serverDev. (d533726)
  • Add copy option to get. (9d5b40f)
  • 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)
  • Update default block versions to ^3.0.0. (78f1200)