Skip to content

Commit fd53e41

Browse files
committed
Go with 3.0.2
1 parent 1cb15ab commit fd53e41

File tree

5 files changed

+72
-46
lines changed

5 files changed

+72
-46
lines changed

RELEASE_PROCESS.rst

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,14 @@
88

99
git diff HEAD..xdebug_3_0 package.xml | patch -p1
1010

11-
#. Update template.rc and php_xdebug.h with new version number. Use upper
12-
case "RC".
11+
#. Run: php ~/bin/make-xdebug-release.php <version>
1312
#. Move existing release entry down in package.xml
14-
#. Create a new release entry in package.xml, use upper case "RC".
15-
#. Reword package.xml so that it all makes sense!
16-
#. Rebuild from source with: ``~/bin/rebuild.sh``
17-
#. Run xdebug.ini update script from xdebug.org repository:
18-
``php html/docs/convert.php > ~/dev/php/xdebug-xdebug/xdebug.ini``
19-
#. Run "pecl package"
20-
#. Install new package with ``pecl install xdebug-*.tgz``
21-
#. Commit template.rc, php_xdebug.h, package.xml, xdebug.ini, and
22-
RELEASE_PROCESS.rst with text: ``Go with 3.0.1`` (use upper case 'RC').
23-
#. Tag package with ``~/bin/tag-sign.sh <version number>``
24-
(use upper case "RC").
25-
#. ``git push origin <version nummer> && git push origin master``
26-
#. Update www.xdebug.org views/home/updates.php
27-
#. Update www.xdebug.org src/XdebugVersion.php
28-
#. Update www.xdebug.org src/Controller/DocsController.php
29-
#. Write news item in www.xdebug.org data/news
13+
#. Include new snippet in /tmp/package.xml
14+
#. Run commands from output
15+
#. Update www.xdebug.org views/home/updates.php with snippet
16+
#. Update www.xdebug.org src/XdebugVersion.php with snippet
3017
#. Write Patreon post taking the rendered news article as starting point
18+
3119
#. Mantis: "release" the version, and make sure there is a new one.
3220
#. In the release branch, update template.rc and php_xdebug.h to the new
3321
version

package.xml

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

36-
<date>2020-12-04</date>
37-
<time>15:53:10</time>
36+
<date>2021-01-04</date>
37+
<time>17:08:58</time>
3838
<version>
39-
<release>3.0.1</release>
40-
<api>3.0.1</api>
39+
<release>3.0.2</release>
40+
<api>3.0.2</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-
Fri, Dec 4, 2020 - xdebug 3.0.1
48+
Mon, Jan 04, 2021 - Xdebug 3.0.2
4949

5050
= Fixed bugs:
5151

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
52+
- Fixed issue #1907: Empty exception message when setting the $message property to a stringable object
53+
- Fixed issue #1910: Code coverage misses constructor property promotion code
54+
- Fixed issue #1914: Compillation failure on OpenBSD
55+
- Fixed issue #1915: Debugger should only start with XDEBUG_SESSION and not XDEBUG_PROFILE
56+
- Fixed issue #1918: Warn if PHP's Garbage Collection is disabled in gc_stats mode
57+
- Fixed issue #1919: Crash when enabling filter without the right mode active
58+
- Fixed issue #1921: Xdebug does not start step debugging if start_with_request=trigger
59+
- Fixed issue #1922: Code coverage misses array assignment lines
60+
- Fixed issue #1924: Deprecated INI settings displayed in phpinfo()
61+
- Fixed issue #1925: xdebug.start_with_request and start_upon_error display inconsistent values
62+
- Fixed issue #1926: Add Xdebug mode's source to xdebug_info() output
63+
- Fixed issue #1927: Crash when calling xdebug_stop_trace without a trace in progress
64+
- Fixed issue #1928: xdebug_stop_gcstats() can also return false
65+
6166
</notes>
6267

6368
<contents>
@@ -194,6 +199,35 @@ Fri, Dec 4, 2020 - xdebug 3.0.1
194199
<providesextension>xdebug</providesextension>
195200
<zendextsrcrelease />
196201
<changelog>
202+
203+
<release>
204+
<date>2020-12-04</date>
205+
<time>15:53:10</time>
206+
<version>
207+
<release>3.0.1</release>
208+
<api>3.0.1</api>
209+
</version>
210+
<stability>
211+
<release>stable</release>
212+
<api>stable</api>
213+
</stability>
214+
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD style</license>
215+
<notes>
216+
Fri, Dec 4, 2020 - xdebug 3.0.1
217+
218+
= Fixed bugs:
219+
220+
- Fixed issue #1893: Crash with ext-fiber and xdebug.mode=coverage
221+
- Fixed issue #1896: Segfault with closures that are not created from user code
222+
- Fixed issue #1897: Crash when removing a breakpoint
223+
- Fixed issue #1900: Update README and add run-xdebug-tests.php to package
224+
- Fixed issue #1901: Stack traces are shown (with a broken time) when Xdebug's mode includes 'debug' but not 'develop' or 'trace'
225+
- Fixed issue #1902: Compillation failure on AIX
226+
- Fixed issue #1903: Constants should always be available, regardless of which mode Xdebug is in
227+
- Fixed issue #1904: Profile and trace files using %t or %u do not get the right names
228+
- Fixed issue #1905: Debugger does not disable request timeouts
229+
</notes>
230+
</release>
197231

198232
<release>
199233
<date>2020-11-25</date>

php_xdebug.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
+----------------------------------------------------------------------+
33
| Xdebug |
44
+----------------------------------------------------------------------+
5-
| Copyright (c) 2002-2020 Derick Rethans |
5+
| Copyright (c) 2002-2021 Derick Rethans |
66
+----------------------------------------------------------------------+
77
| This source file is subject to version 1.01 of the Xdebug license, |
88
| that is bundled with this package in the file LICENSE, and is |
@@ -20,10 +20,10 @@
2020
#define PHP_XDEBUG_H
2121

2222
#define XDEBUG_NAME "Xdebug"
23-
#define XDEBUG_VERSION "3.0.2-dev"
23+
#define XDEBUG_VERSION "3.0.2"
2424
#define XDEBUG_AUTHOR "Derick Rethans"
25-
#define XDEBUG_COPYRIGHT "Copyright (c) 2002-2020 by Derick Rethans"
26-
#define XDEBUG_COPYRIGHT_SHORT "Copyright (c) 2002-2020"
25+
#define XDEBUG_COPYRIGHT "Copyright (c) 2002-2021 by Derick Rethans"
26+
#define XDEBUG_COPYRIGHT_SHORT "Copyright (c) 2002-2021"
2727
#define XDEBUG_URL "https://xdebug.org"
2828
#define XDEBUG_URL_FAQ "https://xdebug.org/docs/faq#api"
2929

template.rc

Lines changed: 3 additions & 3 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,2,0
18-
#define VERSIONSTR "3.0.2-dev"
17+
#define VERSIONDESC 3,0,2,1
18+
#define VERSIONSTR "3.0.2"
1919

2020
//Version
2121
VS_VERSION_INFO VERSIONINFO
@@ -40,7 +40,7 @@ BEGIN
4040
VALUE "FileDescription", FILE_DESCRIPTION "\0"
4141
VALUE "FileVersion", VERSIONSTR
4242
VALUE "InternalName", FILE_NAME "\0"
43-
VALUE "LegalCopyright", "Copyright � 2002-2020 Derick Rethans\0"
43+
VALUE "LegalCopyright", "Copyright � 2002-2021 Derick Rethans\0"
4444
VALUE "OriginalFilename", FILE_NAME "\0"
4545
VALUE "PrivateBuild", "\0"
4646
VALUE "ProductName", "Xdebug\0"

xdebug.ini

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; This file is generated by the 'xdebug.org:html/docs/convert.php' robot
2-
; for Xdebug 3.0.1 — do not modify by hand
2+
; for Xdebug 3.0.2 — do not modify by hand
33

44
; -----------------------------------------------------------------------------
55
; xdebug.cli_color
@@ -660,13 +660,17 @@
660660
;
661661
; Type: integer, Default value: 7
662662
;
663-
; Configures which logging messages should be emitted.
663+
; Configures which logging messages should be added to the log file.
664+
;
665+
; The log file is configured with the xdebug.log setting.
664666
;
665667
; The following levels are supported:
666668
;
667669
; ===== ============= ================================
668670
; Level Name Example
669671
; ===== ============= ================================
672+
; 0 Criticals Errors in the configuration
673+
; ----- ------------- --------------------------------
670674
; 1 Errors Connection errors
671675
; ----- ------------- --------------------------------
672676
; 3 Warnings Connection warnings
@@ -678,13 +682,13 @@
678682
; 10 Debug Breakpoint resolving information
679683
; ===== ============= ================================
680684
;
681-
; Errors are also logged through PHP's internal logging mechanism (configured
682-
; with error_log [1] in ``php.ini``).
685+
; Criticals, errors, and warnings always show up in the diagnostics log that you
686+
; can view by calling xdebug_info().
683687
;
684-
; [1] https://www.php.net/manual/en/errorfunc.configuration.php#ini.error-log
688+
; Criticals and errors are additionally logged through PHP's internal logging
689+
; mechanism (configured with error_log [1] in ``php.ini``).
685690
;
686-
; Warnings and errors show up in the diagnostics log that you can view by
687-
; calling xdebug_info().
691+
; [1] https://www.php.net/manual/en/errorfunc.configuration.php#ini.error-log
688692
;
689693
; .. note::
690694
;

0 commit comments

Comments
 (0)