Skip to content

Latest commit

 

History

History
84 lines (70 loc) · 3.26 KB

CHANGELOG.md

File metadata and controls

84 lines (70 loc) · 3.26 KB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.0.0 - 2018-02-20

Added

  • Linux support

Changed

  • Updated to Swift 4.0.3
  • Significant performance improvements
  • Move equatable == method to a static member to better conform with Swift3 conventions
  • SetValueProtocol method renamed from func setValue(key: , value: ) to func set(value:, for:)
  • Add support for running tests from XCode
  • Updated examples in README.md to reflect current API
  • Update String handling to not use .characters view per Swift4 conventions
  • Use range(at:) instead of rangeAt(_:)

0.4.0 - 2016-08-24

Added

  • Serialize a Toml object to a valid TOML string
  • Resolve the full key path to tables through prefixPath: [String]
  • All accessors have [String] and String... (variadic) based variants

Changed

  • Issue #4 All accessor methods now return Optionals and do not throw. Notably, this means that TomlError.KeyError is no longer thrown if a missing key is requested.
  • Toml.keys removed; use: keyNames: Set<[String]> to access key names
  • tableNames: Set<[String]> is now part of the public API for accessing table names
  • Toml.description now returns a valid TOML string
  • Toml.setValue(_:[String]) is now part of the public API
  • Toml.float has been removed

0.3.1 - 2016-08-23

Changed

  • hasKey(_ key: [String]) throws -> Bool changed to hasKey(key: [String], includeTables: Bool = true) throws -> Bool to support inclusion of inline tables as valid key paths.
  • hasKey(_ key: ...) throws -> Bool now returns true if the key path refers to a table

Fixed

  • Issue #3 hasTable(_: [String]) now correctly returns true for inline tables
  • table(_: String...) now correctly returns a Toml table for the requested key path

0.3.0 - 2016-08-19

Added

  • Issue #2 Support for iterating over all tables at a given level with tables(_: [String]) method.
  • Added public API call for retrieving a TOML table at a specified level with table(from: [String]) method.

Changed

  • Rename arrayWithPath(keyPath: [String]) to array(_: [String]) for consistency with the rest of the public API.

Fixed

  • hasTable(_: [String]) now correctly returns true for implicitly defined tables.

0.2.0 - 2016-08-16

Changed

  • Updated to Swift 3.0 preview 6

0.1.0 - 2016-08-14

Added