Skip to content

Commit d356e07

Browse files
committed
v4.1.0
1 parent 448b7d9 commit d356e07

13 files changed

+20
-9
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# 4.1.0
2+
3+
- Update `UrlEncode` behavior to target different encoding RFCs based on `UrlEncodingMode`
4+
- Add `UrlEncodingMode` with support for `Strict`, `Form`, `Query`, `Cookie`, and `Path`
5+
- `UrlEncodingMode.StrictUrlEncoding` uses [RFC 3986](https://tools.ietf.org/html/rfc3986) and is the default
6+
- `UrlEncodingMode.FormUrlEncoding` uses HTML5 form url-encoding and is used with `WebFormat.FormUrlEncoded`
7+
- `UrlEncodingMode.QueryUrlEncoding` uses subset of `Strict` and `Form` for default querystring encoding
8+
- `UrlEncodingMode.CookieUrlEncoding` uses [RFC 6265](https://tools.ietf.org/html/rfc6265)
9+
- `UrlEncodingMode.PathUrlEncoding` uses "pchar" from [RFC 3986](https://tools.ietf.org/html/rfc3986) and is the default
10+
- Update VBA-JSON to v2.2.2
11+
112
# 4.0.0
213

314
Major Changes:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ VBA-Web (formerly Excel-REST) makes working with complex webservices and APIs ea
66
Getting started
77
---------------
88

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

VBA-Web - Blank.xlsm

59.2 KB
Binary file not shown.

VBA-Web - Installer.xlsm

-578 Bytes
Binary file not shown.

examples/VBA-Web - Example.xlsm

108 KB
Binary file not shown.

specs/VBA-Web - Specs - Async.xlsm

92.9 KB
Binary file not shown.

specs/VBA-Web - Specs.xlsm

146 KB
Binary file not shown.

src/IWebAuthenticator.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Attribute VB_Creatable = False
88
Attribute VB_PredeclaredId = False
99
Attribute VB_Exposed = True
1010
''
11-
' IWebAuthenticator v4.0.22
11+
' IWebAuthenticator v4.1.0
1212
' (c) Tim Hall - https://github.com/VBA-tools/VBA-Web
1313
'
1414
' Interface for creating authenticators for rest client

src/WebAsyncWrapper.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Attribute VB_Creatable = False
88
Attribute VB_PredeclaredId = False
99
Attribute VB_Exposed = True
1010
''
11-
' WebAsyncWrapper v4.0.22
11+
' WebAsyncWrapper v4.1.0
1212
' (c) Tim Hall - https://github.com/VBA-tools/VBA-Web
1313
'
1414
' Wrapper WebClient and WebRequest that enables callback-style async requests

src/WebClient.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Attribute VB_Creatable = False
88
Attribute VB_PredeclaredId = False
99
Attribute VB_Exposed = True
1010
''
11-
' WebClient v4.0.22
11+
' WebClient v4.1.0
1212
' (c) Tim Hall - https://github.com/VBA-tools/VBA-Web
1313
'
1414
' `WebClient` executes requests and handles response and is responsible for functionality shared between requests,
@@ -283,7 +283,7 @@ Public Function Execute(Request As WebRequest) As WebResponse
283283
Else
284284
web_ErrorDetails = "(6: CURLE_COULDNT_RESOLVE_HOST)"
285285
End If
286-
286+
287287
Err.Raise 12007 + &H30000 + vbObjectError, "WebClient.Execute", "The server name or address could not be resolved " & web_ErrorDetails
288288
Case 7
289289
' 7 = CURLE_COULDNT_CONNECT

0 commit comments

Comments
 (0)