Skip to content

Commit

Permalink
3.4.0 - 2024/03/08
Browse files Browse the repository at this point in the history
- Removed Scrutinzer, Stickler, and TravisCI configurations.
- Allow any/all versions for testing, remove Mockery (as it is unused) and introduce a Diff check for the more complex
  comparisons with running unit tests.
- Add parameter type hints up to PHP 7.0 standards.
- Stop warnings about null being used as a value.
- Replace invalid XML document warnings with an exception.
- Add support for namespaces in root node (Thank you blagi [#20](#20)).
- Throw `Exception` for invalid characters when using `Array2XML::createXML()` for normal values, `@value`, and `cdata`
  values (Thank you Jānis Elmeris [#17](#17)).
- Introduce GitHub workflow, testing the library on all versions from PHP 7.0 to 8.3

### Significant upgrades to unit test files:
- Introduce a proxy for PHPUnit's deprecation of `expectExceptionMessageRegExp($messageRegExp)`.
- Partially fix the PHPUnit `phpunit.xml` configuration file.
- Use the new proxy for all tests.
- Replace the deprecated docblock entries for `@exceptedException` / `@expectedExceptionMessage` with their equivalent
  method calls `$this->expectedException()` / `$this->exceptedExceptionMessage()`.
- Fix all data providers that have keys for the value in the datasets to match the parameter names of the test method.
  The use of named parameters was introduced in PHP 8.0.
- Introduce the new attributes mechanism for data providers. This does NOT conflict with the older `@dataProvider`
  docblock annotation.
  • Loading branch information
Richard Quadling authored and Richard Quadling committed Mar 8, 2024
1 parent 35d2eb5 commit b88856d
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 36 deletions.
92 changes: 58 additions & 34 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,85 @@
# Version History

**3.3.0** (2022/03/10)
## 3.4.0 - 2024/03/08

* Fix namespaced attributes (Thank you Nitin Patel and Mirko Temperini [#10](https://github.com/digitickets/lalit/issues/10))
- Removed Scrutinzer, Stickler, and TravisCI configurations.
- Allow any/all versions for testing, remove Mockery (as it is unused) and introduce a Diff check for the more complex
comparisons with running unit tests.
- Add parameter type hints up to PHP 7.0 standards.
- Stop warnings about null being used as a value.
- Replace invalid XML document warnings with an exception.
- Add support for namespaces in root node (Thank you blagi [#20](https://github.com/digitickets/lalit/issues/20)).
- Throw `Exception` for invalid characters when using `Array2XML::createXML()` for normal values, `@value`, and `cdata`
values (Thank you Jānis Elmeris [#17](https://github.com/digitickets/lalit/issues/17)).
- Introduce GitHub workflow, testing the library on all versions from PHP 7.0 to 8.3

**3.2.0** (2022/03/10)
### Significant upgrades to unit test files:
- Introduce a proxy for PHPUnit's deprecation of `expectExceptionMessageRegExp($messageRegExp)`.
- Partially fix the PHPUnit `phpunit.xml` configuration file.
- Use the new proxy for all tests.
- Replace the deprecated docblock entries for `@exceptedException` / `@expectedExceptionMessage` with their equivalent
method calls `$this->expectedException()` / `$this->exceptedExceptionMessage()`.
- Fix all data providers that have keys for the value in the datasets to match the parameter names of the test method.
The use of named parameters was introduced in PHP 8.0.
- Introduce the new attributes mechanism for data providers. This does NOT conflict with the older `@dataProvider`
docblock annotation.

* Allow alternative labels to be defined (Thank you Frank Aguirre [#16](https://github.com/digitickets/lalit/pull/16))
* Fix leading, embedded, and trailing newlines (no longer trims the data being).
## v3.3.0 - 2022/03/10

**3.1.0** (2019/02/01)
- Fix namespaced attributes (Thank you Nitin Patel and Mirko Temperini [#10](https://github.com/digitickets/lalit/issues/10))

* Limited support for <!DOCTYPE> (only PUBLIC and SYSTEM DTDs supported at the moment) (Thank you Nezabor [#8](https://github.com/digitickets/lalit/issues/8))
## v3.2.0 - 2022/03/10

**3.0.1** (2017/12/21)
- Allow alternative labels to be defined (Thank you Frank Aguirre [#16](https://github.com/digitickets/lalit/pull/16))
- Fix leading, embedded, and trailing newlines (no longer trims the data being).

* Zero values/cdata are now handled appropriately (Thank you Daniel Carl [#6](https://github.com/digitickets/lalit/pull/6))
## v3.1.0 - 2019/02/01

**3.0** (2017/02/09)
- Limited support for <!DOCTYPE> (only PUBLIC and SYSTEM DTDs supported at the moment) (Thank you Nezabor [#8](https://github.com/digitickets/lalit/issues/8))

* Dropped support for PHP < 7.0
## v3.0.1 - 2017/12/21

**2.0** (2016/11/17)
- Zero values/cdata are now handled appropriately (Thank you Daniel Carl [#6](https://github.com/digitickets/lalit/pull/6))

* Ownership transferred to Digitickets
## v3.0 - 2017/02/09

**1.6** (2016/07/27)
- Dropped support for PHP < 7.0

* Empty values/attributes/cdata are now handled appropriately (Fixes [#3](https://github.com/rquadling/lalit/issues/3))
## v2.0 - 2016/11/17

**1.5** (2016/06/29)
- Ownership transferred to Digitickets

* Reintroduce support for hhvm
* Upgrade dependencies
* Fixed hhvm reading of broken xml not generating an exception
* Added CHANGELOG and removed version data from classes
## v1.6 - 2016/07/27

**1.4** (2016/04/05)
- Empty values/attributes/cdata are now handled appropriately (Fixes [#3](https://github.com/rquadling/lalit/issues/3))

* Enhanced to support Travis-CI, Scrutinizer.
* Enhanced with appropriate .gitattributes and .gitignore
* Introduced PHPUnit and unit tests
* Added README
* ISSUE: Removed support for hhvm in Travis-CI.
## v1.5 - 2016/06/29

**1.3** (2015/11/05)
- Reintroduce support for hhvm
- Upgrade dependencies
- Fixed hhvm reading of broken xml not generating an exception
- Added CHANGELOG and removed version data from classes

* Fix empty nodes no longer reset any accumulated content for that level (Fixes [#2](https://github.com/rquadling/lalit/issues/2))
## v1.4 - 2016/04/05

**1.2** (2015/09/09)
- Enhanced to support Travis-CI, Scrutinizer.
- Enhanced with appropriate .gitattributes and .gitignore
- Introduced PHPUnit and unit tests
- Added README
- ISSUE: Removed support for hhvm in Travis-CI.

* Enhanced static analysis and added DocBlocks
## v1.3 - 2015/11/05

**1.1** (2015/09/06)
- Fix empty nodes no longer reset any accumulated content for that level (Fixes [#2](https://github.com/rquadling/lalit/issues/2))

* Fix namespace issue when combined with Symfony (Thank you Maxence Winandy [#1](https://github.com/rquadling/lalit/pull/1))
## v1.2 - 2015/09/09

**1.0** (2015/04/29)
- Enhanced static analysis and added DocBlocks

* Initial commit of Lalit Patel's XML2Array and Array2XML classes that allow XML <=> Array operation.
## v1.1 - 2015/09/06

- Fix namespace issue when combined with Symfony (Thank you Maxence Winandy [#1](https://github.com/rquadling/lalit/pull/1))

## v1.0 - 2015/04/29

- Initial commit of Lalit Patel's XML2Array and Array2XML classes that allow XML <=> Array operation.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# LaLit's XML2Array / Array2XML

[![Build Status](https://img.shields.io/travis/digitickets/lalit.svg?style=for-the-badge&logo=travis)](https://travis-ci.org/digitickets/lalit)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/digitickets/lalit.svg?style=for-the-badge&logo=scrutinizer)](https://scrutinizer-ci.com/g/digitickets/lalit/)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/digitickets/lalit/.github%2Fworkflows%2Ftest.yml?style=for-the-badge&logo=GitHub)](https://github.com/digitickets/lalit/actions)
[![GitHub issues](https://img.shields.io/github/issues/digitickets/lalit.svg?style=for-the-badge&logo=github)](https://github.com/digitickets/lalit/issues)

[![PHP Version](https://img.shields.io/packagist/php-v/digitickets/lalit.svg?style=for-the-badge)](https://github.com/digitickets/lalit)
Expand Down

0 comments on commit b88856d

Please sign in to comment.