Releases: yosymfony/toml
Releases · yosymfony/toml
v1.0.4
What's new in this release?
- Several corrections and refactorings in
TomBuilder
class. The problem described in the PR #25 "fixed a bug when used the function 'in_array'" has been solved. - The test file
TomlBuilderTest
has been refactored for readability. Added some tests. - The
README.md
file has been updated with theTomlBuilder
class limitations.
v1.0.3
What's new in this release?
TomlBuilder
does not throw aDumpException
anymore when the character "#" appears in a quoted key.- The method
addArrayTables
from the classTomlBuilder
has been declared as deprecated. Use the methodaddArrayOfTable
instead. - Fixed the bug #24: "Wrong array of tables implementation".
- A new class
TomlArray
has been added to handle the Toml array generation.
v1.0.2
v1.0.1
v1.0.0
What's new in this release?
- The code has been rewritten from scratch for PHP 7.1.
- The method
parse
fromToml
class must only be applied to TOML strings.
In case of parsing a TOML filename use the new methodparseFile
. - Methods
parse
andparseFile
fromToml
class accept a new argumentresultAsObject
(optional) to return the parsed input as an object (an instance ofstdClass
). - The method
addGroup
ofTomlBuilder
class has been deleted. - The exceptions have been refactored, so the classes
ExceptionInterface
,
LexerException
andRuntimeException
have been removed. - Added the inner exception when a
ParseException
is thrown in methodparse
of classToml
. - Fixed bug #13: "Inline sub-tables don't work".
- Fixed bug #12: "Does not parse a table with an array of tables".
- Better support for dates as specified in the latest TOML spec. See PR #11.
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.0
What's new in this release?
- [New] Support to TOML 0.2.0.
- [Deprecated] TomlBuilder: method addGroup was replaced by addTable.