Skip to content

Commit

Permalink
Release 2.0.0 (#16427)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Sébastien Ros <[email protected]>
  • Loading branch information
MikeAlhayek and sebastienros authored Sep 9, 2024
1 parent f25c461 commit 8e090d3
Show file tree
Hide file tree
Showing 23 changed files with 777 additions and 29 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<PackageVersion Include="OpenIddict.Validation.AspNetCore" Version="5.7.0" />
<PackageVersion Include="OpenIddict.Validation.DataProtection" Version="5.7.0" />
<PackageVersion Include="OpenIddict.Validation.SystemNetHttp" Version="5.7.0" />
<PackageVersion Include="OrchardCore.Translations.All" Version="1.8.0" />
<PackageVersion Include="OrchardCore.Translations.All" Version="2.0.0" />
<PackageVersion Include="PdfPig" Version="0.1.8" />
<PackageVersion Include="Serilog.AspNetCore" Version="8.0.2" />
<PackageVersion Include="Shortcodes" Version="1.3.4" />
Expand Down
19 changes: 18 additions & 1 deletion NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,25 @@
<packageSources>
<clear />
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
<!-- This feed should not be used when shipping on NuGet. It should just be used in the dev branch while dependencies are not available on NuGet.org -->
<!--
This feed is intended for development purposes only and should not be used when publishing to NuGet.
It is meant to be utilized exclusively in the dev branch while certain dependencies are unavailable on NuGet.org.
As multiple sources are being used, be sure to uncomment the 'packageSourceMapping' section below.
-->
<!-- add key="OrchardCore" value="https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json" /-->
</packageSources>

<!--
<packageSourceMapping>
<packageSource key="OrchardCore">
<package pattern="OrchardCore.*" />
</packageSource>
<packageSource key="NuGet">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
-->

<disabledPackageSources />
</configuration>
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Orchard Core consists of two distinct projects:

## Build Status

Stable (`release/1.8.4`):
Stable (`release/2.0.0`):

[![Build status](https://github.com/OrchardCMS/OrchardCore/actions/workflows/release_ci.yml/badge.svg)](https://github.com/OrchardCMS/OrchardCore/actions?query=workflow%3A%22Release+-+CI%22)
[![NuGet](https://img.shields.io/nuget/v/OrchardCore.Application.Cms.Targets.svg)](https://www.nuget.org/packages/OrchardCore.Application.Cms.Targets)
Expand All @@ -23,7 +23,7 @@ Nightly (`main`):
[![Build status](https://github.com/OrchardCMS/OrchardCore/actions/workflows/preview_ci.yml/badge.svg)](https://github.com/OrchardCMS/OrchardCore/actions?query=workflow%3A%22Preview+-+CI%22)
[![Cloudsmith](https://api-prd.cloudsmith.io/badges/version/orchardcore/preview/nuget/OrchardCore.Application.Cms.Targets/latest/x/?render=true&badge_token=gAAAAABey9hKFD_C-ZIpLvayS3HDsIjIorQluDs53KjIdlxoDz6Ntt1TzvMNJp7a_UWvQbsfN5nS7_0IbxCyqHZsjhmZP6cBkKforo-NqwrH5-E6QCrJ3D8%3D)](https://cloudsmith.io/~orchardcore/repos/preview/packages/detail/nuget/OrchardCore.Application.Cms.Targets/latest/)

## Project Status: v1.8.4
## Project Status: v2.0.0

The software is production-ready, and capable of serving large mission-critical applications as well, and we're not aware of any fundamental bugs or missing features we deem crucial. Orchard Core continues to evolve, with each version bringing new improvements, and keeping up with the cutting-edge of .NET.

Expand Down
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ validation:
# Add files here that are intentionally not in the navigation and thus omitted_files shouldn't warn about them.
not_in_nav: |
samples/
releases/2.0.0.md
releases/2.1.0.md
# Extensions
markdown_extensions:
Expand Down Expand Up @@ -271,6 +271,7 @@ nav:
- Owners: resources/owners/README.md
- Workshops: resources/workshops/README.md
- Releases:
- 2.0.0: releases/2.0.0.md
- 1.8.4: releases/1.8.4.md
- 1.8.3: releases/1.8.3.md
- 1.8.2: releases/1.8.2.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 @@ -2,7 +2,7 @@

<PropertyGroup>
<LangVersion>12.0</LangVersion>
<VersionPrefix>2.0.0</VersionPrefix>
<VersionPrefix>2.1.0</VersionPrefix>
<VersionSuffix>preview</VersionSuffix>
<VersionSuffix Condition="'$(VersionSuffix)'!='' AND '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
<WarningsNotAsErrors>612,618</WarningsNotAsErrors>
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.8.4";
public const string OrchardCoreVersion = "2.0.0";

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
},
"usageExamples": [
"--framework net8.0",
"--orchard-version 1.8.4"
"--orchard-version 2.0.0"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"datatype": "string",
"description": "Specifies which version of Orchard Core packages to use.",
"replaces": "$(TemplateOrchardPackageVersion)",
"defaultValue": "1.8.4"
"defaultValue": "2.0.0"
}
},
"sources": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"usageExamples": [
"--framework net8.0",
"--logger none",
"--orchard-version 1.8.4"
"--orchard-version 2.0.0"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"datatype": "string",
"description": "Specifies which version of Orchard Core packages to use.",
"replaces": "$(TemplateOrchardPackageVersion)",
"defaultValue": "1.8.4"
"defaultValue": "2.0.0"
},
"UseNLog": {
"type": "computed",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
},
"usageExamples": [
"--framework net8.0",
"--orchard-version 1.8.4"
"--orchard-version 2.0.0"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"datatype": "string",
"description": "Specifies which version of Orchard Core packages to use.",
"replaces": "$(TemplateOrchardPackageVersion)",
"defaultValue": "1.8.4"
"defaultValue": "2.0.0"
}
},
"sources": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
},
"usageExamples": [
"--framework net8.0",
"--orchard-version 1.8.4"
"--orchard-version 2.0.0"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"datatype": "string",
"description": "Specifies which version of Orchard Core packages to use.",
"replaces": "$(TemplateOrchardPackageVersion)",
"defaultValue": "1.8.4"
"defaultValue": "2.0.0"
}
},
"sources": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"datatype": "string",
"description": "Specifies which version of Orchard Core packages to use.",
"replaces": "$(TemplateOrchardPackageVersion)",
"defaultValue": "1.8.4"
"defaultValue": "2.0.0"
}
},
"sources": [
Expand Down
2 changes: 1 addition & 1 deletion src/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Orchard Core CMS supports all major site building strategies:

## Status

The latest released version of Orchard Core is `1.8.4`. The release notes can be found under [Releases](releases/1.8.4.md).
The latest released version of Orchard Core is `2.0.0`. The release notes can be found under [Releases](releases/2.0.0.md).

## Getting Started

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 install OrchardCore.ProjectTemplates::1.8.4
dotnet new install OrchardCore.ProjectTemplates::2.0.0
```

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 install OrchardCore.ProjectTemplates::1.8.4-* --nuget-source https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json
dotnet new install OrchardCore.ProjectTemplates::2.0.0-* --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.8.4
Default: 2.0.0
```

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

```CMD
Expand Down
8 changes: 4 additions & 4 deletions src/docs/guides/add-admin-menu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ 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 install OrchardCore.ProjectTemplates::1.8.4-*```
```dotnet new install OrchardCore.ProjectTemplates::2.0.0-*```

!!! 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.8.4-*```
```dotnet add .\MyModule\MyModule.csproj package OrchardCore.Admin --version 2.0.0-*```

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

## 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 install OrchardCore.ProjectTemplates::1.8.4-*```
```dotnet new install OrchardCore.ProjectTemplates::2.0.0-*```

!!! 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/README.md). You can install the latest stable release of the templates using this command:

```dotnet new install OrchardCore.ProjectTemplates::1.8.4-*```
```dotnet new install OrchardCore.ProjectTemplates::2.0.0-*```

!!! 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 @@ -69,7 +69,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.8.4" />
<PackageReference Include="OrchardCore.Application.Cms.Core.Targets" Version="2.0.0" />
</ItemGroup>
```

Expand Down
Loading

0 comments on commit 8e090d3

Please sign in to comment.