This is a quick overview of the next major releases that we have planned for the validator library.
This is not an exthausive list, but should give interested people a general idea of our plans.
The idea is that we work in various phases per major release;
- We start with a feature freeze on all non-security PRs.
- We will then work on merging breaking changes for the next major release.
- After that work has completed and a new major release has been published, we will start work on the improvements and merging other PRs.
- Once we feel comfortable that we have introduced enough improvements, we will start the cycle again with a feature freeze.
When a new major release is released, there will be a period of 6 months in which we will deal with security vulnerabilites. After those 6 months the previous major releases are marked as deprecated on npm (and potentially other sites) and no further work will be done.
- Removing support for EOL Node versions
- Specifying support policy for Node, browsers, Deno, Bun and potentially other runtimes
- Improving test suite by including testing on browsers, Deno, Bun and potentially other runtimes
- Splitting tests to a file per validator
- Moving tests to TypeScript
- Updating dependencies to latest versions
- Introducing Dependabot/Renovate to manage dependencies
- Introducing Release Please/semantic-release/changesets to manage releases
- Deploying validator to jsr.io (the Deno package manager) under the
@validatorjsorganization (owned by @WikiRik)
- Migrating source code to TypeScript
- Potentially; moving to ESM only
- More uniformity in how we define locales #1266 (comment)
- Moving optional parameters to the options object #1874
- Removing deprecated functionality
@rubiin not sure if you get a notification from this, but I have written down ideas on the next major releases for validator. Could you give it a review and add points that you feel are important? Afterwards I will discuss with profnandaa (intentionally not tagging atm) and create a new issue based on this gist