Skip to content

Commit df28924

Browse files
committed
Update documents with version 1.2.2
1 parent 218f25d commit df28924

File tree

10 files changed

+26
-14
lines changed

10 files changed

+26
-14
lines changed

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ nav:
222222
- Owners: docs/resources/owners/README.md
223223
- Workshops: docs/resources/workshops/README.md
224224
- Releases:
225+
- 1.2.2: docs/releases/1.2.2.md
225226
- 1.2.1: docs/releases/1.2.1.md
226227
- 1.2.0: docs/releases/1.2.0.md
227228
- 1.1.0: docs/releases/1.1.0.md

src/OrchardCore.Build/OrchardCore.Commons.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="Dependencies.props" />
44

55
<PropertyGroup>
6-
<VersionPrefix>1.2.1</VersionPrefix>
6+
<VersionPrefix>1.2.2</VersionPrefix>
77
<VersionSuffix>preview</VersionSuffix>
88
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
99
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

src/OrchardCore/OrchardCore.Abstractions/Modules/Manifest/ManifestConstants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public static class ManifestConstants
55
{
66
public const string OrchardCoreTeam = "The Orchard Core Team";
77

8-
public const string OrchardCoreVersion = "1.2.1";
8+
public const string OrchardCoreVersion = "1.2.2";
99

1010
public const string OrchardCoreWebsite = "https://orchardcore.net";
1111

src/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ Orchard Core CMS supports all major site building strategies:
5858

5959
## Status
6060

61-
The latest released version of Orchard Core is `1.2.1`.
62-
The release notes can be found on <https://github.com/OrchardCMS/OrchardCore/releases/tag/v1.2.1>
61+
The latest released version of Orchard Core is `1.2.2`.
62+
The release notes can be found on <https://github.com/OrchardCMS/OrchardCore/releases/tag/v1.2.2>
6363

6464
Here is a more detailed [roadmap](https://github.com/OrchardCMS/OrchardCore/wiki/Roadmap).
6565

src/docs/getting-started/templates/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ More information about `dotnet new` can be found at <https://docs.microsoft.com/
99
Once the .NET Core SDK has been installed, type the following command to install the templates for creating Orchard Core web applications:
1010

1111
```CMD
12-
dotnet new -i OrchardCore.ProjectTemplates::1.2.1
12+
dotnet new -i OrchardCore.ProjectTemplates::1.2.2
1313
```
1414

1515
This will use the most stable release of Orchard Core. In order to use the latest `main` branch of Orchard Core, the following command can be used:
1616

1717
```CMD
18-
dotnet new -i OrchardCore.ProjectTemplates::1.2.1-* --nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json
18+
dotnet new -i OrchardCore.ProjectTemplates::1.2.2-* --nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json
1919
```
2020

2121
## Create a new website
@@ -44,7 +44,7 @@ Options:
4444
4545
-ov|--orchard-version Specifies which version of Orchard Core packages to use.
4646
string - Optional
47-
Default: 1.2.1
47+
Default: 1.2.2
4848
```
4949

5050
Logging can be ignored with this command:
@@ -137,7 +137,7 @@ Options:
137137
138138
-ov|--orchard-version Specifies which version of Orchard Core packages to use.
139139
string - Optional
140-
Default: 1.2.1
140+
Default: 1.2.2
141141
```
142142

143143
```CMD

src/docs/guides/add-admin-menu/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ There are different ways to create sites and modules for Orchard Core. You can l
1919

2020
You can install the latest released templates using this command:
2121

22-
```dotnet new -i OrchardCore.ProjectTemplates::1.2.1-*```
22+
```dotnet new -i OrchardCore.ProjectTemplates::1.2.2-*```
2323

2424
!!! note
2525
To use the development branch of the template add `--nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json`
@@ -40,10 +40,10 @@ The next step is to reference the module from the application, by adding a proje
4040

4141
We also need a reference to the `OrchardCore.Admin` package in order to be able to implement the required interfaces:
4242

43-
```dotnet add .\MyModule\MyModule.csproj package OrchardCore.Admin --version 1.2.1-*```
43+
```dotnet add .\MyModule\MyModule.csproj package OrchardCore.Admin --version 1.2.2-*```
4444

4545
!!! note
46-
To use the development branch of the template add ` --source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json --version 1.2.1-*`
46+
To use the development branch of the template add ` --source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json --version 1.2.2-*`
4747

4848
## Adding our controller and views
4949

src/docs/guides/create-cms-application/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ There are different ways to create sites and modules for Orchard Core. You can l
1313

1414
In this guide we will use our "Code Generation Templates". You can install the latest stable release of the templates using this command:
1515

16-
```dotnet new -i OrchardCore.ProjectTemplates::1.2.1-*```
16+
```dotnet new -i OrchardCore.ProjectTemplates::1.2.2-*```
1717

1818
!!! note
1919
To use the development branch of the template add `--nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json`

src/docs/guides/create-modular-application-mvc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ There are different ways to create sites and modules for Orchard Core. You can l
1818

1919
In this guide we will use our [Code Generation Templates](../../getting-started/templates/). You can install the latest stable release of the templates using this command:
2020

21-
```dotnet new -i OrchardCore.ProjectTemplates::1.2.1-*```
21+
```dotnet new -i OrchardCore.ProjectTemplates::1.2.2-*```
2222

2323
!!! note
2424
To use the development branch of the template add `--nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json`

src/docs/guides/decoupled-cms/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ This will allow for the Razor Pages to be reloaded without the need to recompile
7070

7171
```xml
7272
<ItemGroup>
73-
<PackageReference Include="OrchardCore.Application.Cms.Core.Targets" Version="1.2.1" />
73+
<PackageReference Include="OrchardCore.Application.Cms.Core.Targets" Version="1.2.2" />
7474
</ItemGroup>
7575
```
7676
This will add the packages from Orchard Core CMS

src/docs/releases/1.2.2.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Orchard Core 1.2.2
2+
3+
Release date: January 2022
4+
5+
This is a security release fixing multiple Cross-Site-Scripting vulnerabilities.
6+
7+
## What's Changed
8+
* Fix localization and sanitization usages by @sebastienros in https://github.com/OrchardCMS/OrchardCore/pull/11034
9+
10+
11+
**Full Changelog**: https://github.com/OrchardCMS/OrchardCore/compare/v1.2.1...v1.2.2

0 commit comments

Comments
 (0)