Releases: mindbody/Conduit
Releases · mindbody/Conduit
Release 0.5.2
Breaking
- None
Enhancements
- Synchronous method for issuing authentication tokens
Bug Fixes
- None
Release 0.5.1
Breaking
- None
Enhancements
- Unit Test improvements
- Code clean up for additional SwiftLint rules
Bug Fixes
- None
Release 0.5.0
Breaking
- Minimum language version is now Swift 4
OAuth2Token
protocol no longer inherits fromNSCoding
, removesisValid
- All usage of
BearerOAuth2Token
andBasicOAuth2Token
have been replaced withBearerToken
andBasicToken
OAuth2TokenStore
now requires genericOAuth2Token & DataConvertible
typesRequestSerializer
signature renamed according to Swift style guidelines
Enhancements
- All targets now require app-extension-safe API
- Added
BearerToken
struct that leverages Swift-friendlyCodable
andDecodable
protocols for storage - Added
BasicToken
struct with limited responsibility and usage - Added migration extension for
BearerOAuth2Token
=>BearerToken
- Added backwards-compatibility for
BearerOAuth2Token
- Deprecated
BearerOAuth2Token
andBasicOAuth2Token
- Added test hosts for iOS 11 keychain support
Bug Fixes
- None
Release 0.4.1
Breaking
- None
Enhancements
- Improved network logging, including a static request counter
Bug Fixes
- None
Release 0.4.0
Breaking
RequestSerializer
no longer handles query parametersXMLNode
value getters have been updated to conform toXMLTextNodeInitializable
.
Enhancements
FormEncodedRequestSerializer
now exposes query formatting options for body parametersQueryStringFormattingOptions
now encodes plus symbols by defaultXMLTextNodeInitializable
protocol has been added.
Bug Fixes
- None
Release 0.3.0
Breaking
- Auth shared
URLSessionClient
defaults to background operation queue. - Update
URLSessionClient
to returnHTTPURLResponse
for easy retrieval of HTTP status codes. - Changes on
XMLNode
:- Rename
value
property totext
. - Update
XMLNode
subscript method to returnXMLNode?
. - Add
.firstLevel
traversal forXMLNode
to retrieve direct children only. - Remove
xmlValue()
in favor ofdescription
. - Conform to
LosslessStringConvertible
protocol. - Rename
value()
togetValue()
. - Rename
get(named:)
togetValue(named:)
.
- Rename
- Changes on
XML
:- Remove
xmlValue()
in favor ofdescription
. - Conform to
LosslessStringConvertible
protocol.
- Remove
- Remove
XMLNodeIndex
.
Enhancements
- Shared
URLSessionClient
with default background operation queue. - Enhancements to
XMLNode
class:value
passed toinit
can be anyCustomStringConvertible
.node(named:)
retrieves the first descendant found with the given name and throws an exception if no matches found.XMLNode
can be created from Swift dictionaries of[String: CustomStringConvertible]
(aka.XMLDictionary
).- Add optional counterparts for
getValue()
andgetValue(named:)
Bug Fixes
- None
Release 0.2.0
Breaking
- Remove unnecessary casting to
NSError
onSessionTaskCompletion
. XMLNode.children
is no longer optional, defaults to empty array.
Enhancements
Enhancements to XMLNode
class:
init
has been improved to allow passing value, attributes and/or children (optional parameters).nodes(named:)
method finds an retrieves a list of descendant nodes matching the given name.getValue()
generic method returns the node text value, if any, converted to any given type that can be constructed from a string by conforming toLosslessStringConvertible
.get(_:)
generic method returns the value of the first descendant node matching the given name, converted to any given type that can be constructed from a string by conforming toLosslessStringConvertible
.
Bug Fixes
- None
Initial Release
0.1.0 Initial minor version must be above 0