Releases: esentio/Yamo
Releases · esentio/Yamo
v0.10.0
- Added #102: support for entities initialization
- Added #103: support for ternary conditional and null-coalescing operators
- Added #104: support for bitwise and shift operators
- Fixed #105: changed evaluation of
Nullable<T>.Value
access - Added #106: upgrade .NET 6.0 projects to .NET 7.0 and update NuGet references to newest versions
- Added #107 (breaking change): support for notification of loading entity values
- Added #108: benchmarks refactoring
v0.9.1
v0.9.0
- Added #94 (breaking change): support for ad hoc types in custom selects (breaking change on API that is public, but not intended to be called directly)
- Added #95 (breaking change): changed default behavior of
SelectAll
method - Added #97 (breaking change): support for
JOIN
subqueries (breaking change on API that is public, but not intended to be called directly) - Added #98 (breaking change): support for
FROM
subqueries (breaking change on API that is public, but not intended to be called directly) - Added #99: support for set operators
- Added #100 (breaking change): non-model entity creation behavior
v0.8.0
- Added #84: increased limit of tables in selects to 25
- Added #85: expressions enhancements
- Added overloads of expression methods for every joined entity (do not limit to 7 anymore)
- Allow to sort by
FormattableString
- Allow to sort by raw SQL string
- Added #86: support for querying raw values
- Added #87: upgrade .NET Core 3.1 projects to .NET 6.0 and update NuGet references to newest versions
- Added #88, #93 (breaking change): enhanced types support
- Possibility to define DbType used for column values
- Support for additional column types
- Support for additional .NET types in model properties
- Possibility to use
DbParameter
in raw SQL strings - Multitarget .NET Standard 2.0, .NET Standard 2.1, .NET 6.0
- Added #89: new
PredicateBuilder
helper - Added #90: attributes for null-state analysis
v0.7.0
- Fixed #74 (breaking change): then method was invoked even if condition was false
- Added #77: moved test and playground projects to .NET Core
- Added #79: expressions enhancements
- Allow to use
Value
andHasValue
in more places (fixed #75) - Allow to use short boolean expression in conditions
- Allow to use
- Fixed #78: wrong parameter names could be generated for raw SQL strings
- Added #81: support for table hints
- Fixed #82: using
FirstOrDefault()
with JOINs (fixed #28) - Added #83 (breaking change): support for filling properties not defined in model (fixed #33)
v0.6.0
- Added #59: code for *SelectSqlExpression classes is now generated
- Fixed #55 (breaking change): unified FirstOrDefault method usage
- Fixed #56 (breaking change): fixed Exclude method parameter
- Fixed #57 (breaking change): unified names of SelectSqlExpression classes
- Fixed #58: missing entity index caused runtime exception
- Added #60: conditional fluent API
- Fixed #61: DbContextOptionsBuilder.UseCommandTimeout did not allow method chaining
- Added #62 (breaking change): SQL helpers refactoring and new helper methods
- Added #63: support for schema
- Added #66: support for parameters if raw SQL string is used
- Added #67: updated SourceLink to 1.0.0
- Added #68 (breaking change): possibility to ad hoc override table name/table source in queries
- Added #69: new model related SQL helper methods
- Added #70: support to force update all fields of IHasDbPropertyModifiedTracking object
- Fixed #71: querying GUIDs throwed an exception when Microsoft.Data.Sqlite 3.* was used
- Added #72 (breaking change): minor performance optimizations
- Added #73: support for querying large value tuples
v0.5.1
v0.5.0
- Fixed #45 (breaking change):
- Renamed
DbContext.ExecuteNonQuery
method toDbContext.Execute
(breaking change) - Renamed
DbContext.ExecuteScalar
method toDbContext.QueryFirstOrDefault
(breaking change) - Added
DbContext.Query
method DbContext.QueryFirstOrDefault
andDbContext.Query
now support querying simple values (int, string, ...), model entities and (nullable) ValueTuples- See #46 for details
- Renamed
- Fixed #44 (breaking change): renamed
IHasPropertyModifiedTracking
toIHasDbPropertyModifiedTracking
- Added #48: Source Link support
- Added #32: support for
DISTINCT
- Added #50 (breaking change): expressions API changes (breaking change on probably unused API)
- Added #34: added comments to public API
- Added #39: added support for limiting rows returned by the query (see details in #52)