v1.0.0-beta.1 Flat bundles
Pre-release
Pre-release
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.