Releases: milesj/optimal
Releases · milesj/optimal
website@0.2.1
optimal@5.1.1
website@0.2.0
optimal@5.1.0
website@0.1.0
optimal@5.0.0
5.0.0 - 2021-10-07
💥 Breaking
- Update and/or/xor to use arrays. (6f9e12d)
🚀 Updates
- Reduce error noise and complexity. (#40) (85f9215), closes #40
- Add id() schema. (162f881)
- Add options to common criteria. (21474b6)
- Add uuid() schema. (5021ab9)
⚙️ Types
- Allow current/root object to be typed. (ea39c8c)
- Dont undefined arrays during deep partial. (93c1915)
📘 Docs
Note: Version bump only for package optimal
optimal@5.0.0-alpha.5
optimal@5.0.0-alpha.4
5.0.0-alpha.4 - 2021-09-21
🚀 Updates
- Show value in error messages. (fbdde11)
🐞 Fixes
- Allow empty blueprints for shapes. (6319a06)
- Dont run criteria if never flag is set. (822f8da)
- Include schema name in error message. (7dac519)
🛠 Internals
- Verify function default values. (ac456bc)
Note: Version bump only for package optimal
optimal@5.0.0-alpha.3
5.0.0-alpha.3 - 2021-09-21
💥 Breaking
- Implement an immutable API. (#37) (d1f12ba), closes #37
- Migrate to ESM only. (5a7b10a)
- Rework optimal() API. (e1edef8)
🚀 Updates
- Add default value callbacks for lazy init. (89115c0)
- Add lazy() schema. (0fca859)
- Add new Infer type. (b0c42db)
- Add when() criteria. (8ffb9c8)
- Added keysOf() to objects. (186d509)
- Collect all errors instead of failing on the first. (#38) (61ce05f), closes #38
🐞 Fixes
- Allow empty strings for oneOf(). (67fddaf)
- Pass path to custom callbacks. (fa2800a)
- Remove default value from shape(). (96905e2)
- Remove default value from tuple(). (97ec98b)
- Remove schemas from union() call. (c71191e)
- Switch to any function for consumers. (628e513)
⚙️ Types
- Improve deep partial. (f36807b)
- Update of to use generics for value. (a582bf6)
- Update schema validation to use unknown. (72269c4)
- Update to use Required. (cdce9b7)
- Use new 'abstract new' constructor type. (a2a1e4f)
📦 Dependencies
- [packemon] Update to v1.5. (06bea75)
🛠 Internals
- Add Lerna for releasing. (afa13e4)
- Remove DEV checks. (4887f65)
- Revert esm migration. (ec46014)
- Switch to a monorepo. (#36) (52b7140), closes #36
Note: Version bump only for package optimal
v5.0.0-alpha.2
- deps(packemon): Update to v1.5. 06bea75
- deps(beemo/dev): Update to latest configs. 70e3d7a
- types: Improve deep partial. f36807b
- types: Update of to use generics for value. a582bf6
- types: Update schema validation to use unknown. 72269c4
- types: Use new 'abstract new' constructor type. a2a1e4f
- fix: Switch to any function for consumers. 628e513