ajv-formats provides JSON Schema format validation add-ons for Ajv v8+, defining many standard `format` values like date, time, date-time, URI, email, UUID, IP addresses, and numeric and binary formats. It is useful when you want Ajv to enforce specific string formats in your schemas, with options for selecting formats and validation mode (for example, full vs fast).
Project status
- Maintenance status: The repo appears quiet/dormant, with the upstream push on 2024-08-18 and the most recent observed package updates in 2024-03. There is no evidence of continued active development into 2026-06-09.
- Update cadence: Updates were infrequent, with prior change history concentrated in 2021-2024, and no new functional updates shown after mid/late 2024.
AI summary generated
Recent updates
v3.0.1
This release (v3.0.1) appears to be a version-only change. The code diff shows only the package version being updated in package.json, with no other functional code modifications.
v3.0.0
The release v3.0.0 contains no documented release notes from the publisher. The only observed code change is a version string update in package.json from 3.0.0-rc.0 to 3.0.0, with no other source or dependency changes shown in the diff.
v3.0.0-rc.0
v3.0.0-rc.0 changes the built-in JSON Schema formats for RFC3339 time and date-time to enforce timezone handling, and adds new alternative formats for backwards compatibility. Specifically, `time` and `date-time` now require a timezone, while `iso-time` and `iso-date-time` allow optional timezones and preserve older comparison behavior for `formatMaximum` and `formatMinimum`.
BreakingFeaturesv2.1.1
Release v2.1.1 is a small patch intended to address an issue with the `byte` format validation. The diff shows additional changes to the internal format-regex definitions and test coverage, plus a dev dependency bump.
v2.1.0
v2.1.0 adds additional OpenAPI data type formats to the library. The main change is support for OpenAPI number formats like int32, int64, float, and double, implemented as Ajv format validators in src/formats.ts.
Featuresv2.0.2
v2.0.2 updates ajv-formats to work with Ajv v8 by changing the package’s ajv dependency and peer dependency configuration. The code changes also adjust module export behavior and some internal Ajv integration points.
Breakingv1.6.1
This release updates the package metadata to make `ajv` a direct dependency while marking the `ajv` peer dependency as optional, intended to improve compatibility with `npm --legacy-peer-deps`. It also adjusts CI workflow branch triggers.
v2.0.1
Release v2.0.1 primarily bumps the package version and updates Ajv to a newer release. The code changes are limited to dependency metadata in package.json, adjusting both peerDependencies and devDependencies for Ajv.
Breakingv2.0.0
v2.0.0 is described as an upgrade to support Ajv v8. The code changes include Ajv v8 API compatibility updates and a change to the package's module export interop.
v1.6.0
This release (v1.6.0) changes how ajv is consumed by switching ajv from a regular dependency to a peer dependency. It also updates README links to point at ajv documentation paths under the main branch.
Breakingv2.0.0-beta.3
This release, v2.0.0-beta.3, contains no functional code changes compared to v2.0.0-beta.2. The only observed change is an update to the package version in package.json.
v2.0.0-beta.2
This release bumps the package version to v2.0.0-beta.2 and updates the Ajv dependency used by ajv-formats. The only code change shown is a dependency specification update in package.json.