-
Notifications
You must be signed in to change notification settings - Fork 27
Conversation
`@libp2p/components` is a choke-point for our dependency graph as it depends on every interface, meaning when one interface revs a major `@libp2p/components` major has to change too which means every module depending on it also needs a major. Switch instead to constructor injection of simple objects that let modules declare their dependencies on interfaces directly instead of indirectly via `@libp2p/components` Refs libp2p/js-libp2p-components#6 BREAKING CHANGE: modules no longer implement `Initializable` instead switching to constructor injection
## [@libp2p/interface-connection-encrypter-compliance-tests-v3.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-connection-encrypter-compliance-tests-v2.0.3...@libp2p/interface-connection-encrypter-compliance-tests-v3.0.0) (2022-10-12) ### ⚠ BREAKING CHANGES * modules no longer implement `Initializable` instead switching to constructor injection ### Bug Fixes * remove @libp2p/components ([#301](#301)) ([1d37dc6](1d37dc6))
🎉 This PR is included in version @libp2p/interface-connection-encrypter-compliance-tests-v3.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [@libp2p/interface-peer-discovery-compliance-tests-v2.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-peer-discovery-compliance-tests-v1.0.2...@libp2p/interface-peer-discovery-compliance-tests-v2.0.0) (2022-10-12) ### ⚠ BREAKING CHANGES * modules no longer implement `Initializable` instead switching to constructor injection ### Bug Fixes * remove @libp2p/components ([#301](#301)) ([1d37dc6](1d37dc6))
🎉 This PR is included in version @libp2p/interface-peer-discovery-compliance-tests-v2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [@libp2p/interface-stream-muxer-compliance-tests-v6.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-stream-muxer-compliance-tests-v5.0.0...@libp2p/interface-stream-muxer-compliance-tests-v6.0.0) (2022-10-12) ### ⚠ BREAKING CHANGES * modules no longer implement `Initializable` instead switching to constructor injection ### Bug Fixes * remove @libp2p/components ([#301](#301)) ([1d37dc6](1d37dc6))
🎉 This PR is included in version @libp2p/interface-stream-muxer-compliance-tests-v6.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [@libp2p/interface-mocks-v7.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-mocks-v6.1.0...@libp2p/interface-mocks-v7.0.0) (2022-10-12) ### ⚠ BREAKING CHANGES * modules no longer implement `Initializable` instead switching to constructor injection ### Bug Fixes * remove @libp2p/components ([#301](#301)) ([1d37dc6](1d37dc6)) ### Dependencies * update sibling dependencies ([99330b2](99330b2)) * update sibling dependencies ([6f26d1b](6f26d1b)) * update sibling dependencies ([2ad1fa3](2ad1fa3))
🎉 This PR is included in version @libp2p/interface-mocks-v7.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [@libp2p/interface-pubsub-compliance-tests-v4.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-pubsub-compliance-tests-v3.0.0...@libp2p/interface-pubsub-compliance-tests-v4.0.0) (2022-10-12) ### ⚠ BREAKING CHANGES * modules no longer implement `Initializable` instead switching to constructor injection ### Bug Fixes * export network components type ([79a5d8f](79a5d8f)) * remove @libp2p/components ([#301](#301)) ([1d37dc6](1d37dc6)) * update mock network components use ([c760e95](c760e95)) ### Dependencies * update sibling dependencies ([d3226f7](d3226f7))
🎉 This PR is included in version @libp2p/interface-pubsub-compliance-tests-v4.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [@libp2p/interface-transport-compliance-tests-v3.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-transport-compliance-tests-v2.0.8...@libp2p/interface-transport-compliance-tests-v3.0.0) (2022-10-12) ### ⚠ BREAKING CHANGES * modules no longer implement `Initializable` instead switching to constructor injection ### Bug Fixes * remove @libp2p/components ([#301](#301)) ([1d37dc6](1d37dc6)) ### Dependencies * update sibling dependencies ([d3226f7](d3226f7))
🎉 This PR is included in version @libp2p/interface-transport-compliance-tests-v3.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@libp2p/components
is a choke-point for our dependency graph as it depends on every interface, meaning when one interface revs a major@libp2p/components
major has to change too which means every module depending on it also needs a major.Switch instead to constructor injection of simple objects that let modules declare their dependencies on interfaces directly instead of indirectly via
@libp2p/components
Refs libp2p/js-libp2p-components#6
BREAKING CHANGE: modules no longer implement
Initializable
instead switching to constructor injection