olivermrbl
a391a29aa8
chore: Version packages
2024-12-17 14:41:05 +01:00
olivermrbl
0e342b491d
chore: Version packages
2024-12-10 14:01:50 +01:00
olivermrbl
4723acd949
chore: Version packages
2024-12-04 18:36:57 +01:00
olivermrbl
e9c1b1127e
chore: Version packages
2024-11-27 15:40:07 +01:00
olivermrbl
ccf4e801f3
chore: Version packages
2024-11-25 12:14:36 +01:00
olivermrbl
4245312d8d
chore: Version packages
2024-11-25 09:57:00 +01:00
Adrien de Peretti
7aa990795c
chore(): Update module provider retrieval error message and type ( #10138 )
...
Partially RESOLVES FRMW-2802
**What**
Improve error message and change the error type when retrieving a provider from a local container fail
2024-11-19 11:19:19 +00:00
Adrien de Peretti
2822972e04
fix(product): wrong snapshot name and inexistent script ( #10119 )
...
* chore(product): Rename wrong snapshot name and add missing elements
* rm non existing command
* Create proud-pigs-deny.md
2024-11-15 15:53:41 +01:00
olivermrbl
d5605656ae
chore: Version packages
2024-11-12 10:10:07 +01:00
olivermrbl
ecece05b72
chore: Version packages
2024-11-11 10:58:20 +01:00
olivermrbl
8feb589659
chore: Release
2024-11-06 21:47:01 +01:00
olivermrbl
4ccab16336
chore: Version packages
2024-10-25 17:19:36 +02:00
olivermrbl
2fbebb60e3
chore: Release
2024-10-22 20:43:47 +02:00
Oli Juhl
c3418a2b93
chore: Prepare versions + changeset ( #9707 )
...
* chore: Prepare version + changeset
* chore: Bump dependencies
* chore: Update lock-file
2024-10-22 20:31:33 +02:00
Christian
a0b747e117
feat: allow html content for notifications ( #9613 )
...
* feat: allow passing provider specific metadata to notification module
* changed providerContext to snake cased
* rename provider_context to content
2024-10-18 11:36:22 +02:00
Harminder Virk
68560787e5
breaking: rename package names to be consistent and under @medusajs scope ( #9580 )
2024-10-16 22:28:09 +05:30
Harminder Virk
ad322f2760
breaking: remove deprecated commands and code ( #9521 )
...
* breaking: remove deprecated commands
* feat: remove deprecated code and usages
* refactor: remove more logic around default relations
* fix tests
* remove log
* fix: remove defaultFields usage
* fix: add back accidentally removed code
* refactor: implement feedback
* feat: add --cluster flag to the start command
* refactor: assign limit to defaultLimit property
* fix: breaking code because of removed check
---------
Co-authored-by: adrien2p <adrien.deperetti@gmail.com >
2024-10-14 20:11:34 +05:30
Adrien de Peretti
1d8939df3a
chore(): Allow to register modules through array ( #9522 )
2024-10-11 15:17:00 +02:00
Harminder Virk
48e00169d2
breaking: move shared HTTP utils to the framework ( #9402 )
...
Fixes: FRMW-2728, FRMW-2729
After this PR gets merged the following middleware will be exported from the `@medusajs/framework/http` import path.
- applyParamsAsFilters
- clearFiltersByKey
- applyDefaultFilters
- setContext
- getQueryConfig
- httpCompression
- maybeApplyLinkFilter
- refetchEntities
- unlessPath
- validateBody
- validateQuery
Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com >
2024-10-03 09:42:00 +00:00
Harminder Virk
2d1cf12dac
feature: Add MikroORM CLI wrapper to bypass hardcoded module system ( #9426 )
...
FIXES: FRMW-2727
MikroORM (with version 5.9) has [hardcoded the TypeScript module](https://github.com/mikro-orm/mikro-orm/blob/5.x/packages/core/src/utils/ConfigurationLoader.ts#L138-L139 ) system to `commonjs`, which makes it incompatible with the module system we are using, ie `Node16`.
So, in order to continue using the Mikro ORM CLI within our modules, we will have to monkey-patch the block of code responsible for configuring `ts-node`. However, the monkey-patching must be done before their CLI gets booted.
As a result of this, we have to create a wrapper CLI on top of Mikro ORM CLI that performs the following steps.
- Monkey-patch the relevant code
- Register Mikro ORM CLI as the second step.
Due do this, we will have to use this new wrapper CLI within the modules, which is exposed as `medusa-db`. Maybe, `medusa-db` is not a great name, so please send your suggestions.
2024-10-03 04:51:20 +00:00
Harminder Virk
48bea267dc
chore: perform dependencies scan and fix all dependencies ( #9296 )
2024-09-26 14:14:38 +05:30
Adrien de Peretti
e096feb7d5
chore: Update modules deps ( #9286 )
2024-09-26 11:14:35 +05:30
Adrien de Peretti
90d530565b
chore(): Remove default limit from the build query ( #9257 )
...
* chore(): Remove default limit from the build query
* rm take: null
* fix tests
* fix tests
* fix db usage
* fix typo
* rm unsused template arg
* fixes
* fixes
* fixes
* fixes
* fixes
* fixes
* fixes
2024-09-24 16:06:45 +02:00
Harminder Virk
9e711720dd
chore: upgrade moduleResolution to Node16 ( #9269 )
2024-09-24 17:19:20 +05:30
Adrien de Peretti
a734184538
chore(): Handle medusa service base methods events ( #9179 )
...
* chore(): Handle medusa service base methods events
* cleanup
* cleanup
* fix import
* fix decorator order
* fixes
* apply default event emition
* fix binding
* fix binding
* align tests with new event emition
2024-09-18 17:57:00 +02:00
Adrien de Peretti
81d3ae01c7
chore: Cleanup manager decorator usage ( #9181 )
2024-09-18 14:16:20 +02:00
Carlos R. L. Rodrigues
950cf9af79
chore: remove container registration name ( #9137 )
2024-09-16 06:22:24 -03:00
Carlos R. L. Rodrigues
fdd0543011
chore: joiner config entity property ( #9084 )
2024-09-11 06:25:25 -03:00
Adrien de Peretti
99461e24ab
feat(notification): Handle long running transaction and add status support ( #8900 )
...
RESOLVES FRMW-2110
RESOLVES FRMW-2095
**What**
- Fix notification module to not retain transactions open while sending notification
- Add support for notification status [success, pending, failure]
2024-09-01 08:01:47 +00:00
Adrien de Peretti
5bec38538a
chore: Treat internal event differently, primarely do not display info logs for those events ( #8767 )
...
* chore: Treat internal event differently, primarely do not display info log for those events
* revert doc
* add few tests
* only set internal option if present
* revert to previous condition
* start including feedback after discussion
* include feedback
* fix modules integration tests
* fix modules integration tests
* fix event bus local
2024-08-28 16:46:40 +02:00
Oli Juhl
2bacf86d3c
chore: Remove prepublishOnly script ( #8699 )
...
* wip
* wip
* verbose logging
* remove prepublish scripts
* chore: add back prepublish scripts
* wip
* remove prepublishOnly script
* chore: Clean up rest of build scripts
* add back build script
* feedback
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-08-27 10:31:38 +02:00
Carlos R. L. Rodrigues
3b4eea08ef
chore: peer dependency version ( #8771 )
...
* fix peer dependency version
* dotenv
* commands
* dotenv cli
2024-08-26 21:55:57 +02:00
Carlos R. L. Rodrigues
058378970a
chore: dependecies reorg ( #8535 )
2024-08-23 07:16:04 -03:00
Oli Juhl
bda3f68057
fix(notification): Properly disable notification providers ( #8607 )
2024-08-15 14:59:14 +02:00
Stevche Radevski
0d2e7befbd
feat: Add support for exporting products in backend ( #8214 )
...
CLOSES CC-221
CLOSES CC-223
CLOSES CC-224
2024-07-22 13:40:04 +00:00
Stevche Radevski
56f2ddc4b6
feat: Add notification endpoints for admin ( #8196 )
2024-07-19 22:00:53 +02:00
Carlos R. L. Rodrigues
de36e2b36e
chore: rename return flow ( #8050 )
2024-07-10 08:09:10 -03:00
Adrien de Peretti
b368251ca3
chore: Migrate modules to use the Module util ( #7964 )
...
**What**
Apply the `Module` util to each module to handle the export and provide the linkable configuration object.
- Most joiner config that does not have any special config are removed/cleaned up in favor of the autogenerated one or simpler one
- linkable are now available in all modules
- cleaned up the dependencies of the modules
FIXES CORE-2410
2024-07-05 13:00:40 +00:00
Adrien de Peretti
f4dd390ab1
chore: Apply defineMikroOrmCliConfig ( #7975 )
...
**What**
Ensure all module rely on the same config for the dev db
FIXES CORE-2493
2024-07-05 11:10:03 +00:00
Riqwan Thamir
276c8b925f
chore: fix notification loader error ( #7969 )
2024-07-05 12:05:18 +02:00
Adrien de Peretti
cb36655b63
chore: Update defineMikroOrmCliConfig api ( #7940 )
...
* chore: Update defineMikroOrmCliConfig api
* update usage
2024-07-04 12:58:43 +02:00
Stevche Radevski
012a624ee4
feat: Flatten the provider config for all modules ( #7930 )
2024-07-03 16:57:12 +02:00
Adrien de Peretti
617a5972bf
feat: refactor module joiner config and links generation ( #7859 )
...
* feat: refactor module joiner config and links generation
* improve typings
* WIP
* WIP
* WIP
* rename type file
* create link config
* finish typings and add utils
* improve links
* WIP typings
* finalize ExportModule utils
* finalize ExportModule utils
* fix: dml tests
* improve and fixes
* simplify typings with id changes
* add toJSON
* multiple fixes and entity builder fixes
* fix currency searchable
* fix tests
* medusa service refactoring
* cleanup
* cleanup and fixes
* make module name optional
* renaming
---------
Co-authored-by: Harminder Virk <virk.officials@gmail.com >
2024-07-03 13:12:49 +02:00
Harminder Virk
074e4a888e
Mark keys as primary with explicit method call ( #7900 )
2024-07-02 13:27:21 +05:30
Stevche Radevski
9daec5d7ac
chore: Migrate notification module to DML ( #7835 )
2024-07-01 09:17:32 +00:00
Carlos R. L. Rodrigues
61758f374b
chore(medusa): return endpoints ( #7823 )
2024-06-25 13:53:18 +00:00
Adrien de Peretti
937a632eb6
chore: make module loaders DML aware and auto generate joiner config ( #7781 )
...
* chore: make module loaders DML aware and auto generate joiner config
* fixes and cleanup
* improve dml entity check
* add unit tests on load resources
* cleanup deps
* cleanup deps
* cleanup Modules
* finalise
* fix modules-sdk jest
* fix modules-sdk jest
* fix import
* fix import
2024-06-20 18:18:07 +02:00
Riqwan Thamir
03924a4ff6
chore: move to swc/jest ( #7739 )
...
* chore: move to swc
* chore: fix tax rate tests
* chore: undo failed test
* chore: fix unit tests script
* chore: use node 20
* Update scripts/run-workspace-unit-tests-in-chunks.sh
2024-06-20 12:59:33 +02:00
Adrien de Peretti
48963f55ef
Chore/rm main entity concept ( #7709 )
...
**What**
Update the `MedusaService` class, factory and types to remove the concept of main modules. The idea being that all method will be explicitly named and suffixes to represent the object you are trying to manipulate.
This pr also includes various fixes in different modules
Co-authored-by: Stevche Radevski <4820812+sradevski@users.noreply.github.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-06-19 13:02:16 +00:00
Riqwan Thamir
3d33f06e77
chore: upgrade jest everywhere ( #7703 )
2024-06-14 07:35:30 +02:00