提交 df28924e 编写于 作者: S Sebastien Ros

Update documents with version 1.2.2

上级 218f25dd
......@@ -222,6 +222,7 @@ nav:
- Owners: docs/resources/owners/README.md
- Workshops: docs/resources/workshops/README.md
- Releases:
- 1.2.2: docs/releases/1.2.2.md
- 1.2.1: docs/releases/1.2.1.md
- 1.2.0: docs/releases/1.2.0.md
- 1.1.0: docs/releases/1.1.0.md
......
......@@ -3,7 +3,7 @@
<Import Project="Dependencies.props" />
<PropertyGroup>
<VersionPrefix>1.2.1</VersionPrefix>
<VersionPrefix>1.2.2</VersionPrefix>
<VersionSuffix>preview</VersionSuffix>
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
......
......@@ -5,7 +5,7 @@ namespace OrchardCore.Modules.Manifest
{
public const string OrchardCoreTeam = "The Orchard Core Team";
public const string OrchardCoreVersion = "1.2.1";
public const string OrchardCoreVersion = "1.2.2";
public const string OrchardCoreWebsite = "https://orchardcore.net";
......
......@@ -58,8 +58,8 @@ Orchard Core CMS supports all major site building strategies:
## Status
The latest released version of Orchard Core is `1.2.1`.
The release notes can be found on <https://github.com/OrchardCMS/OrchardCore/releases/tag/v1.2.1>
The latest released version of Orchard Core is `1.2.2`.
The release notes can be found on <https://github.com/OrchardCMS/OrchardCore/releases/tag/v1.2.2>
Here is a more detailed [roadmap](https://github.com/OrchardCMS/OrchardCore/wiki/Roadmap).
......
......@@ -9,13 +9,13 @@ More information about `dotnet new` can be found at <https://docs.microsoft.com/
Once the .NET Core SDK has been installed, type the following command to install the templates for creating Orchard Core web applications:
```CMD
dotnet new -i OrchardCore.ProjectTemplates::1.2.1
dotnet new -i OrchardCore.ProjectTemplates::1.2.2
```
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:
```CMD
dotnet new -i OrchardCore.ProjectTemplates::1.2.1-* --nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json
dotnet new -i OrchardCore.ProjectTemplates::1.2.2-* --nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json
```
## Create a new website
......@@ -44,7 +44,7 @@ Options:
-ov|--orchard-version Specifies which version of Orchard Core packages to use.
string - Optional
Default: 1.2.1
Default: 1.2.2
```
Logging can be ignored with this command:
......@@ -137,7 +137,7 @@ Options:
-ov|--orchard-version Specifies which version of Orchard Core packages to use.
string - Optional
Default: 1.2.1
Default: 1.2.2
```
```CMD
......
......@@ -19,7 +19,7 @@ There are different ways to create sites and modules for Orchard Core. You can l
You can install the latest released templates using this command:
```dotnet new -i OrchardCore.ProjectTemplates::1.2.1-*```
```dotnet new -i OrchardCore.ProjectTemplates::1.2.2-*```
!!! note
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
We also need a reference to the `OrchardCore.Admin` package in order to be able to implement the required interfaces:
```dotnet add .\MyModule\MyModule.csproj package OrchardCore.Admin --version 1.2.1-*```
```dotnet add .\MyModule\MyModule.csproj package OrchardCore.Admin --version 1.2.2-*```
!!! note
To use the development branch of the template add ` --source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json --version 1.2.1-*`
To use the development branch of the template add ` --source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json --version 1.2.2-*`
## Adding our controller and views
......
......@@ -13,7 +13,7 @@ There are different ways to create sites and modules for Orchard Core. You can l
In this guide we will use our "Code Generation Templates". You can install the latest stable release of the templates using this command:
```dotnet new -i OrchardCore.ProjectTemplates::1.2.1-*```
```dotnet new -i OrchardCore.ProjectTemplates::1.2.2-*```
!!! note
To use the development branch of the template add `--nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json`
......
......@@ -18,7 +18,7 @@ There are different ways to create sites and modules for Orchard Core. You can l
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:
```dotnet new -i OrchardCore.ProjectTemplates::1.2.1-*```
```dotnet new -i OrchardCore.ProjectTemplates::1.2.2-*```
!!! note
To use the development branch of the template add `--nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json`
......
......@@ -70,7 +70,7 @@ This will allow for the Razor Pages to be reloaded without the need to recompile
```xml
<ItemGroup>
<PackageReference Include="OrchardCore.Application.Cms.Core.Targets" Version="1.2.1" />
<PackageReference Include="OrchardCore.Application.Cms.Core.Targets" Version="1.2.2" />
</ItemGroup>
```
This will add the packages from Orchard Core CMS
......
# Orchard Core 1.2.2
Release date: January 2022
This is a security release fixing multiple Cross-Site-Scripting vulnerabilities.
## What's Changed
* Fix localization and sanitization usages by @sebastienros in https://github.com/OrchardCMS/OrchardCore/pull/11034
**Full Changelog**: https://github.com/OrchardCMS/OrchardCore/compare/v1.2.1...v1.2.2
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册