Skip to content

Commit cc9cfa7

Browse files
committed
Prepare release 2.3.2
1 parent e85df5e commit cc9cfa7

File tree

9 files changed

+46
-14
lines changed

9 files changed

+46
-14
lines changed

ChangeLog.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
# Changes in HTML_QuickForm2
22

3+
## 2.3.2 - 2023-11-02
4+
* Tested on PHP 8.2 and 8.3
5+
* [psalm] version 5 is used for static analysis, fixed new-found issues
6+
* JS generated by `Length` rule now checks whether an element's value itself is empty,
7+
not its `length` property
8+
* Added missing getter methods for existing setters:
9+
* `\HTML_QuickForm2_Element_Button::getContent()`
10+
* `\HTML_QuickForm2_Element_Static::getTagName()`
11+
312
## 2.3.1 - 2022-05-23
413
* PEAR package of version 2.3.0 was accidentally created with `require_once` statements disabled (see [issue #9])
514

615
## 2.3.0 - 2022-04-02
716
* Upgraded tests, [PHPUnit Polyfills package] is used to run them on PHP 5.6 to PHP 8.1
8-
* Test suite now runs on Github Actions rather than on Travis
17+
* Test suite now runs on GitHub Actions rather than on Travis
918
* The package runs under PHP 8.1 without `E_DEPRECATED` messages (see [issue #6])
1019
* Use [psalm] for static analysis
1120
* Minimum required PHP version is now 5.6
@@ -16,7 +25,7 @@
1625

1726
## 2.2.1 - 2021-05-09
1827
* Depend on newer HTML_Common2 that does not cause problems with optimized
19-
composer autoloader, see Github issue #4
28+
composer autoloader, see GitHub [issue #4]
2029
* Consistently use `HTML_Common2::OPTION_*` constants for document-wide
2130
option names, define and use additional `HTML_QuickForm2_Node::OPTION_*`
2231
constants instead of directly using `'language'`, `'id_force_append_index'`
@@ -26,7 +35,7 @@
2635
* Minimum required PHP version is now 5.4
2736
* Removed support for magic_quotes_gpc, as `get_magic_quotes_gpc()`
2837
was deprecated in PHP 7.4 and the functionality itself was disabled
29-
since PHP 5.4 (GitHub issue #3)
38+
since PHP 5.4 (GitHub [issue #3])
3039
* `HTML_QuickForm2_Element_Date::setValue()` will now accept an instance of
3140
`DateTimeInterface`, not only `DateTime`
3241

@@ -94,6 +103,8 @@ Other features and changes
94103
[bug #20295]: https://pear.php.net/bugs/bug.php?id=20295
95104
[on PEAR website]: https://pear.php.net/package/HTML_QuickForm2/download/All
96105
[PHPUnit Polyfills package]: https://github.com/Yoast/PHPUnit-Polyfills
106+
[issue #3]: https://github.com/pear/HTML_QuickForm2/issues/3
107+
[issue #4]: https://github.com/pear/HTML_QuickForm2/issues/4
97108
[issue #6]: https://github.com/pear/HTML_QuickForm2/issues/6
98109
[psalm]: https://psalm.dev/
99110
[issue #9]: https://github.com/pear/HTML_QuickForm2/issues/9

data/js/min/quickform-hierselect.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

data/js/min/quickform-repeat.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

data/js/min/quickform.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

data/js/quickform-hierselect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* HTML_QuickForm2: support functions for hierselect elements
3-
* Package version 2.3.1
3+
* Package version 2.3.2
44
* https://pear.php.net/package/HTML_QuickForm2
55
*
66
* Copyright 2006-2023, Alexey Borzov, Bertrand Mansion

data/js/quickform-repeat.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* HTML_QuickForm2: support functions for repeat elements
3-
* Package version 2.3.1
3+
* Package version 2.3.2
44
* https://pear.php.net/package/HTML_QuickForm2
55
*
66
* Copyright 2006-2023, Alexey Borzov, Bertrand Mansion

data/js/quickform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* HTML_QuickForm2 client-side validation library
3-
* Package version 2.3.1
3+
* Package version 2.3.2
44
* https://pear.php.net/package/HTML_QuickForm2
55
*
66
* Copyright 2006-2023, Alexey Borzov, Bertrand Mansion

js/build.xml

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

2020
<property name="closure_command" value="java -jar ${path.closure} --compilation_level SIMPLE_OPTIMIZATIONS --rewrite_polyfills=false" />
2121

22-
<property name="package_version" value="2.3.1" />
22+
<property name="package_version" value="2.3.2" />
2323

2424
<target name="init">
2525
<mkdir dir="build"/>

package.xml

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
<email>[email protected]</email>
4343
<active>yes</active>
4444
</lead>
45-
<date>2022-05-23</date>
45+
<date>2023-11-02</date>
4646
<version>
47-
<release>2.3.1</release>
47+
<release>2.3.2</release>
4848
<api>2.0.1</api>
4949
</version>
5050
<stability>
@@ -53,8 +53,13 @@
5353
</stability>
5454
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
5555
<notes>
56-
* Re-release of version 2.3.0 with require_once statements correctly enabled
57-
https://github.com/pear/HTML_QuickForm2/issues/9
56+
* Tested on PHP 8.2 and 8.3
57+
* psalm version 5 is used for static analysis, fixed new-found issues
58+
* JS generated by Length rule now checks whether an element's value itself
59+
is empty, not its length property
60+
* Added missing getter methods for existing setters:
61+
* HTML_QuickForm2_Element_Button::getContent()
62+
* HTML_QuickForm2_Element_Static::getTagName()
5863
</notes>
5964
<contents>
6065
<dir name="/">
@@ -743,6 +748,22 @@
743748
</filelist>
744749
</phprelease>
745750
<changelog>
751+
<release>
752+
<date>2022-05-23</date>
753+
<version>
754+
<release>2.3.1</release>
755+
<api>2.0.1</api>
756+
</version>
757+
<stability>
758+
<release>stable</release>
759+
<api>stable</api>
760+
</stability>
761+
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
762+
<notes>
763+
* Re-release of version 2.3.0 with require_once statements correctly enabled
764+
https://github.com/pear/HTML_QuickForm2/issues/9
765+
</notes>
766+
</release>
746767
<release>
747768
<date>2022-04-02</date>
748769
<version>

0 commit comments

Comments
 (0)