Skip to content

Commit 0fb6119

Browse files
committed
Go with 3.0.1
1 parent 91084df commit 0fb6119

File tree

5 files changed

+157
-128
lines changed

5 files changed

+157
-128
lines changed

RELEASE_PROCESS.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

22
#. Mantis: Create new version if needed, and move "Fixed in version" from -dev
33
to release: https://bugs.xdebug.org/manage_proj_edit_page.php?project_id=1
4-
#. Make sure both the master and release branch (i.e. xdebug_2_9) are fully
4+
#. Make sure both the master and release branch (i.e. xdebug_3_0) are fully
55
synced and merged.
6-
#. For first release in minor version (i.e. 2.10.x), merge package.xml from old
6+
#. For first release in minor version (i.e. 3.1.x), merge package.xml from old
77
bug fix branch into master and commit::
88

9-
git diff HEAD..xdebug_2_9 package.xml | patch -p1
9+
git diff HEAD..xdebug_3_0 package.xml | patch -p1
1010

1111
#. Update template.rc and php_xdebug.h with new version number. Use upper
1212
case "RC".
@@ -19,10 +19,10 @@
1919
#. Run "pecl package"
2020
#. Install new package with ``pecl install xdebug-*.tgz``
2121
#. Commit template.rc, php_xdebug.h, package.xml, xdebug.ini, and
22-
RELEASE_PROCESS.rst with text: ``Go with 2.9.5`` (use upper case 'RC').
22+
RELEASE_PROCESS.rst with text: ``Go with 3.0.1`` (use upper case 'RC').
2323
#. Tag package with ``git tag -u ${GPGKEY} -m <version number> <version number>``
2424
(use upper case "RC").
25-
#. ``git push origin master xdebug_2_9 && git push --tags``
25+
#. ``git push origin master xdebug_3_0 && git push --tags``
2626
#. Disable extra AppVeyor build (the one without the tag)
2727
#. Update www.xdebug.org views/home/updates.php
2828
#. Update www.xdebug.org src/XdebugVersion.php
@@ -33,16 +33,16 @@
3333
#. In the release branch, update template.rc and php_xdebug.h to the new
3434
version
3535
#. Commit template.rc and php_xdebug.h with "Back to -dev"
36-
#. Check out master branch, and run: git merge --strategy=ours xdebug_2_9
37-
#. ``git push origin master xdebug_2_9``
36+
#. Check out master branch, and run: git merge --strategy=ours xdebug_3_0
37+
#. ``git push origin master xdebug_3_0``
3838
#. Wait until AppVeyor is ready
39-
#. Upload the source package to PECL
4039
#. Add files from AppVeyor and source to www.xdebug.org html/files
4140
#. Create sha256 files for the new releases::
4241

43-
for i in *2.9.*{tgz,dll}; do \
42+
for i in *3.0.*{tgz,dll}; do \
4443
echo $i; sha256sum $i | sed 's/\ .*//' > $i.sha256.txt; \
4544
done
4645

4746
#. Add the downloads, DDLs, SHA256 files, and news file to git and commit with
48-
"Go with 2.9.5"
47+
"Go with 3.0.1"
48+
#. Upload the source package to PECL

package.xml

Lines changed: 141 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -33,129 +33,31 @@ Xdebug also provides:
3333
<active>yes</active>
3434
</lead>
3535

36-
<date>2020-11-25</date>
37-
<time>16:00:00</time>
36+
<date>2020-12-04</date>
37+
<time>15:53:10</time>
3838
<version>
39-
<release>3.0.0</release>
40-
<api>3.0.0</api>
39+
<release>3.0.1</release>
40+
<api>3.0.1</api>
4141
</version>
4242
<stability>
4343
<release>stable</release>
4444
<api>stable</api>
4545
</stability>
4646
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD style</license>
4747
<notes>
48-
Wed, Nov 25, 2020 - xdebug 3.0.0
49-
50-
Xdebug 3 includes major changes in functionality compared to Xdebug 2. The
51-
primary way how you turn on functionality is through the new xdebug.mode PHP
52-
configuration setting. This made it possible to massively increase performance
53-
in many of Xdebug's sub systems as Xdebug is now much more conservative in
54-
which hooks are enabled.
55-
56-
Configuration changes, massive performance improvements, and PHP 8 support are
57-
the primary features in Xdebug 3, but there is much more. The upgrade guide
58-
lists the changes in great detail, please read it:
59-
60-
https://xdebug.org/docs/upgrade_guide
61-
62-
-------------
63-
64-
+ New features:
65-
66-
- Implemented issue #1762: Introduce feature modes
67-
- Implemented issue #1793: Add xdebug.start_upon_error setting to cover the removed xdebug.remote_mode=jit feature.
68-
- Implemented issue #1797: Implement generic logging
69-
- Implemented issue #1801: Rename mode 'display' to mode 'develop'
70-
- Implemented issue #1831: Add diagnostics function xdebug_info()
71-
- Implemented issue #1833: Add links to documentation in diagnostic log
72-
- Implemented issue #1837: Support for associative variadic variable names (PHP 8)
73-
- Implemented issue #1841: Add support for PHP 8 'match' keyword
74-
75-
+ Improvements:
76-
77-
- Implemented issue #1680: Update var dumping routines to include relevant information for interned strings and immutable arrays
78-
- Implemented issue #1712: Add unit to profiler data types
79-
- Implemented issue #1743: Figuring out whether a call is a closure uses string comparisions instead of checking the ACC flag (Benjamin Eberlei)
80-
- Implemented issue #1752: Use a stack pool to manage stack entries instead of allocating and deallocating entries
81-
- Implemented issue #1755: Overload pcntl_fork() to prevent performance degradation by calling xdebug_get_pid often (Carlos Granados)
82-
- Implemented issue #1781: Include 'Xdebug' in max nesting level error message
83-
- Implemented issue #1783: Stacktrace needs vertical scrolling on small screens (Tobias Tom)
84-
- Implemented issue #1789: Provide PHP stubs for Xdebug's functions
85-
- Implemented issue #1807: Document Xdebug installation with yum and apt
86-
- Implemented issue #1813: Make sure that the xdebug_init_*_globals don't do more than they need to, and that init is only done when xdebug.mode != off
87-
- Implemented issue #1817: Switch filename storage from char*/size_t to zend_string*
88-
- Implemented issue #1818: Switch variable storage from char*/size_t to zend_string*
89-
- Implemented issue #1820: Increase time tracing precision (Michael Voříšek)
90-
- Implemented issue #1824: Allow Xdebug's mode to be set through an environment variable
91-
- Implemented issue #1825: Improve profiler performance by not calling fflush after every function (Michael Voříšek)
92-
- Implemented issue #1826: Reduce profiler memory allocation and call overhead
93-
- Implemented issue #1829: Switch to 10ns profiler resolution (Michael Voříšek)
94-
- Implemented issue #1832: If connect back host can not be contacted, fallback to remote_host/port
95-
- Implemented issue #1858: Only open/close log if there is an actual message to log
96-
- Implemented issue #1860: Allow xdebug.cloud_id to be set through an environment variable
97-
- Implemented issue #1814: Don't obtain the current time when it's not needed
98-
- Implemented issue #1835: Add current trace and profile file name, to diagnostic page
99-
- Implemented issue #1885: Change xdebug.start_with_ settings to PHP_INI_SYSTEM|PHP_INI_PERDIR
100-
- Implemented issue #1889: max_nesting_level should only trigger in "develop" mode
101-
102-
- Removed features:
103-
104-
- Implemented issue #1795: Deprecate PHP 7.1 support
105-
106-
- Implemented issue #1786: Remove idekey value fallback to USER/USERNAME environment variable
107-
- Implemented issue #1809: Remove "overload_var_dump" setting
108-
- Implemented issue #1810: Remove collect_vars and xdebug_get_declared_vars()
109-
- Implemented issue #1812: Remove show_mem_delta setting
110-
- Implemented issue #1838: Remove collect_params setting, and always default it to "4"
111-
- Implemented issue #1847: Remove xdebug.remote_cookie_expire_time setting
112-
- Implemented issue #1016: Removed support for pause-execution (introduced in beta1)
113-
- Implemented issue #1868: Remove xdebug_disable and xdebug_enabled
114-
- Implemented issue #1883: Function xdebug_is_enabled has been removed
115-
116-
= Changes:
117-
118-
- Implemented issue #1378: Unfortunate coupling of default_enable=1 and remote_mode=jit
119-
- Implemented issue #1773: Replace all xdebug.*_output_dir settings with xdebug.output_dir
120-
- Implemented issue #1785: Replace xdebug.remote_mode and xdebug.auto_trace with generic "start-with-request" setting
121-
- Implemented issue #1791: Replace xdebug.*trigger*, xdebug.*trigger_value*, with xdebug.start_with_request=trigger and xdebug.trigger_value
122-
- Implemented issue #1792: Change start_with_request=always/never to start_with_request=yes/no
123-
- Implemented issue #1794: Replace the filter's blacklist/whitelist with exclude/include
124-
- Implemented issue #1811: Remove xdebug.collect_includes setting and always include them
125-
- Implemented issue #1843: Adjust XDEBUG_CONFIG checks, and document what can be set through it
126-
- Implemented issue #1844: Add deprecation warning for removed and renamed configuration setting names
127-
- Implemented issue #1845: Rename xdebug.remote_{host,port} to xdebug.client_{host,port}
128-
- Implemented issue #1846: Rename setting xdebug.remote_timeout to xdebug.connect_timeout_ms
129-
- Implemented issue #1848: Change default Xdebug port from 9000 to 9003
130-
- Implemented issue #1850: Change array variable output in tracing to use modern [] syntax
131-
- Implemented issue #1856: Rename xdebug.remote_connect_back to xdebug.discover_client_host
132-
- Implemented issue #1857: Rename xdebug.remote_addr_header to xdebug.client_discovery_header
48+
Fri, Dec 4, 2020 - xdebug 3.0.1
13349

13450
= Fixed bugs:
13551

136-
- Fixed issue #1608: XDEBUG_CONFIG env var make sessions automatically START ever (at least send the XDEBUG_SESSION cookie)
137-
- Fixed issue #1726: Memory leaks spotted in various places in typical error code paths
138-
- Fixed issue #1757: Pause-execution feature degrades performance
139-
- Fixed issue #1864: Incompatibility with PCS and protobuf extensions
140-
- Fixed issue #1870: XDEBUG_SESSION_START URL parameter does not override XDEBUG_SESSION cookie
141-
- Fixed issue #1871: The "idekey" is not set when debugging is started through XDEBUG_SESSION cookie
142-
- Fixed issue #1873: xdebug_info() segfaults if the diagnostic buffer is empty
143-
- Fixed issue #1874: Incompatibility with protobuf extension
144-
- Fixed issue #1875: Overflow with large amounts of elements for variadics
145-
- Fixed issue #1878: Compilation failure: Socket options TCP_KEEPCNT and TCP_KEEPINTVL do not exist on Solaris 10 Sparc
146-
- Fixed issue #1880: Bundled unit test tests/debugger/bug00886.phar misses to load phar extension
147-
- Fixed issue #1887: Crash bug with xdebug_call_class and xdebug_call_file
148-
- Fixed issue #1756: Php process won't exit after running connected to a client
149-
- Fixed issue #1823: Profiler generates negative data for memory usage
150-
- Fixed issue #1834: Return type must be bool in overloaded set_time_limit
151-
- Fixed issue #1888: Make headers sticky in xdebug_info() output
152-
153-
+ Documentation
154-
155-
- Fixed issue #1865: Document XDEBUG_TRIGGER environment variable
156-
- Fixed issue #1866: Document comma separated xdebug.mode values
157-
- Fixed issue #1884: Document where Xdebug's settings can be set
158-
- Fixed issue #1892: Document changed/removed ini settings in the upgrade guide with the links provided
52+
- Fixed issue #1893: Crash with ext-fiber and xdebug.mode=coverage
53+
- Fixed issue #1896: Segfault with closures that are not created from user code
54+
- Fixed issue #1897: Crash when removing a breakpoint
55+
- Fixed issue #1900: Update README and add run-xdebug-tests.php to package
56+
- Fixed issue #1901: Stack traces are shown (with a broken time) when Xdebug's mode includes 'debug' but not 'develop' or 'trace'
57+
- Fixed issue #1902: Compillation failure on AIX
58+
- Fixed issue #1903: Constants should always be available, regardless of which mode Xdebug is in
59+
- Fixed issue #1904: Profile and trace files using %t or %u do not get the right names
60+
- Fixed issue #1905: Debugger does not disable request timeouts
15961
</notes>
16062

16163
<contents>
@@ -293,6 +195,133 @@ https://xdebug.org/docs/upgrade_guide
293195
<zendextsrcrelease />
294196
<changelog>
295197

198+
<release>
199+
<date>2020-11-25</date>
200+
<time>16:00:00</time>
201+
<version>
202+
<release>3.0.0</release>
203+
<api>3.0.0</api>
204+
</version>
205+
<stability>
206+
<release>stable</release>
207+
<api>stable</api>
208+
</stability>
209+
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD style</license>
210+
<notes>
211+
Wed, Nov 25, 2020 - xdebug 3.0.0
212+
213+
Xdebug 3 includes major changes in functionality compared to Xdebug 2. The
214+
primary way how you turn on functionality is through the new xdebug.mode PHP
215+
configuration setting. This made it possible to massively increase performance
216+
in many of Xdebug's sub systems as Xdebug is now much more conservative in
217+
which hooks are enabled.
218+
219+
Configuration changes, massive performance improvements, and PHP 8 support are
220+
the primary features in Xdebug 3, but there is much more. The upgrade guide
221+
lists the changes in great detail, please read it:
222+
223+
https://xdebug.org/docs/upgrade_guide
224+
225+
-------------
226+
227+
+ New features:
228+
229+
- Implemented issue #1762: Introduce feature modes
230+
- Implemented issue #1793: Add xdebug.start_upon_error setting to cover the removed xdebug.remote_mode=jit feature.
231+
- Implemented issue #1797: Implement generic logging
232+
- Implemented issue #1801: Rename mode 'display' to mode 'develop'
233+
- Implemented issue #1831: Add diagnostics function xdebug_info()
234+
- Implemented issue #1833: Add links to documentation in diagnostic log
235+
- Implemented issue #1837: Support for associative variadic variable names (PHP 8)
236+
- Implemented issue #1841: Add support for PHP 8 'match' keyword
237+
238+
+ Improvements:
239+
240+
- Implemented issue #1680: Update var dumping routines to include relevant information for interned strings and immutable arrays
241+
- Implemented issue #1712: Add unit to profiler data types
242+
- Implemented issue #1743: Figuring out whether a call is a closure uses string comparisions instead of checking the ACC flag (Benjamin Eberlei)
243+
- Implemented issue #1752: Use a stack pool to manage stack entries instead of allocating and deallocating entries
244+
- Implemented issue #1755: Overload pcntl_fork() to prevent performance degradation by calling xdebug_get_pid often (Carlos Granados)
245+
- Implemented issue #1781: Include 'Xdebug' in max nesting level error message
246+
- Implemented issue #1783: Stacktrace needs vertical scrolling on small screens (Tobias Tom)
247+
- Implemented issue #1789: Provide PHP stubs for Xdebug's functions
248+
- Implemented issue #1807: Document Xdebug installation with yum and apt
249+
- Implemented issue #1813: Make sure that the xdebug_init_*_globals don't do more than they need to, and that init is only done when xdebug.mode != off
250+
- Implemented issue #1817: Switch filename storage from char*/size_t to zend_string*
251+
- Implemented issue #1818: Switch variable storage from char*/size_t to zend_string*
252+
- Implemented issue #1820: Increase time tracing precision (Michael Voříšek)
253+
- Implemented issue #1824: Allow Xdebug's mode to be set through an environment variable
254+
- Implemented issue #1825: Improve profiler performance by not calling fflush after every function (Michael Voříšek)
255+
- Implemented issue #1826: Reduce profiler memory allocation and call overhead
256+
- Implemented issue #1829: Switch to 10ns profiler resolution (Michael Voříšek)
257+
- Implemented issue #1832: If connect back host can not be contacted, fallback to remote_host/port
258+
- Implemented issue #1858: Only open/close log if there is an actual message to log
259+
- Implemented issue #1860: Allow xdebug.cloud_id to be set through an environment variable
260+
- Implemented issue #1814: Don't obtain the current time when it's not needed
261+
- Implemented issue #1835: Add current trace and profile file name, to diagnostic page
262+
- Implemented issue #1885: Change xdebug.start_with_ settings to PHP_INI_SYSTEM|PHP_INI_PERDIR
263+
- Implemented issue #1889: max_nesting_level should only trigger in "develop" mode
264+
265+
- Removed features:
266+
267+
- Implemented issue #1795: Deprecate PHP 7.1 support
268+
269+
- Implemented issue #1786: Remove idekey value fallback to USER/USERNAME environment variable
270+
- Implemented issue #1809: Remove "overload_var_dump" setting
271+
- Implemented issue #1810: Remove collect_vars and xdebug_get_declared_vars()
272+
- Implemented issue #1812: Remove show_mem_delta setting
273+
- Implemented issue #1838: Remove collect_params setting, and always default it to "4"
274+
- Implemented issue #1847: Remove xdebug.remote_cookie_expire_time setting
275+
- Implemented issue #1016: Removed support for pause-execution (introduced in beta1)
276+
- Implemented issue #1868: Remove xdebug_disable and xdebug_enabled
277+
- Implemented issue #1883: Function xdebug_is_enabled has been removed
278+
279+
= Changes:
280+
281+
- Implemented issue #1378: Unfortunate coupling of default_enable=1 and remote_mode=jit
282+
- Implemented issue #1773: Replace all xdebug.*_output_dir settings with xdebug.output_dir
283+
- Implemented issue #1785: Replace xdebug.remote_mode and xdebug.auto_trace with generic "start-with-request" setting
284+
- Implemented issue #1791: Replace xdebug.*trigger*, xdebug.*trigger_value*, with xdebug.start_with_request=trigger and xdebug.trigger_value
285+
- Implemented issue #1792: Change start_with_request=always/never to start_with_request=yes/no
286+
- Implemented issue #1794: Replace the filter's blacklist/whitelist with exclude/include
287+
- Implemented issue #1811: Remove xdebug.collect_includes setting and always include them
288+
- Implemented issue #1843: Adjust XDEBUG_CONFIG checks, and document what can be set through it
289+
- Implemented issue #1844: Add deprecation warning for removed and renamed configuration setting names
290+
- Implemented issue #1845: Rename xdebug.remote_{host,port} to xdebug.client_{host,port}
291+
- Implemented issue #1846: Rename setting xdebug.remote_timeout to xdebug.connect_timeout_ms
292+
- Implemented issue #1848: Change default Xdebug port from 9000 to 9003
293+
- Implemented issue #1850: Change array variable output in tracing to use modern [] syntax
294+
- Implemented issue #1856: Rename xdebug.remote_connect_back to xdebug.discover_client_host
295+
- Implemented issue #1857: Rename xdebug.remote_addr_header to xdebug.client_discovery_header
296+
297+
= Fixed bugs:
298+
299+
- Fixed issue #1608: XDEBUG_CONFIG env var make sessions automatically START ever (at least send the XDEBUG_SESSION cookie)
300+
- Fixed issue #1726: Memory leaks spotted in various places in typical error code paths
301+
- Fixed issue #1757: Pause-execution feature degrades performance
302+
- Fixed issue #1864: Incompatibility with PCS and protobuf extensions
303+
- Fixed issue #1870: XDEBUG_SESSION_START URL parameter does not override XDEBUG_SESSION cookie
304+
- Fixed issue #1871: The "idekey" is not set when debugging is started through XDEBUG_SESSION cookie
305+
- Fixed issue #1873: xdebug_info() segfaults if the diagnostic buffer is empty
306+
- Fixed issue #1874: Incompatibility with protobuf extension
307+
- Fixed issue #1875: Overflow with large amounts of elements for variadics
308+
- Fixed issue #1878: Compilation failure: Socket options TCP_KEEPCNT and TCP_KEEPINTVL do not exist on Solaris 10 Sparc
309+
- Fixed issue #1880: Bundled unit test tests/debugger/bug00886.phar misses to load phar extension
310+
- Fixed issue #1887: Crash bug with xdebug_call_class and xdebug_call_file
311+
- Fixed issue #1756: Php process won't exit after running connected to a client
312+
- Fixed issue #1823: Profiler generates negative data for memory usage
313+
- Fixed issue #1834: Return type must be bool in overloaded set_time_limit
314+
- Fixed issue #1888: Make headers sticky in xdebug_info() output
315+
316+
+ Documentation
317+
318+
- Fixed issue #1865: Document XDEBUG_TRIGGER environment variable
319+
- Fixed issue #1866: Document comma separated xdebug.mode values
320+
- Fixed issue #1884: Document where Xdebug's settings can be set
321+
- Fixed issue #1892: Document changed/removed ini settings in the upgrade guide with the links provided
322+
</notes>
323+
</release>
324+
296325
<release>
297326
<date>2020-11-16</date>
298327
<time>10:08:58</time>

php_xdebug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#define PHP_XDEBUG_H
2121

2222
#define XDEBUG_NAME "Xdebug"
23-
#define XDEBUG_VERSION "3.0.1-dev"
23+
#define XDEBUG_VERSION "3.0.1"
2424
#define XDEBUG_AUTHOR "Derick Rethans"
2525
#define XDEBUG_COPYRIGHT "Copyright (c) 2002-2020 by Derick Rethans"
2626
#define XDEBUG_COPYRIGHT_SHORT "Copyright (c) 2002-2020"

template.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
1414
# define THANKS_GUYS ""
1515
#endif
1616

17-
#define VERSIONDESC 3,0,1,0
18-
#define VERSIONSTR "3.0.1-dev"
17+
#define VERSIONDESC 3,0,1,1
18+
#define VERSIONSTR "3.0.1"
1919

2020
//Version
2121
VS_VERSION_INFO VERSIONINFO

0 commit comments

Comments
 (0)