Skip to content

Tags: yosymfony/toml

Tags

v1.0.4

Toggle v1.0.4's commit message
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 the `TomlBuilder` class limitations.

v1.0.3

Toggle v1.0.3's commit message
What's new in this release?

* `TomlBuilder` does not throw a `DumpException` anymore when the character "#" appears in a quoted key.
* The method `addArrayTables` from the class `TomlBuilder` has been declared as deprecated. Use the method `addArrayOfTable` 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

Toggle v1.0.2's commit message
What's new in this release?

* Fixed the bug #23: "Unable to parse ArrayTables that contain Tables".
* A new class `KeyStore` has been added to deal with the logic of the keys (keys, tables and array of tables).
* Package `yosymfony/parser-utils` has been updated to 2.0.0.

v1.0.1

Toggle v1.0.1's commit message
What's new in this release?

* Fixed a bug related to integer keys: now, it's possible to create keys using an integer. Reported by @betrixed.
* Merged the pull request #17: "removing `is_string` check".
* Minor fixes in README file.

v1.0.0

Toggle v1.0.0's commit message
What's new in this release?

* The code has been rewritten from scratch for PHP 7.1.
* The method `parse` from `Toml` class must only be applied to TOML strings.
  In case of parsing a TOML filename use the new method `parseFile`.
* Methods `parse` and `parseFile` from `Toml` class accept a new argument `resultAsObject`
  (optional) to return the parsed input as an object (an instance of `stdClass`).
* The method `addGroup` of `TomlBuilder` class has been deleted.
* The exceptions have been refactored, so the classes `ExceptionInterface`,
  `LexerException` and `RuntimeException` have been removed.
* Added the inner exception when a `ParseException` is thrown in method `parse` of class `Toml`.
* 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

Toggle v0.3.3's commit message
What's new in this release?

* Fixed bug #10: Cannot parse quote (") in table name.

v0.3.2

Toggle v0.3.2's commit message
What's new in this release?

* Fixed Issue #9: Only double-quoted strings work in arrays, contrary to spec.

v0.3.1

Toggle v0.3.1's commit message
What's new in this release?

* Added support for literal strings in TomlBuilder.

v0.3.0

Toggle v0.3.0's commit message
What's new in this release?

* Support for TOML 0.4.0.
* CS fixes.

v0.2.0

Toggle v0.2.0's commit message
What's new in this release?

* [New] Support to TOML 0.2.0.
* [Deprecated] TomlBuilder: method addGroup was replaced by addTable.