Releases: orchetect/OTCore
Releases · orchetect/OTCore
1.6.2
1.6.1
1.6.0
💡 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
: ChangedtemporaryDirectory
andhomeDirectoryForCurrentUser
from static variables onFileManager
to instance variables for greater consistency
Maintenance
- Bumped minimum version of Xcode required to Xcode 16.0
- Updated GitHub CI
1.5.3
Collection
: Added.replace(elementsIn:with:)
methodsCollection
: Added.replacing(elementsIn:with:)
methodsString
: AddedsanitizePathComponent(for:replacement:)
methodString
: AddedsanitizingPathComponent(for:replacement:)
methodURL
: AddedsanitizeLastPathComponent(for:replacement:)
methodURL
: AddesdsanitizingLastPathComponent(for:replacement:)
method
1.5.2
1.5.1
1.5.0
XML
- Refactors and API changes for
XMLNode
extensions XMLNode
: AddedparentElement
propertyXMLNode
: AddedchildElements
propertyXMLNode
: AddedfirstChildElement(named:)
methodXMLNode
Sequence: Addedfirst(whereNodeNamed:)
methodXMLNode
Sequence: Addedfirst(whereElementNamed:)
methodXMLElement
Sequence: Addedfirst(withAttribute:)
methodXMLElement
Sequence: Addedfirst(whereAnyAttribute:)
methodXMLElement
Sequence: Addedfirst(whereAttribute:hasValue:)
methodXMLElement
Sequence: Addedfilter(withAttribute:)
methodXMLElement
: AddedfirstChildElement(withAttribute:)
methodXMLElement
: Added get/set attribute methods forBool
,Int
andURL
Swift Collections
- Added
ZeroIndexedCollection
withzeroIndexed
property onSequence
- Added
ZeroIndexedMutableCollection
withzeroIndexed
property onSequence
- Added
ZeroIndexedRangeReplaceableCollection
withzeroIndexed
property onSequence
- Added
LazyFilteredCompactMapSequence
typealias ClosedRange
contains(Range)
: Relaxed associated requirements- Added
Set
operators+
and+=
Sequence
: AddedmapDictionary(_:)
methodSequence
: AddedcompactMapDictionary(_:)
method
Swift Concurrency
- Added
withOrderedTaskGroup(sequence:priority:) { element in }
global method