Releases: mrjono1/joi-to-typescript
Releases · mrjono1/joi-to-typescript
4.15.0
What's Changed
- build(deps): bump micromatch from 4.0.5 to 4.0.8 by @dependabot in #480
- build(deps-dev): bump @typescript-eslint/parser from 7.15.0 to 7.18.0 by @dependabot in #482
- build(deps-dev): bump ts-jest from 29.2.3 to 29.2.5 by @dependabot in #481
- build(deps-dev): bump @types/jest from 29.5.12 to 29.5.13 by @dependabot in #485
- build(deps-dev): bump typescript from 5.5.4 to 5.6.2 by @dependabot in #484
- build(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0 by @dependabot in #488
- build(deps): bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in #489
- build(deps-dev): bump typescript from 5.6.2 to 5.7.2 by @dependabot in #491
- build(deps-dev): bump prettier from 3.3.3 to 3.4.1 by @dependabot in #492
- build(deps-dev): bump @types/jest from 29.5.13 to 29.5.14 by @dependabot in #486
- Add support for simple object pattern in schema by @danilvalov in #356
- build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.7 by @dependabot in #493
- release version by @mrjono1 in #495
New Contributors
- @danilvalov made their first contribution in #356
Full Changelog: 4.14.0...4.15.0
4.14.0
What's Changed
- Ignore the
{"special": "deep"}
default value introduced by Joi when invoking thedefault()
function without arguments. by @cmaster11 in #433 - Add the
supplyDefaultsInJsDoc
setting by @cmaster11 in #442 - update workflow node versions by @mrjono1 in #444
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.62.0 to 7.2.0 by @dependabot in #443
- build(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1 by @dependabot in #445
- build(deps): bump codecov/codecov-action from 4.1.1 to 4.3.0 by @dependabot in #447
- build(deps-dev): bump @typescript-eslint/parser from 7.4.0 to 7.8.0 by @dependabot in #451
- build(deps-dev): bump joi from 17.12.2 to 17.13.0 by @dependabot in #449
- build(deps-dev): bump typescript from 5.4.3 to 5.4.5 by @dependabot in #450
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.4.0 to 7.10.0 by @dependabot in #452
- build(deps-dev): bump @typescript-eslint/parser from 7.8.0 to 7.11.0 by @dependabot in #453
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.10.0 to 7.11.0 by @dependabot in #456
- build(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in #458
- build(deps-dev): bump joi from 17.13.0 to 17.13.1 by @dependabot in #455
- build(deps-dev): bump ts-jest from 29.1.2 to 29.1.5 by @dependabot in #459
- build(deps): bump codecov/codecov-action from 4.3.0 to 4.5.0 by @dependabot in #460
- build(deps-dev): bump joi from 17.13.1 to 17.13.3 by @dependabot in #464
- build(deps-dev): bump typescript from 5.4.5 to 5.5.3 by @dependabot in #466
- build(deps-dev): bump prettier from 3.2.5 to 3.3.2 by @dependabot in #463
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.11.0 to 7.15.0 by @dependabot in #468
- build(deps-dev): bump @typescript-eslint/parser from 7.11.0 to 7.15.0 by @dependabot in #467
- Update README.md by @mrjono1 in #469
- build(deps-dev): bump typescript from 5.5.3 to 5.5.4 by @dependabot in #472
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.15.0 to 7.18.0 by @dependabot in #475
- build(deps-dev): bump ts-jest from 29.1.5 to 29.2.3 by @dependabot in #474
- build(deps-dev): bump eslint-plugin-prettier from 5.1.3 to 5.2.1 by @dependabot in #471
- build(deps-dev): bump prettier from 3.3.2 to 3.3.3 by @dependabot in #473
- Option to use double quotes (") as escape character by @yegortokmakov in #476
- Update package.json by @mrjono1 in #477
New Contributors
- @yegortokmakov made their first contribution in #476
Full Changelog: 4.13.0...4.14.0
4.13.0
What's Changed
- Support node 16, 18, 20
- Little refactoring + fix of content prefix when wrapping union (
|
) members by @cmaster11 in #421 - build(deps-dev): bump joi from 17.11.0 to 17.12.1 by @dependabot in #427
- build(deps-dev): bump eslint-plugin-prettier from 5.1.2 to 5.1.3 by @dependabot in #424
- build(deps): bump codecov/codecov-action from 3.1.4 to 4.0.0 by @dependabot in #422
- Apply the proper
.gitignore
for yarn and commit the full yarn structure by @cmaster11 in #429 - Allow
baseType
meta to be used in general, not only for unsupported types by @cmaster11 in #428 - build(deps): bump ip from 2.0.0 to 2.0.1 by @dependabot in #430
- build(deps-dev): bump joi from 17.12.1 to 17.12.2 by @dependabot in #436
- Update node versions by @mrjono1 in #439
- build(deps): bump codecov/codecov-action from 4.0.0 to 4.1.0 by @dependabot in #434
- build(deps-dev): bump ts-jest from 29.1.1 to 29.1.2 by @dependabot in #426
- build(deps-dev): bump prettier from 3.1.1 to 3.2.5 by @dependabot in #435
- build(deps-dev): bump @typescript-eslint/parser from 5.62.0 to 7.1.0 by @dependabot in #438
- Update README.md by @mrjono1 in #440
- Update package.json by @mrjono1 in #441
Full Changelog: 4.12.0...4.13.0
4.12.0
What's Changed
- Support raw empty objects by @cmaster11 in #409
- Replace
{}
withRecord<string, never>
by @cmaster11 in #410 - Fix an edge case where the user does not pass ANY content to the
alternatives
function. by @cmaster11 in #411 - Allow printing descriptions of objects contained in
alternatives
schemas and tuples' descriptions. by @cmaster11 in #412 - Add
unionNewLine
andtupleNewLine
settings to force newline styling for unions and tuples. by @cmaster11 in #413 - build(deps-dev): bump eslint-plugin-prettier from 5.0.1 to 5.1.2 by @dependabot in #419
- build(deps-dev): bump @types/jest from 29.5.10 to 29.5.11 by @dependabot in #417
- build(deps-dev): bump typescript from 5.3.2 to 5.3.3 by @dependabot in #415
- build(deps-dev): bump eslint-config-prettier from 9.0.0 to 9.1.0 by @dependabot in #418
- build(deps-dev): bump prettier from 3.1.0 to 3.1.1 by @dependabot in #416
- Also expose the original schema in the
ConvertedType
interface by @cmaster11 in #414 - Update package.json by @mrjono1 in #42
Mr.icecream35 helped me do this
Full Changelog: 4.11.0...4.12.0
Mr.icecream35 helped me do this
4.11.0
What's Changed
- Move the
testEnvironment
config key to jest's own config file by @cmaster11 in #388 - Use the plain JSON.stringify function to encode default values by @cmaster11 in #389
- build(deps-dev): bump typescript from 5.2.2 to 5.3.2 by @dependabot in #395
- build(deps-dev): bump eslint from 8.52.0 to 8.55.0 by @dependabot in #396
- build(deps-dev): bump prettier from 3.0.3 to 3.1.0 by @dependabot in #392
- build(deps-dev): bump @types/jest from 29.5.7 to 29.5.10 by @dependabot in #393
- Add a simple
_example
folder in the_tests_
one that can be easily reused to create new tests by @cmaster11 in #397 - Adds the
tsContentHeader
andtsContentFooter
settings by @cmaster11 in #398 - Fix the way descriptions are generated by @cmaster11 in #399
- Fix missing brackets for array defaults by @cmaster11 in #402
- Wraps function types in additional brackets to prevent broken union types by @cmaster11 in #400
- Add missing
export type
notation for unsupported types by @cmaster11 in #401 - Add the
disableDescription
flag, which can be used to NOT print a description for a schema, even if it has been defined previously. by @cmaster11 in #403 - Improve the handling of @example tags. Accept newlines and types different from strings. by @cmaster11 in #404
- Support multiple examples (as Joi does) by @cmaster11 in #405
- Add a spacing between JsDoc description and any additional examples by @cmaster11 in #406
- Support description/example indentation by @cmaster11 in #407
- Update package.json version by @mrjono1 in #408
Full Changelog: 4.10.0...4.11.0
4.10.0
What's Changed
- build(deps): bump @babel/traverse from 7.21.5 to 7.23.2 by @dependabot in #378
- build(deps): bump actions/setup-node from 3 to 4 by @dependabot in #386
- build(deps-dev): bump eslint-plugin-prettier from 5.0.0 to 5.0.1 by @dependabot in #384
- build(deps-dev): bump @types/jest from 29.5.5 to 29.5.7 by @dependabot in #385
- build(deps-dev): bump joi from 17.10.2 to 17.11.0 by @dependabot in #381
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.60.1 to 5.62.0 by @dependabot in #383
- build(deps-dev): bump eslint from 8.51.0 to 8.52.0 by @dependabot in #382
- Fix the edge case where defaults are treated as required but we explicitely want to pass the
optional
flag. by @cmaster11 in #380 - Update package.json by @mrjono1 in #387
Full Changelog: 4.9.0...4.10.0
4.9.0
What's Changed
- Introduce the defaultInterfaceSuffix setting by @cmaster11 in #376
- Update version by @mrjono1 in #377
Full Changelog: 4.8.0...4.9.0
4.8.0
What's Changed
- build(deps-dev): bump eslint-plugin-prettier from 4.2.1 to 5.0.0 by @dependabot in #367
- build(deps-dev): bump eslint-config-prettier from 8.9.0 to 9.0.0 by @dependabot in #364
- build(deps-dev): bump jest and @types/jest by @dependabot in #365
- build(deps-dev): bump eslint from 8.46.0 to 8.48.0 by @dependabot in #366
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #372
- build(deps-dev): bump joi from 17.9.2 to 17.10.2 by @dependabot in #371
- build(deps-dev): bump typescript from 5.1.6 to 5.2.2 by @dependabot in #363
- build(deps-dev): bump prettier from 3.0.0 to 3.0.3 by @dependabot in #370
- build(deps-dev): bump eslint from 8.48.0 to 8.51.0 by @dependabot in #374
- build(deps-dev): bump jest and @types/jest by @dependabot in #369
- add handling for sparse arrays by @toddtarsi in #373
- Update package.json version by @mrjono1 in #375
New Contributors
- @toddtarsi made their first contribution in #373
Full Changelog: 4.7.0...4.8.0
4.7.0
What's Changed
- Examples: Fix console typo by @andys8 in #357
- Alternatives - add support for allowed values by @konstantinzelinsky in #358
- Array - add support for ordered feature - tuple by @konstantinzelinsky in #359
- Readme by @mrjono1 in #360
New Contributors
- @andys8 made their first contribution in #357
- @konstantinzelinsky made their first contribution in #358
Full Changelog: 4.6.0...4.7.0
4.6.0
What's Changed
- build(deps-dev): bump jest and @types/jest by @dependabot in #350
- build(deps-dev): bump eslint from 8.44.0 to 8.46.0 by @dependabot in #349
- build(deps-dev): bump eslint-config-prettier from 8.8.0 to 8.9.0 by @dependabot in #348
- build(deps-dev): bump prettier from 2.8.8 to 3.0.0 by @dependabot in #347
- build(deps-dev): bump @typescript-eslint/parser from 5.60.1 to 5.62.0 by @dependabot in #346
- Fix an import-related bug introduced by the
omitIndexFiles
flag by @cmaster11 in #353 - Update version by @mrjono1 in #354
Full Changelog: 4.5.0...4.6.0