Major Changes:
- Mac Support!
- General VBA support (no Excel-specific code)
- Custom formatters
- Automatic proxy detection
- Windows authentication
- Switch to
WinHttpRequest
(Windows' modern web library) - General API cleanup and bugfixes
- 4.0.1 cURL escape parameters in authenticators, url-encode UrlSegments, and add
SetHeader
- 4.0.2 Add
Base64Decode
- 4.0.3 Fix out-of-date workbooks
- 4.0.4 Move
Application.OnTime
toWebAsyncWrapper
and add dislaimer that it's Excel-only - 4.0.5 Fix incorrect regional guard in ParseNumber in VBA-JSON (upgrade to v1.0.1)
Breaking Changes:
- Excel-REST is now VBA-Web and all classes/modules have been renamed
ExecuteAsync
is Window-only and has been moved toWebAsyncWrapper
{format}
UrlSegment is no longer automatically replaced- Many methods removed, renamed, or moved (see the Upgrade Guide for a detailed breakdown)
- Add
Request.RequestFormat
,Request.ResponseFormat
, andRequest.Accept
for setting separate request and response formats (e.g. form-urlencoded request with json response) - Add
LogRequest
andLogResponse
for better logging detail (enable withRestHelpers.EnableLogging = True
) - Allow headers and content-type to be set in authenticator
BeforeExecute
- 3.1.1 Fix importing class incorrectly as module bug
- 3.1.2 Add XML and plain text formats
- 3.1.3 Fix hard dependency for XML
- 3.1.4 Fix logging in
PrepareProxyForHttpRequest
- Add
Client.GetJSON
andClient.PostJSON
helpers to GET and POST JSON without setting up request - Add
AfterExecute
toIAuthenticator
(Breaking change, all IAuthenticators must implement this new method) - 3.0.1 Add
DigestAuthenticator
, new helpers, and cleanup - 3.0.2 Switch timeout to
Long
and removeRestClientBase
(out of sync with v3) - 3.0.3 Update OAuth1, deprecate
IncludeCacheBreaker
, update True/False formatting to lowercase, add LinkedIn example - 3.0.4 Fix formatting of parameters with spaces for OAuth1 and add logging
- 3.0.5 Allow Array and Collection for Body in
Request.AddBody
andClient.PostJSON
- 3.0.6 Convert Empty to
null
for json - 3.0.7 Add
install.bat
script for easy installation and upgrade
- Add
form-urlencoded
format and helpers - Combine Body + Parameters and Querystring + Parameters with priority given to Body or Querystring, respectively
- Add cookies support with
Request.AddCookie(key, value)
andResponse.Cookies
- 2.2.1 Add
Response.Headers
collection of response headers
- Add Microsoft Scripting Runtime dependency (for Dictionary support)
- Add
RestClient.SetProxy
for use in proxy environments - 2.1.1 Use
Val
for number parsing in locale-dependent settings - 2.1.2 Add raw binary
Body
toRestResponse
for handling files (thanks @berkus) - 2.1.3 Bugfixes and refactor
- Remove JSONLib dependency (merged with RestHelpers)
- Add RestClientBase for future use with extension for single-client applications
- Add build scripts for import/export
- New specs and bugfixes
- 2.0.1 Handle duplicate keys when parsing json
- 2.0.2 Add Content-Length header and 408 status code for timeout
- Integrate Excel-TDD to fully test Excel-REST library
- Handle timeouts for sync and async requests
- Remove reference dependencies and use CreateObject instead
- Add cachebreaker as querystring param only
- Add Join helpers to resolve double-slash issue between base and resource url
- Only add "?" for querystring if querystring will be created and "?" isn't present
- Only put parameters in body if there are parameters
- Add async support