Skip to content

Releases: milesj/optimal

website@0.2.1

16 Oct 23:49
Compare
Choose a tag to compare

0.2.1 - 2021-10-16

📘 Docs

Note: Version bump only for package website

optimal@5.1.1

16 Oct 23:49
Compare
Choose a tag to compare

5.1.1 - 2021-10-16

🐞 Fixes

  • Improve optimal error message with name. (bfdd104)

⚙️ Types

  • [instance] Allow generic to be customized. (0ea4958)

Note: Version bump only for package optimal

website@0.2.0

10 Oct 21:34
Compare
Choose a tag to compare

0.2.0 - 2021-10-10

🚀 Updates

  • Add .transform() method to all schemas. (be597e4)

🐞 Fixes

  • [func] Fix improper handling of undefined values. (d35d9a5)

Note: Version bump only for package website

optimal@5.1.0

10 Oct 21:34
Compare
Choose a tag to compare

5.1.0 - 2021-10-10

🚀 Updates

  • Add .transform() method to all schemas. (be597e4)

🐞 Fixes

  • [func] Fix improper handling of undefined values. (d35d9a5)

Note: Version bump only for package optimal

website@0.1.0

07 Oct 02:08
Compare
Choose a tag to compare

0.1.0 - 2021-10-07

🚀 Updates

📘 Docs

Note: Version bump only for package website

optimal@5.0.0

07 Oct 02:08
Compare
Choose a tag to compare

5.0.0 - 2021-10-07

💥 Breaking

  • Update and/or/xor to use arrays. (6f9e12d)

🚀 Updates

⚙️ 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

01 Oct 02:06
Compare
Choose a tag to compare
optimal@5.0.0-alpha.5 Pre-release
Pre-release

5.0.0-alpha.5 - 2021-10-01

🚀 Updates

  • Improve error messages. (a6a7bb8)
  • Support undefined as a first-class type/value. (#39) (c885310), closes #39

🐞 Fixes

  • Only collection errors for shapes/unions. (49c64d8)

Note: Version bump only for package optimal

optimal@5.0.0-alpha.4

21 Sep 03:00
Compare
Choose a tag to compare
optimal@5.0.0-alpha.4 Pre-release
Pre-release

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

21 Sep 00:45
Compare
Choose a tag to compare
optimal@5.0.0-alpha.3 Pre-release
Pre-release

5.0.0-alpha.3 - 2021-09-21

💥 Breaking

🚀 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

Note: Version bump only for package optimal

v5.0.0-alpha.2

16 Sep 01:42
Compare
Choose a tag to compare
v5.0.0-alpha.2 Pre-release
Pre-release
  • 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

v5.0.0-alpha.1...v5.0.0-alpha.2