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

Bump @medusajs/framework from 2.1.1 to 2.1.2 in /packages #4

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 18, 2024

Bumps @medusajs/framework from 2.1.1 to 2.1.2.

Release notes

Sourced from @​medusajs/framework's releases.

v2.1.2

Highlights

Breaking changes

The input shape of two core workflows have changed:

  • updateLineItemInCartWorkflow
export interface UpdateLineItemInCartWorkflowInputDTO {
+   cart_id: string
+   item_id: string
-   cart: CartDTO
-   item: CartLineItemDTO
   update: Partial<UpdateLineItemDTO>
 }

  • addToCartWorkflow
export interface AddToCartWorkflowInputDTO {
+   cart_id: string
-   cart: CartDTO
   items: CreateCartCreateLineItemDTO[]
 }

Patches a regression with the Cart Module

[!WARNING]
Schema changes

In an earlier release, we migrated the data models of the Cart Module from MikroORM to our DML. As part of that migration, the tax rate column on line item tax lines and shipping method tax lines was mistakenly changed from a numeric to an integer. This led to issues with tax rates with decimal points, as they would get rounded to the nearest integer.

In this release, we are changing the rate column to real (or float() in our DML) to be consistent with how tax rates are generally represented across the codebase.

Required action

Run migrations to ensure your server functions as expected after upgrading:

npx medusa db:migrate
</tr></table> 

... (truncated)

Changelog

Sourced from @​medusajs/framework's changelog.

2.1.2

Patch Changes

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@medusajs/framework](https://github.com/medusajs/medusa/tree/HEAD/packages/core/framework) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/medusajs/medusa/releases)
- [Changelog](https://github.com/medusajs/medusa/blob/develop/packages/core/framework/CHANGELOG.md)
- [Commits](https://github.com/medusajs/medusa/commits/@medusajs/framework@2.1.2/packages/core/framework)

---
updated-dependencies:
- dependency-name: "@medusajs/framework"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 18, 2024
@stephane-segning stephane-segning merged commit 4e5e2c6 into main Dec 18, 2024
1 check passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/packages/medusajs/framework-2.1.2 branch December 18, 2024 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant