Skip to content
Jul 18, 2019
Adam Fowler:
      XML: If text is completely white space don't add a text node

@jonnymacs jonnymacs released this Jul 12, 2019 · 3 commits to master since this release

Adam Fowler:
Use Codable for serializing XML requests and parsing XML responses
Using query encoder for ec2
Added xmlNamespace to the root payload xml element when required
Only add a body to an AWSRequest if there are shape members that are included in the body
Store Timestamp internally as a Date
Add DictionaryEncoder and use this when encoding JSON payloads
Decode JSON dictionary data as base64
Add encoding hints for serializing arrays and dictionaries. Hints include naming of XML, query elements and whether container is flattened
Percent encode more characters in query body
Add code for ec2 to flatten all arrays, regardless of encoding hints
Added regions ap-east-1, eu-west-3 and eu-north-1
Updated core XML loader

Avoid warning on Xcode

Assets 2

@jonnymacs jonnymacs released this May 19, 2019 · 121 commits to master since this release

  • return Future instead of Void so clients can chain off the response and catch errors
  • normalize status code valdiation validate status code on methods with no response
Assets 2

@jonnymacs jonnymacs released this May 17, 2019 · 125 commits to master since this release

Adam Fowler:
Fixed Incorrect stringToSign created for API calls that include query parameters without assignation. Fixed it by ensuring we never send nil parameters to V4 Signer.
Added test for signing AWSRequest
Fix = sign being percent encoded twice

Joe Smith:
Utilize the officially sanctioned docker image to handle tests (#59)
Quiet the xcodebuild logs and run in parallel (#64)

Jonathan McAllister:
refactor send to return Futures
add typalias Future as shorthand for EventLoopFuture
ensure url.hostWithPort is not nil
update nio to 1.14
fix warning for redundant modifiers
refactor getCredential to return a future and move it back to the client class
fix HEAD requests
throw InvalidRequest Error instead of fatalError if uri is invalid
add token to signedURL if the credential has one
log resonse http status code for Unhandled errors
do not populate a body for restxml requests that do not have a payloadPath. Input is headers only if there is no payloadPath on restxml APIs
HEAD request is just a GET request with the HEAD method - remove content-type for head request - use signed url for HEAD requests

resurrect user specific endpoint request
add default value for endpoint
add test for custom endpoint signing

Assets 2
Apr 24, 2019
Adam Fowler:
      Fixed query encoding of arrays
Apr 18, 2019
Adam Fowler:
      Updated credentials reading order
      Added UntypedDictionaryDecoder( for decoding dictionaries created from XML data
      Added encodeToQueryDictionary, to replace the conversion to Json for queries
      serializeToJSON() now supports converting XML dictionaries
      Ensure query params with no value still get added to the url
      Stop adding "null" string to empty xml nodes
      changing firstIndex() to index() while we wait to upgrade past Swift 4.1

Jonathan McAllister:
      update nio to latest 1.x
Feb 28, 2019
Jonathan McAllister:
      implement sha of shas in the hash lib. This is necessary to implement Glacier TreeHash checksum

@jonnymacs jonnymacs released this Feb 14, 2019 · 188 commits to master since this release

  • properly serialize the payloadPath object as json / xml if the shape has a payload path and it defines a shape (Glacier, etc)
Assets 2

@jonnymacs jonnymacs released this Jan 12, 2019 · 190 commits to master since this release

Jonathan McAllister:
handle when path includes query params

Assets 2

@noppoMan noppoMan released this Dec 7, 2018 · 192 commits to master since this release

add repeat as swiftReservedWords
Assets 2
You can’t perform that action at this time.