github jquense/yup v1.0.0-beta.1
v1.0.0-beta.1 Flat bundles

latest releases: v1.4.0, v1.3.3, v1.3.2...
pre-release2 years ago

1.0.0-beta.1 (2022-01-03)

Features

  • flat bundles and size reductions (753abdf)
  • Refactors a number of internal APIs for Schema type implementers, making it easier to consistently create subclasses of Schema.

BREAKING CHANGES

  • Yup now compiles to a flat bundle using rollup, this gives us faster to parse and smaller code, as well as clearer size insights (10.26kb gzipped!). The possible breaking change is around cherry picking imports, if you are cherry picking imports from yup import string from 'yup/lib/string' this will no longer work. This pattern has not been supported for a long time and could cause larger than necessary bundles.

Don't miss a new yup release

NewReleases is sending notifications on new releases.