diff --git a/src/site/content/blog/2024/05/apache-shiro-201-released.adoc b/src/site/content/blog/2024/05/apache-shiro-201-released.adoc new file mode 100644 index 000000000..038fa1f7c --- /dev/null +++ b/src/site/content/blog/2024/05/apache-shiro-201-released.adoc @@ -0,0 +1,54 @@ +//// +# 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.1 available +:jbake-author: Lenny Primak +:jbake-date: 2024-05-30 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.1. + +This release is available for download now. + +== Release Highlights +* Added a supported way to decorate Shiro SecurityManager +* Better compatibility with OSGi for Jakarta EE jakarta namespace +* Fixed exception handling bugs in Jax-Rs integration module +* Fixed a bug in Jakarta Faces integration +* Better compatibility when building with Maven 4.x + +== All changes + +You can learn more on link:https://github.com/apache/shiro/releases/tag/shiro-root-2.0.1[GitHub, Release 2.0.1]. + +== 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/documentation.adoc b/src/site/content/documentation.adoc index f6297ca10..1a8f68a13 100644 --- a/src/site/content/documentation.adoc +++ b/src/site/content/documentation.adoc @@ -35,7 +35,7 @@ Apache Shiro ${versions.latestRelease} (link:download.html[Download]) * link:https://javadoc.io/doc/org.apache.shiro[API] (Javadoc - Hosted on javadoc.io) * link:https://github.com/apache/shiro/tree/shiro-root-${versions.latestRelease}/[Browse Source] (GitHub tag) -* link:static/${versions.latestRelease}/[Maven Static Site] +* link:static/latest/[Maven Static Site] ++++ <@lendahand.lendahand /> diff --git a/src/site/data/releases.yaml b/src/site/data/releases.yaml index 61300eec7..38626f434 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: "2.0.0" +latestRelease: "2.0.1" # 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.1': + releaseDate: 2024-05-30 '2.0.0': releaseDate: 2024-02-28 '1.13.0': @@ -305,7 +307,7 @@ releases: - sha512 shiro20x: - version: 2.0.0 + version: 2.0.1 artifacts: - shiroCore - shiroWeb diff --git a/src/site/templates/macros/versions.ftl b/src/site/templates/macros/versions.ftl index b08398e60..84a87f953 100644 --- a/src/site/templates/macros/versions.ftl +++ b/src/site/templates/macros/versions.ftl @@ -6,29 +6,7 @@ <#assign artifacts = data.get('artifacts.yaml').artifacts> -<#macro shirov2> - <#assign theDate = .now?date> -
- - | -
- Shiro v2 alpha notice
-
-
- As of ${theDate?iso_utc}, this version of Apache Shiro is in Alpha stage. - |
-
Shiro v1 version notice
-
diff --git a/src/site/templates/page.ftl b/src/site/templates/page.ftl
index cba2d98af..29ee2a695 100644
--- a/src/site/templates/page.ftl
+++ b/src/site/templates/page.ftl
@@ -33,7 +33,6 @@
<#import "macros/versions.ftl" as versions>
<#if (content.uri)?contains("/v2/") || (content.uri)?starts_with("v2/")>
- <@versions.shirov2 />
<#else>
<#-- this is a shiro v1 page -->
<#assign hasv2=((content["shiro-hasv2"])?? && (content["shiro-hasv2"]) == "true") />
As of ${theDate?iso_utc}, Shiro v1 will soon be superseded by v2. + As of February 28, 2024, Shiro v1 was superseded by v2. <#if (sourcepage)?? && (sourcepage)?is_string && (sourcepage) != "" && hasv2 == true> - <#assign target=sourcepage?keep_after_last("/") /> - Read this page in the v2 documentation. + Read this page in the v2 documentation. #if> |