Skip to content

Commit

Permalink
v4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
timhall committed Jun 6, 2016
1 parent 448b7d9 commit d356e07
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 9 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 4.1.0

- Update `UrlEncode` behavior to target different encoding RFCs based on `UrlEncodingMode`
- Add `UrlEncodingMode` with support for `Strict`, `Form`, `Query`, `Cookie`, and `Path`
- `UrlEncodingMode.StrictUrlEncoding` uses [RFC 3986](https://tools.ietf.org/html/rfc3986) and is the default
- `UrlEncodingMode.FormUrlEncoding` uses HTML5 form url-encoding and is used with `WebFormat.FormUrlEncoded`
- `UrlEncodingMode.QueryUrlEncoding` uses subset of `Strict` and `Form` for default querystring encoding
- `UrlEncodingMode.CookieUrlEncoding` uses [RFC 6265](https://tools.ietf.org/html/rfc6265)
- `UrlEncodingMode.PathUrlEncoding` uses "pchar" from [RFC 3986](https://tools.ietf.org/html/rfc3986) and is the default
- Update VBA-JSON to v2.2.2

# 4.0.0

Major Changes:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VBA-Web (formerly Excel-REST) makes working with complex webservices and APIs ea
Getting started
---------------

- Download the [latest release (v4.0.22)](https://github.com/VBA-tools/VBA-Web/releases)
- Download the [latest release (v4.1.0)](https://github.com/VBA-tools/VBA-Web/releases)
- To install/upgrade in an existing file, use `VBA-Web - Installer.xlsm`
- To start from scratch in Excel, `VBA-Web - Blank.xlsm` has everything setup and ready to go

Expand Down
Binary file modified VBA-Web - Blank.xlsm
Binary file not shown.
Binary file modified VBA-Web - Installer.xlsm
Binary file not shown.
Binary file modified examples/VBA-Web - Example.xlsm
Binary file not shown.
Binary file modified specs/VBA-Web - Specs - Async.xlsm
Binary file not shown.
Binary file modified specs/VBA-Web - Specs.xlsm
Binary file not shown.
2 changes: 1 addition & 1 deletion src/IWebAuthenticator.cls
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
''
' IWebAuthenticator v4.0.22
' IWebAuthenticator v4.1.0
' (c) Tim Hall - https://github.com/VBA-tools/VBA-Web
'
' Interface for creating authenticators for rest client
Expand Down
2 changes: 1 addition & 1 deletion src/WebAsyncWrapper.cls
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
''
' WebAsyncWrapper v4.0.22
' WebAsyncWrapper v4.1.0
' (c) Tim Hall - https://github.com/VBA-tools/VBA-Web
'
' Wrapper WebClient and WebRequest that enables callback-style async requests
Expand Down
4 changes: 2 additions & 2 deletions src/WebClient.cls
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
''
' WebClient v4.0.22
' WebClient v4.1.0
' (c) Tim Hall - https://github.com/VBA-tools/VBA-Web
'
' `WebClient` executes requests and handles response and is responsible for functionality shared between requests,
Expand Down Expand Up @@ -283,7 +283,7 @@ Public Function Execute(Request As WebRequest) As WebResponse
Else
web_ErrorDetails = "(6: CURLE_COULDNT_RESOLVE_HOST)"
End If

Err.Raise 12007 + &H30000 + vbObjectError, "WebClient.Execute", "The server name or address could not be resolved " & web_ErrorDetails
Case 7
' 7 = CURLE_COULDNT_CONNECT
Expand Down
4 changes: 2 additions & 2 deletions src/WebHelpers.bas
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Attribute VB_Name = "WebHelpers"
''
' WebHelpers v4.0.22
' WebHelpers v4.1.0
' (c) Tim Hall - https://github.com/VBA-tools/VBA-Web
'
' Contains general-purpose helpers that are used throughout VBA-Web. Includes:
Expand Down Expand Up @@ -243,7 +243,7 @@ Private Declare Function web_fread Lib "libc.dylib" Alias "fread" (ByVal outStr
Private Declare Function web_feof Lib "libc.dylib" Alias "feof" (ByVal File As Long) As Long
#End If

Public Const WebUserAgent As String = "VBA-Web v4.0.22 (https://github.com/VBA-tools/VBA-Web)"
Public Const WebUserAgent As String = "VBA-Web v4.1.0 (https://github.com/VBA-tools/VBA-Web)"

' @internal
Public Type ShellResult
Expand Down
2 changes: 1 addition & 1 deletion src/WebRequest.cls
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
''
' WebRequest v4.0.22
' WebRequest v4.1.0
' (c) Tim Hall - https://github.com/VBA-tools/VBA-Web
'
' `WebRequest` is used to create detailed requests
Expand Down
2 changes: 1 addition & 1 deletion src/WebResponse.cls
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
''
' WebResponse v4.0.22
' WebResponse v4.1.0
' (c) Tim Hall - https://github.com/VBA-tools/VBA-Web
'
' Wrapper for http/cURL responses that includes parsed Data based on WebRequest.ResponseFormat.
Expand Down

0 comments on commit d356e07

Please sign in to comment.