enh: update to Shiro 2.0
diff --git a/src/site/assets/.htaccess b/src/site/assets/.htaccess
index 19f68cb..9fb5c74 100644
--- a/src/site/assets/.htaccess
+++ b/src/site/assets/.htaccess
@@ -52,5 +52,5 @@
RedirectMatch /static/1.0.0-incubating(.*) /static/current$1
# latest
-RedirectMatch /static/current(.*) /static/1.13.0$1
-RedirectMatch /static/latest(.*) /static/1.13.0$1
+RedirectMatch /static/current(.*) /static/2.0.0$1
+RedirectMatch /static/latest(.*) /static/2.0.0$1
diff --git a/src/site/content/blog/2024/02/apache-shiro-200-released.adoc b/src/site/content/blog/2024/02/apache-shiro-200-released.adoc
new file mode 100644
index 0000000..83cf546
--- /dev/null
+++ b/src/site/content/blog/2024/02/apache-shiro-200-released.adoc
@@ -0,0 +1,55 @@
+////
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+////
+
+= 2.0.0 available
+:jbake-author: Lenny Primak
+:jbake-date: 2024-02-28 00:00:00
+:jbake-type: post
+:jbake-status: published
+:jbake-tags: blog, release
+:idprefix:
+:icons: font
+
+The Apache Shiro team is pleased to announce the release of Apache Shiro version 2.0.0.
+This is the first major release for Shiro 2.x
+
+This release is available for download now.
+
+== Release Highlights
+* Java 11 is the minimum supported JVM version
+* Jakarta EE 10 support (Java/Jakarta EE 8 is also supported)
+* New Jakarta EE integration module (see https://shiro.apache.org/jakarta-ee.html[Jakarta EE Integration] for more information)
+* Spring 3.x support (SpringBoot 2.x is also supported)
+* Automatic form resubmission when session expired (Jakarta EE only)
+
+== All changes
+
+You can learn more on link:https://github.com/apache/shiro/releases/tag/shiro-root-2.0.0[GitHub, Release 2.0.0].
+
+== Download
+
+Download and verification instructions are available link:/download.html[on our download page].
+
+== Documentation
+
+For more information on link:/documentation.html[Shiro, please read the documentation.]
+
+Enjoy!
+
+The Apache Shiro Team
diff --git a/src/site/content/download.adoc b/src/site/content/download.adoc
index 2b70daa..0ab09e6 100644
--- a/src/site/content/download.adoc
+++ b/src/site/content/download.adoc
@@ -1,13 +1,13 @@
= Download Apache Shiro
-:jbake-date: 2022-06-28 00:00:00
+:jbake-date: 2024-02-28 00:00:00
:jbake-type: download
:jbake-status: published
:jbake-tags: documentation, download
-:jbake-releases: {"versions":["shiro113x"]}
+:jbake-releases: {"versions":["shiro20x"]}
:idprefix:
:icons: font
-Apache Shiro ${versions.latestRelease} is the current stable release (Java 1.8+ JVM).
+Apache Shiro ${versions.latestRelease} is the current stable release (Java 11+).
To download Shiro please follow the instructions below.
diff --git a/src/site/content/jakarta-ee.adoc b/src/site/content/jakarta-ee.adoc
index 8d3923c..c10f3ba 100644
--- a/src/site/content/jakarta-ee.adoc
+++ b/src/site/content/jakarta-ee.adoc
@@ -82,7 +82,7 @@
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-bom</artifactId>
- <version>${versions.latestAlphaRelease}</version>
+ <version>${versions.latestRelease}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
diff --git a/src/site/data/releases.yaml b/src/site/data/releases.yaml
index 82a9b7e..61300ee 100644
--- a/src/site/data/releases.yaml
+++ b/src/site/data/releases.yaml
@@ -1,12 +1,14 @@
---
# for each release, update this variable with the latest version.
-latestRelease: "1.13.0"
+latestRelease: "2.0.0"
# for each alpha release, update this variable with the latest alpha version.
# it can be dropped after shiro 2 goes final.
latestAlphaRelease: "2.0.0-alpha-4"
# also add or replace the latest version here.
versionInfo:
+ '2.0.0':
+ releaseDate: 2024-02-28
'1.13.0':
releaseDate: 2023-11-10
'1.12.0':
@@ -22,6 +24,7 @@
# oldReleases contain a list of all releases but the most recent one.
# this is used for release-archive.adoc.
oldReleases:
+ - shiro113x
- shiro112x
- shiro111x
- shiro110x
@@ -301,10 +304,9 @@
hashes:
- sha512
- shiro200-alpha-2x:
- version: 2.0.0-alpha-4
+ shiro20x:
+ version: 2.0.0
artifacts:
- - shiroAll
- shiroCore
- shiroWeb
- shiroServletPlugin