Oliver Windall Juhl
654a546223
chore: Bump Typeorm ( #3778 )
2023-04-11 18:43:40 +02:00
Oliver Windall Juhl
085fedb1f7
chore(medusa): Upgrade ioredis-mock ( #3704 )
...
* chore(medusa): Upgrade ioredis-mock
* Create .changeset/old-spoons-bow.md
* chore: Increas jest timeout
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-09 16:10:04 +02:00
Patrick
0b3c6fde30
feat(codegen:test): coverage x-expanded-relation + x-codegen.queryParams ( #3675 )
...
## What
Adding tests to cover `x-expanded-relation` and `x-codegen.queryParams` handling
## Why
The logic that processes these OAS extension can be complex to reason with. Therefore, we should have automated tests to prevent unintentional regression.
## How
* Focus on `getModels` method and its sub-routines.
* Add coverage to getOperation codegen parsing.
* Add coverage to model and operation spec property.
2023-04-05 14:01:29 +00:00
olivermrbl
66c59d54ff
chore(release): v1.8.0
2023-04-04 18:35:27 +02:00
olivermrbl
f0d37b4d2d
chore(release): v1.8.0-rc.8
2023-04-04 17:37:13 +02:00
olivermrbl
7a3194c313
chore(release): v1.8.0-rc.7
2023-04-04 16:07:48 +02:00
olivermrbl
bb9df09e37
chore(release): v1.8.0-rc.6
2023-04-03 18:05:12 +02:00
Oliver Windall Juhl
a0c919a8d0
chore(medusa-cli): Add missing utils dep ( #3688 )
2023-04-03 17:18:38 +02:00
olivermrbl
6f85a3d366
chore(release): v1.8.0-rc.5
2023-03-31 13:27:14 +02:00
Kasper Fabricius Kristensen
4342ac884b
feat(admin-ui, medusa): admin UI metadata ( #3644 )
2023-03-31 12:07:24 +02:00
olivermrbl
89d4d84666
chore(release): v1.8.0-rc.4
2023-03-30 17:12:37 +02:00
olivermrbl
15a43c1cc0
chore(release): v1.8.0-rc.3
2023-03-29 13:42:11 +02:00
Kasper Fabricius Kristensen
cd54c7dca9
fix(medusa-cli): add semver dependency ( #3603 )
...
* add direct dependency on semver to CLI
* add changeset
2023-03-29 08:48:39 +02:00
olivermrbl
8ddb3952c0
chore(release): v1.8.0-rc.2
2023-03-28 21:04:57 +02:00
olivermrbl
990c79d2d5
chore(release): v1.8.0-rc.1
2023-03-28 19:32:36 +02:00
Adrien de Peretti
b9c6c3d059
fix(medusa-payment-paypal): Missing typescript dev dependency ( #3609 )
2023-03-28 19:20:39 +02:00
Adrien de Peretti
5307408894
feat(medusa-payment-paypal): Migrate to the new payment processor API ( #3414 )
...
* feat(medusa-payment-paypal): Migrate to the new payment processor API
* WIP
* WIP
* WIP unit tests
* WIP
* unit tests
* fix package.json
* yarn
* cleanup
* address feedback 1/2
* Start to implement a new Paypal SDK
* cleanup
* finalise sdk
* cleanup
* fix push missing file
* rename sdk methods
* unit test the http client
* WIP
* fix http client
* Create .changeset/empty-melons-eat.md
* refactor tests
* fix quote
* fix options
* cleanup
* do not retry auth
* WIP
* retry mechanism max attempts
* use both old and new options
* fix capture
* remove totals fields
* add missing method
* cleanup
* fix current tests
* authorize should update the data with the fresh order
* remove comments
* fix tests
* Update packages/medusa-payment-paypal/src/core/paypal-http-client.ts
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
* fix unit tests
* update changeset
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-03-28 13:49:09 +02:00
Adrien de Peretti
4a7bdc917a
fix(event-bus-local): Error handling ( #3575 )
...
**What**
The error handling was applied on the emit, which always succeed. On the other hand, the `on` which calls the handler, was not handling any errors and therefore crashed the server
2023-03-24 13:49:29 +00:00
Kasper Fabricius Kristensen
d7ac88a3a5
fix(admin-ui): Explicitly add add moment dependency ( #3560 )
2023-03-23 15:58:47 +01:00
Carlos R. L. Rodrigues
4e9d257d3b
Chore(medusa,utils,types,inventory,stock-location): remove core dependency modules ( #3531 )
2023-03-23 08:07:32 -03:00
Oliver Windall Juhl
74bc4b16a0
feat(medusa-plugin-algolia): Revamp Algolia search plugin ( #3510 )
2023-03-22 12:55:26 +01:00
Oliver Windall Juhl
ef5ef9f5a2
feat(medusa,event-bus-local,event-bus-redis): Event Bus modules ( #2599 )
2023-03-22 10:26:21 +01:00
Rares Stefan
a8423b8acc
fix(medusa, admin-ui): Fix edit order variant stock ( #3512 )
...
The stock column when adding variants in an order edit would just look at `inventory_quantity`, location-unaware. Updated this to now attempt to request location-aware stock information and updated the column to use this information and show total stock across how many locations, and a tooltip showing per-location stock.

Resolves CORE-1250
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
2023-03-20 13:16:49 +00:00
Carlos R. L. Rodrigues
aa690beed7
feat(medusa): Modules initializer ( #3352 )
2023-03-17 12:18:52 -03:00
Kasper Fabricius Kristensen
8a7421db5b
feat(admin): Improve DX for deploying admin externally ( #3418 )
...
* init deploy command
* add include flag
* add 'shortcut' flag
* add dev command, fix var replacement, change default behaviour
* cleanup params of build command
* fix defaults when using the plugin to serve admin
* add changeset
* fix globals
* update README
* throw error on no build found
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-17 13:18:51 +01:00
Kasper Fabricius Kristensen
9ad15d3a88
feat(admin-ui): Implements redesign of public pages ( #3504 )
...
* redesign public pages
* rm build files
* fix size of button
2023-03-17 10:17:47 +01:00
Oliver Windall Juhl
7e17e0ddc2
feat(medusa-plugin-meilisearch): Update + improve Meilisearch plugin ( #3377 )
...
* feat(medusa-plugin-meilisearch): Upgrade meilisearch deps + migrate plugin to TS
* fix version
* Remove transaction base service from search service
* Create .changeset/strange-mails-pump.md
* Backward compatibility
* Address PR feedback
* Fix folder structure
* Update readme
* Move types
* fix deps
* Change version in changeset
---------
Co-authored-by: adrien2p <adrien.deperetti@gmail.com >
2023-03-16 16:15:29 +01:00
Carlos R. L. Rodrigues
77d46220c2
Feat(modules-sdk,inventory,stock-location): modules isolated connection ( #3329 )
...
* feat: scoped container for modules
2023-03-15 12:09:45 -03:00
olivermrbl
24604f1b71
chore: Merge conflicts with master
2023-03-14 11:43:31 +01:00
olivermrbl
77fd361ce8
chore(release): v1.7.13
2023-03-13 19:09:08 +01:00
Patrick
55febef7f1
feat(types): package scaffolding for generated types ( #3452 )
...
## What
Generated client types package based on the API's OpenApi Spec.
## Why
This package aims at replacing the need to import types directly from the core `@medusajs/medusa` package which can lead to side effects like importing backend dependencies into the client's realm.
## How
* The package contains a script that is invoked during the build step.
* The script will use the `medusa-oas oas --type=combined` cli to generate a combined oas file.
* Then, `medusa-oas client --component=types` uses the oas file to generate the types based on the OAS schema definitions. The result is outputted into `/src/lib`
* `prettier` is run on the `/src/lib` directory to ensure that the generated code follows the monorepo coding style.
* Finally, with `"emitDeclarationOnly": true`, `tsc` compiles the src directory to only output types.
Until we update our CI pipeline, we will not commit the content `/src/lib`.
## Test
* Run `yarn install`
* Run `yarn build`
* Expect `packages/generated/client-types/dist/` to contain types generated from the OAS defined by `@medusajs/medusa`
2023-03-13 12:23:26 +00:00
olivermrbl
6d928628a9
chore: Fix merge conflicts with master
2023-03-12 12:53:07 +01:00
Frane Polić
f97b3d7cce
feat(medusa): Cache modules ( #3187 )
2023-03-10 15:09:26 +01:00
Carlos R. L. Rodrigues
54dcc1871c
feat(medusa,medusa-core-utils): graceful shutdown server ( #3408 )
...
* feat: graceful shutdown
2023-03-10 09:11:45 -03:00
Patrick
966aea65c2
feat(oas-cli): combine admin + store + custom OAS ( #3411 )
2023-03-10 10:37:59 +01:00
olivermrbl
e5f0a60090
chore: Update yarn.lock
2023-03-09 10:37:27 +01:00
Kasper Fabricius Kristensen
cf51ad0d46
fix(admin-ui): move dependencies from devDependencies ( #3405 )
2023-03-07 14:43:08 +01:00
Riqwan Thamir
b5662d0c6a
feat(admin-ui): adds category ui for tree/list, edit, create, delete ( #3399 )
...
* chore: adds category ui for tree/list, edit, create, delete
* fix: address feedback
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: fPolic <frane@medusajs.com >
2023-03-07 13:29:22 +01:00
Patrick
240d0ea7b8
fix(ci,oas) move oas ci script to a package under the oas workspace ( #3391 )
...
* feat(ci,oas) run oas ci on all PRs
* fix(ci,oas) move oas ci script to a package under the oas workspace
* chore(changeset): patch
2023-03-07 10:33:12 +01:00
Philip Korsholm
5d809a7a39
fix(medusa-payment-stripe): Add typescript to dev deps ( #3371 )
...
* add typescript dev devepency
* add changeset
* update yarn.lock
2023-03-04 15:37:32 +01:00
olivermrbl
ad99a8bd24
chore: Fix merge conflicts with master
2023-03-03 12:01:35 +01:00
Kasper Fabricius Kristensen
40de54b010
feat(admin,admin-ui,medusa): Add Medusa Admin plugin ( #3334 )
2023-03-03 10:09:16 +01:00
olivermrbl
3718f88c69
chore(release): v1.7.11
2023-03-02 12:02:35 +01:00
olivermrbl
f5ed47053c
fix: Merge conflicts with master
2023-03-01 18:58:59 +01:00
olivermrbl
6e3b339b22
chore(release): v1.7.10
2023-03-01 18:55:21 +01:00
Adrien de Peretti
589d1c09b0
feat(medusa-payment-stripe): Stripe PaymentProcessor implementation ( #3257 )
2023-02-28 18:44:24 +01:00
olivermrbl
7738525401
fix: Merge conflicts with master
2023-02-28 11:24:46 +01:00
olivermrbl
83d70f7965
chore(release): v1.7.9
2023-02-28 08:57:57 +01:00
Carlos R. L. Rodrigues
ad7f56506f
Feat(medusa,modules-sdk): Modules SDK package ( #3294 )
2023-02-23 13:09:35 -03:00
olivermrbl
e1b92e9b04
fix: Merge conflicts with master
2023-02-22 17:38:49 +01:00