48 Commits

Author SHA1 Message Date
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 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
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 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
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>
2023-09-12 15:58:49 +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
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
Marc Gravell 02c92d99c4 tyop 2023-06-20 13:55:06 +01:00
Marc Gravell 1c628bfb74 release notes 2023-06-20 13:54:38 +01:00
Marc Gravell 20d81380ca mark all structs as readonly; fix some compiler noise (no functional change) (#1925) 2023-06-20 13:33:43 +01:00
Marc Gravell d91d90465d reinstate support for IDataReader (#1913)
* if we stop supporting DbDataReader, someone is going to complain; I'd
rather wrap it for now (to make the lib work), and add an analyzer
in AOT that shouts at them for using IDbConnection

also: compiler nits

* release notes
2023-06-20 13:31:55 +01:00
Marc Gravell a9ef55fae1 update release number in docs 2023-06-09 16:32:38 +01:00
Marc Gravell d56340b885 add missing QueryUnbufferedAsync<T> API (#1912)
* impl QueryUnbufferedAsync<T>
* implement GridReader.ReadUnbufferedAsync<T>
2023-06-09 16:22:25 +01:00
Marc Gravell 01f03ef3e8 add support for fetching values via GetFieldValue<T> (#1910)
add support for fetching values via GetFieldValue<T>; this requires
DbDataReader, but in reality the reader is *always* DbDataReader;
acknowledge this, and stop pretending to use IDataReader internally
(no breaks to public API)
2023-06-09 14:02:06 +01:00
David Pine cb5a43bd7b Update index.md (#1806) 2022-08-21 13:26:05 -04:00
mgravell 296092b73b release notes 2021-11-03 15:45:34 +00:00
Nick Craver b275d24652 Release notes 2021-05-09 22:41:16 -04:00
Nick Craver 6af6252eb6 Add release notes 2021-05-09 21:52:43 -04:00
Nick Craver 54b1e4e7a2 Add 1405 to release notes 2021-05-09 19:09:29 -04:00
Nick Craver dffb443e01 Add #1598 to release notes 2021-05-09 09:10:22 -04:00
Nick Craver f13b1e6c0d Adding #952 to release notes 2021-05-09 08:49:48 -04:00
GitHubPang 0b196eec9b Fix typo in index.md 2021-05-03 12:47:28 +08:00
mgravell 964a27d68d add release notes for 2.0.78 and 2.0.90 2021-04-29 19:45:04 +01:00
mgravell e26aa7b2d6 fix #1656 (git reorg) 2021-04-29 11:04:12 +01:00
Nick Craver e723ceed16 master -> main changes 2020-06-20 09:40:54 -04:00
mgravell 7088263aff update release notes 2020-04-06 10:11:05 +01:00
Bernard Vander Beken daf5bea70a Fix spelling (#1340) 2019-09-27 10:42:54 +01:00
mgravell b535277599 oops, 2.0.4 2019-08-29 14:47:59 +01:00
mgravell e9adb722f6 RTM v is 2.0.5 2019-08-29 14:35:03 +01:00
mgravell 597cc69ba5 2.0 RTM 2019-08-29 14:17:14 +01:00
mgravell f5ca275a29 release notes 2019-08-28 15:26:35 +01:00
mgravell c1d0fd870d typo on release note version 2019-03-30 17:30:33 +00:00
mgravell 23ff459f9d release notes 2019-03-30 17:22:50 +00:00
Steven Yeh f0da900ee6 Fix Typo (#1215)
thanks, appreciated
2019-03-26 02:16:20 -07:00
Nick Craver 684d7d9895 Add release notes for 1.60.1 2019-03-03 08:57:20 -05:00
Nick Kirby 200f031ce4 Release notes issue links (#1195)
This PR is for the issue I raised earlier #1194 

- I've added links for all every issue
- Tidied up capitalization 

Let me know if you need me to make any changes
2019-02-20 09:29:18 -05:00
Marc Gravell e7020b2bde release notes for 1.50.7; set future versions to 1.50.8-alpha 2019-02-11 12:26:07 +00:00
Nick Craver e8bd27d8a9 Add release notes for 1.50.5, bump to 1.50.6-alpha for builds
TODO: NerdBank versioning cutover
2018-05-20 07:29:51 -04:00
Mike McCaughan c0ddd50470 Remove reference to Stack Overflow docs
Should resolve #992
2018-04-03 17:42:26 -04:00
Nick Craver 710e86fe9f 1.50.4 release 2017-11-25 21:13:58 -05:00
Marc Gravell 5bc87f06dc Add a full stop just so I can tell if the docs migration is working 2017-03-01 11:34:40 +00:00
Marc Gravell f0cc51a288 migrate release notes to [master]/docs 2017-03-01 11:31:58 +00:00