Skip to content

Releases: orchetect/PListKit

2.0.3

21 Sep 23:01
Compare
Choose a tag to compare

Maintenance release

2.0.2

15 Nov 00:57
Compare
Choose a tag to compare
  • Fixed bug when setting an array nested within a dictionary (#9)
  • Updated unit tests

2.0.1

03 Sep 09:41
Compare
Choose a tag to compare
  • Fixed: DictionaryPList setting a dictionary as a value to a root key failed (#8)

2.0.0

23 Aug 06:56
d54d5dd
Compare
Choose a tag to compare

PListKit 2.0.0

  • PList class can now have any plist value type as its root element, not just dictionary
  • Full documentation: browse online or view them directly in Xcode by selecting Product → Build Documentation
  • Various improvements

Migration from 1.2.0

  • The old PList class is now DictionaryPList (typealias for PList<PListDictionary>)
  • In order to read a plist file that is not known ahead of time to have a dictionary root, you can load it into AnyPList and unwrap it

1.2.0

11 Aug 07:05
Compare
Choose a tag to compare
  • Adds support for Swift 5.7 by conditionally using any PListValue
  • Added PList.root any(key:) getter and setter along side existing typed accessors
  • PListArray and PListDictionary are now top-level types
  • Formatted codebase with SwiftFormat
  • Unit tests improved

1.1.0

05 Dec 01:42
60375b2
Compare
Choose a tag to compare

Many improvements across the library.

Note that there are API-breaking changes, but they are minimal. In all cases, API simply changed or was improved.

  • Inits are now throwing inits instead of failable Optionals
  • .load(...) methods are now inits instead
  • Added (string:) and (dictionary: RawDictionary) inits
  • Safe, conditionally-typed index subscripts are now available on PListArray (see README for details)
  • Mutable subscripts now yield for direct mutation
  • ConvertToPListArray is now RawArray category method convertedToPListArray()
  • ConvertToPListDictionary is now RawDictionary category method convertedToPListDictionary()
  • Inline help updated
  • Unit tests updated
  • README updated

1.0.2

25 Jul 04:57
Compare
Choose a tag to compare
  • Removed unnecessary external dependency. The library is now self-contained.

1.0.1

19 Jan 00:05
Compare
Choose a tag to compare

Bumped dependency version for performance improvements

1.0.0

20 Oct 08:46
Compare
Choose a tag to compare
  • Library renamed to PListKit (previously OTPList)
  • New functional path traversal through the .root property
  • Swift Package Manager (SPM) support added
  • Multiplatform support for macOS, iOS, tvOS and watchOS
  • Complete unit tests added
  • README and inline documentation updated

0.1.0 - Original OTPList playground

20 Oct 04:48
d2daffc
Compare
Choose a tag to compare
Pre-release

Repo contents before renaming repo from OTPList to PListKit.