summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog21
-rw-r--r--doc/source/changelog.rst27
-rw-r--r--src/php_snuffleupagus.h2
-rw-r--r--src/snuffleupagus.c2
4 files changed, 50 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index d766386..f5b67c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,24 @@
1snuffleupagus (0.11.0) UNRELEASED; urgency=low
2 [ jvoisin ]
3 * Compatibility with PHP8.4
4 * Fixed compilation on FreeBSD
5 * Update the internal deprecation checks
6
7 [ cgzones ]
8 * Print key and value on INI violations
9 * Improve `scripts/generate_rules.php` with regard to functions from global space prefixed with `\`
10 * Add option to specify the allowed "php" wrapper types
11 * Make 'phar' filenames work in `sp.disabled_functions`
12 * Improve the documentation
13 * Improve the default set of rules, especially with regard to portability
14 * Improve the Debian packaging
15 * Improve behaviour when dealing with broken configuration file
16 * Don't whitelist files if the function name is actually a method of a class in `scripts/generate_rules.php`
17 * Ignore function definition in `scripts/generate_rules.php`
18 * Improve configuration dumping
19
20 -- jvoisin <julien.voisin+snuffleupagus@dustri.org> Fri, 06 Sep 2024 14:30:00 +0200
21
1snuffleupagus (0.10.0) UNRELEASED; urgency=low 22snuffleupagus (0.10.0) UNRELEASED; urgency=low
2 [ jvoisin ] 23 [ jvoisin ]
3 * Compatibility with PHP8.3 24 * Compatibility with PHP8.3
diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst
index d8724d0..a0d3f4a 100644
--- a/doc/source/changelog.rst
+++ b/doc/source/changelog.rst
@@ -1,6 +1,33 @@
1Changelog 1Changelog
2========= 2=========
3 3
40.11.0 - ` Mastodon <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.12.0>`__ 2024/09/06
5-------------------------------------------------------------------------------------------------
6
7New features
8^^^^^^^^^^^^
9* Compatibility with PHP8.4
10* Print key and value on INI violations
11* Improve scripts/generate_rules.php with regard to functions from global space prefixed with \
12* Add option to specify the allowed "php" wrapper types
13
14Breaking Changes
15^^^^^^^^^^^^^^^^
16
17Bug fixes
18^^^^^^^^^
19* Make 'phar' filenames work in sp.disabled_functions
20* Improve the documentation
21* Improve the default set of rules, especially with regard to portability
22* Improve the Debian packaging
23* Improve behaviour when dealing with broken configuration file
24* Update the internal deprecation checks
25* Don't whitelist files if the function name is actually a method of a class in scripts/generate_rules.php
26* Ignore function definition in scripts/generate_rules.php
27* Improve configuration dumping
28* Fixed compilation on FreeBSD
29
30
40.10.0 - `Babar the Elephant <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.10.0>`__ 2023/09/20 310.10.0 - `Babar the Elephant <https://github.com/jvoisin/snuffleupagus/releases/tag/v0.10.0>`__ 2023/09/20
5---------------------------------------------------------------------------------------------------------- 32----------------------------------------------------------------------------------------------------------
6 33
diff --git a/src/php_snuffleupagus.h b/src/php_snuffleupagus.h
index b4d1be1..72334e3 100644
--- a/src/php_snuffleupagus.h
+++ b/src/php_snuffleupagus.h
@@ -1,7 +1,7 @@
1#ifndef PHP_SNUFFLEUPAGUS_H 1#ifndef PHP_SNUFFLEUPAGUS_H
2#define PHP_SNUFFLEUPAGUS_H 2#define PHP_SNUFFLEUPAGUS_H
3 3
4#define PHP_SNUFFLEUPAGUS_VERSION "0.10.0" 4#define PHP_SNUFFLEUPAGUS_VERSION "0.11.0"
5#define PHP_SNUFFLEUPAGUS_EXTNAME "snuffleupagus" 5#define PHP_SNUFFLEUPAGUS_EXTNAME "snuffleupagus"
6#define PHP_SNUFFLEUPAGUS_AUTHOR "NBS System & Julien (jvoisin) Voisin & SektionEins GmbH" 6#define PHP_SNUFFLEUPAGUS_AUTHOR "NBS System & Julien (jvoisin) Voisin & SektionEins GmbH"
7#define PHP_SNUFFLEUPAGUS_URL "https://github.com/jvoisin/snuffleupagus" 7#define PHP_SNUFFLEUPAGUS_URL "https://github.com/jvoisin/snuffleupagus"
diff --git a/src/snuffleupagus.c b/src/snuffleupagus.c
index 8c09a37..4f4bd83 100644
--- a/src/snuffleupagus.c
+++ b/src/snuffleupagus.c
@@ -250,7 +250,7 @@ PHP_MINFO_FUNCTION(snuffleupagus) {
250 php_info_print_table_row( 250 php_info_print_table_row(
251 2, "snuffleupagus support", 251 2, "snuffleupagus support",
252 SPG(is_config_valid) ? "enabled" : "disabled"); 252 SPG(is_config_valid) ? "enabled" : "disabled");
253 php_info_print_table_row(2, "Version", PHP_SNUFFLEUPAGUS_VERSION "-sng (with Suhosin-NG patches)"); 253 php_info_print_table_row(2, "Version", PHP_SNUFFLEUPAGUS_VERSION);
254 php_info_print_table_row(2, "Valid config", valid_config); 254 php_info_print_table_row(2, "Valid config", valid_config);
255 php_info_print_table_end(); 255 php_info_print_table_end();
256 DISPLAY_INI_ENTRIES(); 256 DISPLAY_INI_ENTRIES();