Page Contents

Change Log

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

2.0.2 (2020-03-24)

Bug Fixes

  • repository-json-schema: fix schema generation for model inheritance (5417ed5)

2.0.1 (2020-03-17)

Note: Version bump only for package @loopback/repository-json-schema

2.0.0 (2020-03-05)

chore

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

Features

  • improve filter schema to allow exclusion (be73660)
  • repository-json-schema: remove deprecated MODEL_TYPE_KEYS (5bc2121)
  • add tslib as dependency (a6e0b4c), closes #4676

BREAKING CHANGES

  • repository-json-schema: The following constants are no longer available:
  • MODEL_TYPE_KEYS.ModelOnly
  • MODEL_TYPE_KEYS.ModelWithRelations

Please use the helper buildModelCacheKey to obtain the cache key for a given set of schema options.

- MODEL_TYPE_KEYS.ModelOnly
+ buildModelCacheKey()

- MODEL_TYPE_KEYS.ModelWithRelations
+ buildModelCacheKey({includeRelations: true})

Signed-off-by: Miroslav Bajtoš mbajtoss@gmail.com

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

1.12.2 (2020-02-06)

Note: Version bump only for package @loopback/repository-json-schema

1.12.1 (2020-02-05)

Note: Version bump only for package @loopback/repository-json-schema

1.12.0 (2020-01-27)

Features

  • repository-json-schema: add filter title (2d65971)
  • repository-json-schema: add title to filter schemas (6105883)

1.11.4 (2020-01-07)

Note: Version bump only for package @loopback/repository-json-schema

1.11.3 (2019-12-09)

Note: Version bump only for package @loopback/repository-json-schema

1.11.2 (2019-11-25)

Note: Version bump only for package @loopback/repository-json-schema

1.11.1 (2019-11-12)

Note: Version bump only for package @loopback/repository-json-schema

1.11.0 (2019-10-24)

Bug Fixes

  • allow json schema with circular refs to be converted to OpenAPI schema (cd5ca92)

Features

  • openapi-v3: copy first example from examples to schema (0c7843a)
  • improve debug logs for schema generators (da88cdf)
  • simplify model schema with excluded properties (b554ac8)
  • repository-json-schema: forbid additional properties in model data (5fc8d53)

1.10.3 (2019-10-07)

Note: Version bump only for package @loopback/repository-json-schema

1.10.2 (2019-09-28)

Note: Version bump only for package @loopback/repository-json-schema

1.10.1 (2019-09-27)

Bug Fixes

  • repository-json-schema: generate schema title compatible with validation in azure (b518876)

1.10.0 (2019-09-17)

Features

  • repository-json-schema: introduce new option “title” (7664b3e)

1.9.7 (2019-09-06)

Bug Fixes

  • repository-json-schema: allow recursive model definitions (1221e0b)

1.9.6 (2019-09-03)

Note: Version bump only for package @loopback/repository-json-schema

1.9.5 (2019-08-19)

Note: Version bump only for package @loopback/repository-json-schema

1.9.4 (2019-08-15)

Note: Version bump only for package @loopback/repository-json-schema

1.9.3 (2019-08-15)

Bug Fixes

  • repository-json-schema: make exclude option reject properties (35027c4)

1.9.2 (2019-07-31)

Bug Fixes

  • enforce JsonSchemaOptions type when building model schema (9bbc932)

1.9.1 (2019-07-26)

Note: Version bump only for package @loopback/repository-json-schema

1.9.0 (2019-07-17)

Features

  • repository-json-schema: add an option to exclude properties from schema (53ac940)
  • repository-json-schema: add an option to make properties optional (946de02)

1.8.0 (2019-06-28)

Bug Fixes

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

Features

  • repository-json-schema: add an option to emit partial schema (14af423)

1.7.2 (2019-06-21)

Note: Version bump only for package @loopback/repository-json-schema

1.7.1 (2019-06-20)

Note: Version bump only for package @loopback/repository-json-schema

1.7.0 (2019-06-17)

Features

  • repository-json-schema: enhance getJsonSchema to describe navigational properties (7801f59), closes #2630

1.6.1 (2019-06-06)

Note: Version bump only for package @loopback/repository-json-schema

1.6.0 (2019-06-03)

Features

  • replace tslint with eslint (44185a7)

1.5.1 (2019-05-31)

Note: Version bump only for package @loopback/repository-json-schema

1.5.0 (2019-05-30)

Features

  • helpers for building JSON/OpenAPI schema referencing shared definitions (bf07ff9)

1.4.8 (2019-05-23)

Note: Version bump only for package @loopback/repository-json-schema

1.4.7 (2019-05-14)

Note: Version bump only for package @loopback/repository-json-schema

1.4.6 (2019-05-10)

Note: Version bump only for package @loopback/repository-json-schema

1.4.5 (2019-05-09)

Note: Version bump only for package @loopback/repository-json-schema

1.4.4 (2019-05-06)

Note: Version bump only for package @loopback/repository-json-schema

1.4.3 (2019-04-26)

Bug Fixes

  • repository-json-schema: resolve the circular reference (9b49773)

1.4.2 (2019-04-20)

Note: Version bump only for package @loopback/repository-json-schema

1.4.1 (2019-04-11)

Note: Version bump only for package @loopback/repository-json-schema

1.4.0 (2019-04-09)

Features

  • repository-json-schema: refactor metaToJsonProperty to accept custom jsonSchema (d0014c6)

1.3.7 (2019-04-05)

Note: Version bump only for package @loopback/repository-json-schema

1.3.6 (2019-03-22)

Note: Version bump only for package @loopback/repository-json-schema

1.3.5 (2019-03-22)

Note: Version bump only for package @loopback/repository-json-schema

1.3.4 (2019-03-12)

Note: Version bump only for package @loopback/repository-json-schema

1.3.3 (2019-03-01)

Note: Version bump only for package @loopback/repository-json-schema

1.3.2 (2019-02-25)

Note: Version bump only for package @loopback/repository-json-schema

1.3.1 (2019-02-08)

Note: Version bump only for package @loopback/repository-json-schema

1.3.0 (2019-01-28)

Features

  • repository-json-schema: enumerate fields (15ca819)

1.2.7 (2019-01-15)

Bug Fixes

  • repository: remove property.array() call from hasMany decorator (56ab017), closes #1944

1.2.6 (2019-01-14)

Bug Fixes

  • rework tslint comments disabling “no-unused-variable” rule (a18a3d7)

1.2.5 (2018-12-20)

Note: Version bump only for package @loopback/repository-json-schema

1.2.4 (2018-12-13)

Note: Version bump only for package @loopback/repository-json-schema

1.2.3 (2018-11-26)

Note: Version bump only for package @loopback/repository-json-schema

1.2.2 (2018-11-17)

Note: Version bump only for package @loopback/repository-json-schema

1.2.1 (2018-11-14)

Note: Version bump only for package @loopback/repository-json-schema

1.2.0 (2018-11-08)

Features

  • repository-json-schema: add property description to JSON schema (31c02f2)

1.0.1 (2018-10-17)

Note: Version bump only for package @loopback/repository-json-schema

0.12.2 (2018-10-08)

Note: Version bump only for package @loopback/repository-json-schema

0.12.1 (2018-10-06)

Note: Version bump only for package @loopback/repository-json-schema

0.12.0 (2018-10-05)

Features

  • repository: implement belongsTo relation (df8c64c)

0.11.3 (2018-10-03)

Note: Version bump only for package @loopback/repository-json-schema

0.11.2 (2018-09-28)

Bug Fixes

  • metadata: remove the default type to work around a TS bug (fc89a2c)

0.11.1 (2018-09-27)

Note: Version bump only for package @loopback/repository-json-schema

0.11.0 (2018-09-25)

Features

  • builders for Filter and Where schemas (ca8d96e)
  • support built-in JavaScript/Node schema types (d65a17f)
  • type resolver for property decorators (49454aa)

0.10.14 (2018-09-21)

Note: Version bump only for package @loopback/repository-json-schema

0.10.13 (2018-09-19)

Note: Version bump only for package @loopback/repository-json-schema

0.10.12 (2018-09-14)

Note: Version bump only for package @loopback/repository-json-schema

0.10.11 (2018-09-14)

Note: Version bump only for package @loopback/repository-json-schema

0.10.10 (2018-09-14)

Note: Version bump only for package @loopback/repository-json-schema

0.10.9 (2018-09-12)

Note: Version bump only for package @loopback/repository-json-schema

0.10.8 (2018-09-10)

Note: Version bump only for package @loopback/repository-json-schema

0.10.7 (2018-09-08)

Note: Version bump only for package @loopback/repository-json-schema

0.10.6 (2018-08-25)

Bug Fixes

  • fix #1643: import MetadataAccessor direct from metadata to avoid TypeScript 3 compiler issue (37d727a)

0.10.5 (2018-08-24)

Note: Version bump only for package @loopback/repository-json-schema

0.10.4 (2018-08-15)

Bug Fixes

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

0.10.3 (2018-08-08)

Note: Version bump only for package @loopback/repository-json-schema

0.10.2 (2018-07-21)

Note: Version bump only for package @loopback/repository-json-schema

0.10.1 (2018-07-20)

Note: Version bump only for package @loopback/repository-json-schema

0.10.0 (2018-07-20)

Note: Version bump only for package @loopback/repository-json-schema

0.9.16 (2018-07-13)

Note: Version bump only for package @loopback/repository-json-schema

0.9.15 (2018-07-11)

Note: Version bump only for package @loopback/repository-json-schema

0.9.14 (2018-07-10)

Note: Version bump only for package @loopback/repository-json-schema

0.9.13 (2018-07-09)

Note: Version bump only for package @loopback/repository-json-schema

0.9.12 (2018-06-28)

Note: Version bump only for package @loopback/repository-json-schema

0.9.11 (2018-06-27)

Note: Version bump only for package @loopback/repository-json-schema

0.9.10 (2018-06-20)

Note: Version bump only for package @loopback/repository-json-schema

0.9.9 (2018-06-11)

Note: Version bump only for package @loopback/repository-json-schema

0.9.8 (2018-06-09)

Note: Version bump only for package @loopback/repository-json-schema

0.9.7 (2018-06-09)

Note: Version bump only for package @loopback/repository-json-schema

0.9.6 (2018-06-08)

Note: Version bump only for package @loopback/repository-json-schema

0.9.5 (2018-05-28)

Note: Version bump only for package @loopback/repository-json-schema

0.9.4 (2018-05-20)

Note: Version bump only for package @loopback/repository-json-schema

0.9.3 (2018-05-14)

Bug Fixes

  • change index.d.ts files to point to dist8 (42ca42d)

0.9.2 (2018-05-14)

Note: Version bump only for package @loopback/repository-json-schema

0.9.1 (2018-05-08)

Note: Version bump only for package @loopback/repository-json-schema

0.9.0 (2018-05-03)

Features

  • add helper package “dist-util” (532f153)

0.8.0 (2018-05-03)

Features

  • add helper package “dist-util” (532f153)

0.7.0 (2018-04-26)

Features

  • repository-json-schema: include problem type in err message (f5ad2f1)

0.6.1 (2018-04-25)

Note: Version bump only for package @loopback/repository-json-schema

0.6.0 (2018-04-16)

Note: Version bump only for package @loopback/repository-json-schema

0.5.0 (2018-04-12)

Features

  • metadata: add strongly-typed metadata accessors (45f9f80)

0.4.5 (2018-04-11)

Note: Version bump only for package @loopback/repository-json-schema

0.4.4 (2018-04-11)

Bug Fixes

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

0.4.3 (2018-04-06)

Note: Version bump only for package @loopback/repository-json-schema

0.4.2 (2018-04-04)

Note: Version bump only for package @loopback/repository-json-schema

0.4.1 (2018-04-02)

Note: Version bump only for package @loopback/repository-json-schema

0.4.0 (2018-03-29)

Note: Version bump only for package @loopback/repository-json-schema

0.3.1 (2018-03-23)

Note: Version bump only for package @loopback/repository-json-schema

0.3.0 (2018-03-21)

Note: Version bump only for package @loopback/repository-json-schema

0.2.4 (2018-03-14)

Note: Version bump only for package @loopback/repository-json-schema

0.2.3 (2018-03-13)

Note: Version bump only for package @loopback/repository-json-schema

0.2.2 (2018-03-08)

Bug Fixes

  • repository-json-schema: change model to be a class (4104e13)

0.2.1 (2018-03-06)

Bug Fixes

0.2.0 (2018-03-01)

Note: Version bump only for package @loopback/repository-json-schema

0.1.2 (2018-03-01)

Note: Version bump only for package @loopback/repository-json-schema

0.1.1 (2018-02-23)

Note: Version bump only for package @loopback/repository-json-schema

0.1.0 (2018-02-21)

Note: Version bump only for package @loopback/repository-json-schema

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

Note: Version bump only for package @loopback/repository-json-schema

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

Bug Fixes

  • build: fix tslint config and slipped violations (22f8e05)
  • repository-json-schema: fix $ref typo (#963) (a438729)

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.6 (2018-02-04)

Note: Version bump only for package @loopback/repository-json-schema

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

Features

  • repository-json-schema: add in top-level metadata for json schema (#907) (fe59e6b)

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

Note: Version bump only for package @loopback/repository-json-schema

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

Bug Fixes

  • mark the access to be public for publish (612a426)

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

Bug Fixes

  • make mocha self-contained with the source map support (7c6d869)