Skip to content

Releases: swagger-api/apidom

v0.70.0

23 May 19:09
Compare
Choose a tag to compare

0.70.0 (2023-05-23)

Features

  • apidom-ls: update exports for JSON Schema validators (99a21b7)

Enhancements

  • deps: relax production dependencies ranges to allow better deduplication (1808ea0)

NOTE: using this release will enable to have 0.6M lighter bundles, when @swagger-api/apidom-ls package is involved.

v0.69.3

27 Apr 18:30
Compare
Choose a tag to compare

0.69.3 (2023-04-27)

Bug Fixes

  • ls: provide completion items with proper filtering (#2734) (0c26b31)

v0.69.2

03 Apr 14:33
Compare
Choose a tag to compare

0.69.2 (2023-04-03)

Bug Fixes

  • core: fix issues in YAML 1.2 serialization (#2669) (6cc91fb)
  • reference: use parent in ancestors lineage (#2675) (9498f41)

v0.69.1

28 Mar 16:00
Compare
Choose a tag to compare

0.69.1 (2023-03-28)

Bug Fixes

v0.69.0

28 Feb 16:32
Compare
Choose a tag to compare

0.69.0 (2023-02-28)

Features

v0.68.1

20 Feb 17:26
Compare
Choose a tag to compare

0.68.1 (2023-02-20)

Bug Fixes

v0.68.0

16 Feb 15:08
Compare
Choose a tag to compare

0.68.0 (2023-02-16)

Features

  • ast: add sideEffects field to package.json (c2d8104), closes #2566
  • core: add sideEffects field to package.json (27a6eb5), closes #2566
  • json-path: add sideEffects field to package.json (1e6e75b), closes #2566
  • json-pointer: add sideEffects field to package.json (85d32e9), closes #2566
  • ns-api-design-systems: add sideEffects field to package.json (24c0fe3), closes #2566
  • ns-asyncapi-2: add sideEffects field to package.json (6f740a3), closes #2566
  • ns-json-schema-draft-4: add sideEffects field to package.json (3b52219), closes #2566
  • ns-json-schema-draft-6: add sideEffects field to package.json (aef6a49), closes #2566
  • ns-json-schema-draft-7: add sideEffects field to package.json (e9706ab), closes #2566
  • ns-openapi-3-0: add sideEffects field to package.json (6dae3e0), closes #2566
  • ns-openapi-3-1: add sideEffects field to package.json (585e0b6), closes #2566
  • ns-workflows-1: add sideEffects field to package.json (faf7be0), closes #2566
  • parser-adapter-ads-json: add sideEffects field to package.json (178a40e), closes #2566
  • parser-adapter-ads-yaml: add sideEffects field to package.json (88c760a), closes #2566
  • parser-adapter-json: add sideEffects field to package.json (04283c4), closes #2566
  • parser-adapter-yaml-1-2: add sideEffects field to package.json (8e27614), closes #2566
  • parser-asyncapi-json-2: add sideEffects field to package.json (c4908fc), closes #2566
  • parser-asyncapi-yaml-2: add sideEffects field to package.json (a4e0e29), closes #2566
  • parser-openapi-json-3-0: add sideEffects field to package.json (7045c7b), closes #2566
  • parser-openapi-json-3-1: add sideEffects field to package.json (a5c9081), closes #2566
  • parser-openapi-yaml-3-0: add sideEffects field to package.json (d341d99), closes #2566
  • parser-openapi-yaml-3-1: add sideEffects field to package.json (d8d0895), closes #2566
  • parser: add sideEffects field to package.json (3370121), closes #2566

The key to properly tree-shake ApiDOM imports is to:

{
  mode: 'production', // drops "dead code" from the bundle by setting proper defaults to `optimization` config
  optimization: {
    sideEffects: true, // tells webpack to recognise the sideEffects flag in package.json, ramda is side effects free
    minimize: true, // needs to be set to `true` for proper tree-shaking
    providedExports: true, // if set to `true` it gives far better results
    usedExports: true, // needs to be set to `true` for proper tree-shaking
    concatenateModules: true, // needs to be set to `true` for proper tree-shaking
  }
}

v0.67.1

15 Feb 16:30
Compare
Choose a tag to compare

0.67.1 (2023-02-15)

Bug Fixes

v0.67.0

07 Feb 17:33
Compare
Choose a tag to compare

0.67.0 (2023-02-07)

Bug Fixes

  • ls: make IMBMQ Channel Bindings topic field always optional (#2523) (f6704d9), closes #2522

Features

v0.66.0

25 Jan 13:47
Compare
Choose a tag to compare

0.66.0 (2023-01-25)

Bug Fixes

  • parser-adapter-json: fix issues in JSON detection regexp (#2502) (678b440), closes #2503

Features

  • reference: export DereferenceStrategy symbol (#2499) (3d6016d)