Skip to content

Prepare 0.2.0 release (API breaking changes) #43

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

Merged
merged 44 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
956d966
[Prototype] URIEncoder
czechboy0 Aug 21, 2023
bb9ba79
Merge branch 'main' into hd-uri-encoder
czechboy0 Aug 21, 2023
dbbe261
Refactored the URIEncoder a bunch, only support top level values for …
czechboy0 Aug 22, 2023
2c99128
Encoder, serializer, parser work, what remains is the decoder
czechboy0 Aug 23, 2023
2f710ab
Renaming, prepared the ground for implementing the decoder
czechboy0 Aug 23, 2023
569c576
WIP on the Decoder
czechboy0 Aug 23, 2023
e6d4b2f
Decoder working as well now
czechboy0 Aug 23, 2023
1befb30
Allow caching the parsed result
czechboy0 Aug 24, 2023
fcc413b
Update tests
czechboy0 Aug 24, 2023
ed6e073
Added rountrip tests
czechboy0 Aug 24, 2023
ae171d5
Improve tests, fix a few bugs around empty containers
czechboy0 Aug 24, 2023
e36c893
Formatting
czechboy0 Aug 24, 2023
e6526b0
WIP on integrating the experimental URI coder
czechboy0 Aug 24, 2023
3b36c16
Merge branch 'main' into hd-uri-encoder
czechboy0 Aug 24, 2023
c54983a
Merge branch 'hd-uri-encoder' into hd-uri-encoder-integration
czechboy0 Aug 24, 2023
a24c805
PR feedback
czechboy0 Aug 24, 2023
0de7bc3
Prepare 0.2.0 release (API breaking changes)
czechboy0 Aug 24, 2023
a5f7c83
Merge branch 'hd-uri-encoder' into hd-uri-encoder-integration
czechboy0 Aug 24, 2023
697a62b
Add a StringEncoder and StringDecoder, to handle the remaining respon…
czechboy0 Aug 24, 2023
1d84e81
Prepare new URI-based converter variants for headers
czechboy0 Aug 24, 2023
54cf73f
Prep 0.2.0 in docs
czechboy0 Aug 24, 2023
585f626
Fix a build breakage
czechboy0 Aug 24, 2023
a153358
WIP
czechboy0 Aug 25, 2023
d821442
Add Date support
czechboy0 Aug 25, 2023
e73ef79
Merge branch 'hd-uri-encoder' into hd-uri-encoder-integration
czechboy0 Aug 25, 2023
9315d9b
Add Date support to String coder, fix up query items
czechboy0 Aug 25, 2023
e24cb86
Path param support
czechboy0 Aug 25, 2023
fec080e
Query params
czechboy0 Aug 25, 2023
5fc468c
Request bodies working
czechboy0 Aug 25, 2023
bbeb04e
More cleanup
czechboy0 Aug 25, 2023
efb7fc0
WIP on documenting the URI coder
czechboy0 Aug 25, 2023
1eec75f
Finished documenting the URI coder
czechboy0 Aug 25, 2023
e3d25c2
Merge branch 'hd-uri-encoder' into hd-uri-encoder-integration
czechboy0 Aug 25, 2023
96fa202
Introduce StringEncoder and StringDecoder types
czechboy0 Aug 25, 2023
db84422
Fixed missing escaping of formatted dates
czechboy0 Aug 25, 2023
9fafceb
Brought in changes from the standalone PR
czechboy0 Aug 26, 2023
3f0be17
Merge branch 'hd-string-coder' into hd-uri-and-string-coders
czechboy0 Aug 26, 2023
5c6b385
Merge branch 'hd-uri-and-string-coders' into hd-uri-encoder-integration
czechboy0 Aug 26, 2023
e94d59c
Updated unit tests
czechboy0 Aug 28, 2023
983cb71
Merge branch 'main' into hd-uri-encoder-integration
czechboy0 Aug 29, 2023
8585bf0
Merge branch 'main' into hd-prep-0.2.0
czechboy0 Aug 29, 2023
29c9824
Merge branch 'hd-uri-encoder-integration' into hd-prep-0.2.0
czechboy0 Aug 29, 2023
d6d51dc
Remove more deprecated code
czechboy0 Aug 29, 2023
3382dc8
Merge branch 'main' into hd-prep-0.2.0
czechboy0 Aug 30, 2023
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Add the package dependency in your `Package.swift`:
```swift
.package(
url: "https://github.com/apple/swift-openapi-runtime",
.upToNextMinor(from: "0.1.0")
.upToNextMinor(from: "0.2.0")
),
```

Expand Down
8 changes: 1 addition & 7 deletions Sources/OpenAPIRuntime/Conversion/CurrencyExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,7 @@ import Foundation

extension HeaderField: CustomStringConvertible {
public var description: String {
let value: String
if HeaderField.internalRedactedHeaderFields.contains(name.lowercased()) {
value = "<redacted>"
} else {
value = self.value
}
return "\(name): \(value)"
"\(name): \(value)"
}
}

Expand Down
Loading