resend / resend-node-example

This example shows how to use Resend with Node.js
MIT License
42 stars 14 forks source link

fix(deps): update dependency resend to v3 #15

Closed renovate[bot] closed 9 months ago

renovate[bot] commented 10 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
resend ^0.17.0 -> ^3.0.0 age adoption passing confidence

Release Notes

resendlabs/resend-node (resend) ### [`v3.2.0`](https://togithub.com/resend/resend-node/releases/tag/v3.2.0) [Compare Source](https://togithub.com/resendlabs/resend-node/compare/v3.1.0...v3.2.0) #### Minor - Add update domain method [https://github.com/resend/resend-node/pull/320](https://togithub.com/resend/resend-node/pull/320) #### Patch - Update buildjet/cache action to v4 [#​314](https://togithub.com/resendlabs/resend-node/issues/314) - Update dependency [@​types/react](https://togithub.com/types/react) to v18.2.55 [#​315](https://togithub.com/resendlabs/resend-node/issues/315) - Update dependency [@​types/jest](https://togithub.com/types/jest) to v29.5.12 [#​316](https://togithub.com/resendlabs/resend-node/issues/316) - Update yarn to v3.8.0 [#​317](https://togithub.com/resendlabs/resend-node/issues/317) - Update dependency prettier to v3.2.5 [#​318](https://togithub.com/resendlabs/resend-node/issues/318) ### [`v3.1.0`](https://togithub.com/resend/resend-node/releases/tag/v3.1.0) [Compare Source](https://togithub.com/resendlabs/resend-node/compare/v3.0.0...v3.1.0) #### Major #### Minor #### Patch - Update dependency `@react-email/render` to `v0.0.12` [#​304](https://togithub.com/resendlabs/resend-node/issues/304) ### [`v3.0.0`](https://togithub.com/resend/resend-node/releases/tag/v3.0.0) [Compare Source](https://togithub.com/resendlabs/resend-node/compare/v2.1.0...v3.0.0) #### Major - fix: Types and changed **contacts** payload [#​296](https://togithub.com/resendlabs/resend-node/issues/296) - `first_name` -> `firstName` - `last_name` -> `lastName` - `audienceId` -> `audienceId` #### Minor - Add delete contact by email [#​291](https://togithub.com/resendlabs/resend-node/issues/291) #### Patch - Update dependency `ts-node` to `v10.9.7` [#​293](https://togithub.com/resendlabs/resend-node/issues/293) - Update `typescript-eslint monorepo` to `v6.19.0` [#​295](https://togithub.com/resendlabs/resend-node/issues/295) - Update dependency `@react-email/render` to `v0.0.11` [#​297](https://togithub.com/resendlabs/resend-node/issues/297) - Fix contact payload [#​298](https://togithub.com/resendlabs/resend-node/issues/298) - Fix response types [#​299](https://togithub.com/resendlabs/resend-node/issues/299) - Update dependency `prettier` to `v3.2.4` [#​300](https://togithub.com/resendlabs/resend-node/issues/300) ### [`v2.1.0`](https://togithub.com/resend/resend-node/releases/tag/v2.1.0) [Compare Source](https://togithub.com/resendlabs/resend-node/compare/v2.0.0...v2.1.0) #### Minor - feat: Add audiences [#​267](https://togithub.com/resendlabs/resend-node/issues/267) - feat: Add contacts methods [#​268](https://togithub.com/resendlabs/resend-node/issues/268) - feat: Add update contact [#​280](https://togithub.com/resendlabs/resend-node/issues/280) #### Patch - fix: Undefined process [#​281](https://togithub.com/resendlabs/resend-node/issues/281) - fix: Package build [#​259](https://togithub.com/resendlabs/resend-node/issues/259) ### [`v2.0.0`](https://togithub.com/resend/resend-node/releases/tag/v2.0.0) [Compare Source](https://togithub.com/resendlabs/resend-node/compare/v1.1.0...v2.0.0) ##### Major - Fix Request types [https://github.com/resendlabs/resend-node/pull/250](https://togithub.com/resendlabs/resend-node/pull/250) ##### Before ```ts const data = resend.emails.send({ ... }) return data.id ``` ##### After ```ts const { data, error } = resend.emails.send({ ... }) if (error || !data) { throw new Error(error.message) } return data.id ``` ##### Minor - Add batch methods [https://github.com/resendlabs/resend-node/pull/199](https://togithub.com/resendlabs/resend-node/pull/199) ##### Patch - Upgrade `render` [https://github.com/resendlabs/resend-node/pull/252](https://togithub.com/resendlabs/resend-node/pull/252) ### [`v1.1.0`](https://togithub.com/resend/resend-node/releases/tag/v1.1.0) [Compare Source](https://togithub.com/resendlabs/resend-node/compare/v1.0.0...v1.1.0) - Drop `node-fetch` in favor of native `fetch` for Node ### [`v1.0.0`](https://togithub.com/resend/resend-node/releases/tag/v1.0.0) [Compare Source](https://togithub.com/resendlabs/resend-node/compare/fd039a045a92e33c3bbc452ad3ad90d68d3581e8...v1.0.0) #### Major - Replace `axios` with `node-fetch` [#​149](https://togithub.com/resendlabs/resend-node/issues/149) #### Minor - Add `JSdoc` for create email types [#​132](https://togithub.com/resendlabs/resend-node/issues/132) - Add missing fields to the `GetEmailResponse` type [#​146](https://togithub.com/resendlabs/resend-node/issues/146) #### Patch - Use eslint [#​159](https://togithub.com/resendlabs/resend-node/issues/159) - Add GitHub actions [#​158](https://togithub.com/resendlabs/resend-node/issues/158) - Add node engine [#​157](https://togithub.com/resendlabs/resend-node/issues/157) - Dependabot ecosystem [#​166](https://togithub.com/resendlabs/resend-node/issues/166) - Remove `tslint` file [#​170](https://togithub.com/resendlabs/resend-node/issues/170) - Update `prettier` to v3.0.1 [#​148](https://togithub.com/resendlabs/resend-node/issues/148) - Update `jest` to v29.6.2 [#​145](https://togithub.com/resendlabs/resend-node/issues/145) - Update `@types/node` to v18.17.5 [#​120](https://togithub.com/resendlabs/resend-node/issues/120) - Update `@types/react` to v18.2.20 [#​113](https://togithub.com/resendlabs/resend-node/issues/113) - Update `prettier` to v3.0.2 [#​160](https://togithub.com/resendlabs/resend-node/issues/160) - Update `node-fetch` to v2.6.12 [#​161](https://togithub.com/resendlabs/resend-node/issues/161) - Update `node.js` to v18.17.1 [#​114](https://togithub.com/resendlabs/resend-node/issues/114)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.