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

1774 Коммитов

Автор SHA1 Сообщение Дата
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
renovate[bot] 8ed4b569ae
chore(deps): update dependency microsoft.visualstudio.threading.analyzers to v17.10.48 (#1700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-19 21:10:57 +01:00
James Thompson 76ed19cc6a
#1684 Tweak Dependencies (#1693) 2024-05-09 01:52:46 +01:00
renovate[bot] f2fdf45248
chore(deps): update xunit-dotnet monorepo to v2.8.0 (#1683)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 06:15:52 +00:00
renovate[bot] d651c61edd
chore(deps): update dependency coverlet.msbuild to v6.0.2 (#1678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 07:08:47 +01:00
renovate[bot] 024a45170f
chore(deps): update dependency system.text.json to v8.0.3 (#1677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-23 00:09:30 +00:00
renovate[bot] 002280e873
chore(deps): update xunit-dotnet monorepo (#1674)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 00:56:42 +00:00
renovate[bot] ee61cb088f
chore(deps): update dependency coverlet.msbuild to v6.0.1 (#1676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 00:51:15 +00:00
renovate[bot] f6c9e93c12
chore(deps): update dependency system.text.json to v8.0.2 (#1673)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 20:48:27 +00:00
renovate[bot] d6d164cdb6
chore(deps): update dependency serilog.sinks.console to v5 (#1669)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 09:22:48 +00:00
renovate[bot] 9f98c0b749
chore(deps): update dependency serilog to v3 (#1668)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 09:03:05 +00:00
renovate[bot] e0d3913fc6
chore(deps): update dependency refit to v7 (#1665)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 08:46:39 +00:00
renovate[bot] 63f0e30666
chore(deps): update dependency refit to v6.3.2 (#1662)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 08:34:41 +00:00
renovate[bot] 3ba4fd4e86
chore(deps): update dependency serilog to v2.12.0 (#1663)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 08:19:35 +00:00
renovate[bot] 56e65b4070
chore(deps): update dependency system.text.json to v8.0.1 (#1659)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 08:08:49 +00:00
renovate[bot] 5071674a28
chore(deps): update dependency benchmarkdotnet to v0.13.12 (#1657)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 07:42:43 +00:00
Glenn Watson d5caa02cb3 feature: Remove UTF8 bom marking 2024-02-17 17:51:40 +11:00
Tim M b7c22ca82d
feat: add leading underscores to typeParameter name (#1641) 2024-02-17 11:24:27 +11:00
dependabot[bot] c9395ac965
build(deps): bump Microsoft.VisualStudio.Threading.Analyzers (#1652)
Bumps [Microsoft.VisualStudio.Threading.Analyzers](https://github.com/microsoft/vs-threading) from 17.8.14 to 17.9.28.
- [Release notes](https://github.com/microsoft/vs-threading/releases)
- [Commits](https://github.com/microsoft/vs-threading/commits)

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.Threading.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-17 11:23:24 +11:00
Glenn 2a41254c11
Create renovate.json 2024-02-17 11:23:00 +11:00
Glenn 663df6b97f
Delete .github/dependabot.yml 2024-02-17 11:22:48 +11:00
dependabot[bot] 5c12ad522f
build(deps): bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 (#1653)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.8.0 to 17.9.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 01:31:54 +00:00
dependabot[bot] 6ebeda54d8
build(deps): bump xunit from 2.6.5 to 2.6.6 (#1643)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.5 to 2.6.6.
- [Commits](https://github.com/xunit/xunit/compare/2.6.5...2.6.6)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-03 09:30:52 +00:00
dependabot[bot] 867efbdcff
build(deps): bump xunit from 2.6.4 to 2.6.5 (#1637)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.4 to 2.6.5.
- [Commits](https://github.com/xunit/xunit/compare/2.6.4...2.6.5)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 01:02:55 +00:00
Tim M 83cf3f8845
chore: minor refactor (#1625)
* chore: use `TryGetValue`

* chore: refactor `DoNotConvertToQueryMap` invert if and reduce unneeded function calls

* chore: use `ToArray` over `ToList`
2024-01-05 07:45:04 +00:00
dependabot[bot] e5bc249551
build(deps): bump xunit.runner.visualstudio from 2.5.5 to 2.5.6 (#1634)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.5 to 2.5.6.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.5...2.5.6)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 01:22:30 +00:00
dependabot[bot] 45ff0ccb4f
build(deps): bump xunit from 2.6.3 to 2.6.4 (#1635)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.3 to 2.6.4.
- [Commits](https://github.com/xunit/xunit/compare/2.6.3...2.6.4)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 01:05:05 +00:00
dependabot[bot] 1dc6a6247f
build(deps): bump xunit.runner.visualstudio from 2.5.4 to 2.5.5 (#1631)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.4 to 2.5.5.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.4...2.5.5)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 17:35:51 +00:00
dependabot[bot] 8e516e8a5a
build(deps): bump xunit from 2.6.2 to 2.6.3 (#1632)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.2 to 2.6.3.
- [Commits](https://github.com/xunit/xunit/compare/2.6.2...2.6.3)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 17:27:25 +00:00
dependabot[bot] ca2ee9a331
build(deps): bump AutoFixture from 4.18.0 to 4.18.1 (#1629)
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.18.0 to 4.18.1.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.18.0...v4.18.1)

---
updated-dependencies:
- dependency-name: AutoFixture
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 22:42:43 +05:30
Tim M 4055e7a29c
feat: use `private static` fields to store constant `typeParameters` where possible (#1606) 2023-12-02 20:49:23 +05:30