Marc Gravell
fa9c96aec0
revert #2050 - see #2049 for more details ( #2070 )
...
* revert #2050 - see #2049 for more details
2.1.42
2024-04-12 11:13:05 +01:00
Marc Gravell
ad16263ac4
tyop
2024-04-12 09:43:31 +01:00
Marc Gravell
a11879c6dc
more context
2024-04-12 09:41:32 +01:00
Marc Gravell
d40f9f0ca9
image size
2024-04-12 09:17:59 +01:00
Marc Gravell
803e3510ea
Dapper Plus ( #2069 )
...
add Dapper Plus as sponsor
2024-04-12 09:13:24 +01:00
Marc Gravell
402f20ce37
implement DateOnly/TimeOnly ( #2051 )
...
fix #1715
adds net6 TFM
2.1.37
2024-03-07 12:19:30 +00:00
Marc Gravell
87eb033118
string and byte[] : add UseGetFieldValue ( #2050 )
...
* string and byte[] : add UseGetFieldValue to prevent problems with npgsql using global deserializer
* switch to GetFieldValue<T> changes some messaging in invalid cast scenarios; if anything, new version is clearer, so: fine
* test fixes
2024-03-06 20:58:21 +00:00
Marc Gravell
360367ca54
add REVERT to CommandText checklist ( #2048 )
2.1.35
2024-03-06 14:59:19 +00:00
Ion Dormenco
8d2cb0cf35
Update Readme.md ( #2047 )
...
Fix path to Dapper.Rainbow readme
2024-02-18 15:14:08 +00:00
Daryl Johnston
108806565d
Issue #2044 ( #2045 )
2024-02-17 08:03:01 +00:00
Kasper B. Graversen
7d811c4665
dapper.rainbow guide ( #2043 )
2024-02-17 00:16:42 +00:00
Kasper B. Graversen
4f8e92fba5
Exposing the transaction used in class Database. ( #2038 )
...
This enables to do queries not supported by rainbow within the same transaction
Closes #1944
2024-02-15 07:30:52 +00:00
Marc Gravell
3904675a78
CI: use preinstalled sdk ( #2042 )
...
* CI: use preinstalled sdk
* package updates, in particular SQL Server CVE (tests only)
2024-02-13 16:27:00 +00:00
Ohorodniichuk Dmytro
8f369914ac
Issue #1164 ( #1795 )
...
Fix unsigned types mapping arithmetic overflow
Add tests to reproduce issue #1164
Co-authored-by: Dmytro Ohorodniichuk <dmytro.ohorodniichuk@neogames.com >
2024-01-07 21:42:09 +00:00
Marc Gravell
d7c16035d2
fix codegen error in value-type multimap #2005 ( #2022 )
...
in horizontal multi-map, don't "returnValueLocal = null" for value-types (invalid IL)
fix #2005
2.1.28
2024-01-02 15:32:04 +00:00
Andrii Kurdiumov
4160c9f344
Update benchmarks with latest results. ( #2016 )
...
* Update benchmarks with latest results.
* Address PR feedback
2023-12-18 12:21:48 +00:00
Ron
3c3509f373
Update SqlMapper.cs ( #2010 )
...
Fixed typo in comments
2023-12-07 23:20:02 +00:00
0nly1ken0bi
0cd331b044
Fixed documentation to read better ( #2008 )
2023-12-03 09:40:54 +00:00
Marc Gravell
c46c69a174
1. give clearer error messages when an ICustomQueryParameter is null ( #2003 )
...
2. provide a convenience .ctor on DbString
2.1.24
2023-11-23 08:58:18 +00:00
Bill Robertson
0272d82b7d
chore: Update Readme.md ( #2002 )
...
Updates url to point to new release notes publication. The .io one said it wasn't in use anymore and to use the github.com releases information.
2023-11-21 06:50:02 +00:00
Nick Craver
cea07ab771
AppVeyor: Restore MySQL ( #1998 )
...
Looks like the image was borked with MySQL 8 went in (because it's still trying to start 5.7), see https://github.com/appveyor/ci/issues/3894 .
2023-11-13 08:00:27 -05:00
Marc Gravell
947b582c79
fix #1993 - when matching properties, prefer non-normalized property name ( #1997 )
2.1.21
2023-11-11 08:51:05 +00:00
Marc Gravell
5bb98eb52a
mysql on CI has gone rogue; disable? ( #1996 )
2023-11-11 07:57:56 +00:00
Marc Gravell
6fdafc32e2
add commmit and rollback to "text" exclusion list ( #1995 )
2023-11-10 19:17:10 +00:00
Thomas Ingham
bd649f0e58
Update Readme.md ( #1994 )
...
Ironic change of opportunity.
2023-11-09 14:16:55 +00:00
Korolev Dmitry
f0e61a740b
include ExplicitConstructorAttribute's targets to constructor&method ( #1982 )
...
* add method target for explicitconstructor
* add a noting comment (usage is limited with Dapper.AOT)
2023-10-22 08:54:13 +01:00
Marc Gravell
2f56056a89
- expand auto-sproc detection to handle more scenarios and explicit exclusions ( #1989 )
...
- add net7 target
- use regex generator when available (net7+)
- fix #1984
2023-10-20 09:24:01 +01:00
Marc Gravell
cdadfa6db6
whitespace for auto-SP detection: use unicode spec via regex ( #1987 )
...
* add fix and test for #1975
* wrong ticket number; is #1986
2.1.15
2023-10-19 12:25:11 +01:00
Marc Gravell
b446241da3
cite AWS
2023-10-18 20:38:33 +01:00
Marc Gravell
a93678e485
move release notes to GitHub
2023-10-13 07:33:27 +01:00
Marc Gravell
d91f993dc6
change NRT for ITypeMap.GetConstructorParameter ( #1980 )
...
* release notes for NRT tweak
* PR number
2023-10-13 07:11:10 +01:00
Marc Gravell
b8d119fa63
NRT tweak on GetConstructorParameter
2.1.11
2023-10-13 07:06:15 +01:00
Marc Gravell
8d53acb401
the $ support added for DuckDB does not need to exacerbate the OLEDB problem ( #1979 )
2023-10-13 07:01:56 +01:00
Giorgi Dalakishvili
19193b52bb
Add a setting to turn off Ole Db "smell check" ( #1974 )
...
* Add a setting to turn off Ole Db "smell check"
* Rename setting, fix logic
* Test for SupportLegacyParameterTokens
* Fix exception type
* Add release note
2023-10-11 13:10:00 +01:00
Giorgi Dalakishvili
2837480903
Add DuckDB tests ( #1970 )
...
* Add DuckDB tests
* Update DuckDB.NET.Data.Full version
2023-10-11 12:41:06 +01:00
Marc Gravell
a37b151bb7
auto-detect stored procedures as anything without whitespace ( #1975 )
...
* 1. auto-detect stored procedures as anything without whitespace
2. we have public fields? (hangs head in shame)
* release notes
* no need to use regex
2023-10-10 15:06:21 +01:00
Marc Gravell
47ef1e7100
missed an object? type-handler
2023-09-14 06:25:35 +01:00
Marc Gravell
3c4ae7d74a
release notes 2.1.4
2023-09-13 21:52:03 +01:00
Marc Gravell
a4a55f5b79
assert that type handlers don't need object? ( #1960 )
...
* assert that type handlers don't need object? - include test to validate (plus: NRT check was happy)
fix #1959
* release notes
2.1.4
2023-09-13 21:43:13 +01:00
Marc Gravell
61ff85a2b8
add missing ReadUnbufferedAsync untyped API ( #1958 )
...
* - add missing ReadUnbufferedAsync untyped API
- remove an impossible branch
* release notes
2023-09-13 14:58:12 +01:00
Marc Gravell
a2d539ccd5
release notes 2.1.1
2023-09-12 16:12:56 +01:00
Marc Gravell
aecffecae1
attempt NRT makeover ( #1928 )
...
* attempt NRT makeover
- annotate NRTs on GridReader API
- add protected access to some of the GridReader internals
- switch GridReader callbacks to be more type-independent
docs
lib updates; deal with yellow warnings and test failures (SQL server certs and cancellation surfacing differently)
fix break
simplify proposed GridReader changes to protected OnBeforeGrid and OnAfterGrid[Async]
Builds: Bump library versions (#1935 )
Tests: Upgrade dependencies for Dependabot (#1936 )
I'll do a pass at all of these later, but getting CVE versions out of the pipe.
Resolving 4 alerts here: https://github.com/DapperLib/Dapper/security/dependabot
merge and lib updates
allow Identity to be constructed on-the-fly inside GridReader
fix build warnings
include readme
rev minor
- enable [SkipLocalsInit] everywhere
- use NET5_0_OR_GREATER
for remoting check
# Conflicts:
# Dapper/CommandDefinition.cs
# Dapper/DefaultTypeMap.cs
# Dapper/SqlMapper.Async.cs
# Dapper/SqlMapper.IDataReader.cs
# Dapper/SqlMapper.Link.cs
# Dapper/SqlMapper.cs
# Directory.Build.props
* shipped, not unshipped
* fixup SqlBuilder; use is null / is not null
* use central package management (#1949 )
* Nullable test tweaks
* Nuget: let's just remove it!
* 2 test fixes from review
* fix FindExplicitConstructor
* add GetPropertySetterOrThrow
* fix NRT on FindConstructor
* DapperRow: value is object?
* use NotNullWhen
* make constructor problem more obvious
* test fixes
---------
Co-authored-by: Nick Craver <nrcraver@gmail.com >
2.1.1
2023-09-12 15:58:49 +01:00
Giorgi Dalakishvili
8a68070b8e
Support $ as parameter prefix ( #1952 )
2023-09-03 14:48:12 +01:00
Lehonti Ramos
ff913be391
Removed block nesting levels in a few tests by using block-scoped using statements ( #1939 )
...
Co-authored-by: John Doe <john@doe>
2023-08-24 13:12:33 +01:00
William Cole Boren
22adf2488a
Missing curly brace from code example ( #1830 )
...
* Update Readme.md
* Added additional braces
* Update Readme.md
2023-08-24 12:56:23 +01:00
Marc Gravell
ff98f8dbf1
answer #1950 using BDN ( #1951 )
2023-08-21 11:29:37 +01:00
Marc Gravell
67f7a1fe17
add Microsoft.CodeAnalysis.PublicApiAnalyzers on the main libs ( #1948 )
2023-08-18 11:47:37 +01:00
Marc Gravell
63fb7bae11
release notes 2.0.151
2023-08-18 10:47:57 +01:00
Marc Gravell
8c9b4bde3c
Add FetchSize global setting ( #1946 )
...
* fix #1945
* PR number
* docs
2.0.151
2023-08-17 20:14:10 +01:00
Marc Gravell
33090c0218
Underscore handling ( #1947 )
...
* Adds MatchConstructorParametersWithUnderscores option
* generalize to single MatchNamesWithUnderscores (pre-existing)
* cite 2nd PR
---------
Co-authored-by: Jonas Goronczy <goronczy.jonas@gmail.com >
2023-08-17 17:30:34 +01:00