4.0.0-alpha.7 (2022-02-21)
Bug Fixes
- actions-core: Added scrollTo with no params error test. (1402180)
- actions-core: Added testContext for action testing. (2f6189b)
- actions-core: Changed param type check in DisplayMessage action. (3d85e26)
- actions-core: Refactored actions to use actions interface. (563900b)
- actions-core: Updated ScrollTo action tests. (ae202f2)
- actions-core: Updated ScrollTo action to include param error handling. (25b656f)
- actions-core: Updated Throw action tests to use new plugin config. (ccf4fd1)
- actions-core: Updated Wait action tests to use new plugin config. (abb74af)
- Add missing api and helpers tests. (aa1d72c)
- Add operators used by validation to plugin imports. (02abd41)
- Add packages/cli/server/ to git ignore. (20f02bd)
- Add yarn install to dev scripts for server. (dc7f988)
- api: Fix callRequest tests. (58655cb)
- api: Fixes using jest with es modules. (d69a4dc)
- blocks-antd: Refactored tests to use new Block config. (1919560)
- blocks-antd: Temporary for schema for TimelineList. (ce8640d)
- blocks-basic: Refactored tests to use new Block config. (37ba69d)
- blocks-color-selectors: Fix typo in style import. (7a90f5b)
- blocks-color-selectors: Refactored tests to use new Block config. (bd38975)
- blocks-echarts: Refactored tests to use new Block config. (d17e34e)
- blocks-loaders: Refactored tests to use new Block config. (e4f4590)
- blocks-markdown: Refactored tests to use new Block config. (b963944)
- bock-utils: Fix icon properties, size might be an issue. (cd2b9ad)
- build: Add writeActionImports to build. (f0889d2)
- build: Events with try defined should add default for catch. (bb36b55)
- build: Fix build tests. (417f5cb)
- build: Fix error message when block is not an object. (5bc113b)
- build: Fix jest with es modules. (a4d089a)
- build: Move page not an object error to addDefaultPages. (b3c980d)
- build: Throw better error for incorrect user transformer functions. (d796de3)
- build: Throw instead of logging error for build. (cccaabc)
- cli: Change additional base dir references to config. (e20cfdf)
- cli: Fix icon in init command. (295faba)
- cli: Fix jest es module mocks. (78480e8)
- connection-elasticsearch: Add license comments in schema files. (43ec9a0)
- connection-elasticsearch: Fix connection-elasticsearch plugin structure to work with version 4. (f0c55e8)
- connection-google-sheets: Add license comments in schema files. (c230318)
- connection-google-sheets: Fix connection-google-sheets plugin structure to work with version 4. (2c19747)
- connection-google-sheets: Revert mingo system imports. (66a42c7)
- connection-knex: Add license comments in schema files. (916452b)
- connection-knex: Fix connection-knex plugin structure to work with version 4. (ffc9c35)
- connection-mongodb: Add license comments in schema files. (0872590)
- connection-mongodb: Fix connection-mongodb plugin structure to work with version 4. (a8b9da9)
- connection-mongodb: Update dependency mongodb to v4.4.0. (0655365)
- connection-mongodb: Update MongoDB connection docs (7f0fccf)
- connection-sendgrid: Add license comments in schema files. (1850af3)
- connection-sendgrid: Fix connection-sendgrid plugin structure to work with version 4. (1baeb0f)
- connection-stripe: Add license comments in schema files. (cf4a614)
- connection-stripe: Fix connection-stripe plugin structure to work with version 4. (3a35829)
- Convert link to pass pathname and query separately. (1294914)
- Convert links to use pathname and query. (1189a8b)
- deps: Downgrade dependency swr to v1.1.2. (80b047f)
- deps: Update dependecy next to v12.0.10 (c058935)
- deps: Update dependency @elastic/elasticsearch to v7.16.0. (ed1346e)
- deps: Update dependency @sendgrid/mail to v7.6.0. (f44d267)
- deps: Update dependency ajv to v8.9.0. (efd18da)
- deps: Update dependency aws-sdk to v2.1066.0. (766acde)
- deps: Update dependency axios to v0.25.0. (ddf13bb)
- deps: Update dependency chokidar to v3.5.3. (4513321)
- deps: Update dependency commander to v9.0.0. (aebd5be)
- deps: Update dependency dompurify to v2.3.5. (41dbc3d)
- deps: Update dependency dotenv to v15.0.0. (682620c)
- deps: Update dependency echarts to v5.3.0. (6571f98)
- deps: Update dependency echarts-for-react to v3.0.2. (e5f7ed6)
- deps: Update dependency google-spreadsheet to v3.2.0. (2c62cc2)
- deps: Update dependency knex to v1.0.1. (26863fc)
- deps: Update dependency mingo to v6.0.0. (145dcda)
- deps: Update dependency mssql to v8.0.1. (6848ade)
- deps: Update dependency next-auth to v4.1.2. (4b63c87)
- deps: Update dependency next-with-less to v2.0.4. (7c71492)
- deps: Update dependency query-string to v7.1.0. (f434ee9)
- deps: Update dependency react to v18.0.0-rc.0 (2345330)
- deps: Update dependency react-markdown to v8.0.0. (f04e35b)
- deps: Update dependency redis to v4.0.3. (c4b0e75)
- deps: Update dependency rehype-raw to v6.1.1. (e13b0f1)
- deps: Update dependency stripe to v8.201.0. (964efb4)
- deps: Update dependency swr to v1.2.0. (8c55376)
- deps: Update dependency yargs to v17.3.1. (277776c)
- deps: Update emotion css packages. (3380594)
- docs: Add CircleColorSelector to transformer and fix typo. (9eea4f1)
- docs: Add docs on ES Modules in build resolvers and transformers. (8a3605e)
- docs: Comment our JsAction usage. (27a2361)
- docs: Update paths for all blocks and some icon name fixes. (e4369bb)
- Downgrade dependency ora to v5.4.1 (ea28ea5)
- engine: Changed method action from getRequest to getRequestDetails. (32c0b7c)
- engine: Fixed validate action method context reference. (576e3a9)
- engine: Reset input when link is followed with no input. (fab9e2a)
- engine: Reverted index based block id change in callMethod action test. (46ad3c0)
- engine: Update set global action method global object reference. (91fa543)
- engine: Updated callMethod action method to use action & block plugin config. (ddd849e)
- engine: Updated link action method test to use action & block plugin config. (1306698)
- engine: Updated login action method test to use action & block plugin config. (4cbd863)
- engine: Updated logout action method test to use action & block plugin config. (e120fe8)
- engine: Updated message action method test to use action & block plugin config. (48cd251)
- engine: Updated request action method test to use action & block plugin config. (d2bd2f5)
- engine: Updated reset action method test to use action & block plugin config. (d46add8)
- engine: Updated resetValidation action method test to use new plugin config. (107a1a5)
- engine: Updated setGlobal action method test to use new plugin config. (ceceec3)
- engine: Updated setState action method test to use new plugin config. (27838bc)
- engine: Updated testContext to use rootBlock config. (c8524c6)
- engine: Updated validate action method test to use new plugin config. (f8962c6)
- Fix docs transformer fns tests. (8a0e331)
- Fix import issues for build. (64a076c)
- Fix util package tests. (9d0cc45)
- Fix V4 tests. (d082d0c)
- Move S3UploadButton to plugin-aws. (540aa03)
- node-utils: Convert writeFile function prototype. (5371430)
- node-utils: Do not throw if readFile path is not resolved. (b451c29)
- operators-js: Fix array, function, operator, type tests (4d19d48)
- operators-js: Fix getter operator tests. (c774f3f)
- operators-js: Fix menu and location tests (3fac862)
- operators-js: Update request tests. (f78405f)
- operators-js: Update shared operators tests. (1c6cb87)
- operators-js: Update test name and license wording. (708beac)
- operators-nunjucks: Fix tests. (6b5d8c8)
- plugin-aws: Convert @lowdefy/plugin-aws to new plugin package structure. (64043d3)
- Remove rc-animate from yarnrc config. (0a037d1)
- server-dev: Add dev server manager description. (18cf9c2)
- server-dev: Do not error if .env file does not exist. (fa389a1)
- server-dev: Fix redirect. (96ed764)
- server: Maintain the lowdefy objects during page transitions. (4b3d061)
- servr-dev: Fix 404 redirect so that browser back works. (9df6579)
- Strip auth prop from page config in api. (693667d)
- Update createLink tests. (2e531b3)
- Update docs for Anchor. (53117b8)
Features
- actions-core: Added CallMethod action test. (f9333e5)
- actions-core: Added Link action test. (d04cc03)
- actions-core: Added Login action test. (ba6ac71)
- actions-core: Added Logout action test. (b67e77d)
- actions-core: Added Message action test. (0404c0d)
- actions-core: Added Request action test. (696d816)
- actions-core: Added Reset action test. (c53d111)
- actions-core: Added ResetValidation action test. (b5fc499)
- actions-core: Added SetGlobal action test. (66c8218)
- actions-core: Added SetState action test. (bfab2e4)
- actions-core: Added Validate action test. (171aec3)
- actions-core: BREAKING CHANGE - The Message action was renamed to DisplayMessage. (a9bfe65)
- actions-core: Refactored @lowdefy/engine and added actions-core package to plugins. (b08ef1d)
- actions-core: Updated DisplayMessage action and tests to include edge cases. (1d70f64)
- Add build scripts for plugings. (d37db36)
- Add start, start:dev and start:server-dev scripts for easy dev ⚡️. (da813c3)
- Add start:dev-docs start script. (0c494fe)
- Add watch and ignore paths, default ref resolver to dev server and build. (c700d9f)
- blocks: Implement Link in blocks. (2bcf600)
- build: Add buildPath to config. (1cce024)
- build: Add command line args for build, config and server directories. (1ef213b)
- build: Added @lowdefy/actions-core plugin to build process. (a144735)
- build: Copy files in config public folder to next public folder. (ceafdc8)
- build: Use dynamic import for build resolver and transformer functions. (c9db72a)
- cli: Add config option for server-dev and server directories. (07902b0)
- cli: Add port option for start command. (9e16e2f)
- cli: Add port setting to dev command. (546798a)
- cli: Pass package manager setting to dev server. (0425f07)
- cli: Rename base-directory to config-directory. (f09c569)
- docs: Add docs for the Link component. (37b80b1)
- engine: Added action methods to Actions class. (e3a32aa)
- engine: Added getActions action method test. (c79c7ed)
- engine: Added getBlockId action method test. (5802217)
- engine: Added getEvent action method test. (031535c)
- engine: Added getGlobal action method test. (61d23a2)
- engine: Added getInput action method test. (5578f46)
- engine: Added getPageId action method test. (602e114)
- engine: Added getRequestDetails action method test. (55519c5)
- engine: Added getState action method test. (384d264)
- engine: Added getUrlQuery action method test. (6665f2e)
- engine: Added getUser action method test. (f7156f5)
- engine: BREAKING CHANGE - The Message action was renamed to DisplayMessage. (6c3abb7)
- engine: Update link to include noLink and disableLink, fix logic. (b9633e4)
- Ignore app/** test config. (f5fad82)
- Link and basePath implementation for dev server. (d487a1c)
- node-utils: Add copyDirectory. (852a77a)
- node-utils: Replace rimraf with fs-extra. (e15031d)
- operators: Change dependancy from js-yaml to yaml. (cbb71d8)
- server-dev: Add .env and lowdefy version watchers. (bc52268)
- server-dev: Add port setting to server-dev. (f5b0e7e)
- server-dev: Added import for actions plugins to the lowdefy context. (20133bb)
- server-dev: Clean up server-dev manager. (ad3511c)
- server-dev: Dev server plugin install and next build working. (cf66a6f)
- server-dev: Optimise dev server next build time. (34aa84a)
- server-dev: Skip calling next and lowdefy build using npm/yarn start. (1a8699a)
- server: Add ariaLabel and rel properties to Link. (95b4447)
- server: Add Next Link component implementation. (6104ae0)
- server: Add replace and scroll to Link. (9d6ac04)
- server: Added import for actions plugins to the lowdefy context. (f28052c)
Reverts
- Revert "chore: Update yarn.lock" (f894cb4)
- Revert "chore: Update yarn lock to fix removal of rc-animate." (ab3e513)
BREAKING CHANGES
- connection-mongodb: The MongoDB driver was updated to v4, which has some changes to the option variable names.
- operators: _yaml.parse now takes an array or an object data instead of a string.
- href and strong property removed for Anchor block, replaced with Link properties.
- engine: The Message action was renamed to DisplayMessage.
- deps: The Knex driver has been updated to v1.0.1 which has some changes in the returned values. See https://github.com/knex/knex/releases.
- deps: # marks the beginning of a comment in .env files (UNLESS the value is wrapped in quotes. Please update your .env files to wrap in quotes any values containing #.
- cli: Rename base-directory to config-directory.