Conduit v0.3.0 Release Notes
-
💥 Breaking
- 0️⃣ 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
- 0️⃣ 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
- 0️⃣ Auth shared