Skip to content

Releases: orchetect/OTCore

1.7.2

25 Dec 00:30
Compare
Choose a tag to compare

New

  • ComparisonResult: Added inverted property

Fixed

  • Fixed visionOS build

1.7.1

27 Nov 21:26
Compare
Choose a tag to compare

New

  • Added DomainName struct
  • Added ReverseDomainName struct

1.7.0

25 Nov 09:16
Compare
Choose a tag to compare

New

  • Swift 6 strict concurrency compatibility

Changes

  • Bumped package minimum requirements to macOS 10.15, iOS 13, tvOS 13, watchOS 6
  • Globals.System: name property is now async get

1.6.2

15 Nov 00:42
Compare
Choose a tag to compare

New

  • Added Sendable conformance to types
  • OTCoreOptionalTyped: Added set { } member to optional property

1.6.1

30 Oct 08:21
Compare
Choose a tag to compare

New

  • FormatStyle: Added plainInteger style

1.6.0

21 Sep 00:52
Compare
Choose a tag to compare

💡 Note: Xcode 16.0 or higher is now required

New

  • Added Identifiable conformance to all exported types
  • Minor improvements for Xcode 16 / Swift 6 compatibility

Changes

  • FileManager: Changed temporaryDirectory and homeDirectoryForCurrentUser from static variables on FileManager to instance variables for greater consistency

Maintenance

  • Bumped minimum version of Xcode required to Xcode 16.0
  • Updated GitHub CI

1.5.3

02 May 05:18
Compare
Choose a tag to compare
  • Collection: Added .replace(elementsIn:with:) methods
  • Collection: Added .replacing(elementsIn:with:) methods
  • String: Added sanitizePathComponent(for:replacement:) method
  • String: Added sanitizingPathComponent(for:replacement:) method
  • URL: Added sanitizeLastPathComponent(for:replacement:) method
  • URL: Addesd sanitizingLastPathComponent(for:replacement:) method

1.5.2

24 Apr 07:50
Compare
Choose a tag to compare
  • Added new Time abstraction for formatting time strings
  • NSImage: Added write(to:options:type:jpegCompressionFactor:) method

1.5.1

16 Dec 09:33
Compare
Choose a tag to compare

XML

  • XMLElement: Added addChildren<S: Sequence<XMLNode>>(_:) method
  • XMLElement: Added removeAllChildren() method
  • XMLElement: Added removeChildren(where:) method

1.5.0

15 Dec 10:31
Compare
Choose a tag to compare

XML

  • Refactors and API changes for XMLNode extensions
  • XMLNode: Added parentElement property
  • XMLNode: Added childElements property
  • XMLNode: Added firstChildElement(named:) method
  • XMLNode Sequence: Added first(whereNodeNamed:) method
  • XMLNode Sequence: Added first(whereElementNamed:) method
  • XMLElement Sequence: Added first(withAttribute:) method
  • XMLElement Sequence: Added first(whereAnyAttribute:) method
  • XMLElement Sequence: Added first(whereAttribute:hasValue:) method
  • XMLElement Sequence: Added filter(withAttribute:) method
  • XMLElement: Added firstChildElement(withAttribute:) method
  • XMLElement: Added get/set attribute methods for Bool, Int and URL

Swift Collections

  • Added ZeroIndexedCollection with zeroIndexed property on Sequence
  • Added ZeroIndexedMutableCollection with zeroIndexed property on Sequence
  • Added ZeroIndexedRangeReplaceableCollection with zeroIndexed property on Sequence
  • Added LazyFilteredCompactMapSequence typealias
  • ClosedRange contains(Range): Relaxed associated requirements
  • Added Set operators + and +=
  • Sequence: Added mapDictionary(_:) method
  • Sequence: Added compactMapDictionary(_:) method

Swift Concurrency

  • Added withOrderedTaskGroup(sequence:priority:) { element in } global method