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

feat: Remove fields from payment models that were leftovers from v1 #10987

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

sradevski
Copy link
Member

BREAKING:

If someone was using region_id from the payment collection entity, or cart_id, order_id, customer_id from the payment entity, they will no longer exist. Similarly, any code that was passing region_Id to createPaymentCollections would be recommended to remove the field.

Copy link

vercel bot commented Jan 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2025 8:29am
6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Jan 16, 2025 8:29am
api-reference-v2 ⬜️ Ignored (Inspect) Visit Preview Jan 16, 2025 8:29am
docs-ui ⬜️ Ignored (Inspect) Visit Preview Jan 16, 2025 8:29am
docs-v2 ⬜️ Ignored (Inspect) Visit Preview Jan 16, 2025 8:29am
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Jan 16, 2025 8:29am
resources-docs ⬜️ Ignored (Inspect) Visit Preview Jan 16, 2025 8:29am

Copy link

changeset-bot bot commented Jan 16, 2025

⚠️ No Changeset found

Latest commit: 657d580

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

@sradevski
Copy link
Member Author

@shahednasser I wasn't sure which parts of the docs need to be removed as well, I can do it if you point the places or you can just push here the necessary changes (or just open a new PR)

@shahednasser
Copy link
Member

@sradevski no worries, I'll open another PR to make the changes (We don't want the changes to land before this is released) 👍🏻

@sradevski sradevski merged commit da8e173 into develop Jan 16, 2025
23 checks passed
@sradevski sradevski deleted the feat/remove-payment-fields-break-abstraction branch January 16, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants