Skip to content

Releases: henkmollema/Dommel

v3.5.2

15 May 11:22

Choose a tag to compare

What's Changed

  • Add GitHub Actions CI/PR/release pipelines with database integration tests by @thomas-webenable in #319
  • Allow custom SQL in Select() of SqlExpression<T> and add GroupBy() as well
  • Add Scalar<TEntity, TResult>() and From<TEntity, TResult> this allows for queries such as:
var xs = await con.FromAsync<Product, (int categoryId, int count)>(
    sql => sql.Select("CategoryId, count(*)").GroupBy(x => x.CategoryId));

var lastUpdate = await con.ScalarAsync<Product, DateTime>(sql => sql.Select("max(UpdatedAt)"));

New Contributors

Full Changelog: v3.5.1...v3.5.2

v3.5.1

10 Dec 12:13

Choose a tag to compare

What's Changed

  • Fix DateOnlyTypeHandler by @benni-tec in #318
  • Handle strings and nullable types for in-expressions in 79adf41

New Contributors

Full Changelog: v3.5.0...v3.5.1

v3.5.0

14 Nov 15:07

Choose a tag to compare

  • Add .NET 10 support and fix an issue with new Span-related overloads.

Full Changelog: v3.4.0...v3.5.0

v3.4.0

14 May 19:13
ece095d

Choose a tag to compare

  • Drop .NET 6 and 7 (end of life)
  • Update Dapper package and other dependencies

Full Changelog: v3.3.4...v3.4.0

v3.3.4

15 Nov 12:43

Choose a tag to compare

What's Changed

Full Changelog: v3.3.3...v3.3.4

v3.3.3

23 Aug 13:31

Choose a tag to compare

v3.3.2

23 Aug 12:28

Choose a tag to compare

  • Only enforce single key property in multi-mapping when it's actually used in the query (504e6b6)

Full Changelog: v3.3.1...v3.3.2

v3.3.1

04 Apr 11:02

Choose a tag to compare

What's Changed

  • Add parentheses when there are multiple where statements in #303
  • Update Dapper to v2.1.35

Full Changelog: v3.3.0...v3.3.1

v3.3.0

18 Jan 15:35

Choose a tag to compare

What's Changed

  • Add parentheses to expressions with and/or combination(s) in #298
  • Use limit instead of page clause for FirstOrDefault in 3570be7
  • Resolve property from the type used in the expression in 374c8fe (fixes #282)

Full Changelog: v3.2.1...v3.3.0

v3.2.1

17 Jan 16:48

Choose a tag to compare

What's Changed

  • Limit query to single record in case of FirstOrDefault in 4e1714a
  • Update packages and add .NET 7 and 8 targets in 5f4e06e
  • Only include System.ComponentModel.Annotations on .NET Standard 2.0 TFM in 61246de
  • Fix MySQL and MS SQL in AppVeyor in #297

Available on NuGet.

Full Changelog: v3.2.0...v3.2.1