All notable changes to array-to-xml
will be documented in this file
- Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in #232
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in #234
- Allow passing of saveXML options by @VincentBean in #235
- @VincentBean made their first contribution in #235
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.3.0...3.4.0
- Update README.md by @trippo in #229
- Fix explicit nullable parameter for PHP 8.4 compatibility by @GromNaN in #233
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.3...3.3.0
- Convert boolean values to proper xml representation by @radeno in #228
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #224
- Conver null based on option by @radeno in #226
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.1...3.2.2
- Bump actions/checkout from 3 to 4 by @dependabot in #222
- Use proper NULL value when we wanna use with XSD by @radeno in #225
- @radeno made their first contribution in #225
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.2.0...3.2.1
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in #217
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #218
- Added Closure value support by @SuperDJ in #219
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.6...3.2.0
- V3 - Code smell ('incorrect' method call) by @ExeQue in #208
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #210
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in #214
- Add addXmlDeclaration parameter by @silnex in #216
- @silnex made their first contribution in #216
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.5...3.1.6
- Add Dependabot Automation by @patinthehat in #196
- Bump actions/checkout from 2 to 3 by @dependabot in #197
- Fix PHP version by @parallels999 in #198
- fix deprecated
passing null as string type
by @trin4ik in #204
- @dependabot made their first contribution in #197
- @parallels999 made their first contribution in #198
- @trin4ik made their first contribution in #204
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.4...3.1.5
- @SuperDJ made their first contribution in #194
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.3...3.1.4
- Rewrite phpunit tests to pest by @otsch in #183
- PHP 8.1 fix deprecated null parameters by @gigerIT in #187
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.2...3.1.3
- Fix basic collection with namespace by @vaclavvanik in #182
- @vaclavvanik made their first contribution in #182
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.1...3.1.2
- Fix a typo in the result by @olsza in #172
- @olsza made their first contribution in #172
Full Changelog: https://github.com/spatie/array-to-xml/compare/3.1.0...3.1.1
- add support for processing instructions
- allow null inside array to be converted to xml (#170)
- require PHP 8+
- drop support for PHP 7.x
- convert syntax to PHP 8
- add escapable colons in custom keys (#151)
- add support for PHP 8
- add $xmlStandalone as a new parameter (#148)
- add support for dropping XML declaration (#145)
- add support for custom keys (#140)
- add XML prettification (#136)
- fix XML structure when using numeric keys
- do not interpret "0" as a non-empty value
- drop support for PHP 7.1
- add
setDomProperties
- add support for numeric keys
- fix tests
- drop support for PHP 7.0
- added support for mixed content
- fix for
DomExeception
s being thrown
- remove control characters
- fix setting attributes
- allow wrapping data in a CDATA section
- add fix for multiple empty/self-closing child elements
- add support for naming a root element and adding properties to it
- avoid pulling in the snapshot package on install
- PHP 7 is now required
- allow encoding and version to be set
- attributes and value can be set in SimpleXMLElement style
- attributes and value can be set in SimpleXMLElement style
- fixed an error when there is a special character to the value set in _value
- added
toDom
method
- Fixed typo in the name of the
addSequentialNode
-function
- Add ability to use attributes
- Add support to collection arrays and dynamically XML convertion when keys are numeric
- handle values with special characters
- use DOMDocument for better validation
- added an option to opt out of the automatic space replacement
- initial release