Skip to content

Commit

Permalink
Update documents with version 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros committed Jan 11, 2022
1 parent 4da927d commit 99ba2a9
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 14 deletions.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ nav:
- Owners: docs/resources/owners/README.md
- Workshops: docs/resources/workshops/README.md
- Releases:
- 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
- 1.0.0: docs/releases/1.0.0.md
Expand Down
2 changes: 1 addition & 1 deletion src/OrchardCore.Build/OrchardCore.Commons.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="Dependencies.props" />

<PropertyGroup>
<VersionPrefix>1.2.0</VersionPrefix>
<VersionPrefix>1.2.1</VersionPrefix>
<VersionSuffix>preview</VersionSuffix>
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public static class ManifestConstants
{
public const string OrchardCoreTeam = "The Orchard Core Team";

public const string OrchardCoreVersion = "1.2.0";
public const string OrchardCoreVersion = "1.2.1";

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

Expand Down
4 changes: 2 additions & 2 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ Orchard Core CMS supports all major site building strategies:

## Status

The latest released version of Orchard Core is `1.2.0`.
The release notes can be found on <https://github.com/OrchardCMS/OrchardCore/releases/tag/v1.2.0>
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>

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

Expand Down
8 changes: 4 additions & 4 deletions src/docs/getting-started/templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0
dotnet new -i OrchardCore.ProjectTemplates::1.2.1
```

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.0-* --nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json
dotnet new -i OrchardCore.ProjectTemplates::1.2.1-* --nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json
```

## Create a new website
Expand Down Expand Up @@ -44,7 +44,7 @@ Options:
-ov|--orchard-version Specifies which version of Orchard Core packages to use.
string - Optional
Default: 1.2.0
Default: 1.2.1
```

Logging can be ignored with this command:
Expand Down Expand Up @@ -137,7 +137,7 @@ Options:
-ov|--orchard-version Specifies which version of Orchard Core packages to use.
string - Optional
Default: 1.2.0
Default: 1.2.1
```

```CMD
Expand Down
6 changes: 3 additions & 3 deletions src/docs/guides/add-admin-menu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0-*```
```dotnet new -i OrchardCore.ProjectTemplates::1.2.1-*```

!!! note
To use the development branch of the template add `--nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json`
Expand All @@ -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.0-*```
```dotnet add .\MyModule\MyModule.csproj package OrchardCore.Admin --version 1.2.1-*```

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

## Adding our controller and views

Expand Down
2 changes: 1 addition & 1 deletion src/docs/guides/create-cms-application/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0-*```
```dotnet new -i OrchardCore.ProjectTemplates::1.2.1-*```

!!! note
To use the development branch of the template add `--nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json`
Expand Down
2 changes: 1 addition & 1 deletion src/docs/guides/create-modular-application-mvc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0-*```
```dotnet new -i OrchardCore.ProjectTemplates::1.2.1-*```

!!! note
To use the development branch of the template add `--nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json`
Expand Down
2 changes: 1 addition & 1 deletion src/docs/guides/decoupled-cms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0" />
<PackageReference Include="OrchardCore.Application.Cms.Core.Targets" Version="1.2.1" />
</ItemGroup>
```
This will add the packages from Orchard Core CMS
Expand Down
11 changes: 11 additions & 0 deletions src/docs/releases/1.2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Orchard Core 1.2.1

Release date: January 2022

This is a security release fixing multiple Cross-Site-Scripting vulnerabilities.

## What's Changed
* Fix encoding issues by @sebastienros in https://github.com/OrchardCMS/OrchardCore/pull/11008


**Full Changelog**: https://github.com/OrchardCMS/OrchardCore/compare/v1.2.0...v1.2.1

0 comments on commit 99ba2a9

Please sign in to comment.