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

fix: allow passing recipient email when posting shipments #169

Merged

Conversation

rvanlaarhoven
Copy link
Contributor

@rvanlaarhoven rvanlaarhoven commented May 3, 2024

I noticed a breaking change in the PostShipment recipient type definition after upgrading from v3.0.0, where I wasn't allowed to pass an email field anymore. It looks like it got introduced in #135 where the recipient type got updated.
This pull request should fix that.

I also verified that both the email and phone fields should still be valid fields on the recipient object here; https://developer.myparcel.nl/api-reference/06.shipments.html#_6-b-4

@rvanlaarhoven rvanlaarhoven requested review from a team as code owners May 3, 2024 16:18
@myparcel-bot myparcel-bot bot force-pushed the fix/shipment-recipient-email branch from 158a0d5 to 103e09e Compare May 31, 2024 08:11
@myparcel-bot myparcel-bot bot force-pushed the fix/shipment-recipient-email branch from 103e09e to 77a76c6 Compare June 7, 2024 09:43
Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.19%. Comparing base (7af85c3) to head (4be61ac).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #169   +/-   ##
=======================================
  Coverage   78.19%   78.19%           
=======================================
  Files          74       74           
  Lines         665      665           
  Branches      125      125           
=======================================
  Hits          520      520           
  Misses         20       20           
  Partials      125      125           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@EdieLemoine EdieLemoine added this pull request to the merge queue Oct 3, 2024
Merged via the queue into myparcelnl:main with commit d999aeb Oct 3, 2024
6 checks passed
myparcel-bot bot added a commit that referenced this pull request Oct 3, 2024
## [4.1.1](v4.1.0...v4.1.1) (2024-10-03)

### 🐛 Bug Fixes

* allow passing recipient email when posting shipments ([#169](#169)) ([d999aeb](d999aeb)), closes [/developer.myparcel.nl/api-reference/06.shipments.html#_6-b-4](https://github.com/myparcelnl//developer.myparcel.nl/api-reference/06.shipments.html/issues/_6-b-4)
@myparcel-bot
Copy link
Contributor

myparcel-bot bot commented Oct 3, 2024

🎉 This PR is included in version 4.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@myparcel-bot myparcel-bot bot added the released label Oct 3, 2024
@rvanlaarhoven rvanlaarhoven deleted the fix/shipment-recipient-email branch October 3, 2024 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants