Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/webiny-di-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@webiny/stdlib": patch
---

Depend on `@webiny/di` 2.0. stdlib's abstractions and implementations now target `@webiny/di` 2.x containers, so projects that register stdlib features must use `@webiny/di` 2.x as well; 1.x containers no longer type-check against them. See the `@webiny/di` 2.0.0 changelog for the container changes (singletons built from the registering container, new `inContainerScope()`).
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@11ty/gray-matter": "^3.0.0",
"@modelcontextprotocol/sdk": "^1.32.1",
"@webiny/di": "^1.1.0",
"@webiny/di": "^2.0.0",
"bson-objectid": "^2.0.4",
"dot-prop": "^10.2.0",
"nanoid": "^6.0.2",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1304,12 +1304,12 @@ __metadata:
languageName: node
linkType: hard

"@webiny/di@npm:^1.1.0":
version: 1.1.0
resolution: "@webiny/di@npm:1.1.0"
"@webiny/di@npm:^2.0.0":
version: 2.0.0
resolution: "@webiny/di@npm:2.0.0"
dependencies:
reflect-metadata: "npm:^0.2.2"
checksum: 10c0/a1a52f4e0c12b65a57d126071219833e807f4390006d1a2f52d2ed602896f4ed93eee96e951602444acdae194beb8ffeb5266e52e6f28c70625f8c2947767b18
checksum: 10c0/bfd99c82d1b0e18db04656f795e9025b0101938a714243e9bb1d9604f8ab078dc0cfd60ba5a8a6f456eccb594631877c6a2f15c9ed537eb62238e3ed25329085
languageName: node
linkType: hard

Expand All @@ -1322,7 +1322,7 @@ __metadata:
"@modelcontextprotocol/sdk": "npm:^1.32.1"
"@types/node": "npm:^26.6.4"
"@vitest/coverage-v8": "npm:^5.0.3"
"@webiny/di": "npm:^1.1.0"
"@webiny/di": "npm:^2.0.0"
adio: "npm:^3.0.1"
bson-objectid: "npm:^2.0.4"
dot-prop: "npm:^10.2.0"
Expand Down
Loading