Граф коммитов

1754 Коммитов

Автор SHA1 Сообщение Дата
renovate[bot] e82a8c7e2e
chore(deps): update dependency serilog to v4.0.1 (#1778)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 21:37:06 +01:00
renovate[bot] 3300ac54dd
chore(deps): update dependency microsoft.net.test.sdk to v17.10.0 (#1769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 23:26:38 +00:00
renovate[bot] 040b01e0c1
chore(deps): update dependency verify.diffplex to v3 (#1772)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-27 00:18:42 +01:00
renovate[bot] 4373adb993
chore(deps): update dependency microsoft.codeanalysis.csharp.sourcegenerators.testing to v1.1.2 (#1767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 09:27:13 +00:00
renovate[bot] c9f8304ee1
chore(deps): update dependency verify.xunit to v22.11.5 (#1770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 10:21:19 +01:00
renovate[bot] 37a4f6e1e2
chore(deps): update xunit-dotnet monorepo (#1771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 08:51:11 +00:00
renovate[bot] 9331797d5d
chore(deps): update dependency coverlet.collector to v6.0.2 (#1766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 09:43:21 +01:00
Tim M 923b961d2e
feat: added generator tests (#1765) 2024-07-26 00:24:57 +01:00
renovate[bot] 02750252ec
chore(deps): update dependency refit to v7.1.2 (#1758)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 21:36:08 +00:00
renovate[bot] 56378d6b41
chore(deps): update xunit-dotnet monorepo (#1760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 21:30:25 +00:00
renovate[bot] 93a3c79167
chore(deps): update dependency system.text.json to v8.0.4 [security] (#1757)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-21 22:24:46 +01:00
Tim M 6985161557
feat: extract logic and small cleanups (#1755) 2024-07-08 21:20:13 +01:00
renovate[bot] 34153046c9
chore(deps): update dependency refit to v7.1.1 (#1754)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-05 00:15:56 +01:00
Tim M a8fcd12766
feat: fix form url encoded strings #1593 (#1752) 2024-07-01 19:47:04 +01:00
Chris Pulman 5f82841356
Housekeeping Update version for release (#1751) 2024-07-01 00:14:47 +01:00
Chris Pulman a61030a868
Housekeeping: Add API tests (#1749) 2024-07-01 00:06:11 +01:00
renovate[bot] 4e8c3476bd
chore(deps): update dependency microsoft.codeanalysis.csharp.sourcegenerators.testing to v1.1.2 (#1747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 23:48:05 +01:00
Tim M 1c731b8f35
feat: defer header dictionary creation (#1745)
Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
2024-06-30 23:37:47 +01:00
Chris Pulman 56375c4b2e
Revert #1705 (#1750)
* Revert #1705

* Revert #1705
2024-06-30 23:18:10 +01:00
Tim M ea1cc52fb1
feat: optimize `RestMethodInfo`, reduce dictionary allocations and linq iterations (#1742) 2024-06-29 04:05:07 +04:00
Tim M f5b169078d
feat: remove `propertiesToAdd` (#1741) 2024-06-27 20:45:48 +04:00
Tim M 44314ba3f9
chore: extract methods (#1740) 2024-06-27 00:58:31 +04:00
Tim M 12640cb4a5
feat: refactors, cache attributes, use helper methods (#1739) 2024-06-27 00:11:03 +04:00
Tim M 151b1d9d64
feat: fix existing query values bug (#1737)
Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
2024-06-26 20:00:59 +00:00
Chris Pulman 9605c24d23
Fix for Common Parameter Name used in Generated code (#1735)
* Fix For #1724

Common parameter name used in generated code

* Use more standard name as other generated code
2024-06-26 23:54:52 +04:00
Tim M 03d7bbc7ab
feat: use `TryGetSingle` instead of collection enumerable to lists. (#1738)
Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
2024-06-25 18:36:50 +00:00
Tim M b320e4eb4e
feat: optimize `CachedRequestBuilder` (#1716)
Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
2024-06-25 22:26:43 +04:00
renovate[bot] 107d71697d
chore(deps): update dependency microsoft.codeanalysis.csharp.sourcegenerators.testing to v1.1.2-beta1.24314.1 (#1736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 19:16:49 +04:00
Chris Pulman 943529592e
Revert sealed Attributes (#1734)
Revert sealed Attributes
2024-06-24 20:34:59 +01:00
Tim M 2bf78cad10
feat: use `ValueStringBuilder` adding the query parameters (#1719)
* feat: use `ValueStringBuilder` adding the query parameters

* chore: merge, suppress warning and extract method

---------

Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
2024-06-24 20:27:07 +01:00
Tim M 8a40692db0
feat: add startup and performance benchmarks (#1731)
* chore: use file scoped namespaces

* feat: add performance and startup benchmarks

* feat: add first call benchmarks
2024-06-24 19:48:28 +01:00
Chris Pulman b75734a536
housekeeping: Update Version For Release (#1712) 2024-06-20 17:57:16 +10:00
renovate[bot] 77ca7c81a0
chore(deps): update dependency serilog.sinks.console to v6 (#1723)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 09:24:53 +04:00
Tim M dcb9da28de
feat: run csharpier (#1715)
Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
2024-06-14 06:32:26 +00:00
renovate[bot] 8b0ba96cee
chore(deps): update dependency nerdbank.gitversioning to v3.6.139 (#1718)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-14 07:25:11 +01:00
renovate[bot] 678c140cdc
chore(deps): update dependency serilog to v4 (#1714)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-12 22:45:06 +01:00
Tim M 51ef4451bf
feat: refactor, invert ifs, use optimal methods (#1713) 2024-06-10 22:20:39 +01:00
Daniël te Winkel 9c2caf3ec5
Ensure two interfaces with the same name do not cause compile errors (#1542)
* Fix #1261

* Revert accidental change.
Fix unit tests on difference in extra spaces in output.

---------

Co-authored-by: Daniël te Winkel <live@twia.nl>
Co-authored-by: Glenn <5834289+glennawatson@users.noreply.github.com>
Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
2024-06-09 17:36:43 +01:00
老九 b944483bd9
.NET7.0+ AOT supported (#1710)
* .NET7.0+ AOT supported

* Update unit tests.

---------

Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
2024-06-09 16:52:42 +01:00
Chris Pulman 49cc592df9
Update ApiResponse to correct previous adjustment (#1711) 2024-06-09 16:45:55 +01:00
renovate[bot] 1a20c27ded
chore(deps): update xunit-dotnet monorepo to v2.8.1 (#1709)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 07:09:49 +00:00
Tarcisio 1b452190bf
feat: custom query key formatters (#1570)
* feature: Introduce support for custom URL query key formatters

- Implements a key formatter for `camelCase`

* docs: Adds querystrings examples

* removes redundant code from `CamelCaseUrlParameterKeyFormatter.cs`

* fix: restores binary-compability

* Update after merge

* chore: remove useless piece of code

* feat(tests): CamelCaseUrlParameterKeyFormatter tests

* feat(Tests): RefitSettings tests

---------

Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
2024-06-04 08:01:18 +01:00
Phil Stewart d85edefb46
Load content to buffer before attempting deserialization (#1705)
* Load content to buffer before attempting deserialization to ensure raw content can be captured in ApiException if an exception occurs during deserialization

* Ensure stream is seekable before attempting to load into buffer

---------

Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
2024-06-03 20:42:36 +01:00
renovate[bot] b40dfaf706
chore(deps): update dependency microsoft.net.test.sdk to v17.10.0 (#1707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 04:36:01 +00:00
renovate[bot] 088b020087
chore(deps): update dependency system.reactive to v6.0.1 (#1706)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 04:28:39 +00:00
renovate[bot] 650f2efba3
chore(deps): update dependency microsoft.codeanalysis.csharp.sourcegenerators.testing to v1.1.2-beta1.24273.1 (#1708)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 05:21:34 +01:00
Chris Pulman 56b82ac674
Update Net 8 Support to use Netx.x instead of Nestandard2.1 (#1703)
Remove Net 7.0
2024-05-27 17:27:02 +10:00
Serj c0499cf533
Issue 1671: Add MemberNotNullWhen attribute for Content property in IApiResponse<T> (#1672)
* Issue 1671: Add MemberNotNullWhen attribute for Content property in IApiResponse<T> interface

* Fix missing IApiResponse implementation for ApiResponse<T> class

* Update APIResponse

Update APIResponse as MemberNotNullWhen needs to be in same interface as members

---------

Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
2024-05-26 19:15:38 +01:00
Chris Pulman aa78fc08b1
Housekeeping Update tests to remove need for comments (#1697)
* Housekeeping Update tests to remove need for comments

* Reduce unnecessary warnings
2024-05-24 10:15:52 +10:00
Chris Pulman d09db7285f
Feature Add DotNet 8 support (#1701) 2024-05-24 10:15:04 +10:00