Releases: valehasadli/TypeWired
v0.2.1
Release Notes for TypeWired v0.2.1
We are thrilled to announce the release of TypeWired version 0.2.1! This version introduces a major enhancement to our TypeScript dependency injection library, with the addition of asynchronous dependency injection support. This update extends TypeWired's capabilities to cater to modern asynchronous programming needs in TypeScript.
What's New
Enhanced Asynchronous Dependency Injection
-
Asynchronous Singletons:
- registerSingletonAsync for registering singletons with async dependencies.
- resolveSingletonAsync( for resolving async singletons.
-
Asynchronous Transients:
- registerTransientAsync for registering transients requiring async initialization.
- resolveTransientAsync for resolving async transients.
-
Asynchronous Interfaces:
- registerInterfaceAsync for registering interfaces with asynchronous implementations.
- resolveInterfaceAsync for resolving these interfaces.
Updated Documentation
- Enhanced README.md with detailed examples and guidelines on utilizing both synchronous and asynchronous features.
Expanded Testing
- Comprehensive test coverage in Container.test.ts for all new asynchronous functionalities, ensuring reliability and robustness.
Breaking Changes
- No breaking changes in this release. All existing functionalities remain intact and compatible with previous versions.
Installation
Update to the latest version of TypeWired with the following command:
npm update typewired
# or
yarn upgrade typewired
Acknowledgments
A huge thank you to our contributors and the TypeScript community for their invaluable support and feedback. Your contributions continue to shape TypeWired into a robust and user-friendly DI library.
Looking Ahead
We're excited to see how you'll leverage these new features in your TypeScript projects. Your feedback is crucial for our continuous improvement. We look forward to bringing more enhancements to make TypeWired your go-to DI library for TypeScript.
Stay tuned for future updates!
TypeWired 0.2.0
Release Notes for TypeWired v0.2.0
We are thrilled to announce the release of TypeWired version 0.2.0! This version introduces a major enhancement to our TypeScript dependency injection library, with the addition of asynchronous dependency injection support. This update extends TypeWired's capabilities to cater to modern asynchronous programming needs in TypeScript.
What's New
Enhanced Asynchronous Dependency Injection
-
Asynchronous Singletons:
- registerSingletonAsync for registering singletons with async dependencies.
- resolveSingletonAsync( for resolving async singletons.
-
Asynchronous Transients:
- registerTransientAsync for registering transients requiring async initialization.
- resolveTransientAsync for resolving async transients.
-
Asynchronous Interfaces:
- registerInterfaceAsync for registering interfaces with asynchronous implementations.
- resolveInterfaceAsync for resolving these interfaces.
Updated Documentation
- Enhanced README.md with detailed examples and guidelines on utilizing both synchronous and asynchronous features.
Expanded Testing
- Comprehensive test coverage in Container.test.ts for all new asynchronous functionalities, ensuring reliability and robustness.
Breaking Changes
- No breaking changes in this release. All existing functionalities remain intact and compatible with previous versions.
Installation
Update to the latest version of TypeWired with the following command:
npm update typewired
# or
yarn upgrade typewired
Acknowledgments
A huge thank you to our contributors and the TypeScript community for their invaluable support and feedback. Your contributions continue to shape TypeWired into a robust and user-friendly DI library.
Looking Ahead
We're excited to see how you'll leverage these new features in your TypeScript projects. Your feedback is crucial for our continuous improvement. We look forward to bringing more enhancements to make TypeWired your go-to DI library for TypeScript.
Stay tuned for future updates!
TypeWired - Initial Release ๐
We are excited to announce the first release of TypeWired, a TypeScript Dependency Injection (DI) library! This release brings the power and flexibility of Spring-like DI to TypeScript, making it easier to manage dependencies in your projects.
What's New ๐
-
Dependency Injection Container: A core DI container that supports both singleton and transient service registrations.
-
Decorators for Ease of Use:
-
@InjectableSingleton
and@InjectableTransient
for registering services. -
@InjectableInterface
for registering interface implementations, using a unique symbol token system to represent interfaces. -
Interface Injection Support: Despite TypeScript's compile-time nature of interfaces, TypeWired introduces a system to handle interface-based dependency injection using symbols as interface tokens.
-
Type Safety with TypeScript Generics: Leverage TypeScript's generics for type-safe dependency injection.
-
Basic Unit Tests: Ensuring the reliability of core functionalities, including singleton/transient resolution and interface injection.
-
Documentation and Examples: Initial README with documentation and usage examples to get you started.
Getting Started ๐ ๏ธ
To start using TypeWired in your TypeScript project, simply install the package from npm:
npm install typewired
Check out the README for detailed instructions on how to implement TypeWired in your projects.
What's Next ๐ฎ
-
Extensive Testing: More comprehensive tests to cover edge cases and complex scenarios.
-
Performance Optimization: Enhancements for better performance in large-scale applications.
-
Community Feedback: We welcome contributions, suggestions, and feedback to make TypeWired even better!
-
CI/CD Setup: Setting up continuous integration for automated testing and deployment.