- #2389
03c1abc8c
Thanks @BPScott! - Add types field to package.json export maps to support typescript consumers that usemoduleResolution: "node16"
-
#2337
e61e9a1e0
Thanks @atesgoral! - Update node-mocks-http, fixing response.getHeaders() behaviourresponse.getHeaders() had a flawed implementation where it exposed the underlying headers object, allowing it to be mutated in tests directly. eugef/node-mocks-http#217 fixes that issue by returning a shallow copy so that the underlying headers object cannot be directly mutated.
- Drop support for node 12 and Safari 10, 11 and 12. Remove wildcard export in exports field. [#2277]
- Correct wildcard export to
./*
[#2209]
- Use
./*
instead of./
in package.json exports to fix deprecation warning. [#2184]
- Restore behavior of
ctx.set
that was removed in 3.0.6 [#2148]
- Rerelease after failed publish. No code changes.
- Update required version of
koa
to^2.13.4
[#2128]
- No updates. Transitive dependency bump.
- Fixed babel helpers file being generated with incorrect filename in esm build. [#2082]
- No updates. Transitive dependency bump.
- Migrate from
sewing-kit-next
toloom
for building - package build output remains identical. [#2039]
- Updated build tooling, types are now compiled with TypeScript 4.3. [#1997]
- Added file exclusion for tests to package.json and enable type checking for tests. [#2005]
- Rename test/ to tests/ [#2005]
- Ensure
tsconfig.tsbuildinfo
file is not uploaded to the npm registry. [#1982]
- Update to latest sewing-kit-next for build. Update
types
/typesVersions
fields to point directly into the build folder [#1980]
- Update minimum supported node version to 12.14.0. Add engines field to help enforce usage of this version. #1906
- Removed dependency on tslib, as we no-longer compile with
tsc
. #1829
- Updated multi-build outputs to include mandatory extensions to fix "Module not found" issues reported by ESM supported bundlers #1759
- Add new build outputs (CommonJS, ESM, esnext, Node) for greater tree-shakability #1698
- Updated
tslib
dependency to^1.14.1
. #1657
Options
type is now exported forcreateMockContext
#1209
createMockCookies
is now correctly exported #595
createMockContext
output is now typed asKoa.Context
so consumers don't need to cast #453
createMockContext
supportsrawBody
as a field #453
- Fix setting custom state in mock context #467
- Start of Changelog