Commit e6aadaa
v2.0.0 - .NET 10 GA & Polly v8 Migration
## Major Changes
### .NET 10 GA Migration
- Migrated from .NET 10 Preview to stable GA release
- Removed EnablePreviewFeatures flag
- Updated to latestMajor LangVersion
### Polly v8 Modernization
- Upgraded from Polly 7.2.4 to 8.6.4
- Migrated from legacy IAsyncPolicy to ResiliencePipeline API
- Replaced Policy.Handle/WaitAndRetryAsync with ResiliencePipelineBuilder
- Adopted modern retry strategy with exponential backoff
- Updated exception handling to support OperationCanceledException
- Improved code readability and maintainability
### Code Improvements
- Refactored GeminiService to use Polly v8 idioms
- Updated retry configuration to use new declarative API
- Enhanced error handling for cancelled operations
- Updated unit tests to accommodate Polly v8 behavior
- Removed obsolete policy construction code
### Documentation
- Updated README with Polly v8 badge
- Added resilient HTTP communication description
- Removed preview-specific configuration notes
## Breaking Changes
- Requires .NET 10 GA (released Nov 12, 2025)
- Polly dependency upgraded to v8.x (may affect consumers using Polly directly)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 8fa6d68 commit e6aadaa
File tree
6 files changed
+155
-18
lines changed- .idea/.idea.SWEN3.Paperless.RabbitMq/.idea
- SWEN3.Paperless.RabbitMq.Tests/Unit
- SWEN3.Paperless.RabbitMq
- GenAI
6 files changed
+155
-18
lines changedLines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 116 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
39 | | - | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
54 | 62 | | |
55 | | - | |
56 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
57 | 69 | | |
58 | 70 | | |
59 | 71 | | |
| |||
86 | 98 | | |
87 | 99 | | |
88 | 100 | | |
89 | | - | |
| 101 | + | |
90 | 102 | | |
91 | 103 | | |
92 | | - | |
93 | | - | |
| 104 | + | |
| 105 | + | |
94 | 106 | | |
95 | | - | |
| 107 | + | |
96 | 108 | | |
97 | 109 | | |
98 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments