Skip to content

Commit

Permalink
Prepare release 2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sad-spirit committed Nov 2, 2023
1 parent e85df5e commit cc9cfa7
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 14 deletions.
17 changes: 14 additions & 3 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
# Changes in HTML_QuickForm2

## 2.3.2 - 2023-11-02
* Tested on PHP 8.2 and 8.3
* [psalm] version 5 is used for static analysis, fixed new-found issues
* JS generated by `Length` rule now checks whether an element's value itself is empty,
not its `length` property
* Added missing getter methods for existing setters:
* `\HTML_QuickForm2_Element_Button::getContent()`
* `\HTML_QuickForm2_Element_Static::getTagName()`

## 2.3.1 - 2022-05-23
* PEAR package of version 2.3.0 was accidentally created with `require_once` statements disabled (see [issue #9])

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

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

Expand Down Expand Up @@ -94,6 +103,8 @@ Other features and changes
[bug #20295]: https://pear.php.net/bugs/bug.php?id=20295
[on PEAR website]: https://pear.php.net/package/HTML_QuickForm2/download/All
[PHPUnit Polyfills package]: https://github.com/Yoast/PHPUnit-Polyfills
[issue #3]: https://github.com/pear/HTML_QuickForm2/issues/3
[issue #4]: https://github.com/pear/HTML_QuickForm2/issues/4
[issue #6]: https://github.com/pear/HTML_QuickForm2/issues/6
[psalm]: https://psalm.dev/
[issue #9]: https://github.com/pear/HTML_QuickForm2/issues/9
2 changes: 1 addition & 1 deletion data/js/min/quickform-hierselect.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion data/js/min/quickform-repeat.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion data/js/min/quickform.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion data/js/quickform-hierselect.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* HTML_QuickForm2: support functions for hierselect elements
* Package version 2.3.1
* Package version 2.3.2
* https://pear.php.net/package/HTML_QuickForm2
*
* Copyright 2006-2023, Alexey Borzov, Bertrand Mansion
Expand Down
2 changes: 1 addition & 1 deletion data/js/quickform-repeat.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* HTML_QuickForm2: support functions for repeat elements
* Package version 2.3.1
* Package version 2.3.2
* https://pear.php.net/package/HTML_QuickForm2
*
* Copyright 2006-2023, Alexey Borzov, Bertrand Mansion
Expand Down
2 changes: 1 addition & 1 deletion data/js/quickform.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* HTML_QuickForm2 client-side validation library
* Package version 2.3.1
* Package version 2.3.2
* https://pear.php.net/package/HTML_QuickForm2
*
* Copyright 2006-2023, Alexey Borzov, Bertrand Mansion
Expand Down
2 changes: 1 addition & 1 deletion js/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

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

<property name="package_version" value="2.3.1" />
<property name="package_version" value="2.3.2" />

<target name="init">
<mkdir dir="build"/>
Expand Down
29 changes: 25 additions & 4 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2022-05-23</date>
<date>2023-11-02</date>
<version>
<release>2.3.1</release>
<release>2.3.2</release>
<api>2.0.1</api>
</version>
<stability>
Expand All @@ -53,8 +53,13 @@
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* Re-release of version 2.3.0 with require_once statements correctly enabled
https://github.com/pear/HTML_QuickForm2/issues/9
* Tested on PHP 8.2 and 8.3
* psalm version 5 is used for static analysis, fixed new-found issues
* JS generated by Length rule now checks whether an element's value itself
is empty, not its length property
* Added missing getter methods for existing setters:
* HTML_QuickForm2_Element_Button::getContent()
* HTML_QuickForm2_Element_Static::getTagName()
</notes>
<contents>
<dir name="/">
Expand Down Expand Up @@ -743,6 +748,22 @@
</filelist>
</phprelease>
<changelog>
<release>
<date>2022-05-23</date>
<version>
<release>2.3.1</release>
<api>2.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* Re-release of version 2.3.0 with require_once statements correctly enabled
https://github.com/pear/HTML_QuickForm2/issues/9
</notes>
</release>
<release>
<date>2022-04-02</date>
<version>
Expand Down

0 comments on commit cc9cfa7

Please sign in to comment.