Pema changelog
0.14.2 (2026-11-14)
- Preserve exact integer values when loose bigint schemas coerce decimal
strings, including integer-valued decimal-point and exponent forms. This
fixes silent rounding beyond 2^53 and rejection of valid 64-/128-bit bounds
in
bigint,biguint,i64,u64,i128, andu128. - Reject genuinely fractional strings rather than rounding them to integers. Applications relying on that rounding must explicitly choose their own rounding policy before validation. Already-rounded JavaScript number inputs are unchanged; pass strings or bigint values when exactness matters.
The Primate team would like to thank The PLSE Group for reporting this issue.
0.14.1 (2026-11-13)
- Remove quadratic regular-expression backtracking from
p.string.email()for hostile long dot sequences. Accepted inputs and custom messages are unchanged. This patch does not add SMTP/DNS email-length restrictions.
Update the project lockfile and reinstall to select the fixed package.
Previous
Core