Skip to content

0.1.0

Compare
Choose a tag to compare
@LebJe LebJe released this 17 Jun 17:08
· 85 commits to main since this release
11461d4

Changelog

Added

  • Add support for tvOS and watchOS.

  • TOMLArray conforms to:

    • Collection,
    • RandomAccessCollection,
    • BidirectionalCollection,
    • RangeReplaceableCollection,
    • MutableCollection
  • TOMLArray's and TOMLTable's two subscripts have been merged: only one subscript is used for insert and retrieving values.

  • structs conforming to TOMLValueConvertible don't insert themselves into a TOMLArray or a TOMLTables anymore.
    Now they have a tomlValue property, which converts them into TOMLValues. The TOMLValue then inserts itself into a TOMLTable or a TOMLArray.

  • TOMLTable.remove(at:) now returns a copy of the removed TOMLValueConvertible.

  • Added functions to check if a key is in a TOMLTable.

  • Tried to improve the code in Sources/CTOML.

Removed

  • Removed the inline parameter from TOMLTable.init(string:).

Fixed

  • Retrieving a value from a TOMLArray no longer returns an Optional value.