Skip to content

Commit cbb751b

Browse files
committed
Deprecate date formatter initializers
1 parent 3c54c03 commit cbb751b

3 files changed

Lines changed: 5 additions & 66 deletions

File tree

RELEASE_NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ SwiftUIKit makes its best effort to honor semver, but breaking changes can occur
88

99
Thanks to [pnewell](https://github.com/pnewell), SwiftUIKit now supports Catalyst.
1010

11+
### 🗑️ Deprecations
12+
13+
* The `DateFormatter` init extensions have been deprecated.
14+
1115

1216

1317
## 5.2

Sources/SwiftUIKit/Date/DateFormatter+Init.swift renamed to Sources/SwiftUIKit/_Deprecated/DateFormatter+Init.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
import Foundation
1010

11+
@available(*, deprecated, message: "This is no longer used within the library and will be removed in the next major release.")
1112
public extension DateFormatter {
1213

1314
/**

Tests/SwiftUIKitTests/Date/DateFormatter+InitTests.swift

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)