Skip to content

Releases: orchetect/OTCore

1.4.6

13 Jan 09:27
Compare
Choose a tag to compare
  • URL: Added relative(to:) and mutatingLastPathComponent { }
  • Renamed @UserDefaultsBacked to @UserDefaultsStorage
  • @UserDefaultsStorage: Added init with get and set transformation closures
  • @UserDefaultsStorage: Added computed-only init without default

1.4.5

20 Sep 23:59
Compare
Choose a tag to compare
  • OSLogger: Fixed issue where debug level log messages were being logged in non-DEBUG builds (#40)

1.4.4

03 Sep 01:23
Compare
Choose a tag to compare
  • Added new IPAddress IPv4/IPv6 validation struct
  • RegEx methods now properly handle any StringProtocol base
  • Minor docs updates

1.4.3

23 Aug 07:19
Compare
Choose a tag to compare
  • Added PassiveDataReader struct with .withDataReader { } instance method on DataProtocol
  • DataReader: internal refactor
  • Minor fixes and reliability improvements

1.4.2

26 Jul 19:12
Compare
Choose a tag to compare
  • Collection: Added shortest() and shortestIndex()
  • 


Collection: Added longest() and longestIndex()

1.4.1

26 Feb 03:08
acaf382
Compare
Choose a tag to compare
  • Added URL path manipulation methods

1.4.0

25 Feb 08:09
d3bf853
Compare
Choose a tag to compare

Updates

  • Reduced precedence of all methods and properties to proactively avoid potential global namespace collisions
  • Progress: added parent and children properties
  • Added XCTestUtils testing dependency and moved testing helpers there
  • Formatting and general cleanup

API Changes

  • String: Renamed .parens to .parenthesized
  • Removed ifTrue(), ifFalse(), ifContained(), ifNotContained() category methods

1.3.0

14 Feb 23:47
36d9e69
Compare
Choose a tag to compare
  • XCTestCase: Added wait(for condition: timeout: polling:) method
  • Added sleep(TimeInterval) method
  • Added DispatchTimeInterval.microseconds property
  • Various bugfixes, fixed build on Xcode 12.4 and various platforms, made watchOS unit testing more resilient
  • Unit tests updated
  • @Atomic is moved to new OTAtomics repo, renamed to @OTAtomicsThreadSafe
  • Moved new Operation and OperationQueue subclasses to new OTOperations repo

1.2.1

08 Feb 10:01
84f0ece
Compare
Choose a tag to compare
  • Improvements and resiliency added to Operation and OperationQueue subclasses

1.2.0

05 Feb 04:44
03eac93
Compare
Choose a tag to compare
  • CharacterSet: added init(_: [Character])
  • Added @UserDefaultsBacked property wrapper
  • Added @Clamped property wrapper
  • Added @Validate property wrapper
  • @Atomic now includes set { } to give the compiler more flexibility
  • DispatchGroup
    • Added .sync { } static method
    • Added .sync(asyncOn:) { } static method
    • Added .sync(asyncOn:timeout:) { } static method
    • Added variants to above methods that can return a value from the closure
  • Added Operation subclasses
    • BasicOperation, BasicAsyncOperation
    • ClosureOperation, AsyncClosureOperation
    • CancellableClosureOperation, CancellableAsyncClosureOperation
    • AtomicBlockOperation
  • Added OperationQueue subclasses
    • BasicOperationQueue
    • AtomicOperationQueue
  • Moved split(every:backwards:) from String to Collection
  • Collection: added indices(splitEvery:)
  • Range: added split(every:)
  • ClosedRange: added split(every:)
  • File organization
  • Inline docs updated
  • Updated unit tests, better resilience for watchOS testing