Skip to content

Commit 68d144a

Browse files
authored
release 4.11.1 (#4506)
This also updates the release process step for updating the appropriate branch for our docs build. We are in transition from the current AsciiDoc-based system to a newer 'docs v3' system.
1 parent a1de51d commit 68d144a

5 files changed

+28
-24
lines changed

CHANGELOG.asciidoc

+3-6
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@ Notes:
3333
3434
See the <<upgrade-to-v4>> guide.
3535
36-
==== Unreleased
3736
38-
[float]
39-
===== Breaking changes
40-
41-
[float]
42-
===== Features
37+
[[release-notes-4.11.1]]
38+
==== 4.11.1 - 2025/03/14
4339
4440
[float]
4541
===== Bug fixes
@@ -76,6 +72,7 @@ duplication of the `Error` properties already being captured to the
7672
===== Chores
7773
7874
* Update base image of alpine in `Dockerfile` to version `3.21.3`. ({pull}4465[#4465])
75+
* Test FIPS 140 compliance. ({pull}4441[#4441])
7976
8077
[[release-notes-4.11.0]]
8178
==== 4.11.0 - 2025/01/20

CONTRIBUTING.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,13 @@ A release involves the following published artifacts:
212212
steps -- including the `npm publish`. See the appropriate run at:
213213
https://github.com/elastic/apm-agent-nodejs/actions/workflows/release.yml)
214214
215-
4. If this is for the latest major (currently `4.x`), then the "4.x" branch
216-
needs to be updated to the same state as the release tag on "main". Use
217-
the [update-4x-branch.sh](./dev-utils/update-4x-branch.sh) script for this.
215+
4. Updating published docs: If this is for the latest major (currently `4.x`),
216+
then the "do-not-delete_legacy-docs" branch needs to be updated to the same
217+
state as the release tag on "main". Use the
218+
[update-legacy-docs-branch.sh](./dev-utils/update-legacy-docs-branch.sh)
219+
script for this.
218220
219-
- Run `./dev-utils/update-4x-branch.sh` to create a working dir with the
221+
- Run `./dev-utils/update-legacy-docs-branch.sh` to create a working dir with the
220222
needed changes.
221223
- Follow its instructions to create a PR from this working dir.
222224
- Ensure the "buildkite/docs-build-pr" workflow passes for this branch.

dev-utils/update-4x-branch.sh dev-utils/update-legacy-docs-branch.sh

+16-11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
#!/bin/bash
22
#
3-
# Create a PR to update the 4.x branch to match the state of "main" for the
4-
# just-tagged release. The 4.x branch needs to be updated for the current docs
5-
# build.
3+
# Create a PR to update the `do-not-delete_legacy-docs` branch to match the
4+
# state of "main" for the just-tagged release. The `do-not-delete_legacy-docs`
5+
# branch needs to be updated for the current docs build.
6+
#
7+
# (Here "legacy docs" means the old Elastic (v1?) docs system based on
8+
# AsciiDoc sources and the elastic/docs.git tooling. Around Mar/Apr 2025
9+
# this docs system is being phased out in favour of a "docs v3" system based
10+
# on Markdown sources and new tooling.)
611
#
712
# Usage:
8-
# ./dev-utils/update-4x-branch.sh [TARGTAG [LASTTAG]]
13+
# ./dev-utils/update-legacy-docs-branch.sh [TARGTAG [LASTTAG]]
914

1015
if [ "$TRACE" != "" ]; then
1116
export PS4='${BASH_SOURCE}:${LINENO}: ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
@@ -20,7 +25,7 @@ function fatal {
2025
}
2126

2227
TOP=$(cd $(dirname $0)/../ >/dev/null; pwd)
23-
WRKDIR=${TOP}/build/update-4x-branch
28+
WRKDIR=${TOP}/build/update-legacy-docs-branch
2429

2530
echo "# Creating working git clone in: ${WRKDIR}/apm-agent-nodejs"
2631
rm -rf $WRKDIR
@@ -40,8 +45,8 @@ if [[ ! ("$TARGTAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]$) ]]; then
4045
fi
4146
# echo "TARGTAG=$TARGTAG"
4247

43-
# Allow passing in last tag (second arg), in case the 4.x branch wasn't updated
44-
# for some previous releases.
48+
# Allow passing in last tag (second arg), in case the
49+
# 'do-not-delete_legacy-docs' branch wasn't updated for some previous releases.
4550
LASTTAG="$2"
4651
if [[ -z "$LASTTAG" ]]; then
4752
readonly NUM_COMMITS_SANITY_GUARD=200
@@ -69,9 +74,9 @@ fi
6974
# `tac` works on Linux, `tail -r` works on BSD/macOS.
7075
# https://stackoverflow.com/a/744093/14444044
7176
echo
72-
echo "# Creating PR to update 4.x branch with commits from $LASTTAG to $TARGTAG."
73-
FEATBRANCH=update-4x-branch-$(date +%Y%m%d)
74-
git checkout 4.x
77+
echo "# Creating PR to update 'do-not-delete_legacy-docs' branch with commits from $LASTTAG to $TARGTAG."
78+
FEATBRANCH=update-legacy-docs-branch-$(date +%Y%m%d)
79+
git checkout do-not-delete_legacy-docs
7580
git checkout -b "$FEATBRANCH"
7681
git log --pretty=format:"%h" $LASTTAG...$TARGTAG \
7782
| awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' \
@@ -84,5 +89,5 @@ RELEASE_PR=$(git log --pretty=format:"%s" -1 $TARGTAG | sed -E 's/^.* \(\#([0-9]
8489
echo
8590
echo "# You can create a PR now with:"
8691
echo " cd $WRKDIR/apm-agent-nodejs"
87-
echo " gh pr create -w -B 4.x -t 'docs: update 4.x branch for $TARGTAG release' --body 'Refs: #$RELEASE_PR (release PR)'"
92+
echo " gh pr create -w -B "do-not-delete_legacy-docs" -t 'docs: update "do-not-delete_legacy-docs" branch for $TARGTAG release' --body 'Refs: #$RELEASE_PR (release PR)'"
8893

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "elastic-apm-node",
3-
"version": "4.11.0",
3+
"version": "4.11.1",
44
"description": "The official Elastic APM agent for Node.js",
55
"type": "commonjs",
66
"main": "index.js",

0 commit comments

Comments
 (0)