Skip to content

Commit 62cdd95

Browse files
authored
Merge pull request #222 from maxmind/greg/eng-3323
Release 1.13.0
2 parents 75f834a + b298986 commit 62cdd95

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CHANGELOG
22
=========
33

4-
1.13.0
4+
1.13.0 (2025-11-20)
55
-------------------
66

77
* A redundant `filesize()` call in the reader's constructor was removed.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You should now have the file `composer.phar` in your project directory.
2424
Run in your project root:
2525

2626
```
27-
php composer.phar require maxmind-db/reader:^1.12.1
27+
php composer.phar require maxmind-db/reader:^1.13.0
2828
```
2929

3030
You should now have the files `composer.json` and `composer.lock` as well as

dev-bin/release.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
set -eu -o pipefail
44

5+
# Check that we're not on the main branch
6+
current_branch=$(git branch --show-current)
7+
if [ "$current_branch" = "main" ]; then
8+
echo "Error: Releases should not be done directly on the main branch."
9+
echo "Please create a release branch and run this script from there."
10+
exit 1
11+
fi
12+
513
changelog=$(cat CHANGELOG.md)
614

715
regex='

ext/php_maxminddb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#ifndef PHP_MAXMINDDB_H
1717
#define PHP_MAXMINDDB_H 1
18-
#define PHP_MAXMINDDB_VERSION "1.12.1"
18+
#define PHP_MAXMINDDB_VERSION "1.13.0"
1919
#define PHP_MAXMINDDB_EXTNAME "maxminddb"
2020

2121
extern zend_module_entry maxminddb_module_entry;

package.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@
1414
<email>[email protected]</email>
1515
<active>yes</active>
1616
</lead>
17-
<date>2025-05-05</date>
17+
<date>2025-11-20</date>
1818
<version>
19-
<release>1.12.1</release>
20-
<api>1.12.1</api>
19+
<release>1.13.0</release>
20+
<api>1.13.0</api>
2121
</version>
2222
<stability>
2323
<release>stable</release>
2424
<api>stable</api>
2525
</stability>
2626
<license uri="https://github.com/maxmind/MaxMind-DB-Reader-php/blob/main/LICENSE">Apache License 2.0</license>
27-
<notes>* The C extension now checks that the database metadata lookup was
28-
successful.</notes>
27+
<notes>* A redundant `filesize()` call in the reader's constructor was removed.
28+
Pull request by Pavel Djundik. GitHub #189.</notes>
2929
<contents>
3030
<dir name="/">
3131
<file role="doc" name="LICENSE"/>

0 commit comments

Comments
 (0)