Joi extensions for date validation and advanced date rules. Useful for developers who want to use Joi to define and validate date-related schemas with additional date-specific functionality.
Project status
- Actively maintained: Yes, the repo has recent updates (last upstream push 2026-07-31), indicating ongoing maintenance as of today (2026-08-13).
- Update cadence: The most recent published update v3.0.0 is from 2026-07-31 (about 2 weeks ago), but earlier updates are sparse (next notable one v2.1.1 from 2024-04-22, then several years before that), so the cadence looks bursty rather than continuous.
AI summary generated
Recent updates
v3.0.0
v3.0.0 is a major rewrite of the Joi date extension, migrating from Moment to Dayjs (including plugin-based parsing) and switching the package to modern ESM/TypeScript build outputs. Along with that, the API surface and packaging changed substantially (new named export, updated type signatures, and different parsing format semantics).
BreakingFeaturesv2.1.1
v2.1.1 is primarily a TypeScript typings and tooling update. The only functional-looking change in the diff is within lib/index.d.ts, where the module export shape was adjusted, alongside CI configuration changes and a dev dependency addition.
v2.1.0
Release v2.1.0 is published, but the publisher did not provide any release notes or change log details. As a result, there is no actionable information available here about new features, fixes, breaking changes, or required migrations.
v2.0.1
v2.0.1 has no release notes provided. The diff shows only documentation and test changes plus a package version bump, with no visible changes to runtime library code.
v2.0.0
v2.0.0 is a small release with minimal code changes: it updates the Joi coercion hook signature used by the date extension and adjusts an associated test expectation. It also switches the dev dependency from a preview Joi version to the broader 16.x.x range.
v2.0.0-preview
This release, v2.0.0-preview, refactors the joi-date extension to use the newer Joi extension structure (with coerce and overrides) and updates the project toolchain to newer @hapi packages. No publisher release notes were provided, so the documented changes section is effectively empty, despite code-level behavior changes.
BreakingFeaturesv1.3.0
Release v1.3.0 has no published release notes in the provided data. The code diff shows a largely non-functional refactor in the date coercion logic, plus major repo and distribution changes such as renaming the npm package and updating the documented/expected Joi ecosystem.
Breakingv1.2.0
v1.2.0 introduces a new UTC parsing mode for the Joi date extensions, exposed as `Joi.date().utc()`. The change updates the core date conversion logic to use `Moment.utc(...)` when the new `utc` flag is set, and adds/updates tests and API documentation accordingly. No publisher release notes were provided for this version.
Featuresv1.1.1
v1.1.1 primarily updates documentation references to point at the new API reference URL. The only substantive change visible in the diff is a dependency change in package.json.
v1.1.0
Release v1.1.0 was published on 2017-09-26. No release notes were provided, so the specific changes, potential API impacts, and migration considerations cannot be determined from the release description alone.