Skip to content

Releases: orchetect/OTCore

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

1.4.16

25 Nov 06:38
Compare
Choose a tag to compare
  • String RegEx methods: Fixed bug where matches and capture groups were sometimes incorrect lengths if the source string contained UTF16 composed characters

1.4.15

22 Nov 03:13
Compare
Choose a tag to compare
  • Fixed potential category method collision

1.4.14

21 Nov 01:01
Compare
Choose a tag to compare
  • CGFloat: Added integralDigitPlaces and fractionDigitPlaces properties
  • Decimal: Added integralDigitPlaces and fractionDigitPlaces properties
  • Double: Added integralDigitPlaces and fractionDigitPlaces properties