Releases: ftonato/nope-validator
Releases · ftonato/nope-validator
v1.1.0
Internal 🏡 (Modernization - 2025)
- Build System: Replaced Rollup with tsup for 10-100x faster builds (~100ms vs several seconds)
- Linting: Upgraded ESLint from v8.57.1 to v9.39.2 with modern flat config
- TypeScript: Modernized configuration (ES2020 target, cleaned lib entries, added declarationMap)
- CI/CD: Consolidated to GitHub Actions (removed CircleCI), updated all actions to v4, Node 20 LTS
- Dependencies: Removed unused Rollup packages and tslib, added @eslint/js for ESLint 9
- Testing: Fixed Jest watchman warnings, updated test-imports to skip UMD format (no longer built)
- Husky: Updated to modern v9 syntax (removed deprecated install command)
- Output Formats: Removed UMD and AMD formats (modern npm packages only need CJS + ESM)
Breaking Changes
- String & Number
.min()and.max()now use inclusive comparisons (matching Yup behavior)Nope.string().min(8).validate("password")now passes (8 chars)- Previously required 9 characters for min(8)
Added 🚀
- New
test:importsscript to validate all import formats work correctly
Fixes 🔨
- Fixed build issues with rollup-plugin-typescript2/tslib compatibility
- Fixed TypeScript 5.7 strict type checking issues
v1.0.4
v1.0.3
Added 🚀
- String
.trim()(thank you @TolyaDeveloper, for the suggestion!)
Internal 🏡
- A lot of dev dependencies upgraded
v1.0.2
v1.0.1
Release v1.0.0
1.0.0 🎉
Improvements
- Drastically improved performance for synchronous validation
- Better API docs
Added 🚀
- Async validation
Internal 🏡
- A lot of dev dependencies upgraded
- Removed default exports within code
v0.12.2
v0.12.1 - Regex security issue fixes
0.12.1
Fixes 🔨
- URL and e-mail regex security issues
v0.12.0 - Back from the dead
0.12.0
Added 🚀
- Primitive
- notAllowed
- Ref
- Access parent values
Fixes 🔨
- Object
- Deep schema validation
Internal 🏡
- Bump @babel/types to 7.13.14
- Bump @types/jest to 26.0.22
- Bump @types/node to 14.14.37
- Bump @typescript-eslint/eslint-plugin to 4.21.0
- Bump @typescript-eslint/parser to 4.21.0
- Bump eslint to 7.23.0
- Bump eslint-config-prettier to 8.1.0
- Bump eslint-plugin-prettier to 3.3.1
- Bump husky to 6.0.0
- Bump jest to 26.6.3
- Bump lint-staged to 10.5.4
- Bump prettier to 2.2.1
- Bump typescript to 4.2.4
- Replace ts-jest with @swc/jest
- Remove ts-node
- Remove nodemon
Release v0.11.3
Fixes 🔨
- Date
- before (reference type argument)
- after (reference type argument)
Internal 🏡
- Bump ts-jest to 25.5.1
- Bump @typescript-eslint/eslint-plugin to 2.32.0
- Bump @typescript-eslint/parser to 2.32.0