Page Contents

Change Log

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

6.0.0 (2024-03-04)

Bug Fixes

  • update connector versions to latest (b402065)
  • update loopback-connector-mysql to 7.0.5 (latest) (e031d91)

chore

  • drop Node.js 16 support (b9efcb4)

BREAKING CHANGES

  • Drop Node.js 16 support in all LB4 modules and extensions

Signed-off-by: dhmlau dhmlau@ca.ibm.com

5.2.4 (2024-01-11)

Note: Version bump only for package @loopback/cli

5.2.3 (2023-12-12)

Bug Fixes

5.2.2 (2023-09-12)

Note: Version bump only for package @loopback/cli

5.2.1 (2023-08-15)

Bug Fixes

  • cli: display model choices alphabetically for “lb4 discover” CLI command (d4d4347)
  • cli: fix linter errors (7e91bde)

5.2.0 (2023-07-17)

Bug Fixes

  • fix the script to update cli templates (b657b0e)
  • pin ts-query to 5.x as 6.x breaks cli tests on macos (7a0424b)
  • use named exports (34dfe4f)

Features

5.1.0 (2023-06-28)

Bug Fixes

  • check for existing relationImports (2d5b659)
  • fix the usage of the option –connector (5ed00ea), closes #9607
  • migrate Lerna to NPM Workspaces (d5c4994)
  • run lerna repair command (fe72763)

Features

  • update dependency @types/node to ^16 (2af42b7)

5.0.0 (2023-05-15)

Bug Fixes

  • add missing keys from config passed to lb4 relation (d1ddfc2)
  • cli: fix for lb4 repository generator to recognize repositoryBaseClass in –config (dac6631)
  • cli: openapi generator implementation for controllers (611a533)
  • cli: recognize registerInclusionResolver provided in -c or –config (f12963a)
  • cli: update –help for relation (132e986)
  • remove repeated code from controller in case of same table hasManyThrough relation (30a8bfc)

Features

  • add support for node v20 (e23cefa)
  • remove support for node v14 (5425762)
  • remove support for node v19 (e26a2ac)

BREAKING CHANGES

  • End of life of Node v14

Signed-off-by: Francisco Buceta frbuceta@gmail.com

4.2.1 (2023-04-13)

Bug Fixes

  • allow belongsTo relation with same table (584e4ac)
  • cli: extend from DefaultKeyValueRepository in case of kv datasource (7afd25a)
  • cli: pass flags to mysql-connector while lb4 discover (357d0c3)
  • refresh package lock files (9979eb1), closes #9351
  • replace backslash with forward slash (38665f9)
  • use glob named import (7daf6fb)

4.2.0 (2023-03-09)

Bug Fixes

  • cli: add lerna bootstrap as dep (c37658c)
  • cli: fixed cli not detecting custom base repositories (1e70be0), closes #8637
  • cli: response type from array to object in belongsTo (d9a0f69)

Features

  • cli: add support for Binary to handle blob (f8dde03)
  • cli: specify models with –models in lb4 discover (4f5f9cc)

4.1.8 (2023-02-07)

Reverts

  • “chore: update dependency rimraf to v4” (c516d5e)

4.1.7 (2023-01-09)

Note: Version bump only for package @loopback/cli

Change Log

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

4.1.6 (2022-12-14)

Bug Fixes

  • cli: made changes so update comamnd updates the peerDependencies as well (bb755d1), closes #9144

Change Log

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

4.1.5 (2022-11-24)

Bug Fixes

  • cli: fix lb4 discover –config missing provided options (b8704a6), closes #8963 #8966

Change Log

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

4.1.4 (2022-10-13)

Bug Fixes

  • cli: change artifact name (121eed3)
  • openapi-spec-builder: fix resolution of openapi urls returning http unauthorized error (809b503)
  • the TypeGuards has been replaced by Node (4c047f4)

4.1.3 (2022-08-25)

Note: Version bump only for package @loopback/cli

4.1.2 (2022-08-11)

Bug Fixes

  • cli: does not generate an application or extension with node > v16 (72cc49b)

4.1.1 (2022-07-14)

Bug Fixes

  • docs: documentation update for typo availble (f9782fd)
  • docs: documentation update from seuqence to sequence (62898a2)
  • docs: documentation updates for datasoure to datasource (c05a7e6)

4.1.0 (2022-06-13)

Bug Fixes

  • cli: look for all id properties including composite keys (1a51f32)

Features

  • cli: add option to create relations in cli discover command (37a5f73)
  • cli: add option to mark id field as not required in discover command (497b21d)
  • rest-crud: add option to create readonly rest-crud apis (6ae1423)

4.0.0 (2022-05-05)

⚠ BREAKING CHANGES

  • remove node v12 support

Features

  • add support for node v18 (ccb4c61)
  • remove node v12 support (5f66e5b)
  • repository: support ReferencesMany relation (371a6dc)

Bug Fixes

  • cli: added missing checks for options provided in command or config (8c75809)

3.2.0 (2022-03-29)

Features

  • cli: model generator can now pick properties from config file (06b804b)

3.1.1 (2022-02-28)

Note: Version bump only for package @loopback/cli

3.1.0 (2022-02-14)

Features

  • update @types/node to v12 (65a09a4)

3.0.1 (2022-01-11)

Note: Version bump only for package @loopback/cli

3.0.0 (2021-11-18)

Features

  • drop support for Node.js v10 (9bcbbb3)
  • support Node.js v17 (8d86c03)
  • upgrade to TypeScript 4.5.2 (72ece91)

BREAKING CHANGES

  • drop support for Node.js v10

Co-authored-by: Francisco Buceta frbuceta@gmail.com Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>

2.22.1 (2021-10-18)

Bug Fixes

  • cli: use relative path in homepage (312c58e), closes #6826

2.22.0 (2021-09-16)

Features

  • cli: add socketio example (cb88d21)
  • cli: update docs and apply suggested changes (df01aa2)
  • cli: updates loopback-connector-grpc (3fd4d1d)

2.21.2 (2021-07-15)

Note: Version bump only for package @loopback/cli

2.21.1 (2021-06-10)

Bug Fixes

  • cli: do not create migration script if repositories not selected (3cfd556)

2.21.0 (2021-05-03)

Bug Fixes

  • cli: invalid package.plain.json.ejs template (df085a4)
  • add url-slug v3 changes (7b32782)

Features

2.20.2 (2021-04-06)

Note: Version bump only for package @loopback/cli

2.20.1 (2021-04-06)

Bug Fixes

  • cli openapi generator op name inference (a9b561c), closes #3417

2.20.0 (2021-03-18)

Bug Fixes

  • update spdx-license-list (34073ce)
  • use a named export with @lerna/* (d0f6a7d)
  • cli: add rebuild script to package.json of extensions (c7623a2)

Features

  • update package-lock.json to v2 consistently (dfc3fbd)
  • upgrade to TypeScript 4.2.x (05930bc)

Reverts

  • Revert “chore: update dependency spdx-license-list to ^6.4.0” (86aa11a)

2.19.0 (2021-02-09)

Features

  • cli: add graphql example (6e53690)

2.18.0 (2021-01-21)

Bug Fixes

  • cli: copyright year git integration (ce8fa66)

Features

2.17.2 (2020-12-07)

Bug Fixes

  • show README with yarn when selected and make it dynamic (e2a88c8)

2.17.1 (2020-11-18)

Note: Version bump only for package @loopback/cli

2.17.0 (2020-11-05)

Bug Fixes

  • cli: add missing language to code blocks (672d331)
  • cli: fix build error when manually deleting a model, repository or controller (00c9ee7), closes #3259
  • cli: print a warning for Node.js versions that are not supported (a03bc34)

Features

  • cli: add vscode launch tasks in app (4b86952)
  • cli: improve lb4 copyright to accept custom license-header.template (cf071cb)
  • core: add init to application life cycle events (747bc7f)

2.16.1 (2020-10-08)

Note: Version bump only for package @loopback/cli

2.16.0 (2020-10-07)

Bug Fixes

  • cli: update package dependencies in cli template (ac511ee)

Features

  • cli: add exit option to mocharc template in generator (64dbbde)
  • cli: build before migrate and openapi-spec (b1d0bd6)
  • cli: improve lb4 update to any package that uses @loopback/* (9892b35)
  • cli: leave numbers in dirname alone (3c970ae)
  • example-webpack: add an example to generate bundles with webpack (53bbb3a)
  • repository: implement hasManyThrough resolver (8e7767d)

2.15.1 (2020-09-18)

Note: Version bump only for package @loopback/cli

2.15.0 (2020-09-17)

Features

  • cli: improve README.md for application projects (38582f4)

2.14.0 (2020-09-15)

Features

  • update examples and docs to use @loopback/* instead of @loopback/extension-* (a96b7cb)
  • cli: move “@loopback/core” to peerDependencies for new extensions (3ee9a39)
  • cli: update translation message (6cea7cf)

2.13.1 (2020-08-27)

Note: Version bump only for package @loopback/cli

2.13.0 (2020-08-19)

Bug Fixes

  • ibm i db2 connector (e6a6cfd)
  • remove .npmrc when Yarn has been selected (ebb6b3a)
  • use Yarn in scripts when Yarn is selected (142ae8b)
  • docs: rename legacy juggler to juggler (d1febb1)

Features

  • add the git user as the author of a project (873ea96)
  • set the project template version to 0.0.1 (05bbf62)
  • cli: update translation messages (c854e4f)

2.12.0 (2020-08-05)

Features

  • cli: add hasManyThrough to relation option (1c3fb1e)
  • cli: update eslintignore template to skip linting .eslintrc.js (a8b3b00)
  • cli: update template for src/sequence.ts (dc5023c)

2.11.0 (2020-07-20)

Bug Fixes

  • fix (852e7d8)
  • globalize artifacts creation result (dfdad08)
  • globalize help options (44ac989)
  • globalize strings for repository generator (2cbe048)
  • globlize strings for model generator (67729f9)

Features

  • cli: honor required flag for parameters (5debaa9)
  • cli: remove openapi-v3 from project template dependencies (e992c15)
  • cli: update translation messages (c28acef)

2.10.0 (2020-06-30)

Bug Fixes

  • cli: set processDestinationPath option for backward-compatibility (b1de0d5)

Features

  • cli: improve snapshot matcher to be compatible with parallel testing (862072b)

2.9.1 (2020-06-23)

Bug Fixes

  • set node version to >=10.16 to support events.once (e39da1c)

2.9.0 (2020-06-11)

Features

  • cli: allow custom copyright/license lines (f4ef6b6)

2.8.0 (2020-05-28)

Bug Fixes

  • cli: group union/intersection types for array (5172b5f)
  • docs: add todo-jwt to example list (7024e8e)
  • use correct relation name in belongsTo template (826120c)

Features

  • cli: print out a url for lb4 update to open changelogs (ccd7531)
  • cli: update application template to generate openapi-spec.ts (3b58292)

2.7.1 (2020-05-20)

Note: Version bump only for package @loopback/cli

2.7.0 (2020-05-19)

Bug Fixes

  • cli: add yeoman-environment as a dependency (065ff27)

Features

  • upgrade to TypeScript 3.9.x (3300e45)
  • cli: remove node_modules before run npm install for lb4 update (54ff104)
  • cli: update dependencies to be compatible with ESLint 7.x (d05d357)

2.6.0 (2020-05-07)

Bug Fixes

  • cli: add passport-login to example cli (221bd6b)
  • cli: ignoring default when require is true (44fd3bc)
  • cli: make yarn related tests conditional on the yarn availablity (3c579f6)

Features

  • cli: add baseModel option for lb4 openapi command (53f819d)
  • cli: add bash-completion using tabtab package (a0dd2c9)
  • cli: add middleware support in sequence.ts template (b2df4e6)
  • cli: add yarn support for generated projects (320aab9)

2.5.0 (2020-04-29)

Bug Fixes

  • authentication-jwt: fix package.json and rename the package (0973d18)
  • cli: clean up datasource/service code generation (818121f)
  • cli: extract body from response object returned by openapi connector (2895ad9)
  • cli: fix eslint violation as fs.exists returns void (c70839b)
  • cli: fix schema conversion with array types (12718bf)
  • cli: mitigate json schema to be draft 7 compatible (0f6816a)
  • cli: skip datasource selection with --url or non-matched --datasource (352bf34)

Features

  • cli: update opencli templates to match the openapi connector (a9965a3)
  • remove hand-written datasource stop() method (df4ee09)
  • cli: add translation for 10 languages (c93735f)
  • cli: add translation for 4 left languages (a2a9270)
  • cli: convert OpenAPI schema to JSON schema for model/property (d0785dd)
  • cli: improve lb4 openapi --client to handle method name mapping (c2f7ebd)
  • cli: use forward-slash characters in spec URL on Windows (89fc25f)
  • cli: uses HttpErrors for openapi service proxies (0aa5e23)
  • move datasource config from JSON to TS files (6105456)

2.4.4 (2020-04-23)

Bug Fixes

2.4.3 (2020-04-22)

Bug Fixes

  • cli: examples now use tsconfig.json instead of tsconfig.build.json (f01b4e9)

2.4.2 (2020-04-22)

Note: Version bump only for package @loopback/cli

2.4.1 (2020-04-22)

Note: Version bump only for package @loopback/cli

2.4.0 (2020-04-22)

Bug Fixes

  • add global strings from controller generator (c87bd07)
  • fixes help menu undefined options (25baa8f)
  • globalize app generator strings (45e0172)
  • globalize messages from artiface generator (5d54b55)
  • cli: check if the object is null for OpenAPI spec cloning (ee13e9c)
  • globalize lb4 example strings (98fe611)
  • overwrite generator options from yeoman (ecfedee)
  • cli: exclude **/node_modules/**/* from copyright header searching (9d989bd)
  • cli: fix property schema mapping for openapi specs (b851aed)

Features

  • cli: add –client option for lb4 openapi to generate service proxies (63a18c8)
  • cli: add --apiconnect option to enable ApiConnectComponent (c2931d6)
  • cli: allow generator fs to be used for updating index.ts (3c7ca41)
  • cli: populate OpenAPI spec objects into generated code (ae620d4)

2.3.1 (2020-04-11)

Bug Fixes

  • cli: make the StatusConflicter compatible with the base Conflicter (b6a1af9)
  • cli: remove unused imports from the crud controller template (848272d)

2.3.0 (2020-04-08)

Bug Fixes

  • cli: allow -h for help (f74092e)
  • cli: make sure generated package.json is well formatted (38be23f)
  • cli: remove All rights reserved. from the header for LICENSE (ce78b2a)

Features

  • cli: add lb4 copyright to generate/update file headers (abc6111)
  • cli: add updateLicense to lb4 copyright command (535df04)
  • cli: allow –exclude to not update headers for excluded files ([a81ce7e](https://github.com/loopbackio/loopback-next/commit/a81ce7e1193f7408d30d984d0c3ddcec74f7c316))
  • cli: implement dark mode in the app template (6939546)
  • cli: print options for lb4 copyright --help and update docs (f23ecb7)
  • cli: wrap license text with a max line length of 80 chars (a9046ed)

2.2.1 (2020-03-24)

Note: Version bump only for package @loopback/cli

2.2.0 (2020-03-24)

Bug Fixes

  • cli: add validation-app to example cli (36a70b3)
  • update package locks (cd2f6fa)

Features

  • cli: add lb4 rest-crud command to generate model endpoints from model/datasource (38fd41e)

2.1.1 (2020-03-17)

Note: Version bump only for package @loopback/cli

2.1.0 (2020-03-17)

Bug Fixes

  • cli: add ibmi, relocate db2z for affinity to other db2s (76bb470)
  • cli: add missing examples to CLI (221d8d0)

Features

  • cli: add translations for 14 languages (31bc951)
  • example-file-upload-download: add file download support (12afd6b)
  • example-rest-crud: add example showing CrudRestApiBuilder (ea37afb)

2.0.1 (2020-03-05)

Bug Fixes

  • cli: include intl in package.json (097724b)

2.0.0 (2020-03-05)

Bug Fixes

chore

  • remove support for Node.js v8.x (4281d9d)

Features

  • use @param.filter and @param.where decorators (896ef74)
  • cli: add tslib as a template dependency (267b074), closes #4676
  • cli: add build:globalize option (3c42077)
  • cli: allow different naming convention for discover (298e66e)
  • cli: automatically include base models when importing LB3 models (9d5f8a7)
  • cli: import LB3 models with a custom base class (aa3dc12)
  • cli: improve logging from processing of config & options (41a39c1)
  • cli: skip inherited props & settings when importing a LB3 model (97c8b05)
  • .vscode add typescript lint rules (e8eb371), closes #4584
  • add tslib as dependency (a6e0b4c), closes #4676
  • lb3 migration tests for models customized with db metadata (c58cc11)

BREAKING CHANGES

  • Node.js v8.x is now end of life. Please upgrade to version 10 and above. See https://nodejs.org/en/about/releases.

1.30.1 (2020-02-06)

Note: Version bump only for package @loopback/cli

1.30.0 (2020-02-05)

Features

  • leverage isactive for transaction (fc94437)
  • cli: add hasOne relation type to lb4 relation (3046f3e)

1.29.0 (2020-01-27)

Bug Fixes

  • cli: disgard any changes if lb4 relation fails (08dc87c)
  • cli: fix has many relation controller attribute (5aa83df)
  • cli: index file should be updated. Add relation interface to model template (7fd9b88)
  • cli: reject datasources with no name property for service generator (cc871e5)

Features

  • cli: add static BINDING_KEY prop to non-global interceptors (5fbd95f)

1.28.1 (2020-01-07)

Note: Version bump only for package @loopback/cli

1.28.0 (2020-01-07)

Features

  • add title property to ping response schema definition (b8b7490)

1.27.0 (2019-12-09)

Features

  • cli: add default option for gracePeriodForClose to configure http/https close (5a243e2)
  • cli: update templates to enable esModuleInterop and default imports from non-ES modules (83e628b)

1.26.0 (2019-11-25)

Bug Fixes

  • cli: disconnect the datasource after the model was discovered (ad30c61)
  • cli: emit correct property definitions for built-in types (6a972db)
  • cli: emit correct property definitions for built-in types (9d34f23)
  • cli: handle missing target artifact dir (ba34838)
  • cli: updated OAS ‘Date’ JS Type Mapping to ‘string’ (839caa9)

Features

  • cli: add connectors.json (802529e)
  • use stringifyObject instead of JSON.stringify for connector metadata (da60ee7)
  • cli: add lb4 update command to check/update project dependencies (54d1896)
  • cli: add the ability to check latest cli version (869d1e4)
  • cli: update controller template to enable filter for findById endpoint (b0ce84b)

1.25.1 (2019-11-13)

Note: Version bump only for package @loopback/cli

1.25.0 (2019-11-12)

Bug Fixes

  • cli: improve message for model discovery code generation (15c11d4)
  • update error message when failing to read datasource, to include filename (6663733), closes #3965

Features

  • cli: generate datasource json with ‘.config.json` extension (51d8f7b)
  • cli: improve UX of multi-item selection (077f38c)
  • cli: recognize PK properties defined as {id: 1} (1094509)

1.24.0 (2019-10-24)

Bug Fixes

  • cli: append “Service” in service generator (c8fb805)

Features

  • cli: add inclusion resolver to lb4 relation (199e1bc)

1.23.2 (2019-10-07)

Bug Fixes

  • cli: fix typo in cli relation tests (466f79b)

1.23.1 (2019-09-28)

Bug Fixes

  • cli: make sure properties are correctly generated (369d58b)

1.23.0 (2019-09-27)

Bug Fixes

  • cli: remove extra SPACE at EOL in help output (aeaf793)

Features

  • cli: add new command import-lb3-model (EXPERIMENTAL) (2e465e6)
  • cli: print help on updating snapshots when some snapshots were not matched (c6959b8)
  • cli: write snapshot files in parallel (a16ae34)

1.22.1 (2019-09-17)

Note: Version bump only for package @loopback/cli

1.22.0 (2019-09-17)

Bug Fixes

  • cli: exclude *.tsbuildinfo from Docker image (581a0f3)
  • model with id required (270e13e)
  • cli: fix schema title for POST operation in relation controllers (34a2077)

Features

  • cli: add lifecycle support for datasources (8573173)
  • use descriptive title to describe schema of POST (create) request bodies (8f49a45)
  • eslint-config: enable “no-misused-promises” rule (88d5494)

1.21.6 (2019-09-06)

Note: Version bump only for package @loopback/cli

1.21.5 (2019-09-03)

Bug Fixes

  • cli: belongsto property generation (82a95d4)

1.21.4 (2019-08-19)

Note: Version bump only for package @loopback/cli

1.21.3 (2019-08-15)

Note: Version bump only for package @loopback/cli

1.21.2 (2019-08-15)

Note: Version bump only for package @loopback/cli

1.21.1 (2019-08-15)

Bug Fixes

  • set foreignkey to be optional in the requestbody of hasmany relation (d46ea18)

1.21.0 (2019-07-31)

Bug Fixes

  • add class name separation to multiple class names output (fc79bf5), closes #3350

Features

  • cli: improve lb4 service to generate local service classes/providers (f743008)

1.20.0 (2019-07-26)

Bug Fixes

  • cli: remove -p option from eslint (d2ffd80)
  • add support for excluding custom pk from POST requests (9694d99)

Features

  • update examples and docs to use getModelSchemaRef (99758b1)
  • cli: update templates to make use of getModelSchemaRef (4147619)
  • remove openapi-v3-types package (2a93395)

1.19.0 (2019-07-17)

Bug Fixes

  • cli: app generator handles tildified project path. relevant test added (7f7feaa)
  • cli: rearrange interceptor cli prompts (0b2ed34)
  • fix conflict (6302101)

Features

  • cli: modify controller templates to exclude id from POST requests (4c1ce67)
  • cli: store original cli version in .yo.rc.json (3b7db55)

1.18.0 (2019-06-28)

Bug Fixes

  • address violations of “no-floating-promises” rule (0947531)

Features

  • cli: enable source map for npm start script (1882240)
  • cli: modify Controller templates to allow partial updates via PATCH (c7c6695)

1.17.2 (2019-06-21)

Bug Fixes

  • cli: make sure tsbuildinfo is removed by the clean script (3fdc0b1)
  • cli: remove no-any warning from model template (264aa28)

1.17.1 (2019-06-20)

Note: Version bump only for package @loopback/cli

1.17.0 (2019-06-17)

Bug Fixes

  • cli: change class/file naming convention. Add prompt msg (0b2a45b)
  • discover uses owner instead of schema (ed588b6)
  • remove forgotten references to tslint (faa0a92)
  • cli: discover prompt exits after generating (8ba0dd5)

Features

  • build: enable incremental compilation (2120712)

1.16.1 (2019-06-06)

Note: Version bump only for package @loopback/cli

1.16.0 (2019-06-06)

Features

  • cli: add lb4 interceptor command to generate interceptors (58017b6)

1.15.1 (2019-06-03)

Bug Fixes

  • cli: add eslint related dev dependencies to generated package.json (fc18caf)

1.15.0 (2019-06-03)

Bug Fixes

  • cli: add type param to Filter and Where (a9570bc)

Features

  • add navigational properties to find* methods (1f0aa0b)
  • replace tslint with eslint (44185a7)

1.14.1 (2019-05-31)

Bug Fixes

1.14.0 (2019-05-30)

Features

  • cli: add lb4 relation command (75939a4)

1.13.1 (2019-05-23)

Bug Fixes

  • cli: clean up template for life cycle observers (6733610)

1.13.0 (2019-05-14)

Features

1.12.1 (2019-05-10)

Note: Version bump only for package @loopback/cli

1.12.0 (2019-05-09)

Features

  • cli: improve scaffolding of complex model settings (5035c63)

1.11.3 (2019-05-06)

Note: Version bump only for package @loopback/cli

1.11.2 (2019-04-26)

Bug Fixes

  • cli: escape char sequences for javascript comments (83ff105)
  • cli: escape identifiers with conflicting name as decorators (6d71439)

1.11.1 (2019-04-20)

Bug Fixes

  • cli: keep or escape property names for models (cb308ad)

1.11.0 (2019-04-11)

Bug Fixes

  • cli: generate operation only for the 1st tag to avoid duplicate routes (4843a1f)
  • cli: improve openapi code generation for naming and typing (af20548)

Features

  • cli: add lb4 discover for model discovery (35f719c)
  • cli: normalize variable names for OpenAPI paths (a3d0dfc)

1.10.0 (2019-04-09)

Bug Fixes

  • cli: make sure the item type is imported for an array in openapi spec (91b2381)

Features

  • cli: add lb4 observer command to generate life cycle scripts (d54651d)

1.9.0 (2019-04-05)

Features

  • add greeter-extension example (9b09298)

1.8.4 (2019-03-22)

Note: Version bump only for package @loopback/cli

1.8.3 (2019-03-22)

Bug Fixes

  • build: remove “dom” from the list of global libraries (781cd1d)

1.8.2 (2019-03-12)

Bug Fixes

  • cli: setup controller generator after adding properties (b0ee417)
  • cli: simplify HTTP server setup in acceptance tests (aa0e2f7)
  • cli: use pascalCase for toClassName to handle ‘-‘ (861256c)

Performance Improvements

  • update dockerfile to better version (5494243)

1.8.1 (2019-03-01)

Note: Version bump only for package @loopback/cli

1.8.0 (2019-03-01)

Bug Fixes

  • cli: fix prompt for base repository class (b429729), closes #2429

Features

1.7.0 (2019-02-25)

Bug Fixes

  • cli: do not install deps for built-in connectors (2e035a5)
  • update version of nyc (f8db27c)
  • cli: force test host to be HOST env var or ipv4 interface (1664d4f)
  • cli: generate property.array for array of simple types (ec80d9a)

Features

  • cli: add --docker option to generate docker files (4cd2442)

1.6.0 (2019-02-08)

Bug Fixes

  • remove unused juggler import (0121c10)
  • update to the most recent lodash version (65ee865)

Features

  • cli: scaffold test files to src/__tests__ (d3a3bea)
  • cli: use a custom repository base class (edbbe88)

1.5.2 (2019-01-28)

Bug Fixes

  • cli: add fs-extra dependency as it’s used by lb example (3c74ffa)
  • cli: allow base class exist for model config option (9605ed1)

1.5.1 (2019-01-15)

Bug Fixes

  • cli: change enable setting check (f4a9dc0)

1.5.0 (2019-01-14)

Bug Fixes

  • cli: add descriptions to features (8a94f8f)
  • cli: remove license header from test code template (1fd35f4)

Features

  • always include tslint and typescript in project dev-dependencies (e0df285)
  • use dependency instead of keyword to check loopback projects (bb6ee51)
  • cli: add property modelSettings (e0f75ac)
  • cli: add strict prompt to model generator (a68d78b)

1.4.0 (2018-12-20)

Bug Fixes

  • cli: set required: true in property decoration for openapi (3c37286)

Features

  • cli: new projects load tslint config from [@loopback](https://github.com/loopback)/tslint-config (5b9c329)

1.3.0 (2018-12-13)

Bug Fixes

  • add model/entity descriptions (8156f9d)
  • cli: add missing PUT method in rest controller template (8394c74)
  • change service generator ds to uppercase (83840a3)

Features

  • scaffold DB migration script for new app projects (f783f07)
  • cli: allow annonymous schemas in openapi to be mapped to models (eedec1e)

1.2.2 (2018-11-26)

Note: Version bump only for package @loopback/cli

1.2.1 (2018-11-17)

Note: Version bump only for package @loopback/cli

1.2.0 (2018-11-17)

Bug Fixes

  • cli: allow * for version range (0a42541)

Features

  • an extension adding a self-hosted REST API Explorer (4c165c7)

1.1.1 (2018-11-14)

Note: Version bump only for package @loopback/cli

1.1.0 (2018-11-08)

Bug Fixes

  • change unmatched html tags, remove redundant ‘px’ from 0 (46d08f6)
  • cli: allow other connectors to be used for repositories (9a0d9a8)
  • update usage of x-ts-type for schemas (57c694e)
  • cli: set glob options to support windows paths with special chars (9a84ef0)

Features

  • cli: use app.static for default home page (1dcf169)

1.0.1 (2018-10-17)

Bug Fixes

  • cli: add more exit checks to fail fast (90c4406)

0.31.0 (2018-10-08)

Features

  • use resolveJsonModule to load datasource config (73e19ff)

0.30.0 (2018-10-06)

Bug Fixes

  • cli: generate matching arg names for repository constructors (190fbf3)
  • cli: remove dist-util from project templates (f6c3048)

Features

  • deprecate dist-util package (91a343c)

0.29.0 (2018-10-05)

Features

  • cli: add lb4 model option to select base model class (4c0ce80), closes #1698

0.28.0 (2018-10-03)

Bug Fixes

  • cli: fixed ds names that were hyphened (568307c), closes #1791
  • clean up dataSource usage (69506a4)

Features

  • cli: check project deps against cli template (8d056c4)

0.27.0 (2018-09-28)

Bug Fixes

  • cli: fixes final datasource class name on repository and service (d0994af), closes #1771

Features

  • cli: add code template for default home page controller (f4be330)
  • repository: return an object for count and updateAll (c146366)

0.26.0 (2018-09-27)

Bug Fixes

  • cli: datasource class being referenced in generators (6d345f7)

Features

  • cli: add basic scaffolding for lb4 service (bed83b3)
  • cli: add integration tests for lb4 service (3731f5b)
  • cli: change location fixtures service/repository (d4f5b5c)
  • cli: lb4 service install service-proxy if missing (b086d2d)
  • cli: lb4 service/repository shared scaffold (9bafc6d)

0.25.0 (2018-09-25)

Features

  • add “filter” parameter to “find” endpoints (7e1acfc)
  • cli: add responses for PingController.ping() (ec52b89)

0.24.0 (2018-09-21)

Bug Fixes

  • cli: removed unused dependencies from project template (3907df4)

Features

  • cli: add update notifier to remind cli upgrade (61255cc)
  • testlab: add createRestAppClient(), simplify usage in tests (d75be77)
  • testlab: set port to 0 in givenHttpServerConfig (90a0bfb)

0.23.0 (2018-09-19)

Features

  • cli: add lb4 repository feature (0397c04), closes #1588
  • cli: add test for multiple repositories (6e6faad)
  • cli: add util shared functions and constants (26915e5)
  • cli: ast-helper integration (99a0bad)
  • cli: change msg when no datasource or repository exists (739676b)
  • repository: rework *ById methods to throw if id not found (264f231)

0.22.11 (2018-09-17)

Bug Fixes

  • cli: generate correct index.js without loopback build (1c8cb3e)
  • cli: use rimraf to replace rm -rf (479f363)

0.22.10 (2018-09-14)

Note: Version bump only for package @loopback/cli

0.22.9 (2018-09-14)

Note: Version bump only for package @loopback/cli

0.22.8 (2018-09-14)

Bug Fixes

  • cli: enforce an empty object on connectors without settings property (111442b), closes #1697
  • cli: git-ignore all “dist*” dirs in scaffolded projects (1cab517)
  • cli: update template with responses object (a2bbbc9)

0.22.7 (2018-09-12)

Bug Fixes

  • make lb model prompts clearer (2ec4d2f)

0.22.6 (2018-09-10)

Note: Version bump only for package @loopback/cli

0.22.5 (2018-09-10)

Note: Version bump only for package @loopback/cli

0.22.4 (2018-09-10)

Note: Version bump only for package @loopback/cli

0.22.3 (2018-09-10)

Note: Version bump only for package @loopback/cli

0.22.2 (2018-09-10)

Note: Version bump only for package @loopback/cli

0.22.1 (2018-09-10)

Note: Version bump only for package @loopback/cli

0.22.0 (2018-09-08)

Bug Fixes

  • remove extra imports for mixin dependencies (35b916b)
  • cli: rename repository/service feature flags (c089299)

Features

  • service-proxy: add service mixin (fb01931)

0.21.4 (2018-08-25)

Note: Version bump only for package @loopback/cli

0.21.3 (2018-08-24)

Bug Fixes

  • cli: tweaks to templates (6f1d7bb)

0.21.2 (2018-08-20)

Bug Fixes

  • cli: add esnext.asynciterable to lib for typescript (83a8036)
  • cli: increase timeout for app generation tests (c51383d)

0.21.1 (2018-08-15)

Bug Fixes

  • repository: change the way array property definition is built for the juggler (2471c88)

0.21.0 (2018-08-08)

Bug Fixes

  • import package in template (14bb6a5)
  • cli: change model template to properly render array types (2d43a61)
  • cli: install dependencies for clones examples (5774f1f)
  • cli: remove deleteAll endpoint from REST Controller template (34eba34)
  • cli: use this.exit instead of throwing an error (8d25a79)

Features

  • cli: add repositorymixin and imports by a new switch (be81131), closes #1594
  • cli: use app.restServer.url for console logs (f31160c)
  • example-soap-calculator: add soap web services integration example (9a8d57c), closes #1550

0.20.2 (2018-07-21)

Note: Version bump only for package @loopback/cli

0.20.1 (2018-07-20)

Note: Version bump only for package @loopback/cli

0.20.0 (2018-07-20)

Bug Fixes

  • cli: fix cli rest controller generator template (cc9591d)

Features

  • example-todo-list: add TodoList package/tutorial (306d437)

0.19.0 (2018-07-13)

Bug Fixes

  • cli: add empty logs to better format model prompts (60b3d57)
  • cli: adds the on param.path for those methods in the rest controller template parsing ([c526b99](https://github.com/loopbackio/loopback-next/commit/c526b99))
  • cli: reorder where and body in CLI template for updateAll and make where optional (c875707)
  • cli: support updating multiple index.ts files (1e92f4f)

Features

  • cli: lb4 model command to scaffold model files (3593820)

0.18.1 (2018-07-11)

Note: Version bump only for package @loopback/cli

0.18.0 (2018-07-10)

Bug Fixes

  • cli: install deps if necessary for datasource (4c605b0)

Features

  • cli: add –format to run lint:fix for generated code (77f15c7)

0.17.0 (2018-07-09)

Bug Fixes

  • cli: tweak getArtifactList to return pascalCased strings (b3bb208)

Features

  • cli: add comments for generated methods from openapi (daa7f78)
  • cli: add config and yes options (5778a2a)
  • cli: improve openapi handling of body and impl (640b941)

0.16.3 (2018-06-28)

Note: Version bump only for package @loopback/cli

0.16.2 (2018-06-27)

Note: Version bump only for package @loopback/cli

0.16.1 (2018-06-26)

Bug Fixes

  • cli: allow path level parameters for openapi (55b041a)

0.16.0 (2018-06-25)

Features

  • cli: add cli for code generation from openapi (1a1b12c)

0.15.0 (2018-06-25)

Features

  • cli: add cli for code generation from openapi (1a1b12c)

0.14.0 (2018-06-20)

Bug Fixes

  • cli: make download-connector-list more robust (a4c2ce0)
  • cli: update successful creation message (d602ded), closes #886

Features

  • cli: add lb4 datasource command (b3844eb)

0.13.6 (2018-06-11)

Note: Version bump only for package @loopback/cli

0.13.5 (2018-06-09)

Note: Version bump only for package @loopback/cli

0.13.4 (2018-06-09)

Note: Version bump only for package @loopback/cli

0.13.3 (2018-06-09)

Note: Version bump only for package @loopback/cli

0.13.2 (2018-06-09)

Note: Version bump only for package @loopback/cli

0.13.1 (2018-06-08)

Note: Version bump only for package @loopback/cli

0.13.0 (2018-06-08)

Bug Fixes

  • cli: fix controller.integration.js tests and refactor (f3edbd9)
  • cli: fix templates & move some utils to base generator (1a5cbf8)
  • cli: make sure –applicationName is honored (526e6ca)

Features

  • cli: add vscode config files (3738b9c)
  • cli: auto-generate / update index.ts for exports (2998363), closes #1127

0.12.1 (2018-05-28)

Note: Version bump only for package @loopback/cli

0.12.0 (2018-05-23)

Features

  • cli: add CLI prompt for controller’s http path name (0f9c438)

0.11.6 (2018-05-20)

Bug Fixes

  • replace gulp-rename with our own implementation (f8349d4)

0.11.5 (2018-05-14)

Note: Version bump only for package @loopback/cli

0.11.4 (2018-05-14)

Note: Version bump only for package @loopback/cli

0.11.3 (2018-05-08)

Note: Version bump only for package @loopback/cli

0.11.2 (2018-05-03)

Note: Version bump only for package @loopback/cli

0.11.1 (2018-05-03)

Note: Version bump only for package @loopback/cli

0.11.0 (2018-05-03)

Features

  • cli: download examples via npm (43383f5)
  • add helper package “dist-util” (532f153)

0.10.0 (2018-05-03)

Features

  • cli: download examples via npm (43383f5)
  • add helper package “dist-util” (532f153)

0.9.2 (2018-04-26)

Note: Version bump only for package @loopback/cli

0.9.1 (2018-04-26)

Note: Version bump only for package @loopback/cli

0.9.0 (2018-04-25)

Features

  • cli: improve cli help/version/commands options (715cc91)

0.8.0 (2018-04-16)

Note: Version bump only for package @loopback/cli

0.7.4 (2018-04-16)

Note: Version bump only for package @loopback/cli

0.7.3 (2018-04-12)

Note: Version bump only for package @loopback/cli

0.7.2 (2018-04-12)

Note: Version bump only for package @loopback/cli

0.7.1 (2018-04-11)

Note: Version bump only for package @loopback/cli

0.7.0 (2018-04-11)

Bug Fixes

  • change file names to fit advocated naming convention (0331df8)

Features

0.6.3 (2018-04-06)

Note: Version bump only for package @loopback/cli

0.6.2 (2018-04-04)

Note: Version bump only for package @loopback/cli

0.6.1 (2018-04-02)

Note: Version bump only for package @loopback/cli

0.6.0 (2018-03-29)

Bug Fixes

  • cli: exit gracefully if the project name fails validation (dfdf090)
  • cli: remove automatic license generation (537ff86)

Code Refactoring

  • renamed example-getting-started to example-todo (7a09f1b)

BREAKING CHANGES

  • example-getting-started is now example-todo

0.5.2 (2018-03-23)

Note: Version bump only for package @loopback/cli

0.5.1 (2018-03-21)

Note: Version bump only for package @loopback/cli

0.5.0 (2018-03-21)

Bug Fixes

  • cli: update tsconfig.json to include index.ts (dc5107c)

Features

  • rest: expose app.requestHandler function (20a41ac)

BREAKING CHANGES

  • rest: RestServer#handleHttp was renamed to RestServer#requestHandler.

0.4.3 (2018-03-14)

Note: Version bump only for package @loopback/cli

0.4.2 (2018-03-13)

Note: Version bump only for package @loopback/cli

0.4.1 (2018-03-08)

Note: Version bump only for package @loopback/cli

0.4.0 (2018-03-08)

Bug Fixes

  • clean up the app run test (c0d3731)
  • cli: add --allow-console-logs to app npm test script (5823a18)
  • template (cf9cf04)

Features

  • add private option for project generartion (5c42be4)
  • build: use options to control cli/shell run (c4e8bce)

0.3.1 (2018-03-07)

Bug Fixes

0.3.0 (2018-03-06)

Bug Fixes

  • use lerna to collect versions for loopback modules (2956bf9)

Features

  • cli: replace hard-coded loopback module version in templates (0a742d7)
  • upgrade from swagger 2 to openapi 3 (71e5af1)

0.2.0 (2018-03-01)

Note: Version bump only for package @loopback/cli

0.1.3 (2018-03-01)

Bug Fixes

  • cli: move sequence customization to app constructor (4ee3429)

0.1.2 (2018-02-23)

Note: Version bump only for package @loopback/cli

0.1.1 (2018-02-21)

Bug Fixes

  • cli: fix app templates with boot and sequence (81272e8)

0.1.0 (2018-02-21)

Features

4.0.0-alpha.23 (2018-02-15)

Bug Fixes

  • cli: remove copyright header from generated app (#991) (c987b28), closes #944

Features

4.0.0-alpha.22 (2018-02-07)

Bug Fixes

  • build: fix tslint config and slipped violations (22f8e05)

build

BREAKING CHANGES

  • Support for Node.js version lower than 8.0 has been dropped. Please upgrade to the latest Node.js 8.x LTS version.

Co-Authored-by: Taranveer Virk taranveer@virk.cc

4.0.0-alpha.21 (2018-02-04)

Note: Version bump only for package @loopback/cli

4.0.0-alpha.20 (2018-01-30)

Note: Version bump only for package @loopback/cli

4.0.0-alpha.19 (2018-01-29)

Note: Version bump only for package @loopback/cli

4.0.0-alpha.18 (2018-01-26)

Bug Fixes

  • apply source-maps to test errors (76a7f56), closes #602
  • make mocha self-contained with the source map support (7c6d869)

Features

  • testlab: create a test sandbox utility (#877) (9526ba3)

4.0.0-alpha.17 (2018-01-19)

Bug Fixes

  • cli: rework template to use inline param decoration (e3ef86b)

Features

  • cli: generate REST controller with CRUD methods (57fe858)
  • cli: lb4 example [] ([4286c0d](https://github.com/loopbackio/loopback-next/commit/4286c0d))
  • example-getting-started: migrate into monorepo (9478d8b)

4.0.0-alpha.16 (2018-01-11)

Note: Version bump only for package @loopback/cli

4.0.0-alpha.15 (2018-01-03)

Bug Fixes

4.0.0-alpha.14 (2018-01-03)

Features

  • cli: add scoped debug function (8535c5e)

4.0.0-alpha.13 (2017-12-21)

Note: Version bump only for package @loopback/cli

4.0.0-alpha.12 (2017-12-11)

Features

  • cli: Cleanup REST application tooling (#774) (dc50ed8)

4.0.0-alpha.11 (2017-12-01)

Bug Fixes

  • cli: use prerelease versioning for templates (81aaa6f)

4.0.0-alpha.10 (2017-12-01)

Features

  • Add exit() to abort generation (c95aa23)

4.0.0-alpha.9 (2017-12-01)

Features

  • cli: remove default option for controller (#768) (cc41fd6)

4.0.0-alpha.8 (2017-11-30)

Features

4.0.0-alpha.7 (2017-11-29)

Note: Version bump only for package @loopback/cli

4.0.0-alpha.6 (2017-11-09)

Bug Fixes

  • Fix CLI to include .gitignore in the templates (842a191)

4.0.0-alpha.5 (2017-11-06)

Bug Fixes

  • Add start script for apps (5ba3734)

4.0.0-alpha.4 (2017-11-06)

Bug Fixes

4.0.0-alpha.3 (2017-11-06)

Bug Fixes

4.0.0-alpha.2 (2017-11-06)

Features

  • Add experimental CLI for LoopBack 4 (707f692)