This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new 401e167 chore: rework download and release pages
401e167 is described below
commit 401e167b59d47521fd7cdd39955fd6d1805feaa1
Author: Zoran Regvart <[email protected]>
AuthorDate: Tue Dec 1 14:41:33 2020 +0100
chore: rework download and release pages
The download page, release archive and release pages now include
sub-projects. For Camel releases three kinds of releases are listed on
the downloads page: LTS, latest and legacy (for 2.x). Archetypes for
creating release notes which drive this content were added, existing
release notes were updated and new release notes were added for latest
releases of sub-projects.
---
README.md | 21 ++-
antora-ui-camel/src/css/doc.css | 1 +
antora-ui-camel/src/css/download.css | 7 +
antora-ui-camel/src/css/site.css | 1 +
archetypes/release-ckc/index.md | 11 ++
archetypes/release-k-runtime/index.md | 12 ++
archetypes/release-k/index.md | 12 ++
archetypes/release-note.md | 3 +
archetypes/release-q/index.md | 12 ++
config.toml | 4 +
content/download/_index.md | 17 ++-
content/releases/_index.md | 3 -
content/releases/ckc-0_6_1/index.md | 10 ++
content/releases/k-1_2_1/index.md | 11 ++
content/releases/k-runtime-1_5_0/index.md | 11 ++
content/releases/q-1_4_0/index.md | 11 ++
content/releases/release-2.18.0.md | 2 +
content/releases/release-2.18.1.md | 2 +
content/releases/release-2.18.2.md | 2 +
content/releases/release-2.18.3.md | 4 +-
content/releases/release-2.18.4.md | 2 +
content/releases/release-2.18.5.md | 2 +
content/releases/release-2.19.0.md | 2 +
content/releases/release-2.19.1.md | 2 +
content/releases/release-2.19.2.md | 2 +
content/releases/release-2.19.3.md | 2 +
content/releases/release-2.19.4.md | 2 +
content/releases/release-2.19.5.md | 2 +
content/releases/release-2.20.0.md | 2 +
content/releases/release-2.20.1.md | 2 +
content/releases/release-2.20.2.md | 2 +
content/releases/release-2.20.3.md | 2 +
content/releases/release-2.20.4.md | 2 +
content/releases/release-2.21.0.md | 2 +
content/releases/release-2.21.1.md | 2 +
content/releases/release-2.21.2.md | 2 +
content/releases/release-2.21.3.md | 2 +
content/releases/release-2.21.4.md | 2 +
content/releases/release-2.21.5.md | 2 +
content/releases/release-2.22.0.md | 2 +
content/releases/release-2.22.1.md | 2 +
content/releases/release-2.22.2.md | 2 +
content/releases/release-2.22.3.md | 2 +
content/releases/release-2.22.4.md | 2 +
content/releases/release-2.22.5.md | 2 +
content/releases/release-2.23.0.md | 2 +
content/releases/release-2.23.1.md | 2 +
content/releases/release-2.23.2.md | 2 +
content/releases/release-2.23.3.md | 2 +
content/releases/release-2.23.4.md | 2 +
content/releases/release-2.24.0.md | 2 +
content/releases/release-2.24.1.md | 2 +
content/releases/release-2.24.2.md | 4 +-
content/releases/release-2.24.3.md | 2 +
content/releases/release-2.25.0.md | 2 +
content/releases/release-2.25.1.md | 2 +
content/releases/release-2.25.2.md | 4 +-
content/releases/release-3.0.0-RC1.md | 1 +
content/releases/release-3.0.0-RC2.md | 1 +
content/releases/release-3.0.0-RC3.md | 1 +
content/releases/release-3.0.0.md | 1 +
content/releases/release-3.0.1.md | 1 +
content/releases/release-3.1.0.md | 1 +
content/releases/release-3.2.0.md | 1 +
content/releases/release-3.3.0.md | 1 +
content/releases/release-3.4.0.md | 2 +
content/releases/release-3.4.1.md | 6 +-
content/releases/release-3.4.2.md | 6 +-
content/releases/release-3.4.3.md | 4 +-
content/releases/release-3.4.4.md | 2 +
content/releases/release-3.5.0.md | 1 +
content/releases/release-3.6.0.md | 1 +
data/release-categories.yaml | 100 +++++++++++++
layouts/download/download.html | 113 ---------------
layouts/partials/releases/camel-k-runtime.html | 19 +++
layouts/partials/releases/camel-k.html | 19 +++
.../partials/releases/camel-kafka-connector.html | 28 ++++
layouts/partials/releases/camel-quarkus.html | 19 +++
layouts/partials/releases/camel.html | 78 ++++++++++
layouts/partials/releases/downloads.html | 158 +++++++++++++++++++++
layouts/partials/releases/release-table.html | 23 +++
layouts/release-note/single.html | 123 +---------------
layouts/releases/list.html | 32 ++---
layouts/shortcodes/downloads.html | 3 +
84 files changed, 713 insertions(+), 267 deletions(-)
diff --git a/README.md b/README.md
index 55b3f71..de85161 100644
--- a/README.md
+++ b/README.md
@@ -239,12 +239,29 @@ Make sure that you set the `draft: false` property to
have the page published.
#### Adding new release note
+##### Release of Apache Camel (core)
+
Use the `release-note` archetype to create a new markdown content file in
`content/releases`:
- $ yarn run hugo new --kind release-note releases/release-x.y.z # replace
x.y.z with the release version
+ $ yarn run hugo new --kind release-note releases/release-x.y.z.md #
replace x.y.z with the release version
This will create a `content/release-x.y.z.md` file which you need to edit to
and fill in the required parameters.
-The content of the created markdown file is added to the _New and Noteworth_
section.
+The content of the created markdown file is added to the _New and Noteworthy_
section.
+
+Make sure that you set the `draft: false` property to have the page published.
+
+##### Sub-project release
+
+Use the `release-{category}` archetype to create a new markdown content file
in `content/releases/{category}-{version with underscores}/index.md`.
+
+For `{category} you can use: `k` `k-runtime`, `ckc`, or `q`.
+
+For example, to create Camel Kafka Connector release note:
+
+ $ yarn run hugo new --kind release-ckc releases/ckc-x_y_z # replace x_y_z
with the release version (use underscores)
+
+This will create a `content/releases/ckc-x_y_z/index.md` file which you need
to edit to and fill in the required parameters.
+The content of the created markdown file is added to the _New and Noteworthy_
section.
Make sure that you set the `draft: false` property to have the page published.
diff --git a/antora-ui-camel/src/css/doc.css b/antora-ui-camel/src/css/doc.css
index 78eeb38..a87cfb7 100644
--- a/antora-ui-camel/src/css/doc.css
+++ b/antora-ui-camel/src/css/doc.css
@@ -84,6 +84,7 @@
font-size: 0.8em;
font-weight: normal;
padding-top: 0.05em;
+ background-image: none;
}
.doc h1 .anchor::before,
diff --git a/antora-ui-camel/src/css/download.css
b/antora-ui-camel/src/css/download.css
new file mode 100644
index 0000000..db9b907
--- /dev/null
+++ b/antora-ui-camel/src/css/download.css
@@ -0,0 +1,7 @@
+.download tr td:first-child {
+ white-space: nowrap;
+}
+
+.download tr td:first-child small {
+ font-style: italic;
+}
diff --git a/antora-ui-camel/src/css/site.css b/antora-ui-camel/src/css/site.css
index 6cd960e..4409f08 100644
--- a/antora-ui-camel/src/css/site.css
+++ b/antora-ui-camel/src/css/site.css
@@ -25,3 +25,4 @@
@import 'docs.css';
@import 'sitemap.css';
@import 'videos.css';
+@import 'download.css';
diff --git a/archetypes/release-ckc/index.md b/archetypes/release-ckc/index.md
new file mode 100644
index 0000000..aeb8608
--- /dev/null
+++ b/archetypes/release-ckc/index.md
@@ -0,0 +1,11 @@
+---
+url: "/releases/ckc-{{ replace (replaceRE ".*/ckc-(.*)/index.md" "$1"
.File.Path) "_" "." }}/"
+date: {{ .Date }}
+draft: true
+type: release-note
+version: "{{ replace (replaceRE ".*/ckc-(.*)/index.md" "$1" .File.Path) "_"
"." }}"
+title: "Camel Kafka Connector release {{ replace (replaceRE
".*/ckc-(.*)/index.md" "$1" .File.Path) "_" "." }}"
+preview: ""
+changelog: ""
+category: "camel-kafka-connector"
+---
diff --git a/archetypes/release-k-runtime/index.md
b/archetypes/release-k-runtime/index.md
new file mode 100644
index 0000000..fe87676
--- /dev/null
+++ b/archetypes/release-k-runtime/index.md
@@ -0,0 +1,12 @@
+---
+url: "/releases/k-runtime-{{ replace (replaceRE ".*/k-runtime-(.*)/index.md"
"$1" .File.Path) "_" "." }}/"
+date: {{ .Date }}
+draft: true
+type: release-note
+version: "{{ replace (replaceRE ".*/k-runtime-(.*)/index.md" "$1" .File.Path)
"_" "." }}"
+title: "Camel-K Runtime release {{ replace (replaceRE
".*/k-runtime-(.*)/index.md" "$1" .File.Path) "_" "." }}"
+preview: ""
+changelog: ""
+category: "camel-k-runtime"
+milestone:
+---
diff --git a/archetypes/release-k/index.md b/archetypes/release-k/index.md
new file mode 100644
index 0000000..0442658
--- /dev/null
+++ b/archetypes/release-k/index.md
@@ -0,0 +1,12 @@
+---
+url: "/releases/k-{{ replace (replaceRE ".*/k-(.*)/index.md" "$1" .File.Path)
"_" "." }}/"
+date: {{ .Date }}
+draft: true
+type: release-note
+version: "{{ replace (replaceRE ".*/k-(.*)/index.md" "$1" .File.Path) "_" "."
}}"
+title: "Camel-K release {{ replace (replaceRE ".*/k-(.*)/index.md" "$1"
.File.Path) "_" "." }}"
+preview: ""
+changelog: ""
+category: "camel-k"
+milestone:
+---
diff --git a/archetypes/release-note.md b/archetypes/release-note.md
index 5258428..8b75fbb 100644
--- a/archetypes/release-note.md
+++ b/archetypes/release-note.md
@@ -8,4 +8,7 @@ preview: ""
apiBreaking: ""
knownIssues: ""
jiraVersionId: ""
+category: "camel"
+# kind can be lts or legacy (for 2.x)
+# kind:
---
diff --git a/archetypes/release-q/index.md b/archetypes/release-q/index.md
new file mode 100644
index 0000000..1f9c94c
--- /dev/null
+++ b/archetypes/release-q/index.md
@@ -0,0 +1,12 @@
+---
+url: "/releases/q-{{ replace (replaceRE ".*/q-(.*)/index.md" "$1" .File.Path)
"_" "." }}/"
+date: {{ .Date }}
+draft: true
+type: release-note
+version: "{{ replace (replaceRE ".*/q-(.*)/index.md" "$1" .File.Path) "_" "."
}}"
+title: "Camel Quarkus release {{ replace (replaceRE ".*/q-(.*)/index.md" "$1"
.File.Path) "_" "." }}"
+preview: ""
+changelog: ""
+category: "camel-quarkus"
+milestone:
+---
diff --git a/config.toml b/config.toml
index 40e8381..f48ca18 100644
--- a/config.toml
+++ b/config.toml
@@ -66,6 +66,10 @@ defaultMarkdownHandler = "blackfriday"
source = "documentation/_/data"
target = "data"
+ [[module.mounts]]
+ source = "data"
+ target = "data"
+
[permalinks]
blog = "blog/:year/:month/:filename/"
diff --git a/content/download/_index.md b/content/download/_index.md
index 563b897..06c9692 100644
--- a/content/download/_index.md
+++ b/content/download/_index.md
@@ -1,8 +1,19 @@
---
-title: "Download"
+title: "Downloads"
---
-### Keys
+We do frequent releases, a release almost every month, and even though we
strive to maintain backward compatibility, we may on occasion introduce a
breaking change in the interest of the long-term evolution of the project. We
document backward compatibility breaking changes in the [Migration and
Upgrade](/manual/latest/migration-and-upgrade.html) section of the user manual.
-You can verify your download by following these
[procedures](http://www.apache.org/info/verification.html) and using these
[KEYS](https://www.apache.org/dist/camel/KEYS).
+Unless you need the latest features, you might consider using a Long Term
Support (LTS) version that will receive bug and security fixes for a longer
time - up to one year.
+
+A good strategy to prepare for future LTS releases might be to test the latest
releases. You can do this on less impactful projects or by running tests of
your codebase against newer releases. Please do [report any
issues](/manual/latest/contributing.html#using-the-issue-tracker) with
functionality or backward compatibility so they can be addressed in time for
the LTS version.
+
+For information on the release planning look at the blog posts in the
[Roadmap](/categories/Roadmap/) category.
+
+Here you will only find the supported releases, older unsupported releases can
be found in the [Releases archive](/releases/).
+{{< downloads >}}
+
+## Keys
+
+You can verify your download by following these
[procedures](http://www.apache.org/info/verification.html) and using these
[KEYS](https://www.apache.org/dist/camel/KEYS).
diff --git a/content/releases/_index.md b/content/releases/_index.md
index f51156b..ecb0be5 100644
--- a/content/releases/_index.md
+++ b/content/releases/_index.md
@@ -3,6 +3,3 @@ title: "Releases"
---
# Apache Camel releases archive
-
-This page lists all releases of Apache Camel, up to 2.18.0 from which we
started to generate this website. For information on older releases have a look
at [the issue
tracker](https://issues.apache.org/jira/projects/CAMEL?selectedItem=com.atlassian.jira.jira-projects-plugin%3Arelease-page&status=released).
-
diff --git a/content/releases/ckc-0_6_1/index.md
b/content/releases/ckc-0_6_1/index.md
new file mode 100644
index 0000000..58efa24
--- /dev/null
+++ b/content/releases/ckc-0_6_1/index.md
@@ -0,0 +1,10 @@
+---
+url: "/releases/ckc-0.6.1/"
+date: 2020-11-30
+type: release-note
+version: "0.6.1"
+title: "Camel Kafka Connector release 0.6.1"
+preview: ""
+changelog: ""
+category: "camel-kafka-connector"
+---
diff --git a/content/releases/k-1_2_1/index.md
b/content/releases/k-1_2_1/index.md
new file mode 100644
index 0000000..6d13179
--- /dev/null
+++ b/content/releases/k-1_2_1/index.md
@@ -0,0 +1,11 @@
+---
+url: "/releases/k-1.2.1/"
+date: 2020-11-27
+type: release-note
+version: "1.2.1"
+title: "Camel-K 1.2.1"
+preview: ""
+changelog: ""
+category: "camel-k"
+milestone: 18
+---
diff --git a/content/releases/k-runtime-1_5_0/index.md
b/content/releases/k-runtime-1_5_0/index.md
new file mode 100644
index 0000000..daee364
--- /dev/null
+++ b/content/releases/k-runtime-1_5_0/index.md
@@ -0,0 +1,11 @@
+---
+url: "/releases/k-runtime-1.5.0/"
+date: 2020-12-01T13:01:58+01:00
+type: release-note
+version: "1.5.0"
+title: "Camel-K Runtime release 1.5.0"
+preview: ""
+changelog: ""
+category: "camel-k-runtime"
+milestone: 7
+---
diff --git a/content/releases/q-1_4_0/index.md
b/content/releases/q-1_4_0/index.md
new file mode 100644
index 0000000..15c0ac4
--- /dev/null
+++ b/content/releases/q-1_4_0/index.md
@@ -0,0 +1,11 @@
+---
+url: "/releases/q-1.4.0/"
+date: 2020-12-01T13:10:40+01:00
+type: release-note
+version: "1.4.0"
+title: "Camel Quarkus release 1.4.0"
+preview: ""
+changelog: ""
+category: "camel-quarkus"
+milestone: 8
+---
diff --git a/content/releases/release-2.18.0.md
b/content/releases/release-2.18.0.md
index edd32d2..586b535 100644
--- a/content/releases/release-2.18.0.md
+++ b/content/releases/release-2.18.0.md
@@ -8,6 +8,8 @@ preview: "Major release for 2.18.x"
apiBreaking: "Removed the deprecated vtdxml language. You can use the generic
language (vtdxml) instead"
knownIssues: ""
jiraVersionId: 12334759
+category: camel
+kind: legacy
---
Welcome to the 2.18.0 release which resolved over 500 issues. This is
diff --git a/content/releases/release-2.18.1.md
b/content/releases/release-2.18.1.md
index d3d1f9b..6386a20 100644
--- a/content/releases/release-2.18.1.md
+++ b/content/releases/release-2.18.1.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.18.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12338295
+category: camel
+kind: legacy
---
This release is a minor update of the 2.18.x branch.
diff --git a/content/releases/release-2.18.2.md
b/content/releases/release-2.18.2.md
index 9d189ad..9c967b9 100644
--- a/content/releases/release-2.18.2.md
+++ b/content/releases/release-2.18.2.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.18.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12338705
+category: camel
+kind: legacy
---
This release is a minor update of the 2.18.x branch.
diff --git a/content/releases/release-2.18.3.md
b/content/releases/release-2.18.3.md
index 7cda7e0..581b064 100644
--- a/content/releases/release-2.18.3.md
+++ b/content/releases/release-2.18.3.md
@@ -1,6 +1,6 @@
---
date: 2017-03-08
-draft: false
+draft: false
type: release-note
version: 2.18.3
title: "Release 2.18.3"
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.18.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12339161
+category: camel
+kind: legacy
---
This release is a minor update of the 2.18.x branch.
diff --git a/content/releases/release-2.18.4.md
b/content/releases/release-2.18.4.md
index f2b088a..33ba5d6 100644
--- a/content/releases/release-2.18.4.md
+++ b/content/releases/release-2.18.4.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.18.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12339774
+category: camel
+kind: legacy
---
This release is a minor update of the 2.18.x branch.
diff --git a/content/releases/release-2.18.5.md
b/content/releases/release-2.18.5.md
index 0a4cebd..66257fc 100644
--- a/content/releases/release-2.18.5.md
+++ b/content/releases/release-2.18.5.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.18.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12340599
+category: camel
+kind: legacy
---
This release is a minor update of the 2.18.x branch.
diff --git a/content/releases/release-2.19.0.md
b/content/releases/release-2.19.0.md
index 70b89ff..7f9589b 100644
--- a/content/releases/release-2.19.0.md
+++ b/content/releases/release-2.19.0.md
@@ -8,6 +8,8 @@ preview: "Major release for 2.19.x"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12337871
+category: camel
+kind: legacy
---
Welcome to the 2.19.0 release which resolved over 670 issues including
diff --git a/content/releases/release-2.19.1.md
b/content/releases/release-2.19.1.md
index 0098b87..435b756 100644
--- a/content/releases/release-2.19.1.md
+++ b/content/releases/release-2.19.1.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.19.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12340460
+category: camel
+kind: legacy
---
This release is a minor update of the 2.19.x branch.
diff --git a/content/releases/release-2.19.2.md
b/content/releases/release-2.19.2.md
index d76010d..6d984b7 100644
--- a/content/releases/release-2.19.2.md
+++ b/content/releases/release-2.19.2.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.19.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12340945
+category: camel
+kind: legacy
---
This release is a minor update of the 2.19.x branch.
diff --git a/content/releases/release-2.19.3.md
b/content/releases/release-2.19.3.md
index 901123e..5e55398 100644
--- a/content/releases/release-2.19.3.md
+++ b/content/releases/release-2.19.3.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.19.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12341135
+category: camel
+kind: legacy
---
This release is a minor update of the 2.19.x branch.
diff --git a/content/releases/release-2.19.4.md
b/content/releases/release-2.19.4.md
index 505b4fc..0201a2e 100644
--- a/content/releases/release-2.19.4.md
+++ b/content/releases/release-2.19.4.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.19.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12341575
+category: camel
+kind: legacy
---
This release is a minor update of the 2.19.x branch.
diff --git a/content/releases/release-2.19.5.md
b/content/releases/release-2.19.5.md
index 3a49fbb..dcfec34 100644
--- a/content/releases/release-2.19.5.md
+++ b/content/releases/release-2.19.5.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.19.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12342135
+category: camel
+kind: legacy
---
This release is a minor update of the 2.19.x branch.
diff --git a/content/releases/release-2.20.0.md
b/content/releases/release-2.20.0.md
index ef50645..9d1c7bb 100644
--- a/content/releases/release-2.20.0.md
+++ b/content/releases/release-2.20.0.md
@@ -8,6 +8,8 @@ preview: "Major release for 2.20.x"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12340219
+category: camel
+kind: legacy
---
Welcome to the 2.20.0 release which resolved over 550 issues including
diff --git a/content/releases/release-2.20.1.md
b/content/releases/release-2.20.1.md
index 78f25b8..9d9f42a 100644
--- a/content/releases/release-2.20.1.md
+++ b/content/releases/release-2.20.1.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.20.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12341590
+category: camel
+kind: legacy
---
This release is a minor update of the 2.20.x branch.
diff --git a/content/releases/release-2.20.2.md
b/content/releases/release-2.20.2.md
index 03aedf9..c3fbcd7 100644
--- a/content/releases/release-2.20.2.md
+++ b/content/releases/release-2.20.2.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.20.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12342152
+category: camel
+kind: legacy
---
This release is a minor update of the 2.20.x branch.
diff --git a/content/releases/release-2.20.3.md
b/content/releases/release-2.20.3.md
index a84f42ab..5066a71 100644
--- a/content/releases/release-2.20.3.md
+++ b/content/releases/release-2.20.3.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.20.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12342652
+category: camel
+kind: legacy
---
This release is a minor update of the 2.20.x branch.
diff --git a/content/releases/release-2.20.4.md
b/content/releases/release-2.20.4.md
index a36593a..71def28 100644
--- a/content/releases/release-2.20.4.md
+++ b/content/releases/release-2.20.4.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.20.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12342958
+category: camel
+kind: legacy
---
This release is a minor update of the 2.20.x branch.
diff --git a/content/releases/release-2.21.0.md
b/content/releases/release-2.21.0.md
index c8df00c..834a272 100644
--- a/content/releases/release-2.21.0.md
+++ b/content/releases/release-2.21.0.md
@@ -8,6 +8,8 @@ preview: "Major release for 2.21.x"
apiBreaking: "All the AwsEndpoint uri options have been removed: since we are
now using AWS client builders, the way we were using the endpoint cannot be
used anymore, since clients are immutable now. If you still need to set an AWS
endpoint on your client, you can create your client instance and put it in the
Camel registry."
knownIssues: ""
jiraVersionId: 12341576
+category: camel
+kind: legacy
---
Welcome to the 2.21.0 release which resolved 400 issues including new
diff --git a/content/releases/release-2.21.1.md
b/content/releases/release-2.21.1.md
index c2f2592..9f52305 100644
--- a/content/releases/release-2.21.1.md
+++ b/content/releases/release-2.21.1.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.21.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12342869
+category: camel
+kind: legacy
---
This release is a minor update of the 2.21.x branch.
diff --git a/content/releases/release-2.21.2.md
b/content/releases/release-2.21.2.md
index a2218f0..cdb6c33 100644
--- a/content/releases/release-2.21.2.md
+++ b/content/releases/release-2.21.2.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.21.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12343107
+category: camel
+kind: legacy
---
This release is a minor update of the 2.21.x branch.
diff --git a/content/releases/release-2.21.3.md
b/content/releases/release-2.21.3.md
index 3f2cc7f..990a9c7 100644
--- a/content/releases/release-2.21.3.md
+++ b/content/releases/release-2.21.3.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.21.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12343751
+category: camel
+kind: legacy
---
This release is a minor update of the 2.21.x branch.
diff --git a/content/releases/release-2.21.4.md
b/content/releases/release-2.21.4.md
index 6a16f17..1a79c9c 100644
--- a/content/releases/release-2.21.4.md
+++ b/content/releases/release-2.21.4.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.21.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12344344
+category: camel
+kind: legacy
---
This release is a minor update of the 2.21.x branch.
diff --git a/content/releases/release-2.21.5.md
b/content/releases/release-2.21.5.md
index 9ec4b55..4d70b2b 100644
--- a/content/releases/release-2.21.5.md
+++ b/content/releases/release-2.21.5.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.21.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12344816
+category: camel
+kind: legacy
---
This release is a minor update of the 2.21.x branch.
diff --git a/content/releases/release-2.22.0.md
b/content/releases/release-2.22.0.md
index d2b41a9..691fcfa 100644
--- a/content/releases/release-2.22.0.md
+++ b/content/releases/release-2.22.0.md
@@ -8,6 +8,8 @@ preview: "Major release for 2.22.x"
apiBreaking: "The RestProducerFactory has an API change where the
RestConfiguration is provided as parameter as well."
knownIssues: ""
jiraVersionId: 12342707
+category: camel
+kind: legacy
---
Welcome to the 2.22.0 release which resolved 216 issues including new
features, improvements and bug fixes.
diff --git a/content/releases/release-2.22.1.md
b/content/releases/release-2.22.1.md
index a208188..22adb5a 100644
--- a/content/releases/release-2.22.1.md
+++ b/content/releases/release-2.22.1.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.22.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12343346
+category: camel
+kind: legacy
---
This release is a minor update of the 2.22.x branch.
diff --git a/content/releases/release-2.22.2.md
b/content/releases/release-2.22.2.md
index 382932a..11d899a 100644
--- a/content/releases/release-2.22.2.md
+++ b/content/releases/release-2.22.2.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.22.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12343751
+category: camel
+kind: legacy
---
This release is a minor update of the 2.22.x branch.
diff --git a/content/releases/release-2.22.3.md
b/content/releases/release-2.22.3.md
index 68f26cc..42e5f05 100644
--- a/content/releases/release-2.22.3.md
+++ b/content/releases/release-2.22.3.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.22.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12344398
+category: camel
+kind: legacy
---
This release is a minor update of the 2.22.x branch.
diff --git a/content/releases/release-2.22.4.md
b/content/releases/release-2.22.4.md
index b79f06c..ff3eea5 100644
--- a/content/releases/release-2.22.4.md
+++ b/content/releases/release-2.22.4.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.22.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12344887
+category: camel
+kind: legacy
---
This release is a minor update of the 2.22.x branch.
diff --git a/content/releases/release-2.22.5.md
b/content/releases/release-2.22.5.md
index 6630fe2..2a8d8e7 100644
--- a/content/releases/release-2.22.5.md
+++ b/content/releases/release-2.22.5.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.22.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12345404
+category: camel
+kind: legacy
---
This release is a minor update of the 2.22.x branch.
diff --git a/content/releases/release-2.23.0.md
b/content/releases/release-2.23.0.md
index 56c5679..ab79ec2 100644
--- a/content/releases/release-2.23.0.md
+++ b/content/releases/release-2.23.0.md
@@ -9,6 +9,8 @@ apiBreaking: "The HttpBinding interface has new methods for
setting fileNameExtW
exchange"
knownIssues: ""
jiraVersionId: 12343345
+category: camel
+kind: legacy
---
Welcome to the Apache Camel 2.23.0 release which is a new minor release and
resolved 262 issues
diff --git a/content/releases/release-2.23.1.md
b/content/releases/release-2.23.1.md
index 4de1db7..6f5ab82 100644
--- a/content/releases/release-2.23.1.md
+++ b/content/releases/release-2.23.1.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.23.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12344567
+category: camel
+kind: legacy
---
This release is a minor update of the 2.23.x branch.
diff --git a/content/releases/release-2.23.2.md
b/content/releases/release-2.23.2.md
index b909d89..b4e61ef 100644
--- a/content/releases/release-2.23.2.md
+++ b/content/releases/release-2.23.2.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.23.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12344839
+category: camel
+kind: legacy
---
This release is a minor update of the 2.23.x branch.
diff --git a/content/releases/release-2.23.3.md
b/content/releases/release-2.23.3.md
index adae785..6d8d65e 100644
--- a/content/releases/release-2.23.3.md
+++ b/content/releases/release-2.23.3.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.23.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12345358
+category: camel
+kind: legacy
---
This release is a minor update of the 2.23.x branch.
diff --git a/content/releases/release-2.23.4.md
b/content/releases/release-2.23.4.md
index eae0eb7..ba4c89d 100644
--- a/content/releases/release-2.23.4.md
+++ b/content/releases/release-2.23.4.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.23.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12345671
+category: camel
+kind: legacy
---
This release is a minor update of the 2.23.x branch.
diff --git a/content/releases/release-2.24.0.md
b/content/releases/release-2.24.0.md
index 12a098c..1d321db 100644
--- a/content/releases/release-2.24.0.md
+++ b/content/releases/release-2.24.0.md
@@ -8,6 +8,8 @@ preview: "Major release for 2.24.x"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12344459
+category: camel
+kind: legacy
---
This release is a minor update of the 2.24.x branch.
diff --git a/content/releases/release-2.24.1.md
b/content/releases/release-2.24.1.md
index 70d73d1..3bb105d 100644
--- a/content/releases/release-2.24.1.md
+++ b/content/releases/release-2.24.1.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.24.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12345495
+category: camel
+kind: legacy
---
This release is a minor update of the 2.24.x branch.
diff --git a/content/releases/release-2.24.2.md
b/content/releases/release-2.24.2.md
index c9a2232..5c1a402 100644
--- a/content/releases/release-2.24.2.md
+++ b/content/releases/release-2.24.2.md
@@ -1,6 +1,6 @@
---
date: 2019-09-13
-draft: false
+draft: false
type: release-note
version: 2.24.2
title: "Release 2.24.2"
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.24.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12345672
+category: camel
+kind: legacy
---
This release is a minor update of the 2.24.x branch.
diff --git a/content/releases/release-2.24.3.md
b/content/releases/release-2.24.3.md
index 36d6360..49223b2 100644
--- a/content/releases/release-2.24.3.md
+++ b/content/releases/release-2.24.3.md
@@ -8,6 +8,8 @@ preview: "Minor update of the 2.24.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12345672
+category: camel
+kind: legacy
---
This release is a minor update of the 2.24.x branch.
diff --git a/content/releases/release-2.25.0.md
b/content/releases/release-2.25.0.md
index 6854e7d..633fef7 100644
--- a/content/releases/release-2.25.0.md
+++ b/content/releases/release-2.25.0.md
@@ -8,6 +8,8 @@ preview: "New minor release 2.25.0"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12345517
+category: camel
+kind: legacy
---
This release is the new Camel 2.25.0 minor release.
diff --git a/content/releases/release-2.25.1.md
b/content/releases/release-2.25.1.md
index e114f24..92ee994 100644
--- a/content/releases/release-2.25.1.md
+++ b/content/releases/release-2.25.1.md
@@ -8,6 +8,8 @@ preview: "New minor release 2.25.1"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12346872
+category: camel
+kind: legacy
---
This release is the new Camel 2.25.1 patch release.
diff --git a/content/releases/release-2.25.2.md
b/content/releases/release-2.25.2.md
index 04bf840..3a1865b 100644
--- a/content/releases/release-2.25.2.md
+++ b/content/releases/release-2.25.2.md
@@ -1,6 +1,6 @@
---
date: 2020-07-21
-draft: false
+draft: false
type: release-note
version: 2.25.2
title: "Release 2.25.2"
@@ -8,6 +8,8 @@ preview: "New patch release 2.25.2"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12348081
+category: camel
+kind: legacy
---
This release is the new Camel 2.25.2 patch release.
diff --git a/content/releases/release-3.0.0-RC1.md
b/content/releases/release-3.0.0-RC1.md
index e333f04..ff8fafd 100644
--- a/content/releases/release-3.0.0-RC1.md
+++ b/content/releases/release-3.0.0-RC1.md
@@ -9,6 +9,7 @@ preview: "First release candidate for 3.0.0"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12345723
+category: camel
---
This release the first release candidate towards Camel 3.0.0 release.
diff --git a/content/releases/release-3.0.0-RC2.md
b/content/releases/release-3.0.0-RC2.md
index 5687c10..0d24663 100644
--- a/content/releases/release-3.0.0-RC2.md
+++ b/content/releases/release-3.0.0-RC2.md
@@ -9,6 +9,7 @@ preview: "Second release candidate for 3.0.0"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12345998
+category: camel
---
This release the second release candidate towards Camel 3.0.0 release.
diff --git a/content/releases/release-3.0.0-RC3.md
b/content/releases/release-3.0.0-RC3.md
index a84de02..b4ac815 100644
--- a/content/releases/release-3.0.0-RC3.md
+++ b/content/releases/release-3.0.0-RC3.md
@@ -9,6 +9,7 @@ preview: "Third release candidate for 3.0.0"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12346354
+category: camel
---
This release the third and final release candidate towards Camel 3.0.0 release.
diff --git a/content/releases/release-3.0.0.md
b/content/releases/release-3.0.0.md
index b6b0054..54d25d0 100644
--- a/content/releases/release-3.0.0.md
+++ b/content/releases/release-3.0.0.md
@@ -8,6 +8,7 @@ preview: "New major release"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12345672
+category: camel
---
This release is the new Camel 3.0.0 major release.
diff --git a/content/releases/release-3.0.1.md
b/content/releases/release-3.0.1.md
index bf5578d..d2c1d1e 100644
--- a/content/releases/release-3.0.1.md
+++ b/content/releases/release-3.0.1.md
@@ -8,6 +8,7 @@ preview: "Minor update of the 3.0.x branch"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12346544
+category: camel
---
This release is a minor update of the 3.0.x branch.
diff --git a/content/releases/release-3.1.0.md
b/content/releases/release-3.1.0.md
index 0a1310a..77786ba 100644
--- a/content/releases/release-3.1.0.md
+++ b/content/releases/release-3.1.0.md
@@ -8,6 +8,7 @@ preview: "New minor release"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12346526
+category: camel
---
This release is the new Camel 3.1.0 major release.
diff --git a/content/releases/release-3.2.0.md
b/content/releases/release-3.2.0.md
index e2c5d24..f566467 100644
--- a/content/releases/release-3.2.0.md
+++ b/content/releases/release-3.2.0.md
@@ -8,6 +8,7 @@ preview: "New minor release"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12346956
+category: camel
---
This release is the new Camel 3.2.0 major release.
diff --git a/content/releases/release-3.3.0.md
b/content/releases/release-3.3.0.md
index ea7b713..f7c62e1 100644
--- a/content/releases/release-3.3.0.md
+++ b/content/releases/release-3.3.0.md
@@ -8,6 +8,7 @@ preview: "New minor release"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12347798
+category: camel
---
This release is the new Camel 3.3.0 major release.
diff --git a/content/releases/release-3.4.0.md
b/content/releases/release-3.4.0.md
index 700b69f..4ac57fe 100644
--- a/content/releases/release-3.4.0.md
+++ b/content/releases/release-3.4.0.md
@@ -8,6 +8,8 @@ preview: "New LTS release"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12347798
+category: camel
+kind: lts
---
This release is the new Camel 3.4.0 LTS release.
diff --git a/content/releases/release-3.4.1.md
b/content/releases/release-3.4.1.md
index ef996ed..4ce34b2 100644
--- a/content/releases/release-3.4.1.md
+++ b/content/releases/release-3.4.1.md
@@ -1,13 +1,15 @@
---
date: 2020-07-16
-draft: false
+draft: false
type: release-note
version: 3.4.1
title: "Release 3.4.1"
preview: "New patch release 3.4.1"
apiBreaking: ""
knownIssues: ""
-jiraVersionId: 12348393
+jiraVersionId: 12348393
+category: camel
+kind: lts
---
This release is the new Camel 3.4.1 patch release.
diff --git a/content/releases/release-3.4.2.md
b/content/releases/release-3.4.2.md
index 7e76ece..f9b3433 100644
--- a/content/releases/release-3.4.2.md
+++ b/content/releases/release-3.4.2.md
@@ -1,13 +1,15 @@
---
date: 2020-07-16
-draft: false
+draft: false
type: release-note
version: 3.4.2
title: "Release 3.4.2"
preview: "New patch release 3.4.2"
apiBreaking: ""
knownIssues: ""
-jiraVersionId: 12348562
+jiraVersionId: 12348562
+category: camel
+kind: lts
---
This release is the new Camel 3.4.2 patch release.
diff --git a/content/releases/release-3.4.3.md
b/content/releases/release-3.4.3.md
index 8df186d..7f44315 100644
--- a/content/releases/release-3.4.3.md
+++ b/content/releases/release-3.4.3.md
@@ -1,6 +1,6 @@
---
date: 2020-08-15
-draft: false
+draft: false
type: release-note
version: 3.4.3
title: "Release 3.4.3"
@@ -8,6 +8,8 @@ preview: "New patch release 3.4.3"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12348603
+category: camel
+kind: lts
---
This release is the new Camel 3.4.3 patch release.
diff --git a/content/releases/release-3.4.4.md
b/content/releases/release-3.4.4.md
index 902ea28..79bfa8a 100644
--- a/content/releases/release-3.4.4.md
+++ b/content/releases/release-3.4.4.md
@@ -8,6 +8,8 @@ preview: "New patch release 3.4.4"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12348674
+category: camel
+kind: lts
---
This release is the new Camel 3.4.4 patch release.
diff --git a/content/releases/release-3.5.0.md
b/content/releases/release-3.5.0.md
index 48ec4e3..c860a6a 100644
--- a/content/releases/release-3.5.0.md
+++ b/content/releases/release-3.5.0.md
@@ -8,6 +8,7 @@ preview: "New patch release 3.5.0"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12348299
+category: camel
---
This release is the new Camel 3.5.0 patch release.
diff --git a/content/releases/release-3.6.0.md
b/content/releases/release-3.6.0.md
index 517de6b..e01cab6 100644
--- a/content/releases/release-3.6.0.md
+++ b/content/releases/release-3.6.0.md
@@ -8,6 +8,7 @@ preview: "New patch release 3.6.0"
apiBreaking: ""
knownIssues: ""
jiraVersionId: 12348664
+category: camel
---
This release is the new Camel 3.6.0 patch release.
diff --git a/data/release-categories.yaml b/data/release-categories.yaml
new file mode 100644
index 0000000..b04b915
--- /dev/null
+++ b/data/release-categories.yaml
@@ -0,0 +1,100 @@
+# Entry listed here will appear on the downloads and release pages
+# the root key and the `id` property need to match the `category`
+# front matter entry of the release note, `name` will appear in
+# headings and text where applicable, `order` determines the order
+# on the downloads page (maps don't maintain determenistic order).
+#
+# For a category several kinds of releases can be defined under the
+# `kinds` key, `name` will appear next to the download and `filter`
+# defines now to descern different kinds within a category. Filter
+# is checked against `kind` front matter property. The latest
+# by date release matching a filter will be featured on the
+# downloads page. Special filter `latest` includes the latest
+# release by version number, sorting is done by comparing versions
+# as strings. A kind can have `last` property, determining how many
+# versions of a kind should there be, disregarding the patch
+# version.
+#
+# Within each kind of download for a category, there could be
+# several release artifacts listed in the `downloads` key, `name`
+# will be featured next to the download, `path_format` and
+# `filename_format` will be used to generate the link to the
+# artifact and the filename showed in the download link.
+camel:
+ id: 'camel'
+ name: 'Apache Camel'
+ order: 1
+ kinds:
+ - name: 'LTS'
+ last: 2
+ filter: 'lts'
+ - name: 'latest'
+ filter: 'latest'
+ - name: 'legacy'
+ filter: 'legacy'
+ downloads:
+ - name: 'Binary zip'
+ path_format: 'camel/apache-camel/{version}/apache-camel-{version}.zip'
+ filename_format: 'apache-camel-{version}.zip'
+ - name: 'Binary tar.gz'
+ path_format: 'camel/apache-camel/{version}/apache-camel-{version}.tar.gz'
+ filename_format: 'apache-camel-{version}.tar.gz'
+ - name: 'Sources'
+ path_format:
'camel/apache-camel/{version}/apache-camel-{version}-src.zip'
+ filename_format: 'apache-camel-{version}-src.zip'
+camel-k:
+ id: 'camel-k'
+ name: 'Apache Camel-K'
+ order: 2
+ kinds:
+ - name: 'latest'
+ filter: 'latest'
+ downloads:
+ - name: 'Linux 64bit binary'
+ path_format:
'camel/camel-k/{version}/camel-k-client-{version}-linux-64bit.tar.gz'
+ filename_format: 'camel-k-client-{version}-linux-64bit.tar.gz'
+ - name: 'MacOS 64bit binary'
+ path_format:
'camel/camel-k/{version}/camel-k-client-{version}-mac-64bit.tar.gz'
+ filename_format: 'camel-k-client-{version}-mac-64bit.tar.gz'
+ - name: 'Windows 64bit binary'
+ path_format:
'camel/camel-k/{version}/camel-k-client-{version}-windows-64bit.tar.gz'
+ filename_format: 'camel-k-client-{version}-windows-64bit.tar.gz'
+ - name: 'Examples'
+ path_format: 'camel/camel-k/{version}/camel-k-examples-{version}.tar.gz'
+ filename_format: 'camel-k-examples-{version}.tar.gz'
+ - name: 'Sources'
+ path_format: 'camel/camel-k/{version}/camel-k-sources-{version}.tar.gz'
+ filename_format: 'camel-k-sources-{version}.tar.gz'
+camel-k-runtime:
+ id: 'camel-k-runtime'
+ name: 'Apache Camel-K Runtime'
+ order: 3
+ kinds:
+ - name: 'latest'
+ filter: 'latest'
+ downloads:
+ - name: 'Sources'
+ path_format:
'camel/camel-k-runtime/{version}/apache-camel-k-runtime-{version}-source-release.zip'
+ filename_format: 'apache-camel-k-runtime-{version}-source-release.zip'
+camel-kafka-connector:
+ id: 'camel-kafka-connector'
+ name: 'Apache Camel Kafka Connector'
+ order: 4
+ kinds:
+ - name: 'latest'
+ filter: 'latest'
+ downloads:
+ - name: 'Sources'
+ path_format:
'camel/camel-kafka-connector/{version}/apache-camel-kafka-connector-{version}-src.zip'
+ filename_format: 'apache-camel-kafka-connector-{version}-src.zip'
+camel-quarkus:
+ id: 'camel-quarkus'
+ name: 'Apache Camel Quarkus'
+ order: 5
+ kinds:
+ - name: 'latest'
+ filter: 'latest'
+ downloads:
+ - name: 'Sources'
+ path_format:
'camel/camel-quarkus/{version}/apache-camel-quarkus-{version}-src.zip'
+ filename_format: 'apache-camel-quarkus-{version}-src.zip'
diff --git a/layouts/download/download.html b/layouts/download/download.html
deleted file mode 100644
index 183b690..0000000
--- a/layouts/download/download.html
+++ /dev/null
@@ -1,113 +0,0 @@
-{{ partial "header.html" . }}
-
-<div class="body">
- <main>
- <article class="static doc docs">
- <h1>{{ .Title }}</h1>
-
- <h2>Latest releases</h2>
-
- <p>Apache Camel community provides support for the latest three
major versions. Latest version receives new features, next two supported
versions receive only bug fixes.</p>
-
- <ul>
- {{ $releases := ((where (where .Site.Pages "Type" "release-note")
".Params.rc" "ne" "true").ByParam "version").Reverse }}
- {{ $major := "" }}
- {{ $cnt := 1 }}
- {{ range $releases }}
- {{ $this_major := .Params.version | replaceRE "\\.\\d+$" "" }}
- {{ if (and (le $cnt 3) (or (eq $major "") (ne $major
$this_major ))) }}
- <li>The latest {{ if eq $major "" }}feature{{ else
}}bugfix{{ end }} release of Camel {{ $this_major }}.x is <a href="{{
.RelPermalink }}">{{ .Params.version }}</a></li>
- {{ $cnt = add $cnt 1 }}
- {{ end }}
- {{ $major = .Params.version | replaceRE "\\.\\d+$" "" }}
- {{ end }}
- </ul>
-
- <h2>Getting the latest distributions</h2>
-
- <h3>Binary Distribution</h3>
-
- {{ $major := "" }}
- {{ $cnt := 1 }}
- <div class="table-wrapper">
- <table class="tableblock frame-all grid-all stretch">
- <thead>
- <tr>
- <th>Version</th>
- <th>Description</th>
- <th>Download Link</th>
- <th>PGP Signature file of download</th>
- <th>SHA512 Checksum file of download</th>
- </tr>
- </thead>
-
- {{ range $releases }}
- {{ $this_major := .Params.version | replaceRE "\\.\\d+$"
"" }}
- {{ if (and (le $cnt 3) (or (eq $major "") (ne $major
$this_major ))) }}
- <tbody>
- <tr>
- <td rowspan="2"><strong>{{ .Params.version
}}</strong><br><small>{{ if eq $major "" }}feature{{ else }}bugfix{{ end
}}</small></td>
- <td>Windows Distribution</td>
- <td><a
href="http://www.apache.org/dyn/closer.lua?filename=camel/apache-camel/{{
.Params.version }}/apache-camel-{{ .Params.version
}}.zip&action=download">apache-camel-{{ .Params.version }}.zip</a></td>
- <td><a
href="https://www.apache.org/dist/camel/apache-camel/{{ .Params.version
}}/apache-camel-{{ .Params.version }}.zip.asc">apache-camel-{{ .Params.version
}}.zip.asc</a></td>
- <td><a
href="https://www.apache.org/dist/camel/apache-camel/{{ .Params.version
}}/apache-camel-{{ .Params.version }}.zip.sha512">apache-camel-{{
.Params.version }}.zip.sha512</a></td>
- </tr>
- <tr>
- <td>Unix/Linux/Cygwin Distribution</td>
- <td><a
href="http://www.apache.org/dyn/closer.lua?filename=camel/apache-camel/{{
.Params.version }}/apache-camel-{{ .Params.version
}}.tar.gz&action=download">apache-camel-{{ .Params.version }}.tar.gz</a></td>
- <td><a
href="https://www.apache.org/dist/camel/apache-camel/{{ .Params.version
}}/apache-camel-{{ .Params.version }}.tar.gz.asc">apache-camel-{{
.Params.version }}.tar.gz.asc</a></td>
- <td><a
href="https://www.apache.org/dist/camel/apache-camel/{{ .Params.version
}}/apache-camel-{{ .Params.version }}.tar.gz.sha512">apache-camel-{{
.Params.version }}.tar.gz.sha512</a></td>
- </tr>
- </tbody>
- {{ $cnt = add $cnt 1 }}
- {{ end }}
- {{ $major = .Params.version | replaceRE "\\.\\d+$" "" }}
- {{ end }}
- </table>
- </div>
-
- <h3>Source Distribution</h3>
-
- {{ $major := "" }}
- {{ $cnt := 1 }}
- <div class="table-wrapper">
- <table class="tableblock frame-all grid-all stretch">
- <thead>
- <tr>
- <th>Version</th>
- <th>Description</th>
- <th>Download Link</th>
- <th>PGP Signature file of download</th>
- <th>SHA512 Checksum file of download</th>
- </tr>
- </thead>
-
- {{ range $releases }}
- {{ $this_major := .Params.version | replaceRE "\\.\\d+$"
"" }}
- {{ if (and (le $cnt 3) (or (eq $major "") (ne $major
$this_major ))) }}
- <tbody>
- <tr>
- <td><strong>{{ .Params.version
}}</strong><br><small>{{ if eq $major "" }}feature{{ else }}bugfix{{ end
}}</small></td>
- <td>Source ZIP file</td>
- <td><a
href="http://www.apache.org/dyn/closer.lua?filename=camel/apache-camel/{{
.Params.version }}/apache-camel-{{ .Params.version
}}-src.zip&action=download">apache-camel-{{ .Params.version }}-src.zip</a></td>
- <td><a
href="https://www.apache.org/dist/camel/apache-camel/{{ .Params.version
}}/apache-camel-{{ .Params.version }}-src.zip.asc">apache-camel-{{
.Params.version }}-src.zip.asc</a></td>
- <td><a
href="https://www.apache.org/dist/camel/apache-camel/{{ .Params.version
}}/apache-camel-{{ .Params.version }}-src.zip.sha512">apache-camel-{{
.Params.version }}-src.zip.sha512</a></td>
- </tr>
- </tbody>
- {{ $cnt = add $cnt 1 }}
- {{ end }}
- {{ $major = .Params.version | replaceRE "\\.\\d+$" "" }}
- {{ end }}
- </table>
- </div>
- <h3>Older releases</h3>
-
- <p>All releases are listed on the <a href="{{ "/releases/" |
relURL}}">Releases archive</a>, here you will also find releases that are no
longer supported.</p>
-
- {{ .Content }}
-
- </article>
- </main>
-</div>
-
-{{ partial "footer.html" . }}
diff --git a/layouts/partials/releases/camel-k-runtime.html
b/layouts/partials/releases/camel-k-runtime.html
new file mode 100644
index 0000000..026b5b8
--- /dev/null
+++ b/layouts/partials/releases/camel-k-runtime.html
@@ -0,0 +1,19 @@
+{{ partial "releases/downloads.html" (dict "Category" (index (index
$.Site.Data "release-categories") "camel-k-runtime") "Pages" $.Site.Pages
"Version" .Params.version) }}
+
+<h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2>
+<p>
+ Release is tagged with <code>camel-k-runtime-parent-{{ .Params.version
}}</code> in the Git, to fetch it use:
+</p>
+<pre>
+git clone https://git-wip-us.apache.org/repos/asf/camel-k-runtime.git
+cd camel-k-runtime
+git checkout camel-k-runtime-parent-{{ .Params.version }}</pre>
+
+<h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2>
+<p>Here is a list of all the issues that have been resolved for this
release</p>
+{{ $issues := getJSON
"https://api.github.com/repos/apache/camel-k-runtime/issues?state=closed&milestone="
(string .Params.milestone ) }}
+<dl>
+{{ range $issues }}
+ <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd>
+{{ end }}
+</dl>
diff --git a/layouts/partials/releases/camel-k.html
b/layouts/partials/releases/camel-k.html
new file mode 100644
index 0000000..4b45397
--- /dev/null
+++ b/layouts/partials/releases/camel-k.html
@@ -0,0 +1,19 @@
+{{ partial "releases/downloads.html" (dict "Category" (index (index
$.Site.Data "release-categories") "camel-k") "Pages" $.Site.Pages "Version"
.Params.version) }}
+
+<h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2>
+<p>
+ Release is tagged with <code>v{{ .Params.version }}</code> in the Git, to
fetch it use:
+</p>
+<pre>
+git clone https://git-wip-us.apache.org/repos/asf/camel-k.git
+cd camel-k
+git checkout v{{ .Params.version }}</pre>
+
+<h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2>
+<p>Here is a list of all the issues that have been resolved for this
release</p>
+{{ $issues := getJSON
"https://api.github.com/repos/apache/camel-k/issues?state=closed&milestone="
(string .Params.milestone ) }}
+<dl>
+{{ range $issues }}
+ <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd>
+{{ end }}
+</dl>
diff --git a/layouts/partials/releases/camel-kafka-connector.html
b/layouts/partials/releases/camel-kafka-connector.html
new file mode 100644
index 0000000..7262aaf
--- /dev/null
+++ b/layouts/partials/releases/camel-kafka-connector.html
@@ -0,0 +1,28 @@
+<h2>Source Distribution</h2>
+
+<p>
+ Source distribution contains all the artifacts Apache Camel project
+ distributes in source form
+</p>
+
+{{ partial "releases/downloads.html" (dict "Category" (index (index
$.Site.Data "release-categories") "camel-kafka-connector") "Pages" $.Site.Pages
"Version" .Params.version) }}
+
+<h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2>
+<p>
+ Release is tagged with
+ <code>camel-kafka-connector{{ .Params.version }}</code> in the Git, to fetch
+ it use:
+</p>
+<pre>
+git clone https://git-wip-us.apache.org/repos/asf/camel-kafka-connector.git
+cd camel-kafka-connector
+git checkout camel-kafka-connector-{{ .Params.version }}</pre>
+
+<h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2>
+<p>Here is a list of all the issues that have been resolved for this
release</p>
+{{ $issues := getJSON
"https://api.github.com/repos/apache/camel-kafka-connector/issues?label="
(string .Params.version) }}
+<dl>
+{{ range $issues }}
+ <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd>
+{{ end }}
+</dl>
diff --git a/layouts/partials/releases/camel-quarkus.html
b/layouts/partials/releases/camel-quarkus.html
new file mode 100644
index 0000000..c5a1f86
--- /dev/null
+++ b/layouts/partials/releases/camel-quarkus.html
@@ -0,0 +1,19 @@
+{{ partial "releases/downloads.html" (dict "Category" (index (index
$.Site.Data "release-categories") "camel-quarkus") "Pages" $.Site.Pages
"Version" .Params.version) }}
+
+<h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2>
+<p>
+ Release is tagged with <code>{{ .Params.version }}</code> in the Git, to
fetch it use:
+</p>
+<pre>
+git clone https://git-wip-us.apache.org/repos/asf/camel-quarkus.git
+cd camel-quarkus
+git checkout {{ .Params.version }}</pre>
+
+<h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2>
+<p>Here is a list of all the issues that have been resolved for this
release</p>
+{{ $issues := getJSON
"https://api.github.com/repos/apache/camel-quarkus/issues?state=closed&milestone="
(string .Params.milestone ) }}
+<dl>
+{{ range $issues }}
+ <dt><a href="{{ .html_url }}">#{{ .number }}</a></dt><dd>{{ .title }}</dd>
+{{ end }}
+</dl>
diff --git a/layouts/partials/releases/camel.html
b/layouts/partials/releases/camel.html
new file mode 100644
index 0000000..ba0ca21
--- /dev/null
+++ b/layouts/partials/releases/camel.html
@@ -0,0 +1,78 @@
+<h2 id="maven"><a class="anchor" href="#maven"></a>Getting the Binaries using
Maven</h2>
+<p>To use this release in your <a href="https://maven.apache.org">Apache
Maven</a> <code>pom.xml</code>, import the Camel Bill of Materials (BOM) and
then include the <code>camel-core</code> and any other components needed
without specifying the version.</p>
+<aside>
+ <p><mark>Note:</mark> <code>camel-bom</code> is available from Camel 2.20.0
onward.</p>
+ <p>Replace the <code>COMPONENT</code> with the artifact outlined in the <a
href="/components/latest/">component documentation</a></p>
+</aside>
+<pre><code>{{ htmlUnescape (printf `<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-bom</artifactId>
+ <version>%s</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+
+<dependencies>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-COMPONENT</artifactId>
+ </dependency>
+</dependencies>
+` .Params.version) }}</code></pre>
+<p>To use this release in a Spring Boot application, use the
<code>camel-spring-boot-dependencies</code> Bill of Materials (BOM):
+<aside>
+ <p><mark>Note:</mark> for Camel 3.0.0 and newer releases the
<code>groupId</code> for Camel Spring Boot support changed from
<code>org.apache.camel</code> to <code>org.apache.camel.springbooot</code>, so
be sure to check that the appropriate <code>groupId</code> is used for the
Camel version.</p>
+ <p>Replace the <code>COMPONENT</code> with the artifact outlined in the <a
href="/components/latest/">component documentation</a></p>
+</aside>
+<pre><code>{{ htmlUnescape (printf `<dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-spring-boot-dependencies</artifactId>
+ <version>%s</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+</dependencyManagement>
+
+<dependencies>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-COMPONENT-starter</artifactId>
+ </dependency>
+</dependencies>
+` .Params.version) }}</code></pre>
+
+{{ partial "releases/downloads.html" (dict "Category" (index (index
$.Site.Data "release-categories") "camel") "Pages" $.Site.Pages "Version"
.Params.version) }}
+
+<h2 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h2>
+<p>Release is tagged with <code>camel-{{ .Params.version }}</code> in the Git,
to fetch it use:</p>
+<pre>git clone https://git-wip-us.apache.org/repos/asf/camel.git
+cd camel
+git checkout camel-{{ .Params.version }}</pre>
+
+<h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved issues</h2>
+<p>Here is a list of all the issues that have been resolved for this
release</p>
+{{ $issues_json := getJSON
"https://issues.apache.org/jira/rest/api/latest/search?jql=fixVersion=" (string
.Params.jiraVersionId) "&fields=issuetype,summary&maxResults=1000" }}
+{{ $issues := dict }}
+{{ range $issues_json.issues }}
+ {{ $issues_by_type := (or (index $issues .fields.issuetype.name) slice) |
append (dict "issue" .key "summary" .fields.summary) }}
+ {{ $issues = merge $issues (dict .fields.issuetype.name $issues_by_type ) }}
+{{ end }}
+{{ range $type, $data := $issues }}
+<h3>{{ $type }} ({{ len $data }})</h3>
+<dl>
+ {{ range $data }}
+ <dt><a href="https://issues.apache.org/jira/browse/{{ .issue }}">{{ .issue
}}</a></dt><dd>{{ .summary }}</dd>
+ {{ end }}
+</dl>
+{{ end }}
diff --git a/layouts/partials/releases/downloads.html
b/layouts/partials/releases/downloads.html
new file mode 100644
index 0000000..0d09c9e
--- /dev/null
+++ b/layouts/partials/releases/downloads.html
@@ -0,0 +1,158 @@
+{{/* after 2018-11-10 we started using SHA512 */}}
+{{ $sha1_cutoff := time "2018-11-10" }}
+
+{{/* default base URLs for current releases */}}
+{{ $artifact_base_url := "https://www.apache.org/dyn/closer.lua/" }}
+{{ $meta_base_url := "https://downloads.apache.org/" }}
+
+{{/* an slice of maps with single entry kind and version for each of the
downloads (lts, latest, legacy, ...) in a particular category (camel, camel-k,
...), there could be more than one item in the slice with the same kind (e.g.
two lts items) */}}
+{{ $versions := slice }}
+
+{{/* all versions from a category (camel, camel-k...) */}}
+{{ $category_releases := where (where (where .Pages "Section" "releases")
".Params.rc" "ne" "true") ".Params.category" $.Category.id }}
+
+{{/* are we featuring a current versions or an archived ones */}}
+{{ $is_current_versions := false }}
+
+{{ range $kind := $.Category.kinds }}
+ {{ if eq $kind.filter "latest" }}
+ {{/* there can be only single latest version, and we sort by version
(as strings!) to find it, there could be newer by date versions that are not
the latest, e.g. patching a legacy or lts release */}}
+ {{ $released_versions := ($category_releases.ByParam
"version").Reverse }}
+ {{ $version := (index $released_versions 0).Param "version" }}
+ {{ $versions = $versions | append (dict $kind.name $version) }}
+ {{ else }}
+ {{/* non-latest versions we need to sort by date of release */}}
+ {{ $released_versions := ($category_releases.ByParam "date").Reverse }}
+ {{ if $kind.last }}
+ {{/* we need to feature more than one of this kind: 0..last - 1*/}}
+
+ {{/* if we need to feature more than one, we don't want the last N
of the same major.minor, we want previous N major.minor versions */}}
+ {{ $last_major_minor := "" }}
+ {{ range $idx := (seq 0 (sub $kind.last 1)) }}
+ {{ $version := (index (where $released_versions ".Params.kind"
$kind.filter) $idx).Param "version" }}
+ {{ $major_minor := replaceRE "\\.\\d+$" "" $version }}
+ {{ if ne $last_major_minor $major_minor }}
+ {{ $versions = $versions | append (dict $kind.name
$version) }}
+ {{ end }}
+ {{ $last_major_minor = $major_minor }}
+ {{ end }}
+ {{ else }}
+ {{ $version := (index (where $released_versions ".Params.kind"
$kind.filter) 0).Param "version" }}
+ {{ $versions = $versions | append (dict $kind.name $version) }}
+ {{ end }}
+ {{ end }}
+{{ end }}
+
+{{/* if the version we're asked to render ($.Version is specifically set) and
that version is contained within $versions, i.e. it will be featured on the
downloads page, that version is current */}}
+{{ if $.Version }}
+ {{/* when version is specified, this is included from the release page */}}
+ {{ range $version := $versions }}
+ {{ range $kind, $v := $version }}
+ {{ $v }}
+ {{ if eq $v $.Version }}
+ {{ $is_current_versions = true }}
+ {{ end }}
+ {{ end }}
+ {{ end }}
+
+ {{/* we have determined that the $.Version will not be rendered on the
downloads page, so we need to link to archive */}}
+ {{ if not $is_current_versions }}
+ {{ $artifact_base_url = "https://archive.apache.org/dist/" }}
+ {{ $meta_base_url = "https://archive.apache.org/dist/" }}
+ {{ end }}
+
+ {{/* we're rendering a specific version, we don't need all collected
kinds/versions above */}}
+ {{ $versions = slice (dict "" $.Version) }}
+{{ else }}
+ {{/* no $.Version requested, we're rendering the downloads page, all
versions should be current */}}
+ {{ $is_current_versions = true }}
+
+{{ end }}
+
+{{/* the same version can be matched by two kinds (say be latest and lts at
the same time), this merges the multiple version entries into single */}}
+{{ $versions_grouped := slice }}
+{{/* check by cartesian product, we don't have much option with the
capabilities we have here */}}
+{{ range $version1 := $versions }}
+ {{ $groupped := false }}
+ {{ range $k1, $v1 := $version1 }}
+ {{ range $version2 := $versions }}
+ {{ range $k2, $v2 := $version2 }}
+ {{ if and (eq $v1 $v2) (ne $k1 $k2) }}
+ {{ $groupped = true }}
+ {{/* version equals but kind differs, i.e. same version
appears in two kinds */}}
+ {{ $kind := printf "%s, %s" $k1 $k2 }}
+ {{/* we'll encounter $v1 == $v2 and $v2 == $v1, and we
don't want the same version twice */}}
+ {{ $contained := false }}
+ {{ range $g := $versions_grouped }}
+ {{ range $x, $v := $g }}
+ {{ if eq $v $v1 }}
+ {{ $contained = true }}
+ {{ end }}
+ {{ end }}
+ {{ end }}
+ {{ if not $contained }}
+ {{ $versions_grouped = $versions_grouped | append
(dict $kind $v1) }}
+ {{ end }}
+ {{ end }}
+ {{ end }}
+ {{ end }}
+ {{ end }}
+ {{ if not $groupped }}
+ {{/* this version did not belong to multiple kinds, we need to add it
*/}}
+ {{ $versions_grouped = $versions_grouped | append $version1 }}
+ {{ end }}
+{{ end }}
+
+{{/* subsitute as we did the grouping above */}}
+{{ $versions = $versions_grouped }}
+
+<h2 id="{{ $.Category.id }}"><a class="anchor" href="#{{ $.Category.id
}}"></a>{{ $.Category.name }}</h2>
+
+<div class="table-wrapper">
+<table class="tableblock frame-all grid-all stretch">
+ <thead>
+ <tr>
+ <th>Version</th>
+ <th>Description</th>
+ <th>Download Link</th>
+ <th>PGP Signature file of download</th>
+ <th>SHA512 Checksum file of download</th>
+ </tr>
+ </thead>
+
+ {{ range $version := $versions }}
+ <tbody>
+ {{ range $kind, $v := $version }}
+ {{ $release_note := (index (where (where (where $.Pages "Section"
"releases") ".Params.category" $.Category.id) ".Params.version" $v) 0) }}
+ {{ $hash_extension := ".sha512" }}
+ {{ if le $release_note.Date $sha1_cutoff }}
+ {{ $hash_extension = ".sha1" }}
+ {{ end }}
+
+ <tr>
+ <td rowspan="{{ len $.Category.downloads }}">
+ <strong><a href="{{ $release_note.Permalink | relURL }}">{{
$v }}</a></strong>
+ {{ with $kind }}
+ <br/>
+ <small>{{ . }}</small>
+ <br/>
+ <small>{{ ((index (where (where (where $.Pages
"Section" "releases") ".Params.category" $.Category.id) ".Params.version" $v)
0).Param "date").Format "Jan, 2006" }}</small>
+ {{ end }}
+ </td>
+ {{ range $idx, $download := $.Category.downloads }}
+ {{ if ne $idx 0 }}
+ </tr><tr>
+ {{ end }}
+ {{ $path := replace $download.path_format "{version}" $v }}
+ {{ $filename := replace $download.filename_format
"{version}" $v }}
+ <td>{{ $download.name}}</td>
+ <td><a href="{{ $artifact_base_url }}{{ $path }}">{{
$filename }}</a></td>
+ <td><a href="{{ $meta_base_url }}{{ $path }}.asc">{{
$filename }}.asc</a></td>
+ <td><a href="{{ $meta_base_url }}{{ $path }}{{
$hash_extension }}">{{ $filename }}{{ $hash_extension }}</a></td>
+ {{ end }}
+ </tr>
+ {{ end }}
+ </tbody>
+ {{ end }}
+</table>
+</div>
diff --git a/layouts/partials/releases/release-table.html
b/layouts/partials/releases/release-table.html
new file mode 100644
index 0000000..7d70562
--- /dev/null
+++ b/layouts/partials/releases/release-table.html
@@ -0,0 +1,23 @@
+<table class="tableblock frame-all grid-all stretch">
+ <caption>
+ Releases by release date
+ </caption>
+ <thead>
+ <tr>
+ <td>Version</td>
+ <td>Release date</td>
+ <td>Description</td>
+ </tr>
+ </thead>
+ <tbody>
+ {{ range . }}
+ <tr>
+ <td>
+ <a href="{{ .RelPermalink }}">{{ .Params.version }}</a>
+ </td>
+ <td>{{ .Date | dateFormat "2006-01-02" }}</td>
+ <td>{{ .Params.preview }}</td>
+ </tr>
+ {{ end }}
+ </tbody>
+</table>
diff --git a/layouts/release-note/single.html b/layouts/release-note/single.html
index 94bb882..f6aa7ad 100644
--- a/layouts/release-note/single.html
+++ b/layouts/release-note/single.html
@@ -1,128 +1,15 @@
{{ partial "header.html" . }}
<main>
<article class="static doc release">
- <h1 id="release"><a class="anchor" href="#release"></a>Apache Camel {{
.Params.version }} Release</h1>
+ <h1 id="release"><a class="anchor" href="#release"></a>Apache
{{.Params.category}} {{ .Params.version }} Release</h1>
<h2 id="whats_new"><a class="anchor" href="#whats_new"></a>New and
Noteworthy</h2>
{{ .Content }}
- <h2 id="binaries"><a class="anchor" href="#binaries"></a>Getting the
Binaries</h2>
- <h3 id="maven"><a class="anchor" href="#maven"></a>Getting the Binaries
using Maven</h3>
- <p>To use this release in your <a href="https://maven.apache.org">Apache
Maven</a> <code>pom.xml</code>, import the Camel Bill of Materials (BOM) and
then include the <code>camel-core</code> and any other components needed
without specifying the version.</p>
- <aside>
- <p><mark>Note:</mark> <code>camel-bom</code> is available from Camel
2.20.0 onward.</p>
- <p>Replace the <code>COMPONENT</code> with the artifact outlined in the
<a href="/components/latest/">component documentation</a></p>
- </aside>
- <pre><code>{{ htmlUnescape (printf `<dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-bom</artifactId>
- <version>%s</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
-</dependencyManagement>
-<dependencies>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-COMPONENT</artifactId>
- </dependency>
-</dependencies>
-` .Params.version) }}</code></pre>
- <p>To use this release in a Spring Boot application, use the
<code>camel-spring-boot-dependencies</code> Bill of Materials (BOM):
- <aside>
- <p><mark>Note:</mark> for Camel 3.0.0 and newer releases the
<code>groupId</code> for Camel Spring Boot support changed from
<code>org.apache.camel</code> to <code>org.apache.camel.springbooot</code>, so
be sure to check that the appropriate <code>groupId</code> is used for the
Camel version.</p>
- <p>Replace the <code>COMPONENT</code> with the artifact outlined in the
<a href="/components/latest/">component documentation</a></p>
- </aside>
- <pre><code>{{ htmlUnescape (printf `<dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.camel.springboot</groupId>
- <artifactId>camel-spring-boot-dependencies</artifactId>
- <version>%s</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
-</dependencyManagement>
+ {{ partial (printf "releases/%s.html" (lower (replace .Params.category " "
"-"))) . }}
-<dependencies>
- <dependency>
- <groupId>org.apache.camel.springboot</groupId>
- <artifactId>camel-COMPONENT-starter</artifactId>
- </dependency>
-</dependencies>
-` .Params.version) }}</code></pre>
- <h3 id="binary_distribution"><a class="anchor"
href="#binary_distribution"></a>Binary Distributions</h3>
- <p>Binary distribution contains all the artifacts Apache Camel project
distributes in binary form</p>
- <table class="tableblock frame-all grid-all stretch">
- <thead>
- <tr>
- <td>Description</td>
- <td>Download Link</td>
- <td>PGP Signature file of download</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Windows Distribution</td>
- <td><a
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{
.Params.version }}/apache-camel-{{ .Params.version }}.zip">apache-camel-{{
.Params.version }}.zip</a></td>
- <td><a
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{
.Params.version }}/apache-camel-{{ .Params.version }}.zip.asc">apache-camel-{{
.Params.version }}.zip.asc</a></td>
- </tr>
- <tr>
- <td>Unix/Linux/Cygwin Distribution</td>
- <td><a
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{
.Params.version }}/apache-camel-{{ .Params.version }}.tar.gz">apache-camel-{{
.Params.version }}.tar.gz</a></td>
- <td><a
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{
.Params.version }}/apache-camel-{{ .Params.version
}}.tar.gz.asc">apache-camel-{{ .Params.version }}.tar.gz.asc</a></td>
- </tr>
- </tbody>
- </table>
- <h2 id="sources"><a class="anchor" href="#sources"></a>Sources</h2>
- <h3 id="source_distribution"><a class="anchor"
href="#source_distribution"></a>Source distribution</h3>
- <p>Source distribution contains all the artifacts Apache Camel project
distributes in source form</p>
- <table class="tableblock frame-all grid-all stretch">
- <thead>
- <tr>
- <td>Description</td>
- <td>Download Link</td>
- <td>PGP Signature file of download</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Source (zip)</td>
- <td><a
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{
.Params.version }}/apache-camel-{{ .Params.version }}-src.zip">apache-camel-{{
.Params.version }}-src.zip</a></td>
- <td><a
href="http://www.apache.org/dyn/closer.cgi/camel/apache-camel/{{
.Params.version }}/apache-camel-{{ .Params.version
}}-src.zip.asc">apache-camel-{{ .Params.version }}-src.zip.asc</a></td>
- </tr>
- </tbody>
- </table>
-
- <h3 id="git"><a class="anchor" href="#git"></a>Git tag checkout</h3>
- <p>Release is tagged with <code>camel-{{ .Params.version }}</code> in the
Git, to fetch it use:</p>
- <pre>git clone https://git-wip-us.apache.org/repos/asf/camel.git
-cd camel
-git checkout camel-{{ .Params.version }}</pre>
-
- <h2 id="resolved"><a class="anchor" href="#resolved"></a>Resolved
issues</h2>
- <p>Here is a list of all the issues that have been resolved for this
release</p>
- {{ $issues_json := getJSON
"https://issues.apache.org/jira/rest/api/latest/search?jql=fixVersion=" (string
.Params.jiraVersionId) "&fields=issuetype,summary&maxResults=1000" }}
- {{ $issues := dict }}
- {{ range $issues_json.issues }}
- {{ $issues_by_type := (or (index $issues .fields.issuetype.name) slice)
| append (dict "issue" .key "summary" .fields.summary) }}
- {{ $issues = merge $issues (dict .fields.issuetype.name $issues_by_type
) }}
- {{ end }}
- {{ range $type, $data := $issues }}
- <h3>{{ $type }} ({{ len $data }})</h3>
- <dl>
- {{ range $data }}
- <dt><a href="https://issues.apache.org/jira/browse/{{ .issue }}">{{
.issue }}</a></dt><dd>{{ .summary }}</dd>
- {{ end }}
- </dl>
- {{ end }}
+ <h2 id="keys"><a class="anchor" href="#keys"></a>Keys</h2>
+ <p>You can verify your download by following these <a
href="http://www.apache.org/info/verification.html">procedures</a> and using
these <a href="https://www.apache.org/dist/camel/KEYS">KEYS</a>.</p>
+
</article>
</main role="main">
{{ partial "footer.html" . }}
diff --git a/layouts/releases/list.html b/layouts/releases/list.html
index 61e7a94..7c6b490 100644
--- a/layouts/releases/list.html
+++ b/layouts/releases/list.html
@@ -2,29 +2,21 @@
<main class="main">
<article class="static doc">
-
{{ .Content }}
- <table class="tableblock frame-all grid-all stretch">
- <caption>Releases by version</caption>
- <thead>
- <tr>
- <td>Version</td>
- <td>Release date</td>
- <td>Description</td>
- </tr>
- </thead>
- <tbody>
- {{ range .Pages }}
- <tr>
- <td><a href="{{ .RelPermalink }}">{{ .Params.version }}</a></td>
- <td>{{ .Date | dateFormat "2006-01-02" }}</td>
- <td>{{ .Params.preview }}</td>
- </tr>
- {{ end }}
- </tbody>
- </table>
+ <p>
+ On this page you'll find archived releases of:
+ <dl>
+ {{ range $category := sort (index .Site.Data "release-categories")
".order" }}
+ <dd><a href="#{{ $category.id }}">Apache {{ $category.name
}}</a></dd>
+ {{ end }}
+ </dl>
+ </p>
+ {{ range $category := sort (index .Site.Data "release-categories")
".order" }}
+ <h2 id="{{ $category.id }}"><a class="anchor" href="#{{ $category.id
}}"></a>Releases of {{ $category.name }}</h2>
+ {{ partial "releases/release-table.html" (where (where $.Site.Pages
"Section" "releases") ".Params.category" $category.id) }}
+ {{ end }}
</article>
</main>
diff --git a/layouts/shortcodes/downloads.html
b/layouts/shortcodes/downloads.html
new file mode 100644
index 0000000..839a391
--- /dev/null
+++ b/layouts/shortcodes/downloads.html
@@ -0,0 +1,3 @@
+{{ range $x, $category := sort (index $.Site.Data "release-categories")
"order" }}
+ {{ partial "releases/downloads.html" (dict "Category" (index (index
$.Site.Data "release-categories") $category.id) "Pages" $.Site.Pages) }}
+{{ end }}