Harminder Virk
ae1d875fcf
fix: pluralization rule for the info word ( #10599 )
2024-12-13 16:09:09 +05:30
Shahed Nasser
54118941ef
docs-util: support @version tag ( #10591 )
2024-12-13 09:40:47 +02:00
Shahed Nasser
7f669b8c5f
chore: small tsdoc update to dml float property. ( #10576 )
2024-12-12 15:32:22 +02:00
Harminder Virk
e021c9258c
Feat/tax dml ( #10525 )
...
Fixes: FRMW-2842
There are zero breaking changes and the users will have to run the migrations
2024-12-12 09:35:11 +00:00
Frane Polić
472e92e400
feat(medusa, core-flows, fulfillment): calculate SO price endpoint ( #10532 )
...
**What**
- endpoint + flow for fetching calculated price for a shipping option
---
CLOSES CMRC-777
2024-12-12 08:03:56 +00:00
Harminder Virk
885c82ded6
feat: add support for float properties ( #10551 )
2024-12-12 10:34:39 +05:30
Carlos R. L. Rodrigues
0264294ab5
chore(payment): Payment module DML ( #10553 )
...
* chore(payment): Payment module DML
* rm log
* migration
2024-12-11 13:09:10 -03:00
Shahed Nasser
c3b2b4b438
chore: fixes to tsdocs + docs-util related to providers
2024-12-11 17:27:32 +02:00
Kasper Fabricius Kristensen
dc5e73af4d
fix(dashboard): Prevent fulfillment provider modal from re-rendering before form submission is complete ( #10547 )
...
Resolves CMRC-782
2024-12-11 13:10:58 +00:00
Stevche Radevski
3626118eef
feat(file-s3): Add support for IAM role authentication to file-s3 provider ( #10528 )
2024-12-11 18:30:37 +08:00
Harminder Virk
16d27ea6e4
feat: Migrate customer module to DML ( #10499 )
2024-12-11 14:37:27 +05:30
Frane Polić
d8a92dbb2d
feat(core-flows, dashboard, fulfillment, fulfillment-manual, utils, types): create shipping options with calculated prices ( #10495 )
...
**What**
- support creating SO with calculated price
- support updating SO for both types of pricing
- update `validateShippingOptionPricesStep` to handle both SO price_types
- add the `validateShippingOptionsForPriceCalculation` method to `FulfillementModule`
- add `canCalculate` and `calculatePrice` to fulfillment provider service service / interface / manual provider
- disable SO pricing edit on Admin if SO price type is calculated
---
CLOSES CMRC-776
2024-12-11 08:38:44 +00:00
Harminder Virk
fad85a9d29
refactor: migrate promotion module ( #10410 )
2024-12-11 13:12:39 +05:30
Avia-Code
777582ac43
feat: added Ukrainian translations ( #10536 )
...
This pull request adds support for the Ukraine language in the MedusaJS Admin Dashboard.
Full translation, and json schema tests passed successfully
2024-12-10 22:17:00 +00:00
Kasper Fabricius Kristensen
16192d9b30
fix(product): Only apply default order to products if user has not specified one ( #10535 )
2024-12-10 16:57:11 +00:00
Harminder Virk
4ad9ac1e5f
refactor: migration stock location module ( #10471 )
...
Fixes: FRMW-2831
2024-12-10 16:08:48 +00:00
olivermrbl
0e342b491d
chore: Version packages
2024-12-10 14:01:50 +01:00
Kasper Fabricius Kristensen
de81187929
fix(dashboard): Add FE validation for conditional prices ( #10523 )
...
* fix(dashboard): Add FE validation for conditional prices
* fix(dashboard): Add FE validation for conditional prices
* lint
* only set error on one field
* fix which field shows error
2024-12-10 11:57:10 +01:00
Carlos R. L. Rodrigues
69f4c4f4e0
chore(index): index dml ( #10482 )
...
What:
- DML - `autoincrement` property
- Index `type` option (GIN)
- Index module - DML
2024-12-10 10:55:12 +00:00
Oli Juhl
e5e5a34108
fix(core-flows): Refresh cart when items are deleted ( #10513 )
2024-12-09 19:21:32 +01:00
Kasper Fabricius Kristensen
c9a66b19af
fix(dashboard,ui): ConditionBlock styling ( #10481 )
...
**What**
- Resolves CMRC-58
- Also fixes some other issues, TS errors, Eslint warnings etc. in the Promotion domain. There are still several TS errors as the return types from `@medusajs/types` don't seem to match how they are used here, but I have left that as is, as I am not super familiar with the Promotion module.
2024-12-09 17:42:19 +00:00
Shahed Nasser
7c76ee24cb
chore: fix documentation links in TSDocs ( #10511 )
2024-12-09 18:52:02 +02:00
Riqwan Thamir
a04238a7f1
fix(payment): ensure that payment error is captured in logger ( #10506 )
...
what:
- when an error occurs upon retrieving a provider, log the original error through the logger
Helps https://github.com/medusajs/medusa/issues/10500 in debugging.
2024-12-09 16:44:32 +00:00
Riqwan Thamir
f8f5d57c7c
chore(types): add price types for shipping option endpoints ( #10509 )
...
what:
- adds missing price types for shipping options
2024-12-09 16:30:31 +00:00
Shahed Nasser
c8cb9b5c1a
fix(medusa): add query type argument to RequestWithContext ( #10469 )
2024-12-09 11:43:52 +02:00
Kasper Fabricius Kristensen
a1a1e0e789
feat(dashboard): SO cart item total rules UI ( #10386 )
2024-12-09 09:44:11 +01:00
Riqwan Thamir
9e797dc3d2
feat(core-flows, types): update shipping methods upon cart ops ( #10382 )
...
* feat(core-flows,framework,medusa): list shipping options pass in cart as pricing context
* chore: add test for shipping options returning free shipping
* feat(core-flows, types): update shipping methods upon cart ops
* chore: fix specs
* chore: fix bugs + specs
* Update update-shipping-methods.ts
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update mutations.ts
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* chore: undo refresh changes
* chore: merge with latest
* chore: address PR comments
* chore: fix conflicts
* chore: fix specs
* chore: address reviews
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-12-08 14:06:50 +01:00
Riqwan Thamir
f95c4e240c
fix(promotion, core-flows): updating cart with removed promotion removes adjustments ( #10489 )
2024-12-08 13:13:31 +01:00
Kasper Fabricius Kristensen
864f53011b
fix(dashboard,types): Fix TS errors ( #10457 )
...
**What**
- Fixes TS erros in dashboard project
- Updates incorrect HTTP Invite types
- Fixes incorrectly formatted dates in dashboard
2024-12-08 11:51:13 +00:00
Hirotaka Mizutani
55f5ce4690
feat: added Japanese translation ( #10379 )
...
* feat: add Japanese language support
* feat: add missing required keys for Japanese translation
2024-12-07 21:52:15 +08:00
Adrien de Peretti
0a077d48e1
chore(workflow-engine): Migrate to DML ( #10477 )
...
RESOLVES FRMW-2832
RESOLVES FRMW-2833
**What**
Migrate workflow engines to DML. Alos includes and update to the linkable generation which now takes into account id and primary keys to generate the linkable instead of only primary keys
2024-12-06 13:23:07 +00:00
Carlos R. L. Rodrigues
b0448a7c35
chore: locking-postgres provider dml ( #10478 )
2024-12-06 10:14:14 -03:00
Carlos R. L. Rodrigues
f65a3cc06d
fix(utils): avoid optional properties on graphql generated file ( #10476 )
...
FIXES: SUP-367
2024-12-06 12:16:02 +00:00
Harminder Virk
f3c91c908a
refactor: migrate store module to DML ( #10467 )
2024-12-06 17:38:15 +05:30
Kasper Fabricius Kristensen
7e04091b49
fix(dashboard): Prevent sending off empty string as handle for product category ( #10473 )
2024-12-06 12:33:18 +01:00
Shahed Nasser
597bffaab3
fix(framework): add missing query type argument in request types ( #10456 )
...
* fix(framework): add missing query type argument in request types
* fix types
2024-12-06 09:53:34 +02:00
Stevche Radevski
bed00e154d
feat(js-sdk): Make credentials configurable in SDK ( #10464 )
2024-12-06 15:39:35 +08:00
Carlos R. L. Rodrigues
90ae187e09
fix(workflows-sdk): name for when/then step ( #10459 )
2024-12-05 15:47:42 -03:00
Sebastian Rindom
7ff3f15d6d
fix(medusa): calculate sales channel availability correctly for variants ( #10448 )
...
* fix: calculate inventory quantities based on sales channel and locations
* Update packages/medusa/src/api/utils/middlewares/products/variant-inventory-quantity.ts
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* Update packages/medusa/src/api/utils/middlewares/products/variant-inventory-quantity.ts
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* Update packages/core/core-flows/src/product/steps/get-variant-availability.ts
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* fix: crk
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-12-05 19:29:47 +01:00
Adrien de Peretti
b160fd3cbf
fix(utils): DML one to one definition ( #10415 )
...
RESOLVES FRMW-2819
**What**
Fix one to one definition.
2024-12-05 16:55:57 +00:00
Harminder Virk
70d77ea22f
refactor: migrate api key module to DML ( #10450 )
...
Fixes: FRMW-2827
2024-12-05 16:37:54 +00:00
Adrien de Peretti
559fc6587a
fix(): Deleted default sales channel should be prevented ( #10193 )
...
FIXES CMRC-722
**What**
- It should not be allowed to delete a default sales channel
- The admin does not allow to delete a sales channel use as the default for the store
2024-12-05 16:19:45 +00:00
Kasper Fabricius Kristensen
2b455b15a6
fix(dashboard): Cleanup unsafe accesses to possibly undefined values in order timeline ( #10454 )
...
**What**
- Fixes an unsafe access to a field that may be undefined if an order was created through a custom workflow.
2024-12-05 15:51:35 +00:00
Salvador Girones Gil
a7ad809520
fix(core/js-sdk) Add the credentials field in the fetch() only if supported ( #10446 )
...
fixes https://github.com/medusajs/nextjs-starter-medusa/issues/421
The root cause of the issue is that credentials is not supported by CloudFlare workers.
2024-12-05 14:10:40 +00:00
Kasper Fabricius Kristensen
16663ec813
fix(dashboard,types): Add missing Metadata form for Region domain and fix payload types ( #10449 )
2024-12-05 14:03:29 +00:00
Harminder Virk
be15240909
refactor: migrate sales-channel to DML ( #10452 )
...
Fixes: FRMW-2830
2024-12-05 14:02:08 +00:00
Harminder Virk
0a16efa426
refactor: migrate cart module to DML ( #10385 )
...
FIXES: FRMW-2815
This PR has no breaking changes
2024-12-05 12:30:50 +00:00
Adrien de Peretti
90d7f4ff39
chore(utils): DML#hasOne allow mappedBy to not be defined ( #10442 )
...
RESOLVES FRMW-2826
**What**
We have many places where we define only one to one on one side of the relation. In that case it is a one to one that does not mapped by to the other side relation since it is not defined. This pr allow to create a one to one without mapped by. In order to remove breaking changes, in that case we ask the user to explicitly define the `mappedBy` as `undefined`
2024-12-05 09:31:38 +00:00
Harminder Virk
223bcff379
feat: add support for defining hasOne with FK ( #10441 )
2024-12-05 14:15:13 +05:30
olivermrbl
4723acd949
chore: Version packages
2024-12-04 18:36:57 +01:00