Commit Graph

7092 Commits

Author SHA1 Message Date
olivermrbl
eea0652cfa chore: Release 2024-11-25 12:16:36 +01:00
olivermrbl
ccf4e801f3 chore: Version packages 2024-11-25 12:14:36 +01:00
Kasper Fabricius Kristensen
c28d0db164 fix(product, dashboard): manual cleanup of uploaded images (#10254)
* manual cleanup

* add changeset

* remove thumbnail on deletion
2024-11-25 11:44:22 +01:00
olivermrbl
df8369028e chore: Release 2024-11-25 09:59:47 +01:00
olivermrbl
4245312d8d chore: Version packages 2024-11-25 09:57:00 +01:00
Oli Juhl
29ce10b09e fix(product): Update images before adding not null constraint (#10248) 2024-11-25 08:39:43 +00:00
Kasper Fabricius Kristensen
1659c9be5d feat(product,dashboard): Allow re-ordering images (#10187)
* migration

* fix snapshot

* primarykey

* init work on dnd

* progress

* dnd

* undo changes

* undo changes

* undo changes

* undo changes

* fix firefox issue

* lint

* lint

* lint

* add changeset

* undo changes to product module

* set activator node

* init work on service layer

* alternative

* switch to OneToMany

* add tests

* progress

* update migration

* update approach and remove all references to images in product.ts tests

* handle delete images on empty array

* fix config and order type

* update changeset

* rm flag

* export type and fix type in test

* fix type

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-11-25 09:03:10 +01:00
Frane Polić
b12408dbd8 feat(medusa,core-flows,types,js-sdk): decline / cancel order transfer (#10202)
**What**
- **core-flows**: 
  - cancel transfer
  - decline transfer
- **API**:
  - admin cancel transfer
  - store decline transfer 
  - store cancel transfer
- **js-sdk**:
  - add methods for store endpoints 

---

CLOSES CMRC-726
2024-11-25 07:44:31 +00:00
Kasper Fabricius Kristensen
96b8963a6c fix(admin-vite-plugin): Move @babel/types to dependencies from devDependencies to make it compatible with Yarn PnP (#10236) 2024-11-22 20:49:35 +00:00
Shahed Nasser
78e68a0bb6 docs: fix base path not added to hash links (#10235) 2024-11-22 18:42:49 +02:00
Dos
97ef3a5337 fix: correct ID used for refetching after updating customer (#10231)
What
   correct ID used for refetching after updating customer
2024-11-22 14:58:25 +00:00
Kasper Fabricius Kristensen
d6ff8d7aa1 fix(js-sdk): Preserve path in baseUrl (#10222)
**What**
- Currently the `js-sdk` will discard the path in the `baseUrl` and only use the `origin`. As an example passing a `baseUrl` of `"http://localhost:9000/custom/path"`, will result in only `"http://localhost:9000"` being used.
- This PR preserves the path, so using `sdk.admin.products()` will make a request to `"http://localhost:9000/custom/path/admin/products`. For an explanation of when this might be useful see this issue: https://github.com/medusajs/medusa/issues/10190#issuecomment-2492974845

Resolves CMRC-740
2024-11-22 14:52:54 +00:00
Alan Martinez
60b13c191e Support spanish translation (#10213)
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
2024-11-22 13:18:45 +00:00
Shahed Nasser
b558800547 docs: revise events and subscribers (#10227) 2024-11-22 14:39:29 +02:00
Shahed Nasser
4810b1c55b chore: fix cURL example in create payment collection route (#10219)
* chore: fix cURL example in create payment collection route

* regenerate OAS
2024-11-22 14:22:50 +02:00
Shahed Nasser
8e10ada2d0 docs: revise loaders documentation (#10224) 2024-11-22 13:20:52 +02:00
Adrien de Peretti
b964b45fb2 fix(stripe): Wrong container type (#10223)
RESOLVES SUP-238

**What**

wrong container type withing payment providers
2024-11-22 10:57:41 +00:00
Adrien de Peretti
9d5b0412ec fix(types): Graph types fixes (#10220)
RESOLVES TRI-599

**What**
- Fix missing filter type in the graph query API
2024-11-22 10:25:31 +00:00
Oli Juhl
1efe4e9e33 fix: Update js-sdk with token (#10211) 2024-11-22 09:32:48 +01:00
Frane Polić
44265a928d feat(dashboard): transfer order admin (#10189)
**What**
- request order transfer from order details page
- timeline events

---

CLOSES CMRC-706
CLOSES CMRC-707
2024-11-22 08:29:12 +00:00
Pedro Tigre
58f24a373d docs: fix typo in page.mdx (#10210)
Fix typo
2024-11-22 09:47:44 +02:00
Riqwan Thamir
6486f2bcce feat(core-flows,medusa): remove cart customer validation + rename workflow (#10207)
what:

- removes cart customer takeover validation
- change workflow from update to transfer
2024-11-21 16:57:03 +00:00
Shahed Nasser
5f9029c033 docs: revise commerce modules (#10209) 2024-11-21 18:45:39 +02:00
Shahed Nasser
af374f85d1 docs: revise modules (#10204) 2024-11-21 18:37:59 +02:00
Shahed Nasser
c99b03bcc2 docs: change logo (#10208)
* docs: changed logo

* remove unused component
2024-11-21 18:15:32 +02:00
Shahed Nasser
ab5f2b5e11 docs: update og images (#10206)
* docs: update og images

* fixes
2024-11-21 17:33:50 +02:00
Shahed Nasser
19c6c4af15 docs: fix og image for sanity guide (#10205) 2024-11-21 17:02:49 +02:00
Mohsen
9e5e4c9f25 Set proper name for the steps in the schedule-task page (#9716)
Change `step` to `steps` for the batch workflows.
2024-11-21 14:14:57 +00:00
mStenz
25d1dfdea5 Fix typo in db error message (#9612) 2024-11-21 13:48:22 +00:00
420coupe
da7a078a7d update CreateOrderFulfillmentWorkflowInput to include optional requires_shipping boolean (#9479)
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-11-21 14:22:54 +01:00
Riqwan Thamir
2a8811edd9 feat(medusa): skip draft orders on order list (#10195) 2024-11-21 14:09:23 +01:00
Riqwan Thamir
d91da7b418 feat(medusa): enable price list prices for product endpoints (#10197) 2024-11-21 14:08:42 +01:00
Shahed Nasser
35afa04a93 docs: migrate Kapa (#10198)
* docs: migrate kapa

* remove unused dependency

* fix isbrowser
2024-11-21 15:05:50 +02:00
Shahed Nasser
f541e21c62 docs: revise medusa container chapter (#10192) 2024-11-21 11:22:15 +02:00
Mukitul Islam Mukit
3a3091f3f8 docs: fix fulfillment module container name (#10111)
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-11-21 10:55:28 +02:00
Carlos R. L. Rodrigues
aeb5b43692 feat(workflows-sdk): add response to permanent failure (#10177) 2024-11-20 17:29:37 -03:00
Carlos R. L. Rodrigues
42c08fa8e0 fix(framework): handle deprecated Dirent path (#10179)
What:

- `Dirent` class from `NodeJS` has different properties in different versions, causing issues in our loaders.
- Util `readDirRecursive` was introduced, avoiding old node versions to break

FIXES: https://github.com/medusajs/medusa/issues/8419
2024-11-20 20:25:48 +00:00
Shahed Nasser
ec1ab4db87 docs: add default value if PAK environment variable isn't set (#10185) 2024-11-20 19:06:08 +02:00
Shahed Nasser
765f99e04b docs: fix font smoothing across projects (#10183) 2024-11-20 18:24:58 +02:00
Shahed Nasser
bef89e43c4 docs: revise intro pages (#10182) 2024-11-20 17:36:02 +02:00
Shahed Nasser
544f5d4c59 chore: optimize sanity opengraph image (#10181) 2024-11-20 17:08:05 +02:00
Shahed Nasser
a429a267f1 docs: add Sanity integration guide (#10152)
* docs: add integrate to Sanity guide

* address PR feedback

* added more screenshots

* edit introduction

* added meta images + changes
2024-11-20 16:17:33 +02:00
Riqwan Thamir
6680f69588 fix: move transfer cart under cart (#10175)
made a whoopsie!
2024-11-20 11:12:49 +00:00
Riqwan Thamir
1185be31c4 fix: incorrect changeset breaks preview builds (#10173) 2024-11-20 09:41:40 +00:00
Shahed Nasser
3fee17747f fix(types): fix AdminBatchProductRequest to have product ID (#10168) 2024-11-20 11:10:26 +02:00
Riqwan Thamir
3c4a9b85d8 chore(medusa): remove unfinished update order endpoint (#10169) 2024-11-20 08:44:49 +00:00
Oli Juhl
8091c5f5bc fix: Remove undefined from events in update (#10170) 2024-11-20 09:43:51 +01:00
Harminder Virk
7390c14c20 feat: add support for making relationships searchable (#10172)
Closes: FRMW-2784
2024-11-20 08:39:44 +00:00
Riqwan Thamir
495c381709 feat(types, js-sdk): add updateCustomer to js-sdk (#10158)
what:

- adds new `POST /store/cart/:id/customer` endpoint to js sdk
2024-11-19 18:32:49 +00:00
Frane Polić
79088c8a3b feat(medusa): request order transfer storefront API (#10156)
**What**
- add an endpoint for order transfer requests from the storefront

---

CLOSES CMRC-702
2024-11-19 17:42:25 +00:00