Skip to content

Commit a712d5b

Browse files
committed
feat(monolith): Core and Ent v3.2.0 release notes and generation script:
- Add v3.2.0 release notes for Core and Enterprise 3- Add a script to help analyze the diff between tags and generate release notes in a standard format following style guidelines
1 parent a925e3e commit a712d5b

File tree

2 files changed

+185
-0
lines changed

2 files changed

+185
-0
lines changed

content/shared/v3-core-enterprise-release-notes/_index.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,56 @@
55
> All updates to Core are automatically included in Enterprise.
66
> The Enterprise sections below only list updates exclusive to Enterprise.
77
8+
## v3.2.0 {date="2025-06-25"}
9+
**Core**: revision 1ca3168bee
10+
11+
**Enterprise**: revision 1ca3168bee
12+
13+
### Core
14+
15+
#### Features
16+
17+
- **Hard delete for databases and tables**: Permanently delete databases and tables, enabling complete removal of data structures for compliance and storage management ([#26553](https://github.com/influxdata/influxdb/pull/26553))
18+
- **AWS credentials auto-reload**: Support dynamic reloading of ephemeral AWS credentials from files, improving security and reliability when using AWS services ([#26537](https://github.com/influxdata/influxdb/pull/26537))
19+
- **Database retention period support**: Add retention period support for databases via CLI commands (`create database` and `update database` commands) and HTTP APIs ([#26520](https://github.com/influxdata/influxdb/pull/26520))
20+
- **Configurable lookback duration**: Users can specify lookback duration for PersistedFiles buffer, providing better control over query performance ([#26528](https://github.com/influxdata/influxdb/pull/26528))
21+
- **WAL replay concurrency control**: Add concurrency limits for WAL (Write-Ahead Log) replay to improve startup performance and resource management ([#26483](https://github.com/influxdata/influxdb/pull/26483))
22+
- **Enhanced write path**: Separate write path executor with unbounded memory for improved write performance ([#26455](https://github.com/influxdata/influxdb/pull/26455))
23+
24+
#### Bug Fixes
25+
26+
- **WAL corruption handling**: Handle corrupt WAL files during replay without panic, improving data recovery and system resilience ([#26556](https://github.com/influxdata/influxdb/pull/26556))
27+
- **Database naming validation**: Disallow underscores in database names when created via API to ensure consistency ([#26507](https://github.com/influxdata/influxdb/pull/26507))
28+
- **Object store cleanup**: Automatic intermediate directory cleanup for file object store, preventing storage bloat ([#26480](https://github.com/influxdata/influxdb/pull/26480))
29+
30+
#### Additional Updates
31+
32+
- Track generation 1 duration in catalog for better performance monitoring ([#26508](https://github.com/influxdata/influxdb/pull/26508))
33+
- Add retention period support to the catalog ([#26479](https://github.com/influxdata/influxdb/pull/26479))
34+
- Update help text for improved user experience ([#26509](https://github.com/influxdata/influxdb/pull/26509))
35+
36+
### Enterprise
37+
38+
All Core updates are included in Enterprise. Additional Enterprise-specific features and fixes:
39+
40+
#### Features
41+
42+
- **License management improvements**:
43+
- New `influxdb3 show license` command to display current license information
44+
- **Table-level retention period support**: Add retention period support for individual tables in addition to database-level retention, providing granular data lifecycle management
45+
- New CLI commands: `create table --retention-period` and `update table --retention-period`
46+
- Set or clear table-specific retention policies independent of database settings
47+
- **Compaction improvements**:
48+
- Address compactor restart issues for better reliability
49+
- Track compacted generation durations in catalog for monitoring
50+
- Disable parquet cache for ingest mode to optimize memory usage
51+
52+
#### Bug Fixes
53+
54+
- **Query optimization**: Correctly partition query chunks into generations for improved performance
55+
- **Data integrity**: Don't delete generation 1 files as part of compaction process
56+
- **License handling**: Trim whitespace from license file contents after reading to prevent validation issues
57+
858
## v3.1.0 {date="2025-05-29"}
959
**Core**: revision 482dd8aac580c04f37e8713a8fffae89ae8bc264
1060

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
#!/bin/bash
2+
3+
# Script to generate release notes for InfluxDB v3.x releases
4+
# Usage: ./generate-release-notes.sh <from_version> <to_version> <repo_path>
5+
6+
set -e
7+
8+
# Default values
9+
REPO_PATH="${3:-/Users/ja/Documents/github/influxdb}"
10+
FROM_VERSION="${1:-v3.1.0}"
11+
TO_VERSION="${2:-v3.2.0}"
12+
13+
# Colors for output
14+
RED='\033[0;31m'
15+
GREEN='\033[0;32m'
16+
YELLOW='\033[0;33m'
17+
BLUE='\033[0;34m'
18+
NC='\033[0m' # No Color
19+
20+
echo -e "${BLUE}Generating release notes for ${TO_VERSION}${NC}"
21+
echo -e "Repository: ${REPO_PATH}"
22+
echo -e "From: ${FROM_VERSION} To: ${TO_VERSION}\n"
23+
24+
# Function to extract PR number from commit message
25+
extract_pr_number() {
26+
echo "$1" | grep -oE '#[0-9]+' | head -1 | sed 's/#//'
27+
}
28+
29+
# Get the release date
30+
RELEASE_DATE=$(git -C "$REPO_PATH" log -1 --format=%ai "$TO_VERSION" | cut -d' ' -f1)
31+
echo -e "${GREEN}Release Date: ${RELEASE_DATE}${NC}\n"
32+
33+
# Collect commits by category
34+
echo -e "${YELLOW}Analyzing commits...${NC}"
35+
36+
# Features
37+
echo -e "\n${GREEN}Features:${NC}"
38+
FEATURES=$(git -C "$REPO_PATH" log --format="%h %s" "${FROM_VERSION}..${TO_VERSION}" | grep -E "^[a-f0-9]+ feat:" | sed 's/^[a-f0-9]* feat: //')
39+
40+
# Fixes
41+
echo -e "\n${GREEN}Bug Fixes:${NC}"
42+
FIXES=$(git -C "$REPO_PATH" log --format="%h %s" "${FROM_VERSION}..${TO_VERSION}" | grep -E "^[a-f0-9]+ fix:" | sed 's/^[a-f0-9]* fix: //')
43+
44+
# Breaking changes
45+
echo -e "\n${GREEN}Breaking Changes:${NC}"
46+
BREAKING=$(git -C "$REPO_PATH" log --format="%h %s" "${FROM_VERSION}..${TO_VERSION}" | grep -iE "^[a-f0-9]+ .*(BREAKING|breaking change)" | sed 's/^[a-f0-9]* //')
47+
48+
# Performance improvements
49+
echo -e "\n${GREEN}Performance:${NC}"
50+
PERF=$(git -C "$REPO_PATH" log --format="%h %s" "${FROM_VERSION}..${TO_VERSION}" | grep -E "^[a-f0-9]+ perf:" | sed 's/^[a-f0-9]* perf: //')
51+
52+
# Generate markdown output
53+
OUTPUT_FILE="release-notes-${TO_VERSION}.md"
54+
cat > "$OUTPUT_FILE" << EOF
55+
## ${TO_VERSION} {date="${RELEASE_DATE}"}
56+
57+
### Features
58+
59+
EOF
60+
61+
# Add features
62+
if [ -n "$FEATURES" ]; then
63+
while IFS= read -r line; do
64+
PR=$(extract_pr_number "$line")
65+
# Clean up the commit message
66+
CLEAN_LINE=$(echo "$line" | sed -E 's/ \(#[0-9]+\)$//')
67+
if [ -n "$PR" ]; then
68+
echo "- $CLEAN_LINE ([#$PR](https://github.com/influxdata/influxdb/pull/$PR))" >> "$OUTPUT_FILE"
69+
else
70+
echo "- $CLEAN_LINE" >> "$OUTPUT_FILE"
71+
fi
72+
done <<< "$FEATURES"
73+
else
74+
echo "- No new features in this release" >> "$OUTPUT_FILE"
75+
fi
76+
77+
# Add bug fixes
78+
cat >> "$OUTPUT_FILE" << EOF
79+
80+
### Bug Fixes
81+
82+
EOF
83+
84+
if [ -n "$FIXES" ]; then
85+
while IFS= read -r line; do
86+
PR=$(extract_pr_number "$line")
87+
CLEAN_LINE=$(echo "$line" | sed -E 's/ \(#[0-9]+\)$//')
88+
if [ -n "$PR" ]; then
89+
echo "- $CLEAN_LINE ([#$PR](https://github.com/influxdata/influxdb/pull/$PR))" >> "$OUTPUT_FILE"
90+
else
91+
echo "- $CLEAN_LINE" >> "$OUTPUT_FILE"
92+
fi
93+
done <<< "$FIXES"
94+
else
95+
echo "- No bug fixes in this release" >> "$OUTPUT_FILE"
96+
fi
97+
98+
# Add breaking changes if any
99+
if [ -n "$BREAKING" ]; then
100+
cat >> "$OUTPUT_FILE" << EOF
101+
102+
### Breaking Changes
103+
104+
EOF
105+
while IFS= read -r line; do
106+
PR=$(extract_pr_number "$line")
107+
CLEAN_LINE=$(echo "$line" | sed -E 's/ \(#[0-9]+\)$//')
108+
if [ -n "$PR" ]; then
109+
echo "- $CLEAN_LINE ([#$PR](https://github.com/influxdata/influxdb/pull/$PR))" >> "$OUTPUT_FILE"
110+
else
111+
echo "- $CLEAN_LINE" >> "$OUTPUT_FILE"
112+
fi
113+
done <<< "$BREAKING"
114+
fi
115+
116+
# Add performance improvements if any
117+
if [ -n "$PERF" ]; then
118+
cat >> "$OUTPUT_FILE" << EOF
119+
120+
### Performance Improvements
121+
122+
EOF
123+
while IFS= read -r line; do
124+
PR=$(extract_pr_number "$line")
125+
CLEAN_LINE=$(echo "$line" | sed -E 's/ \(#[0-9]+\)$//')
126+
if [ -n "$PR" ]; then
127+
echo "- $CLEAN_LINE ([#$PR](https://github.com/influxdata/influxdb/pull/$PR))" >> "$OUTPUT_FILE"
128+
else
129+
echo "- $CLEAN_LINE" >> "$OUTPUT_FILE"
130+
fi
131+
done <<< "$PERF"
132+
fi
133+
134+
echo -e "\n${GREEN}Release notes generated in: ${OUTPUT_FILE}${NC}"
135+
echo -e "${YELLOW}Please review and edit the generated notes before adding to documentation.${NC}"

0 commit comments

Comments
 (0)