Skip to content

Releases: orchetect/swift-plist

3.0.0

Choose a tag to compare

@orchetect orchetect released this 30 Nov 22:51

Note

The repository has been renamed from PListKit to swift-plist.

Please migrate your dependencies to use the new repository URL and module import name. See the README for more details.

Changes

  • AnyPList: Refactored as enum, removed redundant WrappedPList type

2.0.3

Choose a tag to compare

@orchetect orchetect released this 21 Sep 23:01

Maintenance release

2.0.2

Choose a tag to compare

@orchetect orchetect released this 15 Nov 00:57
  • Fixed bug when setting an array nested within a dictionary (#9)
  • Updated unit tests

2.0.1

Choose a tag to compare

@orchetect orchetect released this 03 Sep 09:41
  • Fixed: DictionaryPList setting a dictionary as a value to a root key failed (#8)

2.0.0

Choose a tag to compare

@orchetect orchetect released this 23 Aug 06:56
d54d5dd

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

Choose a tag to compare

@orchetect orchetect released this 11 Aug 07:05
  • 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

Choose a tag to compare

@orchetect orchetect released this 05 Dec 01:42
60375b2

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

Choose a tag to compare

@orchetect orchetect released this 25 Jul 04:57
  • Removed unnecessary external dependency. The library is now self-contained.

1.0.1

Choose a tag to compare

@orchetect orchetect released this 19 Jan 00:05

Bumped dependency version for performance improvements

1.0.0

Choose a tag to compare

@orchetect orchetect released this 20 Oct 08:46
  • 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