Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CHANGELOG
=========

7.0.0 (unreleased)
7.0.0 (2026-06-29)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check CHANGELOG.md structure for unreleased section
cat -n CHANGELOG.md | head -20

Repository: maxmind/GeoIP2-node

Length of output: 1340


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== unreleased entries =="
rg -n "unreleased" CHANGELOG.md || true

echo
echo "== full changelog structure (first 80 lines) =="
cat -n CHANGELOG.md | sed -n '1,80p'

Repository: maxmind/GeoIP2-node

Length of output: 4492


Add the next unreleased changelog entry. CHANGELOG.md should include a new X.Y.Z (unreleased) section below 7.0.0 (2026-06-29) so future changes have a place to land.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@CHANGELOG.md` at line 4, The CHANGELOG is missing a placeholder for upcoming
changes, so add a new unreleased section directly below the existing 7.0.0
entry. Update CHANGELOG.md to include an “X.Y.Z (unreleased)” heading in the
same format as the current versioned sections so future entries have a place to
be recorded.

Source: Coding guidelines

------------------

* **Breaking** Dropped support for Node.js 18 and 20. Node.js 22 or greater is now
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,6 @@ client API, please contact [MaxMind support for assistance](https://support.maxm

## Copyright and License

This software is Copyright (c) 2018-2025 by MaxMind, Inc.
This software is Copyright (c) 2018-2026 by MaxMind, Inc.

This is free software, licensed under the Apache License, Version 2.0.
15 changes: 14 additions & 1 deletion dev-bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@ if [ "$current_version" != "$version" ]; then
npm version "$version" --no-git-tag-version
fi

# Verify package.json is now at the target version. This distinguishes the
# benign "already bumped" case (nothing to commit) from a version update that
# silently failed to take effect.
actual_version=$(node -p "require('./package.json').version")
if [ "$actual_version" != "$version" ]; then
echo "Error: package.json version is $actual_version but expected $version." >&2
exit 1
fi

# Build and test
echo "Running build and tests..."
npm ci
Expand All @@ -111,7 +120,11 @@ if [ "$should_continue" != "y" ]; then
exit 1
fi

git commit -m "Prepare for $version" -a
if [ -n "$(git status --porcelain)" ]; then
git commit -m "Prepare for $version" -a
else
echo "No changes to commit; package.json is already at version $version."
fi

git push

Expand Down