File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
src/content/docs/release-notes Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,27 @@ import RN from '/src/components/ReleaseNote.astro';
8
8
## v4
9
9
10
10
### v4.10 - TBD
11
+ <RN type = " feature" >New contract key generator - sample below</RN >
11
12
<RN type = " feature" >Re-releasing standalone Sentry library due to AOT not being supported on MAUI via Sentry.Diagnostics</RN >
12
13
<RN type = " enhancement" >New RuntimeEventRegistration service that you can add event handlers to at runtime dynamically</RN >
13
14
15
+ New Contract Key Generator
16
+ * Type must be partial
17
+
18
+ ``` csharp
19
+ [Shiny .Mediator .ContractKeyAttribute (" MyClass_{MyProperty}_{Date:yyyyMMdd}" )]
20
+ public partial class MyClass
21
+ {
22
+ public string ? MyProperty { get ; set ;}
23
+ public string ? UnusedProperty { get ; set ;}
24
+ public DateTime ? Date { get ; set ;}
25
+ }
26
+
27
+ // UnusedProperty will not be included in the contract key
28
+ // If a property is null, it is replaced with an empty string
29
+ // Date will be formatted as yyyyMMdd if not null
30
+ ```
31
+
14
32
### 4.9.1
15
33
<RN type = " fix" repo = " mediator" githubNumber = " 40" >Fix storage service deadlock</RN >
16
34
<RN type = " fix" >Fix another release semaphore state in storage service indexing</RN >
You can’t perform that action at this time.
0 commit comments