You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2025/01/13 14:00:49 UTC

(sling-site) branch feature/sling-13-released created (now 0504b670b)

This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a change to branch feature/sling-13-released
in repository https://gitbox.apache.org/repos/asf/sling-site.git


      at 0504b670b Sling 13 release: Link to release notes in news, update apidocs links

This branch includes the following new commits:

     new 0504b670b Sling 13 release: Link to release notes in news, update apidocs links

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(sling-site) 01/01: Sling 13 release: Link to release notes in news, update apidocs links

Posted by ss...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a commit to branch feature/sling-13-released
in repository https://gitbox.apache.org/repos/asf/sling-site.git

commit 0504b670baa0817606c9bbe5f2b1787df722cefc
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Mon Jan 13 15:00:39 2025 +0100

    Sling 13 release: Link to release notes in news, update apidocs links
---
 src/main/jbake/assets/.htaccess                 | 2 +-
 src/main/jbake/content/documentation/apidocs.md | 1 +
 src/main/jbake/content/news.md                  | 1 +
 src/main/jbake/templates/includes/U.groovy      | 4 ++--
 src/main/jbake/templates/menu.tpl               | 1 +
 5 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/main/jbake/assets/.htaccess b/src/main/jbake/assets/.htaccess
index de3941f4f..35f919514 100644
--- a/src/main/jbake/assets/.htaccess
+++ b/src/main/jbake/assets/.htaccess
@@ -22,7 +22,7 @@ AddDefaultCharset utf-8
 
 # Redirect to API docs of latest sling release
 RewriteCond %{REQUEST_URI} ^/apidocs/latest/?$
-RewriteRule ^ /apidocs/sling12/ [R=302,L]
+RewriteRule ^ /apidocs/sling13/ [R=302,L]
 
 # Error pages
 ErrorDocument 403 /errors/403.html
diff --git a/src/main/jbake/content/documentation/apidocs.md b/src/main/jbake/content/documentation/apidocs.md
index 9bc668e4b..5a1355194 100644
--- a/src/main/jbake/content/documentation/apidocs.md
+++ b/src/main/jbake/content/documentation/apidocs.md
@@ -9,6 +9,7 @@ tableOfContents=false
 
 Use these links to access the API docs of the various Sling versions:
 
+* [Sling 13](/apidocs/sling13/index.html)
 * [Sling 12](/apidocs/sling12/index.html)
 * [Sling 11](/apidocs/sling11/index.html)
 * [Sling 10](/apidocs/sling10/index.html)
diff --git a/src/main/jbake/content/news.md b/src/main/jbake/content/news.md
index e5f88776c..ed623bc7d 100644
--- a/src/main/jbake/content/news.md
+++ b/src/main/jbake/content/news.md
@@ -5,6 +5,7 @@ tags=news
 tableOfContents=false
 ~~~~~~
 
+* Released [Apache Sling 13](/news/sling-13-released.html) (January 14th, 2025).
 * Security Advisory: [Apache Sling advisory regarding CVE-2023-6378](./security/CVE-2023-6378.html)
 * Vulnerability report: CVE-2024-23673: Apache Sling Servlets Resolver: Malicious code execution via path traversal, see [https://www.cve.org/CVERecord?id=CVE-2024-23673](https://www.cve.org/CVERecord?id=CVE-2024-23673)
 * Vulnerability report: CVE-2022-47937: Multiple parsing problems in the Apache Sling Commons JSON module, see  [https://www.cve.org/CVERecord?id=CVE-2022-47937](https://www.cve.org/CVERecord?id=CVE-2022-47937)
diff --git a/src/main/jbake/templates/includes/U.groovy b/src/main/jbake/templates/includes/U.groovy
index 91b710ad3..0149eecff 100644
--- a/src/main/jbake/templates/includes/U.groovy
+++ b/src/main/jbake/templates/includes/U.groovy
@@ -44,8 +44,8 @@ class U {
             sling_tagline : config.blog_subtitle,
             sling_minJavaVersion : "8",
             sling_minMavenVersion : "3.5.0",
-            sling_releaseVersion : "12",
-            sling_snapshotVersion : "13-SNAPSHOT",
+            sling_releaseVersion : "13",
+            sling_snapshotVersion : "14-SNAPSHOT",
         ]
 
     	// Use a closure to avoid exception on missing variable
diff --git a/src/main/jbake/templates/menu.tpl b/src/main/jbake/templates/menu.tpl
index c5449e701..c69f0c54c 100644
--- a/src/main/jbake/templates/menu.tpl
+++ b/src/main/jbake/templates/menu.tpl
@@ -22,6 +22,7 @@ div(class:"container") {
                     strong("API Docs")
                 }
                 ul() {
+                    li(){a(href:"${config.site_contextPath}apidocs/sling13/index.html", "Sling 13")}
                     li(){a(href:"${config.site_contextPath}apidocs/sling12/index.html", "Sling 12")}
                     li(){a(href:"${config.site_contextPath}apidocs/sling11/index.html", "Sling 11")}
                     li(){a(href:"${config.site_contextPath}apidocs/sling10/index.html", "Sling 10")}