Releases: mrjono1/joi-to-typescript
Releases · mrjono1/joi-to-typescript
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
4.5.0
What's Changed
- build(deps): bump codecov/codecov-action from 3.1.3 to 3.1.4 by @dependabot in #333
- build(deps-dev): bump @typescript-eslint/parser from 5.59.2 to 5.59.8 by @dependabot in #336
- build(deps-dev): bump eslint from 8.39.0 to 8.41.0 by @dependabot in #335
- build(deps-dev): bump @types/jest from 29.5.1 to 29.5.2 by @dependabot in #337
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.57.1 to 5.59.8 by @dependabot in #334
- build(deps-dev): bump @typescript-eslint/parser from 5.59.8 to 5.60.1 by @dependabot in #341
- build(deps-dev): bump eslint from 8.41.0 to 8.44.0 by @dependabot in #342
- build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.8 to 5.60.1 by @dependabot in #340
- build(deps-dev): bump ts-jest from 29.1.0 to 29.1.1 by @dependabot in #338
- build(deps): bump semver from 6.3.0 to 6.3.1 by @dependabot in #343
- build(deps-dev): bump typescript from 5.0.4 to 5.1.6 by @dependabot in #339
- Support new settings
interfaceFileSuffix
andomitIndexFiles
by @cmaster11 in #344 - Update package.json by @mrjono1 in #345
New Contributors
- @cmaster11 made their first contribution in #344
Full Changelog: 4.4.1...4.5.0
4.4.1
What's Changed
- Create FUNDING.yml by @mrjono1 in #322
- feat: funding to package.json, cleaned up .npmig… by @mrjono1 in #323
- build(deps-dev): bump joi from 17.9.1 to 17.9.2 by @dependabot in #329
- build(deps-dev): bump eslint from 8.38.0 to 8.39.0 by @dependabot in #326
- build(deps-dev): bump prettier from 2.8.7 to 2.8.8 by @dependabot in #327
- build(deps-dev): bump @typescript-eslint/parser from 5.57.1 to 5.59.2 by @dependabot in #331
- build(deps-dev): bump @types/jest from 29.5.0 to 29.5.1 by @dependabot in #330
- build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.3 by @dependabot in #325
- feat: version bump, test updates by @mrjono1 in #332
Full Changelog: 4.4.0...4.4.1