Conduit v0.3.0 Release Notes

  • 💥 Breaking

    • 0️⃣ Auth shared URLSessionClient defaults to background operation queue.
    • ⚡️ Update URLSessionClient to return HTTPURLResponse for easy retrieval of HTTP status codes.
    • 🔄 Changes on XMLNode:
      • Rename value property to text.
      • Update XMLNode subscript method to return XMLNode?.
      • Add .firstLevel traversal for XMLNode to retrieve direct children only.
      • Remove xmlValue() in favor of description.
      • Conform to LosslessStringConvertible protocol.
      • Rename value() to getValue().
      • Rename get(named:) to getValue(named:).
    • 🔄 Changes on XML:
      • Remove xmlValue() in favor of description.
      • Conform to LosslessStringConvertible protocol.
    • ✂ Remove XMLNodeIndex.

    ✨ Enhancements

    • 0️⃣ Shared URLSessionClient with default background operation queue.
    • ✨ Enhancements to XMLNode class:
      • value passed to init can be any CustomStringConvertible.
      • 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() and getValue(named:)

    🐛 Bug Fixes

    • None