Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare release 2.43.0 #394

Merged
merged 1 commit into from
Dec 15, 2023
Merged

Prepare release 2.43.0 #394

merged 1 commit into from
Dec 15, 2023

Conversation

klippx
Copy link
Collaborator

@klippx klippx commented Dec 15, 2023

2.43.0

Minor Changes

  • 6e94f97: Bundle with ESM exports.

    • The recommended way to use mappersmith in ESM projects is to do import { forge } from 'mappersmith' rather than the old import forge from 'mappersmith'. The reason is because test runners like jest and vitest might get confused when mixing named/default exports together with ESM, even though tsc and node has no problems with it.
    • A similar recommendation change goes for importing middleware: do import { EncodeJsonMiddleware } from 'mappersmith/middleware' (note the mappersmith/middleware folder) rather than deep import import EncodeJsonMiddleware from 'mappersmith/middleware/encode-json'. We still support the old import, but it will be deprecated in the future.
    • The same recommendation goes for importing gateway: do import { FetchGateway } from 'mappersmith/gateway' (note the mappersmith/gateway folder) rather than deep import import FetchGateway from 'mappersmith/gateway/fetch'. We still support the old import, but it will be deprecated in the future.
  • 9da82f6: Fixes memory leak when using http(s) agent with keep-alive

Patch Changes

  • e01114f: Fixed missing type declaration for unusedMocks

Copy link

changeset-bot bot commented Dec 15, 2023

⚠️ No Changeset found

Latest commit: 6e91472

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@klippx klippx merged commit d4debf8 into master Dec 15, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant