Skip to content

Commit 8ed7c5a

Browse files
committed
v3.1.0
1 parent e717137 commit 8ed7c5a

File tree

10 files changed

+17
-11
lines changed

10 files changed

+17
-11
lines changed

Excel-REST - Blank.xlsm

6.12 KB
Binary file not shown.

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Excel-REST: Excel REST Client
22
=============================
33

4-
It seems like everything has a REST webservice these days and there is no reason to leave Excel out of the fun. Excel-REST is designed to make working with complex webservices easy with Excel. It includes support for authentication, making async requests, automatically converting and parsing JSON, working with cookies and headers in requests and responses, and much more.
4+
Excel-REST makes working with complex webservices and APIs easy with Excel. It includes support for authentication, making async requests, automatically converting and parsing JSON, working with cookies and headers, and much more.
55

66
Getting started
77
---------------
88

9-
- Download the [latest release (v3.0.7)](https://github.com/timhall/Excel-REST/releases)
9+
- Download the [latest release (v3.1.0)](https://github.com/timhall/Excel-REST/releases)
1010
- To install/upgrade in an existing file, run `install.bat` to walk through installation.
1111
- To start from scratch, `Excel-REST - Blank.xlsm` has everything setup and ready to go.
1212

@@ -172,6 +172,12 @@ For more details, check out the [Wiki](https://github.com/timhall/Excel-REST/wik
172172

173173
### Release Notes
174174

175+
#### 3.1.0
176+
177+
- Add `Request.RequestFormat`, `Request.ResponseFormat`, and `Request.Accept` for setting separate request and response formats (e.g. form-urlencoded request with json response)
178+
- Add `LogRequest` and `LogResponse` for better logging detail (enable with `RestHelpers.EnableLogging = True`)
179+
- Allow headers and content-type to be set in authenticator `BeforeExecute`
180+
175181
#### 3.0.0
176182

177183
- Add `Client.GetJSON` and `Client.PostJSON` helpers to GET and POST JSON without setting up request

build/install.vbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
''
2-
' Install v3.0.7
2+
' Install v3.1.0
33
' (c) Tim Hall - https://github.com/timhall/Excel-REST
44
'
55
' Install Excel-REST and authenticators
@@ -55,7 +55,7 @@ Main
5555
Sub Main()
5656
On Error Resume Next
5757

58-
Print "Welcome to Excel-REST v3.0.7, let's get started!"
58+
Print "Welcome to Excel-REST v3.1.0, let's get started!"
5959

6060
ExcelWasOpen = OpenExcel(Excel)
6161

@@ -95,7 +95,7 @@ Sub Install
9595
ShouldUpgrade = Input(vbNewLine & "Excel-REST appears to already be installed." & vbNewLine & vbNewLine & _
9696
"Warning: The currently installed Excel-REST files will be removed" & vbNewLine & _
9797
"and any previously made changes to those files will be lost" & vbNewLine & vbNewLine & _
98-
"Would you like to upgrade to v3.0.7? [yes/no]")
98+
"Would you like to upgrade to v3.1.0? [yes/no]")
9999

100100
If UCase(ShouldUpgrade) = "YES" Then
101101
Success = InstallModules

examples/Excel-REST - Example.xlsm

-22.1 KB
Binary file not shown.

specs/Excel-REST - Specs.xlsm

-985 Bytes
Binary file not shown.

src/IAuthenticator.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-
' IAuthenticator v3.0.7
11+
' IAuthenticator v3.1.0
1212
' (c) Tim Hall - https://github.com/timhall/Excel-REST
1313
'
1414
' Interface for creating authenticators for rest client

src/RestClient.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-
' RestClient v3.0.7
11+
' RestClient v3.1.0
1212
' (c) Tim Hall - https://github.com/timhall/Excel-REST
1313
'
1414
' Interact with REST web services from Excel

src/RestHelpers.bas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Attribute VB_Name = "RestHelpers"
22
''
3-
' RestHelpers v3.0.7
3+
' RestHelpers v3.1.0
44
' (c) Tim Hall - https://github.com/timhall/Excel-REST
55
'
66
' Common helpers RestClient
@@ -50,7 +50,7 @@ Attribute VB_Name = "RestHelpers"
5050

5151
#End If
5252

53-
Private Const UserAgent As String = "Excel Client v3.0.7 (https://github.com/timhall/Excel-REST)"
53+
Private Const UserAgent As String = "Excel Client v3.1.0 (https://github.com/timhall/Excel-REST)"
5454
Private DocumentHelper As Object
5555
Private ElHelper As Object
5656

src/RestRequest.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-
' RestRequest v3.0.7
11+
' RestRequest v3.1.0
1212
' (c) Tim Hall - https://github.com/timhall/Excel-REST
1313
'
1414
' Create a request for use with a rest client

src/RestResponse.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-
' RestResponse v3.0.7
11+
' RestResponse v3.1.0
1212
' (c) Tim Hall - https://github.com/timhall/Excel-REST
1313
'
1414
' Wrapper for http responses

0 commit comments

Comments
 (0)