Releases: TwentyFourMinutes/Venflow
v1.2.0
Minor
Change logs
- Builds are now deterministic
- Refactored underlying EntityBuilder which now behaves more predictable
- Added option to specify the NpgqlDbType inside Expression queries:
long id = 1; var blog = await db.Blogs.QuerySingle(blogs => $"SELECT * FROM {blogs} WHERE {blogs.Id} = {id, VenflowDbType.Integer}").QueryAsync();
- PostgreSQL enums will from now on be registered inside the
Configure
method on theDatabase
- Column names and column types will from now on be set through the Property fluent API
entityBuilder.Column(x => x.Id).WithName("id").WithType(NpgsqlDbType.Integer);
- #13, #11 The new property fluent API will also allow you to mark a column as
HasDefault
which will tell Venflow that the column will be set by the datbase. Thanks to @Neoz-JourneyLab for requesting this.
Bug fixes
- Expression queries no longer skip the first element
- #12
If you are experiencing any issues or unexpected behavior, feel free to create an issue and let me know.
v1.1.1
Patch update
Change logs
- Optimized underlying query sliding expiration cache.
- Optimized SqlExpression cache.
Bug fixes
- Fixed inserter bug which could cause invalid inserts with null-able foreign keys. Thanks to @Neoz-JourneyLab for pointing out this issue.
If you are experiencing any issues or unexpected behavior, feel free to create an issue and let me know.
v1.1.0
Minor update
Change log
- Added compiler safe and easily maintainable SQL through lambda overloads on
QuerySingle
andQueryBatch
.
If you are experiencing any issues or unexpected behavior, feel free to create an issue and let me know.
v1.0.0.0
Major
This is the first full release of Venflow! 🎉
Change log
- Added more Unit Tests across the board.
- Added full logging support to inserts.
Bug fixes
- Fixed several bugs related to parsing strongly-typed ids to JSON.
- Fixed a bug which caused insert commands to never be disposed.
- Fixed a bug which could produce invalid insert cache keys.
- Fixed a bug which caused an exception while parsing ulongs.
If you are experiencing any issues or unexpected behavior, feel free to create an issue and let me know.
v1.0.0.0-rc7
Minor update
Since this is a rc
release (Release Candidate) this version is considered to be somewhat bug-free and should be safe to use. Additionally, this is most likely the last release before the first major non-pre-release version.
Change log
- Benchmarks will no longer target multiple TFM. It will only be benched against .Net 6.
- Stripped out no longer used internal API's.
- Added
Text.Json
andNewtonsoft.Json
support. - Added support for ASP.Net Core DI.
- Added full transaction support.
- Added SQL string-length estimate for delete and update commands.
- Removed useless duplicate locals and fields generation in insert commands.
- Removed useless foreign key assignment in insert commands.
Bug fixes
- Fixed a critical bug in the benchmark score calculation which lead to incorrect output scores.
- Fixed a bug which would cause the local assembly to not be included in the entity configuration search.
If you are experiencing any issues or unexpected behavior, feel free to create an issue and let me know.
v1.0.0.0-rc6
Minor update
Since this is a rc
release (Release Candidate) this version is considered to be somewhat bug-free and should be safe to use.
Change log
- Simplified underlying inserters.
- Refactored internal code to match the new C#9 expressions.
- Removed unnecessary validations on model generation.
- Added explicit .net 6 support.
- Added Logging to Delete and Update.
- Added support for
Microsoft.Extensions.Logging
throughVenflow.Extensions.Logging
. - Added strongly-typed id's through the
Key<,>
API, with an optional Source Generator for explicit key types throughVenflow.Keys
.
Breaking Changes
- Renamed
DatabaseOptionsBuilder#AddConfigurations
toDatabaseOptionsBuilder#UseConfigurations
. - Changed logging callback type to
LoggerCallback
.
If you are experiencing any issues or unexpected behavior, feel free to create an issue and let me know.
v1.0.0.0-rc5
Minor update
Since this is a rc
release (Release Candidate) this version is considered to be somewhat bug-free and should be safe to use.
Change log
- Added overloads to Query* to allow for
IList<T>
as parameters. - Added a
FormattableSqlStringBuilder
which allows for dynamic sql interpolated sql. - Added try/finally to all commands to ensure it gets disposed.
- Added option to call
LogTo
after the join configurations. - Reduced overhead of creating a new command.
- Improved over-all memory usage by specifying default collection sizes.
- Added automatic transaction roll-backs to all commands.
- Added new materializer cache which drastically improves performance.
- Drastically improved update commands with the use of prepared statements.
- Added support for read-only properties as well as private/protected/internal property setters.
- Added source-link through NuGet.
Bug fixes
- Fixed a bug which occurred if a navigation property was defined as a
IList<T>
. - Fixed
MaybeNull
return types of queries.
If you are experiencing any issues or unexpected behavior, feel free to create an issue and let me know.
v1.0.0.0-rc4
Minor update
Since this is a rc
release (Release Candidate) this version is considered to be somewhat bug-free and should be safe to use.
Change log
- Updated internal package versions.
- Decreased logging overhead.
Bug fixes
- Fixed a materializer bug which would cause duplicate entries on multiple 1-n joins.
- Fixed a bug, which would produce invalid IL on null-able value types while inserting or updating.
- Fixed a bug, which would produce invalid IL on long relational inserts.
If you are experiencing any issues or unexpected behavior, feel free to create an issue and let me know.
v1.0.0.0-rc3
Minor update
Since this is a rc
release (Release Candidate) this version is considered to be somewhat bug-free and should be safe to use.
Change log
- Hidden unusable API's.
- Added support for all collections implementing
IList
in conjunction as a SQL string interpolation parameter. - Added basic logging functionality.
If you are experiencing any issues or unexpected behavior, feel free to create an issue and let me know.
v1.0.0.0-rc2
Minor update
Since this is a rc
release (Release Candidate) this version is considered to be somewhat bug-free and should be safe to use.
Change log
- Added
SkipLocalInit
to the .net 5 release. - Allowed for the use for more concrete join methods such as
LeftJoinWith
. - Improved error messages on wrongly configured models.
- Added transaction support for any connection,
Bug fixes
- Added xml documentation to all TFM, not just .net 5.
- Fixed a bug which would cause NRE on inserting a one to many relation.
If you are experiencing any issues or unexpected behavior, feel free to create an issue and let me know.