Releases: RobinTail/express-zod-api
Releases · RobinTail/express-zod-api
v20.12.0
v20.11.0
Feature
- Handling deprecation events by actual logger by @RobinTail in #2035
Chores
- Using generator in
givePort()
by @RobinTail in #2040 - Upgrading all dependencies by @RobinTail in #2039
- dependabot in #2036, #2038, #2037
Full Changelog: v20.10.0...v20.11.0
v20.10.0
Feature
- Epic: Supporting Express 5 by @RobinTail in #1530
Chores
- dependabot in #2034
Full Changelog: v20.9.2...v20.10.0
v20.9.2
Chores
- Ensure consistent imports from
zod
by @RobinTail in #2015 - Drop alternative module variation in
MissingPeerError
constructor by @RobinTail in #2016 - Upgrading all dependencies by @RobinTail in #2017
- Removing retries from the CI by @RobinTail in #2023
- Enabling
vitest
globals by @RobinTail in #2027 - Using
vitest
native methods for date mocking by @RobinTail in #2028 - Using
vitest
nativewaitFor()
method by @RobinTail in #2029 - Using global
vitest/chai/assert
in tests by @RobinTail in #2030 - dependabot in #2014, #2018, #2020, #2022, #2021, #2033, #2032, #2031
Full Changelog: v20.9.1...v20.9.2
v20.9.1
Fix
- Ensure mime type on plain text responses by @RobinTail in #1993
Chores
Full Changelog: v20.9.0...v20.9.1
v20.9.0
v20.8.0
Feature
- Providing child logger to
beforeRouting
by @RobinTail in #1998
Chores
- Fix typo in
createUploadFailureHandler
naming by @RobinTail in #2002 - Upgrading all dependencies. by @RobinTail in #2004
- dependabot in #1994, #1996, #1997, #1999, #2000, #2001, #2003
Full Changelog: v20.7.1...v20.8.0
v20.7.1
Fixes
- Ref: Removing
string
type comparison in migration by @RobinTail in #1984 - Improving documentation on
errorHandler
by @RobinTail in #1953
Chores
Full Changelog: v20.7.0...v20.7.1
v20.7.0
Changes to migration plugin (single-use tool, regardless SemVer)
- Better migration plugin by @RobinTail in #1982
- Requirements:
eslint@^9
andtypescript-eslint@^8
(may work with previous versions, but it's no longer tested); rules
andfiles
have to be defined explicitly;- For migrating from v19 use the following minimal config and run
eslint --fix
:
- Requirements:
// eslint.config.js (or .mjs if you're developing in a CommonJS environment)
import parser from "@typescript-eslint/parser";
import migration from "express-zod-api/migration";
export default [
{ languageOptions: { parser }, plugins: { migration } },
{
files: ["**/*.ts"], // define the files need to be migrated (source code)
rules: { "migration/v20": "error" }, // enable the rule explicitly
},
];
Chores
- Replacing ESLint
import-x
plugin withno-restricted-imports
by @RobinTail in #1969 - Replacing
no-restricted-imports
witheslint-plugin-allowed-dependencies
by @RobinTail in #1971 and #1978 - Upgrading all dependencies by @RobinTail in #1968
- dependabot in #1966, #1967, #1970, #1972, #1973, #1974, #1976, #1977, #1979, #1980, #1981, #1983
Full Changelog: v20.6.2...v20.7.0
v20.6.2
Refactoring
- Ref: simpler
makeErrorFromAnything()
by @RobinTail in #1960 - Ref: Simpler public props of the custom errors by @RobinTail in #1961
- Ref: Simpler wrapping of caught validation errors by @RobinTail in #1962
Chores
- Bump the vitest group with 2 updates by @dependabot in #1957
- Bump @types/node from 22.0.0 to 22.0.1 by @dependabot in #1959
- Bump typescript-eslint from 8.0.0-alpha.60 to 8.0.0 in the typescript-eslint group by @dependabot in #1958
- Bump @types/node from 22.0.1 to 22.0.2 by @dependabot in #1963
- Bump globals from 15.8.0 to 15.9.0 by @dependabot in #1965
- Bump tsx from 4.16.3 to 4.16.5 by @dependabot in #1964
Full Changelog: v20.6.1...v20.6.2