Skip to content

Releases: ftonato/nope-validator

v1.1.0

21 Jan 02:50
f06806a

Choose a tag to compare

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:imports script 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

29 May 18:17

Choose a tag to compare

Fixes 🔨

  • String
    • .trim()

v1.0.3

27 May 17:49
5e312cc

Choose a tag to compare

Added 🚀

Internal 🏡

  • A lot of dev dependencies upgraded

v1.0.2

01 Jun 09:51
ce1e0d3

Choose a tag to compare

Added 🚀

  • Number
    • between (thank you @ftonato for the contribution!)

v1.0.1

01 Jun 08:32
904a7cc

Choose a tag to compare

Added 🚀

  • String
    • between (thank you @ftonato for the contribution!)

Internal 🏡

  • A lot of dev dependencies upgraded

Release v1.0.0

05 May 14:40
947bacd

Choose a tag to compare

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

12 Apr 13:04

Choose a tag to compare

0.12.2

Improvements 🔨

  • Speed up validation a bit

Internal 🏡

  • Changes to UMD build process

v0.12.1 - Regex security issue fixes

09 Apr 19:01
c4b6118

Choose a tag to compare

0.12.1

Fixes 🔨

  • URL and e-mail regex security issues

v0.12.0 - Back from the dead

09 Apr 16:09

Choose a tag to compare

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

12 May 12:19
d01abb6

Choose a tag to compare

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