All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- Escape keys in generated types (#143)
- Implement cli with
citty
(#150)
- Morgän [email protected]
- Pooya Parsa (@pi0)
- Daniel Roe (@danielroe)
- loader: Use default export if is the only export (030a98c)
- Pooya Parsa (@pi0)
- Update to jiti v2 (6c35c70)
- Improve type safety (7f51a8a)
- Update deps (8881231)
- Lint with eslint v9 (6392dbd)
- Update deps (41b8154)
- Lint (9e5084a)
- Apply automated updates (5a569eb)
- Fix type issues (88c2803)
- Update node version to 20 (c4ede69)
- Pooya Parsa (@pi0)
- Fix the default export module for cjs (#124)
- Markthree (@markthree)
- Make sure leading comments has value before assigning (7a94141)
- Add new ts type exports (1038f03)
- Improve types for
$resolve
function (#97)
- Update badge (#109)
- Update dependencies (ef3250b)
- Use node 18 (b11fabd)
- Update dependencies (af9dedf)
- Lint (0036975)
- Update snapshots with vitest 1.x (6ca444f)
- Update ci script (f5feaa4)
- web: Update marked (f2a4439)
- Update types (4683cae)
- Prettier ignore web/.output (046ef3b)
- Add test for loader (5388749)
- Enable & use conventional commit for autofix (#104)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- Luke Nelson [email protected]
- Explicitly use pnpm 8 (71f845d)
- Update dependencies (3796abb)
- Update dependencies (5efda9e)
- Temporarily keep old prettier style (5250851)
- Lint code (347c312)
- Add autofix ci (21f6e9c)
- Pooya Parsa (@pi0)
- Harlan Wilton (@harlan-zw)
- Daniel Roe [email protected]
- Paulohsa32 [email protected]
- 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)
- Update lockfile (6ed9138)
- Format web project with prettier (55f1ffb)
- Pooya Parsa (@pi0)
- 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)
- Pooya Parsa (@pi0)
- Schema loader and
untyped
cli (#82)
- Correct typo in
GenerateTypesOptions
(#81)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
1.2.2 (2023-01-13)
- 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)
1.2.0 (2022-12-14)
- schema: support
required
(f75c15c) - support
[@required](https://github.com/required)
tag infer (d9d5084)
- respect
partial: true
option for array object type gen (ef1a009)
1.1.0 (2022-12-13)
- support dts generation for array of objects (6120fdf)
- 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)
resolveSchema
andapplyDefaults
returns a Promise now.get
function passed to$resolve
also returns a Promise.
0.4.7 (2022-08-26)
0.4.6 (2022-08-26)
0.4.5 (2022-08-04)
0.4.4 (2022-03-31)
0.4.3 (2022-03-15)
0.4.2 (2022-03-09)
- dts: default behavior for allowExtraKeys (9ebe52c)
0.4.1 (2022-03-09)
- dts: allowExtraKeys (38eb888)
0.4.0 (2022-03-09)
- dts: move interfaceName to options object
- update transform subpath exports
- update repo and dependencies
-
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)
- extract top-level type imports (#26)
0.2.13 (2021-11-10)
0.2.12 (2021-11-05)
0.2.11 (2021-11-02)
0.2.10 (2021-10-26)
- 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)
- pkg: use
.cjs
transform exports (238b429)
0.2.8 (2021-07-29)
- cache babel loader based on untyped version (#14) (bc6f679)
- preserve spacing at beginnings of lines (#16) (f8c07e7)
0.2.7 (2021-07-22)
0.2.6 (2021-07-22)
0.2.5 (2021-04-09)
- properly inject
$schema
property (ded914e)
0.2.4 (2021-04-02)
- resolve default for empty objects (0257222)
0.2.3 (2021-04-02)
- handle empty object type (98e6172)
0.2.2 (2021-03-28)
- fix generated signuture (786a6cf)
- generate id with / for jsonschema compatibility (a4cdfd2)
- types improvements (#3) (0738d9b)
0.2.1 (2021-03-25)
- apply cirtular defaults (f847195)
- basic markdown generation (d2c25b7)
- infer function types (#1) (8f16a32)
0.0.5 (2021-03-23)
- applyDefaults and updated playground (1e6550f)
- preserve additional tags in generated types (7c01b35)
0.0.4 (2021-03-23)
- support loader with jsdoc support (b31b4af)
0.0.3 (2021-03-21)
- resolve dependencies without order (f04e49f)
0.0.2 (2021-03-20)
- use mapType for dts (042fae7)
- initial commit (a074493)