Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 6.0.0 #1145

Merged
merged 5 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
The changelog for **SwifterSwift**. Also see the [releases](https://github.com/SwifterSwift/SwifterSwift/releases) on GitHub.

## Upcoming Release

## [v6.0.0](https://github.com/SwifterSwift/SwifterSwift/releases/tag/6.0.0)
### Breaking Change
- **Minimum deployment target**
- Bumped up the minimum deployment targets to match the minimums of Xcode 15. [#1142](https://github.com/SwifterSwift/SwifterSwift/issues/1142) by [guykogus](https://github.com/guykogus)
Expand All @@ -19,6 +21,17 @@ The changelog for **SwifterSwift**. Also see the [releases](https://github.com/S
- **String**
- Reversed the parameters for the `~=` operator in order to not break the default implementation, which causes issues in `switch` statements, for example. [#1113](https://github.com/SwifterSwift/SwifterSwift/issues/1113) by [guykogus](https://github.com/guykogus)

### Removed
[#1145](https://github.com/SwifterSwift/SwifterSwift/issues/1145) by [guykogus](https://github.com/guykogus)
- **Array**:
- `sorted(by:ascending:)`, `sort(by:ascending:)`
- **Sequence**:
- `map(by:)`, `compactMap(by:)`, `filter(by:)`, `last(where:)`
- **String**
- `init(randomOfLength:)`
- **UIDatePicker**
- `textColor`

### Deprecated
- **String**
- `init(randomOfLength:)` deprecated in favor of `String.random(ofLength:)`. [#1115](https://github.com/SwifterSwift/SwifterSwift/issues/1115) by [guykogus](https://github.com/guykogus)
Expand Down Expand Up @@ -374,7 +387,7 @@ The changelog for **SwifterSwift**. Also see the [releases](https://github.com/S
### Deprecated

- **Array**:
- Deprecated `sorted(by:, ascending)` and `sort(by:ascending)` in favor of `sorted(by:with:)` and `sort(by:with:)` [#712](https://github.com/SwifterSwift/SwifterSwift/pull/712) by [LucianoPAlmeida](https://github.com/LucianoPAlmeida)
- Deprecated `sorted(by:ascending:)` and `sort(by:ascending:)` in favor of `sorted(by:with:)` and `sort(by:with:)` [#712](https://github.com/SwifterSwift/SwifterSwift/pull/712) by [LucianoPAlmeida](https://github.com/LucianoPAlmeida)

### Removed

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ let package = Package(
name: "YOUR_PROJECT_NAME",
targets: [],
dependencies: [
.package(url: "https://github.com/SwifterSwift/SwifterSwift.git", from: "5.3.0")
.package(url: "https://github.com/SwifterSwift/SwifterSwift.git", from: "6.0.0")
]
)
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ let package = Package(
name: "YOUR_PROJECT_NAME",
targets: [],
dependencies: [
.package(url: "https://github.com/SwifterSwift/SwifterSwift.git", from: "5.3.0")
.package(url: "https://github.com/SwifterSwift/SwifterSwift.git", from: "6.0.0")
]
)
</code></pre>
Expand Down
5 changes: 1 addition & 4 deletions Sources/SwifterSwift/MapKit/MKMapViewExtensions.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// MKMapViewExtensions.swift - Copyright 2023 SwifterSwift

#if canImport(MapKit)
#if canImport(MapKit) && !os(watchOS)
import MapKit

#if !os(watchOS)
public extension MKMapView {
/// SwifterSwift: Dequeue reusable MKAnnotationView using class type.
///
Expand Down Expand Up @@ -65,5 +64,3 @@ public extension MKMapView {
}

#endif

#endif
116 changes: 0 additions & 116 deletions Sources/SwifterSwift/SwiftStdlib/Deprecated/StdlibDeprecated.swift

This file was deleted.

23 changes: 0 additions & 23 deletions Sources/SwifterSwift/SwiftStdlib/Deprecated/StringDeprecated.swift

This file was deleted.

23 changes: 0 additions & 23 deletions Sources/SwifterSwift/UIKit/Deprecated/UIDatePickerExtensions.swift

This file was deleted.

2 changes: 1 addition & 1 deletion SwifterSwift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SwifterSwift'
s.version = '5.3.0'
s.version = '6.0.0'
s.summary = 'A handy collection of more than 500 native Swift extensions to boost your productivity.'
s.description = <<-DESC
SwifterSwift is a collection of over 500 native Swift extensions, with handy methods, syntactic sugar, and performance improvements for wide range of primitive data types, UIKit and Cocoa classes –over 500 in 1– for iOS, macOS, tvOS and watchOS.
Expand Down
Loading
Loading