File tree Expand file tree Collapse file tree 5 files changed +16
-8
lines changed
Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 11CHANGELOG
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.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ You should now have the file `composer.phar` in your project directory.
2424Run 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
3030You should now have the files ` composer.json ` and ` composer.lock ` as well as
Original file line number Diff line number Diff line change 22
33set -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+
513changelog=$( cat CHANGELOG.md)
614
715regex='
Original file line number Diff line number Diff line change 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
2121extern zend_module_entry maxminddb_module_entry ;
Original file line number Diff line number Diff line change 14141515 <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" />
You can’t perform that action at this time.
0 commit comments