Skip to content

Commit 5838ff8

Browse files
committed
Merge branch 'main' into task/cicd-v2-docs
2 parents f7622b9 + f0b0111 commit 5838ff8

File tree

19 files changed

+334
-107
lines changed

19 files changed

+334
-107
lines changed

14/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,10 @@ The deprecated version, `Microsoft.Data.SQlite`, has been removed and will requi
223223

224224
```
225225

226+
* **Webhook payload property casing has changed**
227+
228+
Following changes to serialization, property names in the payload now use camelCase instead of PascalCase. For example, the 'CreateDate' property is now 'createDate'.
229+
226230
**In-depth and further breaking changes for Umbraco 14 can be found on the** [**CMS GitHub**](https://github.com/umbraco/Umbraco-CMS/pulls?q=is%3Apr+base%3Av14%2Fdev+label%3Acategory%2Fbreaking) **repository and on** [**Our Website**](https://our.umbraco.com/download/releases/1400)**.**
227231

228232
</details>

14/umbraco-cms/reference/webhooks/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,27 +52,27 @@ For example, the `Content Published` event sends the specific content that trigg
5252

5353
```json
5454
{
55-
"Name": "Root",
56-
"CreateDate": "2023-12-11T12:02:38.9979314",
57-
"UpdateDate": "2023-12-11T12:02:38.9979314",
58-
"Route": {
59-
"Path": "/",
60-
"StartItem": {
61-
"Id": "c1922956-7855-4fa0-8f2c-7af149a92135",
62-
"Path": "root"
55+
"name": "Root",
56+
"createDate": "2023-12-11T12:02:38.9979314",
57+
"updateDate": "2023-12-11T12:02:38.9979314",
58+
"route": {
59+
"path": "/",
60+
"startItem": {
61+
"id": "c1922956-7855-4fa0-8f2c-7af149a92135",
62+
"path": "root"
6363
}
6464
},
65-
"Id": "c1922956-7855-4fa0-8f2c-7af149a92135",
66-
"ContentType": "root",
67-
"Properties": {}
65+
"id": "c1922956-7855-4fa0-8f2c-7af149a92135",
66+
"contentType": "root",
67+
"properties": {}
6868
}
6969
```
7070

7171
However, the `Content deleted` does not send the entire content as JSON, instead, it sends the `Id` of the content:
7272

7373
```json
7474
{
75-
"Id": "c1922956-7855-4fa0-8f2c-7af149a92135"
75+
"id": "c1922956-7855-4fa0-8f2c-7af149a92135"
7676
}
7777
```
7878

15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,10 @@ The deprecated version, `Microsoft.Data.SQlite`, has been removed and will requi
272272

273273
```
274274

275+
* **Webhook payload property casing has changed**
276+
277+
Following changes to serialization, property names in the payload now use camelCase instead of PascalCase. For example, the 'CreateDate' property is now 'createDate'.
278+
275279
**In-depth and further breaking changes for Umbraco 14 can be found on the** [**CMS GitHub**](https://github.com/umbraco/Umbraco-CMS/pulls?q=is%3Apr+base%3Av14%2Fdev+label%3Acategory%2Fbreaking) **repository and on** [**Our Website**](https://our.umbraco.com/download/releases/1400)**.**
276280

277281
</details>

15/umbraco-cms/reference/webhooks/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,27 +56,27 @@ Each webhook event sends a JSON payload. For example, the `Content Published` ev
5656

5757
```json
5858
{
59-
"Name": "Root",
60-
"CreateDate": "2023-12-11T12:02:38.9979314",
61-
"UpdateDate": "2023-12-11T12:02:38.9979314",
62-
"Route": {
63-
"Path": "/",
64-
"StartItem": {
65-
"Id": "c1922956-7855-4fa0-8f2c-7af149a92135",
66-
"Path": "root"
59+
"name": "Root",
60+
"createDate": "2023-12-11T12:02:38.9979314",
61+
"updateDate": "2023-12-11T12:02:38.9979314",
62+
"route": {
63+
"path": "/",
64+
"startItem": {
65+
"id": "c1922956-7855-4fa0-8f2c-7af149a92135",
66+
"path": "root"
6767
}
6868
},
69-
"Id": "c1922956-7855-4fa0-8f2c-7af149a92135",
70-
"ContentType": "root",
71-
"Properties": {}
69+
"id": "c1922956-7855-4fa0-8f2c-7af149a92135",
70+
"contentType": "root",
71+
"properties": {}
7272
}
7373
```
7474

7575
The `Content Deleted` event sends only the content ID:
7676

7777
```json
7878
{
79-
"Id": "c1922956-7855-4fa0-8f2c-7af149a92135"
79+
"id": "c1922956-7855-4fa0-8f2c-7af149a92135"
8080
}
8181
```
8282

16/umbraco-cms/extending/creating-custom-seed-key-provider.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class BlogSeedKeyProvider : IDocumentSeedKeyProvider
3131
}
3232
```
3333

34-
Next we'll inject the `IDocumentNavigationQueryService` in order to get the children of the blog node.
34+
2. Inject the `IDocumentNavigationQueryService` to get the children of the blog node.
3535

3636
```csharp
3737
using Umbraco.Cms.Core.Services.Navigation;
@@ -66,6 +66,7 @@ public ISet<Guid> GetSeedKeys()
6666
return new HashSet<Guid>();
6767
}
6868
```
69+
6970
Since this returns it as a set, and all the sets get unioned, we do not have to worry about duplicates.
7071

7172
The final class looks like this:

16/umbraco-cms/fundamentals/backoffice/property-editors/built-in-umbraco-property-editors/radiobutton-list.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ You can use dictionary items to translate the values of a Radiobutton List prope
2626

2727
#### Without Models Builder
2828

29+
{% code caption="HomePageTemplate.cs" %}
30+
2931
```csharp
3032
@if (Model.HasValue("colorTheme"))
3133
{
@@ -34,6 +36,8 @@ You can use dictionary items to translate the values of a Radiobutton List prope
3436
}
3537
```
3638

39+
{% endcode %}
40+
3741
#### With Models Builder
3842

3943
```csharp

16/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,10 @@ The deprecated version, `Microsoft.Data.SQlite`, has been removed and will requi
308308

309309
```
310310

311+
* **Webhook payload property casing has changed**
312+
313+
Following changes to serialization, property names in the payload now use camelCase instead of PascalCase. For example, the 'CreateDate' property is now 'createDate'.
314+
311315
**In-depth and further breaking changes for Umbraco 14 can be found on the** [**CMS GitHub**](https://github.com/umbraco/Umbraco-CMS/pulls?q=is%3Apr+base%3Av14%2Fdev+label%3Acategory%2Fbreaking) **repository and on** [**Our Website**](https://our.umbraco.com/download/releases/1400)**.**
312316

313317
</details>

16/umbraco-cms/reference/using-ioc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ If you need to inject your service into a controller or another service, you wil
225225

226226
{% code title="FooController.cs" %}
227227

228-
```csharp
228+
```none
229229
using IOCDocs.Services;
230230
using Microsoft.AspNetCore.Mvc;
231231

16/umbraco-cms/reference/webhooks/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,27 +56,27 @@ Each webhook event sends a JSON payload. For example, the `Content Published` ev
5656

5757
```json
5858
{
59-
"Name": "Root",
60-
"CreateDate": "2023-12-11T12:02:38.9979314",
61-
"UpdateDate": "2023-12-11T12:02:38.9979314",
62-
"Route": {
63-
"Path": "/",
64-
"StartItem": {
65-
"Id": "c1922956-7855-4fa0-8f2c-7af149a92135",
66-
"Path": "root"
59+
"name": "Root",
60+
"createDate": "2023-12-11T12:02:38.9979314",
61+
"updateDate": "2023-12-11T12:02:38.9979314",
62+
"route": {
63+
"path": "/",
64+
"startItem": {
65+
"id": "c1922956-7855-4fa0-8f2c-7af149a92135",
66+
"path": "root"
6767
}
6868
},
69-
"Id": "c1922956-7855-4fa0-8f2c-7af149a92135",
70-
"ContentType": "root",
71-
"Properties": {}
69+
"id": "c1922956-7855-4fa0-8f2c-7af149a92135",
70+
"contentType": "root",
71+
"properties": {}
7272
}
7373
```
7474

7575
The `Content Deleted` event sends only the content ID:
7676

7777
```json
7878
{
79-
"Id": "c1922956-7855-4fa0-8f2c-7af149a92135"
79+
"id": "c1922956-7855-4fa0-8f2c-7af149a92135"
8080
}
8181
```
8282

16/umbraco-cms/tutorials/creating-a-custom-dashboard/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ description: A guide to creating a custom dashboard in Umbraco
66

77
## Overview
88

9-
This guide takes you through the steps to set up a Custom Dashboard in Umbraco.
10-
11-
The steps we will go through in part one are:
9+
This guide outlines the steps to set up a custom dashboard in Umbraco. Part one covers:
1210

1311
1. [Setting up a Package](./#setting-up-a-package)
1412
2. [Creating the Dashboard Web Component](./#creating-the-dashboard-web-component)
@@ -99,7 +97,7 @@ Now let's create the web component we need for our property editor. This web com
9997
1. Create a file in the `src` folder with the name `welcome-dashboard.element.ts`
10098
2. In this new file, add the following code:
10199

102-
{% code title="welcome-dashboard.element.ts" lineNumbers="true" overflow="wrap" %}
100+
{% code title="welcome-dashboard.element.ts" overflow="wrap" lineNumbers="true" %}
103101
```typescript
104102
import { LitElement, css, html, customElement } from '@umbraco-cms/backoffice/external/lit';
105103
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';

0 commit comments

Comments
 (0)