lowdefy/packages/build/CHANGELOG.md
2022-02-21 12:30:00 +02:00

42 KiB
Raw Blame History

Change Log

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

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

Bug Fixes

  • Add operators used by validation to plugin imports. (02abd41)
  • 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)
  • connection-elasticsearch: Fix connection-elasticsearch plugin structure to work with version 4. (f0c55e8)
  • connection-google-sheets: Fix connection-google-sheets plugin structure to work with version 4. (2c19747)
  • connection-knex: Fix connection-knex plugin structure to work with version 4. (ffc9c35)
  • connection-mongodb: Fix connection-mongodb plugin structure to work with version 4. (a8b9da9)
  • connection-sendgrid: Fix connection-sendgrid plugin structure to work with version 4. (1baeb0f)
  • connection-stripe: Fix connection-stripe plugin structure to work with version 4. (3a35829)
  • deps: Update dependency ajv to v8.9.0. (efd18da)
  • deps: Update dependency yargs to v17.3.1. (277776c)
  • Fix import issues for build. (64a076c)
  • Fix V4 tests. (d082d0c)
  • node-utils: Convert writeFile function prototype. (5371430)

Features

  • Add watch and ignore paths, default ref resolver to dev server and build. (c700d9f)
  • 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)
  • operators: Change dependancy from js-yaml to yaml. (cbb71d8)

BREAKING CHANGES

  • operators: _yaml.parse now takes an array or an object data instead of a string.

3.23.2 (2021-11-29)

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

Bug Fixes

  • Add loading and error icons to icon plugin import. (3c98732)
  • blocks-markdown: Upgraded react markdown dependencies. (9eb7c3a)
  • blocks: Updated block meta, types and buildIcons. (1d774a3)
  • build: Updated write icon imports template. (425823d)
  • Fix antd styles. (62a752d)
  • Fix blocks-echarts yarn berry packageExtensions. (a908c1c)

Features

  • 404 page working with next server (270c92e)
  • Add additional operator plugins to generateDefaultTypes, and fix operaotr packages. (a1d9c3b)
  • build: Move app.style.lessVariables to config.theme.lessVariables. (cb14f17)
  • cli: Add v4 dev command to CLI. (02770f5)
  • Create connection-redis plugin. (ee2315d)
  • Create wait helper function. (42c09f4)
  • server-dev: Dev server soft reload working. (dd5ee07)

BREAKING CHANGES

  • The 404 page is now always publically accessible.

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

Bug Fixes

Features

  • Add start command to CLI. (19bf81a)
  • Allow Less variables to be specified in server. (bd8ccbd), closes #893
  • Import operator plugins in server. (f913e9e)
  • Update server package.json if plugin deps change. (09f7bca), closes #943

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

Features

  • build: Add build icons.js. (e3b7eb7)

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

Bug Fixes

  • build: Fix build default build directory. (f6efc19)

Features

  • build: Add styles.less in build. (d014774)

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

Bug Fixes

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

Bug Fixes

  • ajv: Build @lowdefy/ajv with swc and update dep ajv to v8.6.3. (f231fcb)
  • api: JSON web token tests and fixes. (30f7267)
  • build: Fix build if no lowdefy.yaml file is found. (86f32a1)
  • build: Fix build tests. (509d71a)
  • build: Remove getMeta from context. (a982fd8)
  • build: Remove nested if statements. (e4771f9)
  • build: Removed check and test for duplicate block id. (8fe5cdd)
  • build: Update build tests for payload change. (43c2507)
  • build: Update duplicate id tests. (ed2f983)
  • build: Updated formatErrorMessage and testSchema tests. (751814c)
  • build: Updated formatErrorMessage function to show descriptive error paths. (5096554)
  • Clean up server configuration. (dea25de)
  • Cleanup build script. (ca0b4b0)
  • deps: Update dependency axios to v0.23.0. (f04f720)
  • deps: Update package ajv to v8.8.2. (2ded889)
  • ES module and next server fixes. (83bca45)
  • Fix tests (80c00f4)
  • Remove block metadata from build. (06a4fba)
  • Remove nested contexts code review fixes. (ceb266d)
  • Test fixes. (67bf2d4)

Features

  • Add authentication flows (15e1be9)
  • api: Init package @lowdefy/api (cbe7569)
  • Build html files for each page, and serve from api (3f53d8b)
  • build: Add generateDefaultTypes script. (18a4863)
  • build: Added createCheckDuplicateId test. (414eaa1)
  • build: Build now throws on duplicate ids. (45fd393), closes #529
  • build: Count types during build. (6550f76)
  • build: Remove support for nested contexts on a page. (b003b76)
  • build: Write plugin imports and types.json during build. (14247ea)
  • Generate unique block ids at build. (1503970), closes #920
  • Make @lowdefy/build a dev dependency of server. (fa97eb6)
  • Next server fixes. (9e6518a)
  • Next server rendering blocks (e625e07)
  • Remove @lowdefy/renderer package (c584778)
  • Render Lowdefy blocks in client package. (c24bcf1)
  • Replace server side state with payload and _payload operator. (1f928d9)
  • server: Convert server to fastify. (0d2c1c3)

BREAKING CHANGES

  • The _event, _global, _input, _state, and _url_query operators are no longer evaluated in connections or requests.

3.23.2 (2021-11-29)

Note: Version bump only for package @lowdefy/build

3.23.1 (2021-11-20)

Note: Version bump only for package @lowdefy/build

3.23.0 (2021-11-19)

Features

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

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

Note: Version bump only for package @lowdefy/build

3.22.0 (2021-09-27)

Note: Version bump only for package @lowdefy/build

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

Bug Fixes

  • build: Updated meta location tests to include CheckboxSwitch. (905f47e)
  • build: Updated meta locations to include CheckboxSwitch block. (cd2ab8c)
  • deps: Update dependency axios to v0.21.4 (81cd2b6)

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

Bug Fixes

  • build: Updated meta locations tests. (9e20ace)

Features

  • build: Added PasswordInput meta location. (66abcdd)

3.21.2 (2021-08-31)

Note: Version bump only for package @lowdefy/build

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

Bug Fixes

  • build: Add async to actions schema. (1276422)

3.21.1 (2021-08-26)

Note: Version bump only for package @lowdefy/build

3.21.0 (2021-08-25)

Bug Fixes

  • build: Add debounce to the build schema. (2ea31b1)

3.20.4 (2021-08-21)

Bug Fixes

  • build: Fix user specified type locations. (0456b00)

3.20.3 (2021-08-20)

Bug Fixes

  • build: Cache readFile and getMeta promises. (d1fd3da)

3.20.2 (2021-08-20)

Bug Fixes

  • build: Cache readFile and getMeta promises. (d1fd3da)

3.20.1 (2021-08-20)

Bug Fixes

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

3.20.0 (2021-08-20)

Bug Fixes

  • 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)

Features

  • build: Add support for app default ref resolver function. (b23e8c9)
  • build: Add support for resolver functions in _ref operator. (aa7fddc)
  • Make blocks server URL configurable. (65c9fe7), closes #670

3.19.0 (2021-07-26)

Note: Version bump only for package @lowdefy/build

3.18.1 (2021-06-30)

Note: Version bump only for package @lowdefy/build

3.18.0 (2021-06-17)

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)

3.17.2 (2021-06-11)

Note: Version bump only for package @lowdefy/build

3.17.1 (2021-06-11)

Note: Version bump only for package @lowdefy/build

3.17.0 (2021-06-11)

Note: Version bump only for package @lowdefy/build

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

Note: Version bump only for package @lowdefy/build

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

Note: Version bump only for package @lowdefy/build

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

Note: Version bump only for package @lowdefy/build

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

Bug Fixes

  • build: Handle try catch options in actions schema. (7e05b0e)

Features

  • build: Add a default 404 page if no page is defined. (b0abb39)

3.16.5 (2021-05-31)

Bug Fixes

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

3.16.4 (2021-05-28)

Note: Version bump only for package @lowdefy/build

3.16.3 (2021-05-27)

Note: Version bump only for package @lowdefy/build

3.16.2 (2021-05-26)

Note: Version bump only for package @lowdefy/build

3.16.1 (2021-05-26)

Bug Fixes

  • build: Add default locations for new blocks. (544d1e1)

3.16.0 (2021-05-26)

Bug Fixes

  • build: Do not throw on validate app config. (96904a7)
  • Rename appendHeader to appendHead. (4e79736)

Features

  • build: Build app config. (6575bc7)

3.15.0 (2021-05-11)

Features

  • Remove logoutFromProvider config, and nunjucks template logout url (111d3da), closes #563

3.14.1 (2021-04-28)

Note: Version bump only for package @lowdefy/build

3.14.0 (2021-04-26)

Bug Fixes

  • build: Fix build import. (307d0ce)

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)

3.13.0 (2021-04-16)

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)

3.12.6 (2021-04-06)

Note: Version bump only for package @lowdefy/build

3.12.5 (2021-03-31)

Note: Version bump only for package @lowdefy/build

3.12.4 (2021-03-30)

Note: Version bump only for package @lowdefy/build

3.12.3 (2021-03-26)

Note: Version bump only for package @lowdefy/build

3.12.2 (2021-03-24)

Note: Version bump only for package @lowdefy/build

3.12.1 (2021-03-24)

Note: Version bump only for package @lowdefy/build

3.12.0 (2021-03-24)

Features

  • blockECharts: Add EChart block 🎁. (deff965)

3.11.4 (2021-03-19)

Note: Version bump only for package @lowdefy/build

3.11.3 (2021-03-12)

Note: Version bump only for package @lowdefy/build

3.11.2 (2021-03-11)

Note: Version bump only for package @lowdefy/build

3.11.1 (2021-03-11)

Note: Version bump only for package @lowdefy/build

3.11.0 (2021-03-11)

Bug Fixes

  • 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)

Features

  • build: Add auth to build arifacts. (c6a2e53)
  • graphql: Make JWT expiry time configurable. (30bde0b)
  • use setHeader plugin to set auth headers (6238c6f)
  • build: Add auth field and homePageId to config in app schema. (a878a31)
  • build: Update app OpenID configuration schema (a6df3c0)

3.10.2 (2021-02-25)

Note: Version bump only for package @lowdefy/build

3.10.1 (2021-02-19)

Bug Fixes

  • build: Start schema error messages with a new line (80110c5)

3.10.0 (2021-02-17)

Bug Fixes

  • build: Add action messages to app schema (2aff1cb)
  • deps: Update dependency json5 to v2.2.0. (d93df2b)
  • deps: Update dependency webpack to v5.22.0. (bb9f69e)
  • deps: Update dependency webpack-cli to v4.5.0. (445d55c)

3.9.0 (2021-02-16)

Bug Fixes

  • build: Fix TimelineList block location (renamed from Timeline). (02c5dea)

3.8.0 (2021-02-12)

Note: Version bump only for package @lowdefy/build

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/build

3.7.0 (2021-02-09)

Bug Fixes

  • build: Allow _ref path argument to be a _var. (a8bd287)

3.6.0 (2021-02-05)

Bug Fixes

  • Fix blocks-color-seletors typo. (b6ccedd)
  • build: Add 'field' to block schema. (4aa76e8)

Features

  • 🐢Redirect all paths to blocks-cdn. (a45447a)

3.5.0 (2021-02-05)

Bug Fixes

  • build: Add types object to app schema. (bd40748)
  • build: Improve error message if _var receives invalid arguments. (c52a942)
  • build: Improve warning message if menus page not found (7df576a)
  • build: Update default locations. (203175d)

Features

  • build: Do not cache block metas if served from localhost. (58772af)
  • Rename blocks “actions” field to “events”. (8f2e998)
  • docs: Add TitleInput and ParagraphInput. (3e5b239)

3.4.0 (2021-01-20)

Bug Fixes

  • build: Fix app schema test tests. (86917c0)
  • build: Fix lowdefy app schema. (f33c151)

Features

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

3.3.0 (2021-01-18)

Bug Fixes

  • deps: update dependency axios to v0.21.1 [security] (99d91ed)
  • deps: Update js-yaml from 3.14.1 to 4.0.0. (1a9e1f9)

Features

  • build: Add transformer function option to _ref. (27c9114)
  • build: add vars parameter to transformer function. (c0782fe)
  • Update default block versions to ^3.0.0. (78f1200)

3.2.0 (2021-01-18)

Bug Fixes

  • deps: update dependency axios to v0.21.1 [security] (99d91ed)
  • deps: Update js-yaml from 3.14.1 to 4.0.0. (1a9e1f9)

Features

  • build: Add transformer function option to _ref. (27c9114)
  • build: add vars parameter to transformer function. (c0782fe)
  • Update default block versions to ^3.0.0. (78f1200)

0.1.0 (2020-12-15)

Features

  • build: Add user defined loading property to blocks. (bc87408)

0.0.0 (2020-12-15)

Features

  • build: Add user defined loading property to blocks. (bc87408)

0.0.0-alpha.7 (2020-12-10)

Bug Fixes

  • ajv: fix ajv validate parameter name (5aba723)
  • build: add contextId to saved request file path (81219b5)
  • build: add visible to block schema. (4865208)
  • build: app schema fix, add style on block (a39c1ca)
  • build: fix build issues (0f1bd9c)
  • build: fix local run script (c69ee94)
  • build: Fix lowdefy schema, closes #269 (09105a9)
  • build: Icon block is part of blocks-antd package (8507556)
  • build: improve error if block meta can not be found (03dccb1), closes #121
  • build: in shcema areas.content.block must be an array (f53dcb8)
  • build: remove test file from git ignore (c16ad0b)
  • build: remove unneccesary cli logs (1f27b7d)
  • build: write block metas to meta folder in cache (d6277a5)
  • build: write config object to output in build (46ec66d)
  • deps: update dependency axios to v0.21.0 (aee32c0)
  • deps: update dependency js-yaml to v3.14.1 (935ad89)
  • deps: update dependency uuid to v8.3.2 (abca08f)
  • move file helpers to new node-utils package (0a6ef8d)

Features

  • blocksTools: mockBlockProps to provide schema errors (6c192d4)
  • build: add block meta loader (2a483ad)
  • build: add build context (0f13e41)
  • build: add build pages function (01e892f)
  • build: add buildRefs function (3ab2819)
  • build: add clean directory util (127eb39)
  • build: add cleanOutputDirectory function (e3a3bf9)
  • build: add color selector defaultMetaLocations (6c28a66)
  • build: add defaultMetaLocations (fe14001)
  • build: add error messages to lowdefy schema (6fd15f0)
  • build: add getFileExtension util (46586f0)
  • build: add schema test utils (bb0574f)
  • build: add test schema function, cleanup (ac216d4)
  • build: add util functions (8686857)
  • build: add write functions (701b583)
  • build: build connections and menus (3f4b486)
  • build: cleanup, test fixes (1c1792b)
  • build: init package @lowdefy/build (6f7f73b)
  • build: remove mutations (1e9801b)
  • build: update app schema (fc40948)
  • build: use @lowdefy/ajv for json schema checks (98eb4be)
  • build: write pages and requests (fc6176d)
  • cli: add errorBoundary and getLowdefyVersion utils (519e604)
  • cli: improve cli console logs (7ca7509), closes #247
  • cli: init cli with build command (92fff8f)
  • cli: init dev server (7eae1a8)
  • cli: init module federation of build script (34dba01)
  • update webpack configs (bcce3c8)
  • helpers: move file utilities to helpers (1159ac7)