Releases: quyvu01/OfX
OfX v5.0.17, support HotChocolate v15.1.1
🚀 OfX v5.0.17 Release Notes
🔥 New Features
- Support HotChocolate v15.1.1 🎉
OfX now officially supports HotChocolate v15.1.1, enhancing GraphQL integration capabilities.
📦 Package Updates
- Updated dependencies to ensure compatibility with the latest HotChocolate version.
🛠 Improvements
- Minor optimizations and performance enhancements.
📢 Upgrade Guide
If you are using an older version of OfX with HotChocolate, update your dependencies to use the latest version:
dotnet add package OfX.HotChocolate --version 5.0.17
OfX.HotChocolate v5.0.15
🚀 OfX.HotChocolate v5.0.15 – Official Release 🎉
📅 Release Date: 17 Mar 2025
I'm excited to introduce OfX.HotChocolate – an official integration package that seamlessly connects OfX with HotChocolate GraphQL! Now, you can leverage OfX’s Attribute-based Data Mapping for blazing-fast GraphQL queries in distributed systems.
✨ What's New in v5.0.15?
✅ GraphQL Integration with HotChocolate
- Connect your OfX-powered microservices to GraphQL effortlessly.
- Attribute-based Data Mapping ensures clean, maintainable, and high-performance queries.
✅ Effortless Configuration
- Add OfX-HotChocolate to your existing GraphQL server with just a few lines of code.
- Compatible with .NET 8 & .NET 9.
✅ Seamless Transport Support
- Supports multiple transport layers including NATS, Kafka, RabbitMQ, gRPC & more.
- Works smoothly with OfX.EntityFrameworkCore and OfX.MongoDb for flexible data fetching.
✅ Optimized Performance
- Designed to minimize unnecessary data fetching for optimized query execution.
- Built-in RequestExecutorBuilder for GraphQL query processing.
OfX v5.0.14
OfX v5.0.14 Release Notes
🚀 What's New in v5.0.14?
🛠 Bug Fixes
- Fixed a bug with
OfXAttribute
when using an expression asDefaultPropertyName
.- Example:
Expression = "Name"
in cases likeOfXConfigFor<SomeAttribute>([defaultId], [defaultName])
now works correctly.
- Example:
✨ New Features
- Introduced
FetchDataAsync<[OfXAttribute]>
- Allows customization of data fetching based on attributes.
- This is a key innovation in OfX, as future updates will rely more on
FetchDataAsync
rather thanMapDataAsync
.
📌 Why is FetchDataAsync
Important?
With the evolution of OfX, data fetching will become more dynamic and flexible. FetchDataAsync
lays the foundation for future enhancements, making it easier to work with fetched data rather than relying solely on mapping. Stay tuned for upcoming improvements!
📦 Get the latest version:
NuGet: OfX
🔗 Repository:
GitHub: OfX
💡 Your feedback is valuable! Feel free to contribute or report issues.
OfX v5.0.12
🚀 OfX v5.0.12 Release Notes
🔥 What's New in v5.0.12?
⚡ Performance Improvements
- Added Caching to
OfX.Core
: Optimized performance by introducing caching mechanisms in the core engine. - Cached
IdConverterService
for StronglyTypedId: Enhanced efficiency by reducing redundant computations when converting IDs.
🔧 New Feature
SetMaxObjectSpawnTimes
Method:- Now you can customize the max object spawn times instead of using the default (32).
- This function sets an upper limit on the number of times an object can be spawned during recursive data mapping. By default (Max spawn times: 32), OfX allows objects to be dynamically created and mapped, but in complex object structures, excessive recursive mapping can lead to performance issues or infinite loops. Setting maxTimes helps prevent excessive nesting by defining a safe threshold, ensuring that the mapping process remains efficient and controlled.
OfX v5.0.11
📢 OfX v5.0.11 - Improved Error Handling & Application Control
🚀 What's New in This Release?
- Enhanced Error Handling: Introduced OfX error handling to provide better control and resilience in your applications.
- New Method -
ThrowIfException
: Added to OfX.Core, allowing developers to efficiently detect and handle exceptions, ensuring smoother error management.
✅ This update is crucial for improving application stability and error control when using OfX!
🔗 Upgrade now and take advantage of the latest improvements!
OfX v5.0.6
🚀 OfX v5.0.6 Release Notes
🔥 New Features
Added OfX.MongoDb: Expanded the OfX ecosystem with MongoDB support, enabling seamless data retrieval and projection.
🛠️ Improvements
MongoDB Data Projection: Currently retrieves MongoDB data and then projects it to a response. Future updates will explore native MongoDB projections for enhanced performance.
📌 Notes
This update continues to strengthen OfX’s capabilities by integrating NoSQL support with MongoDB. Stay tuned for further optimizations!
OfX v5.0.5
Release Notes - OfX v5.0.5
🛠 Bug Fixes
- Fixed an issue in
OfX.EntityFrameworkCore
where multipleDbContext
s in a single application were not being correctly located by entity.
🔄 Improvements
- Now, when using multiple
DbContext
s, the correctDbContext
will be resolved based on the entity type.
Example:
builder.Services.AddOfXEntityFrameworkCore(cfg =>
{
cfg.AddAttributesContainNamespaces(typeof(WhereTheAttributeDefined).Assembly);
cfg.AddHandlersFromNamespaceContaining<SomeHandlerAssemblyMarker>();
})
.AddOfXEFCore(options => options.AddDbContexts(typeof(DbContext1), typeof(DbContext2)...));
Upgrade to this version if your application involves multiple DbContext
instances to ensure proper entity resolution.
OfX v5.0.4
Release Notes - OfX v5.0.4
Important Update
Enhancements & Fixes
-
Message Bus Error Handling:
- Added error handling for message bus startup to improve reliability and prevent unexpected failures.
-
OfX.EntityFrameworkCore Update:
- Improved error handling for expressions.
- Now ignores incorrect input expressions instead of failing, ensuring smoother execution.
🚀 OfX v5.0.4 is now available!
For more details, check the latest commit.
OfX v5.0.2
Release Notes - OfX v5.0.2
🚀 What's New in v5.0.2
🔄 Updates & Improvements
- Updated Test Project to enhance stability and reliability.
- Improved OfX.EntityFrameworkCore:
- Changed
EfDbContextWrapped
from a generic type to a non-generic type. - Enhances performance when resolving services.
- Changed
📦 Version Update
- Upgraded OfX to v5.0.2.
📌 Stay tuned for more updates! Feel free to contribute or report any issues on GitHub.
OfX v5.0.0 – Major Update!
This is an important update that enhances modularity and performance.
🔥 Key Changes
1️⃣ Refactored Namespace Handling
- Moved
AddModelConfigurationsFromNamespaceContaining
from OfX.EntityFrameworkCore to OfX Core, as it belongs to the core library rather than the EF Core extension.
2️⃣ Performance Improvements in EF Core Integration
- Updated OfX.EntityFrameworkCore registration.
- Removed the
Emit
function to optimize performance.
This update ensures a cleaner separation of concerns and improves execution efficiency. 🚀
👉 Upgrade now to leverage these improvements!