Skip to content

Commit 1c568c9

Browse files
committed
release: 1.8.0
1 parent 099dbc3 commit 1c568c9

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
**[Get it on PyPi](https://pypi.org/project/Flask-Shell2HTTP/)**
44

5+
## [v1.8.0](https://github.com/eshaan7/Flask-Shell2HTTP/releases/tag/v1.8.0)
6+
7+
- Allow `&wait=[false|true]` query parameter in `GET` request. Use `wait=true` when you don't wish to HTTP poll and want the result in a single request only.
8+
9+
510
## [v1.7.0](https://github.com/eshaan7/Flask-Shell2HTTP/releases/tag/v1.7.0)
611

712
**For you:**
@@ -13,6 +18,7 @@
1318
- Much better and improved test cases via tox matrix for both major flask versions, 1.x and 2.x.
1419
- Much better overall type hinting.
1520

21+
1622
## [v1.6.0](https://github.com/eshaan7/Flask-Shell2HTTP/releases/tag/v1.6.0)
1723

1824
Added support for a new parameter `force_unique_key` in the POST request.

docs/source/Quickstart.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -87,19 +87,19 @@ Returns result in JSON,
8787
}
8888
```
8989

90-
<div class="admonition hint">
90+
<div id="hint-wait" class="admonition hint">
9191
<p class="admonition-title">Hint</p>
92-
Use <code>wait=true</code> when you don't wish to hTTP poll and want the result in a single request only.
92+
Use <code>wait=true</code> when you don't wish to HTTP poll and want the result in a single request only.
9393
This is especially ideal in case you specified a low <code>timeout</code> value in the <code>POST</code> request.
9494
</div>
9595

9696

97-
<div class="admonition hint">
97+
<div id="hint-key" class="admonition hint">
9898
<p class="admonition-title">Hint</p>
9999
By default, the <code>key</code> is the SHA1 sum of the <code>command + args</code> POSTed to the API. This is done as a rate limiting measure so as to prevent multiple jobs with same parameters, if one such job is already running. If <code>force_unique_key</code> is set to <code>true</code>, the API will bypass this default behaviour and a psuedorandom key will be returned instead.
100100
</div>
101101

102-
<div class="admonition note">
102+
<div id="note-post-request" class="admonition note">
103103
<p class="admonition-title">Note</p>
104104
You can see the full JSON schema for the POST request, <a href="https://github.com/Eshaan7/Flask-Shell2HTTP/blob/master/post-request-schema.json" target="_blank">here</a>.
105105
</div>

version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.0
1+
1.8.0

0 commit comments

Comments
 (0)