olivermrbl
|
66c59d54ff
|
chore(release): v1.8.0
|
2023-04-04 18:35:27 +02:00 |
|
olivermrbl
|
bb9df09e37
|
chore(release): v1.8.0-rc.6
|
2023-04-03 18:05:12 +02:00 |
|
Carlos R. L. Rodrigues
|
bd12a95083
|
chore: Initialize method for modules (#3649)
What:
- Export initialize methods for all modules to be used as a package.
- Export `runMigrations` and `revertMigration` on modules that DB migrations are available
```typescript
import {
initialize as initializeInventory,
InventoryServiceInitializeOptions,
runMigrations as runMigrationsInventory,
} from "@medusajs/inventory";
import { initialize as eventBusInitialize } from "@medusajs/event-bus-redis";
import { initialize as cacheInitialize } from "@medusajs/cache-redis";
const eventBus = await eventBusInitialize({
redisUrl: "localhost",
});
const cache = await cacheInitialize({
redisUrl: "localhost",
});
const options: InventoryServiceInitializeOptions = {
database: {
type: "postgres",
url: `postgres://postgres:@localhost/inventory`,
},
};
await runMigrationsInventory({
options,
});
const inventoryService = await initializeInventory(options, {
eventBusService: eventBus,
});
const sku = "sku_123"
const item = await service.createInventoryItem({
sku,
});
cache.set(sku, { item });
```
|
2023-03-31 12:09:04 +00:00 |
|
olivermrbl
|
15a43c1cc0
|
chore(release): v1.8.0-rc.3
|
2023-03-29 13:42:11 +02:00 |
|
Carlos R. L. Rodrigues
|
55e94d0b45
|
fix(modules-sdk): check if dependency is registered (#3620)
* fix: check if dependency is registered
* changeset
|
2023-03-29 08:47:12 +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 |
|
Carlos R. L. Rodrigues
|
bca1f80dd5
|
chore(medusa, modules-sdk): default module error message (#3605)
* default module error message
* changeset
* unit test
|
2023-03-28 17:43:20 +02:00 |
|
olivermrbl
|
b57ea22461
|
chore: Enter pre-release mode and version packages
|
2023-03-24 10:16:11 +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
|
ef5ef9f5a2
|
feat(medusa,event-bus-local,event-bus-redis): Event Bus modules (#2599)
|
2023-03-22 10:26:21 +01:00 |
|
Carlos R. L. Rodrigues
|
aa690beed7
|
feat(medusa): Modules initializer (#3352)
|
2023-03-17 12:18:52 -03: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 |
|
Frane Polić
|
f97b3d7cce
|
feat(medusa): Cache modules (#3187)
|
2023-03-10 15:09:26 +01:00 |
|
Adrien de Peretti
|
cbbf3ca054
|
fix(medusa): Clean response data usage for admin and store fields/expand (#3323)
* fix(medusa): Clean response data usage for admin and store fields/expand
* cleanup
* Create mighty-ads-fold.md
* fix integration
* fix integration
* refactor transform query and cleanup
* fix missing re naming
* Update packages/medusa/src/api/middlewares/transform-query.ts
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
|
2023-02-28 09:48:08 +01:00 |
|
Carlos R. L. Rodrigues
|
ad7f56506f
|
Feat(medusa,modules-sdk): Modules SDK package (#3294)
|
2023-02-23 13:09:35 -03:00 |
|