Skip to content

Latest commit

 

History

History
453 lines (231 loc) · 17.5 KB

CHANGELOG.md

File metadata and controls

453 lines (231 loc) · 17.5 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

v1.4.2

compare changes

📦 Build

  • Fix the default export module for cjs (#124)

❤️ Contributors

v1.4.1

compare changes

🩹 Fixes

  • Make sure leading comments has value before assigning (7a94141)

📦 Build

  • Add new ts type exports (1038f03)

🌊 Types

  • Improve types for $resolve function (#97)

🏡 Chore

✅ Tests

🎨 Styles

🤖 CI

  • Enable & use conventional commit for autofix (#104)

❤️ Contributors

v1.4.0

compare changes

🚀 Enhancements

  • Add option to not infer defaults (#86, #88)

🩹 Fixes

  • Tighten schema definition types (#102)
  • Broken types with array literal and object entries (#96)

🏡 Chore

❤️ Contributors

v1.3.2

compare changes

🩹 Fixes

  • Only enable experimentalFunctions for new loader (f875ae5)
  • babel: Only transform exported functions with meta (afa8dac)
  • babel: Transform all arrow functions with block syntax (ca052d6)
  • Allow opting in to experimental functions for transform and web (e3395fc)
  • babel: Partially handle functions as default export (a35258b)

🏡 Chore

🎨 Styles

  • Format web project with prettier (55f1ffb)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.3.1

compare changes

🩹 Fixes

  • loader: Use named defu import (7cc6075)
  • loader: Options is optional (807d68a)
  • babel: Allow unannotated function schemas (8c09c02)
  • pkg: Add compatible types for /loader subpath (dbaa90d)
  • Handle undefined schema for internal _genTypes (cc693ff)
  • Handle arrow functions with literal return type (4d8453b)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.3.0

compare changes

🚀 Enhancements

  • Schema loader and untyped cli (#82)

🩹 Fixes

  • Correct typo in GenerateTypesOptions (#81)

🏡 Chore

❤️ Contributors

1.2.2 (2023-01-13)

Bug Fixes

  • dts: add empty lines between title and description lines (resolves #70) (5255259)
  • dts: also add empty line for default description (d4034c1)

1.2.1 (2023-01-03)

Bug Fixes

  • dedefault babel/standalone (da7979b)
  • schema: add id for non object types (b836da8)

1.2.0 (2022-12-14)

Features

  • schema: support required (f75c15c)
  • support [@required](https://github.com/required) tag infer (d9d5084)

Bug Fixes

  • respect partial: true option for array object type gen (ef1a009)

1.1.0 (2022-12-13)

Features

  • support dts generation for array of objects (6120fdf)

Bug Fixes

  • improve dts code indentation (eefe4c9)
  • schema: resolve single array types as with single type (1c68a80)

1.0.0 (2022-11-15)

0.5.0 (2022-09-12)

⚠ BREAKING CHANGES

  • resolveSchema and applyDefaults returns a Promise now.
  • get function passed to $resolve also returns a Promise.

Features

0.4.7 (2022-08-26)

Features

  • defineUntypedSchema and SchemaDefinition (#46) (806a2a9)

0.4.6 (2022-08-26)

Bug Fixes

0.4.5 (2022-08-04)

0.4.4 (2022-03-31)

Bug Fixes

  • check for object type when recursing into a property (#31) (13bd920)

0.4.3 (2022-03-15)

Bug Fixes

  • pkg: add implicit dependencies (c3f77bc), closes #29

0.4.2 (2022-03-09)

Bug Fixes

  • dts: default behavior for allowExtraKeys (9ebe52c)

0.4.1 (2022-03-09)

Features

0.4.0 (2022-03-09)

⚠ BREAKING CHANGES

  • dts: move interfaceName to options object
  • update transform subpath exports
  • update repo and dependencies

Features

  • dts: allow disable default comments (7862f3b)

  • dts: allow disable export generation (f8d5f56)

  • dts: default description for values (9e2e6b4)

  • dts: initial indentation (f4f40b9)

  • dts: move interfaceName to options object (a573e3b)

  • update repo and dependencies (614cdaa)

  • update transform subpath exports (c9e0e56)

0.3.0 (2021-11-18)

⚠ BREAKING CHANGES

  • extract top-level type imports (#26)

Features

Bug Fixes

0.2.13 (2021-11-10)

Bug Fixes

  • allow for braces within type declarations (#24) (a750cae)

0.2.12 (2021-11-05)

Features

0.2.11 (2021-11-02)

Bug Fixes

0.2.10 (2021-10-26)

Features

  • add support for [@type](https://github.com/type), [@param](https://github.com/param) and [@returns](https://github.com/returns) typings (#20) (c5d5453)

0.2.9 (2021-09-21)

Bug Fixes

  • pkg: use .cjs transform exports (238b429)

0.2.8 (2021-07-29)

Bug Fixes

  • cache babel loader based on untyped version (#14) (bc6f679)
  • preserve spacing at beginnings of lines (#16) (f8c07e7)

0.2.7 (2021-07-22)

Bug Fixes

  • don't split codeblocks with blank lines (#13) (85feb2f)

0.2.6 (2021-07-22)

Bug Fixes

  • handle multiline tags, title, description (#12) (45b2f7d)

0.2.5 (2021-04-09)

Features

Bug Fixes

  • properly inject $schema property (ded914e)

0.2.4 (2021-04-02)

Bug Fixes

  • resolve default for empty objects (0257222)

0.2.3 (2021-04-02)

Bug Fixes

  • handle empty object type (98e6172)

0.2.2 (2021-03-28)

Features

Bug Fixes

  • fix generated signuture (786a6cf)
  • generate id with / for jsonschema compatibility (a4cdfd2)
  • types improvements (#3) (0738d9b)

0.2.1 (2021-03-25)

Features

0.0.5 (2021-03-23)

Features

  • applyDefaults and updated playground (1e6550f)

Bug Fixes

  • preserve additional tags in generated types (7c01b35)

0.0.4 (2021-03-23)

Features

  • support loader with jsdoc support (b31b4af)

Bug Fixes

  • handle empty types (d82bf01)
  • return plain values if no nested schema (f9f2c04)

0.0.3 (2021-03-21)

Features

  • resolve dependencies without order (f04e49f)

Bug Fixes

  • dts: include falsy defaults (132f30d)
  • improve array handling (f1a62f3)

0.0.2 (2021-03-20)

Bug Fixes

0.0.1 (2021-03-20)

Features