Skip to content

Commit

Permalink
Convert v1.9 to v2.0 (#15938)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek committed May 2, 2024
1 parent 9c541cf commit c967b5d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,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/1.9.0.md
releases/2.0.0.md
# Extensions
markdown_extensions:
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 @@ -4,7 +4,7 @@

<PropertyGroup>
<LangVersion>12.0</LangVersion>
<VersionPrefix>1.9.0</VersionPrefix>
<VersionPrefix>2.0.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 @@ -16,7 +16,7 @@ public class EmailMigrations : DataMigration
public int Create()
#pragma warning restore CA1822
{
// In version 1.9, the OrchardCore.Email.Smtp was split from OrchardCore.Email. To ensure we keep the change
// In version 2.0, the OrchardCore.Email.Smtp was split from OrchardCore.Email. To ensure we keep the change
// backward compatible, we added this migration step to auto-enable the new SMTP feature for sites that use the
// Email service and have SmtpSettings.
ShellScope.AddDeferredTask(async scope =>
Expand Down
6 changes: 5 additions & 1 deletion src/docs/releases/1.9.0.md → src/docs/releases/2.0.0.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Orchard Core 1.9.0
# Orchard Core 2.0.0

Release date: Not yet released

## Upgrade Instructions

Before upgrading to Orchard Core 2.0, you should first upgrade to 1.8, address any warnings, and only then upgrade to 2.0. Be sure to review the list of breaking changes documented below to ensure a seamless transition.

## Breaking Changes

### Drop `Newtonsoft.Json` Support
Expand Down

0 comments on commit c967b5d

Please sign in to comment.