Skip to content

Commit 3642e80

Browse files
committed
Upcoming releases
1 parent 99dc90d commit 3642e80

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

src/content/docs/release-notes/extensions.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,9 @@ import RN from '/src/components/ReleaseNote.astro';
4141

4242
## Localization Generator
4343

44+
### 2.0 - TBD
45+
<RN type="feature">If you have format index parameters in your string, we now generate a method MyKeyFormat with the number of parameters to match indexes</RN>
46+
<RN type="enhancement">Code comments are now generated with properties and methods so you can see what the default value is</RN>
47+
4448
### 1.0 - July 3, 2025
4549
<RN type="feature">Initial Public Release</RN>

src/content/docs/release-notes/mediator.mdx

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ import RN from '/src/components/ReleaseNote.astro';
99

1010
### v4.10 - TBD
1111
<RN type="feature">New contract key generator - sample below</RN>
12+
<RN type="feature">HTTP generated contracts can now generate JSON converters to remove any need of reflection. This feature is off by default</RN>
1213
<RN type="feature">Re-releasing standalone Sentry library due to AOT not being supported on MAUI via Sentry.Diagnostics</RN>
1314
<RN type="enhancement" breaking={true}>MAUI storage services like offline now use the cache directory</RN>
1415
<RN type="enhancement">New RuntimeEventRegistration service that you can add event handlers to at runtime dynamically</RN>
1516

16-
New Contract Key Generator
17+
#### New Contract Key Generator
1718
* Type must be partial
19+
* Keys support property names with formatting (like DateTime)
20+
* If no key is specified, it will generate a key format for all public instance properties that are not null
1821

1922
```csharp
2023
[Shiny.Mediator.ContractKeyAttribute("MyClass_{MyProperty}_{Date:yyyyMMdd}")]
@@ -30,6 +33,18 @@ public partial class MyClass
3033
// Date will be formatted as yyyyMMdd if not null
3134
```
3235

36+
#### JSON Converter Generation
37+
38+
```xml
39+
<ItemGroup>
40+
<MediatorHttp Include="OpenApiRemote"
41+
Uri="https://youruri"
42+
GenerateJsonConverters="true"
43+
Visible="false" />
44+
</ItemGroup>
45+
```
46+
47+
3348
### 4.9.1
3449
<RN type="fix" repo="mediator" githubNumber="40">Fix storage service deadlock</RN>
3550
<RN type="fix">Fix another release semaphore state in storage service indexing</RN>

0 commit comments

Comments
 (0)