Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 60fe24b

Browse files
committed
Bump version num & finalize new CHANGELOG section
1 parent 3315456 commit 60fe24b

2 files changed

Lines changed: 18 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
55

66
## [Unreleased]
77
### Added
8+
- None.
9+
### Changed
10+
- None.
11+
### Deprecated
12+
- None.
13+
### Removed
14+
- None.
15+
### Fixed
16+
- None.
17+
### Security
18+
- None.
19+
20+
## [0.3.0] - 2020-11-03
21+
### Added
822
- New `ApiProvider` type encapsulating different request methods with support for plugins.
923
- New asynchronous `performRequest` methods with completion callbacks. ([#2](https://github.com/Flinesoft/Microya/issues/2))
1024
- New `Plugin` class to subclass for integrating into the networking logic via callbacks.
@@ -16,15 +30,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
1630
- Moved the `request` method from `JsonApi` to the new `ApiProvider` & renamed to `performRequestAndWait`.
1731
- Generally improved the cases in `JsonApiError` & renamed the type to `ApiError`.
1832
- Moved CI from [Bitrise](https://www.bitrise.io/) to [GitHub Actions](https://github.com/Flinesoft/Microya/actions).
19-
### Deprecated
20-
- None.
2133
### Removed
2234
- The `bodyData: Data?` requirement on `JsonApi` (bodies are not part of `HttpMethod`, see above).
2335
- Installation is no longer possible via [CocoaPods](https://github.com/CocoaPods/CocoaPods) or [Carthage](https://github.com/Carthage/Carthage). Please use [SwiftPM](https://github.com/apple/swift-package-manager) instead.
24-
### Fixed
25-
- None.
26-
### Security
27-
- None.
2836

2937
## [0.2.0] - 2020-08-15
3038
### Changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
alt="codebeat badge">
1414
</a>
1515
<a href="https://github.com/Flinesoft/HandySwift/releases">
16-
<img src="https://img.shields.io/badge/Version-0.2.0-blue.svg"
17-
alt="Version: 0.2.0">
16+
<img src="https://img.shields.io/badge/Version-0.3.0-blue.svg"
17+
alt="Version: 0.3.0">
1818
<img src="https://img.shields.io/badge/Swift-5.3-FFAC45.svg"
1919
alt="Swift: 5.3">
2020
<img src="https://img.shields.io/badge/Platforms-Apple%20%7C%20Linux-FF69B4.svg"
@@ -117,7 +117,7 @@ extension MicrosoftTranslatorEndpoint: Endpoint {
117117
var baseUrl: URL {
118118
return URL(string: "https://api.cognitive.microsofttranslator.com")!
119119
}
120-
120+
121121
var headers: [String: String] {
122122
switch self {
123123
case .languages:
@@ -273,7 +273,7 @@ class RequestResponseLoggerPlugin<EndpointType: Endpoint>: Plugin<EndpointType>
273273
override func willPerformRequest(_ request: URLRequest, endpoint: EndpointType) {
274274
print("Endpoint: \(endpoint), Request: \(request)")
275275
}
276-
276+
277277
override func didPerformRequest<ResultType: Decodable>(
278278
urlSessionResult: ApiProvider<EndpointType>.URLSessionResult,
279279
typedResult: ApiProvider<EndpointType>.TypedResult<ResultType>,

0 commit comments

Comments
 (0)