Releases: sindresorhus/type-fest
Releases Β· sindresorhus/type-fest
v3.0.0
Meta
Breaking
- Require TypeScript 4.7 or later cca3ca2
- Require Node.js 14 or later cca3ca2
- Rename
Mutable
type toWritable
ff0de63 - Remove the
PromiseValue
type in favor of the built-inAwaited
type 28f3e48 Get
: Make thestrict
optiontrue
by default a7f367dPartialDeep
: Make therecurseIntoArrays
optionfalse
by default db89d9cSimplify
: Remove thedeep
option (#441) bbccfb8- It caused weird problems with the TS compiler. We plan to add it back in the form a
SimplifyDeep
type. So if you depend on this type, defer upgrading until it's added.
- It caused weird problems with the TS compiler. We plan to add it back in the form a
New types
EmptyObject
(#447) f46b85aIsEmptyObject
(#447) f46b85aTupleToUnion
(#440) eac8c6fOmitIndexSignature
(#453) 28e55b9PickIndexSignature
(#453) 28e55b9ConditionalPickDeep
(#444) 3cb67d7ConditionalSimplify
(#442) beaabe1ConditionalSimplifyDeep
(#442) beaabe1
Improvements
Merge
: Add index signatures support and improve performances (#455) 850ac04DelimiterCase
: Support screaming snake case as input (#448) f53e3dcJsonify
: Add support for optional object keys (#445) d83d62cPackageJson
: AddpackageManager
field (#446) ac5b821TsConfigJson
: Add someModule
values 1003d5d
Fixes
v2.19.0
v2.18.1
v2.18.0
v2.17.0
- Add
recurseIntoArrays
option forPartialDeep
(#400) 3777469
v2.16.0
New types
OptionalKeysOf
(#405) f0b1c3fHasOptionalKeys
(#405) f0b1c3fRequiredKeysOf
(#405) f0b1c3fHasRequiredKeys
(#405) f0b1c3f
Improvements
Fixes
v2.15.1
v2.15.0
v2.14.0
- Add
UnwrapOpaque
type (#403) d4d4481