Skip to content

Commit c2e8936

Browse files
committed
release 0.5.1
1 parent 215d4cd commit c2e8936

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The "really niche bugfix" edition:
44

55
* don't stop fetching in `fetch_all` if an empty page is returned but the cursor is not nil; it's technically allowed for the server to return an empty page but still have more data to send, e.g. if the service does some filtering at the last step and all records happen to be filtered out
6-
- unfortunately, this causes problems with some specific endpoints which incorrectly return a cursor when reaching the end of data, so you can restore the previous behavior by setting the `stop_fetch_on_empty_page` option
6+
- unfortunately, this on the other hand causes problems with some specific endpoints which incorrectly return a cursor when reaching the end of data, so you can also restore the previous behavior if needed, by setting the `stop_fetch_on_empty_page` option
77
* in `post_request`, don't set Content-Type to "application/json" if the data sent is a string or nil (it might cause an error in some cases, like when uploading some binary content)
88
* handle the (somewhat theoretical but possible) case where an access token is not a JWT but just some opaque blob – in that case, Minisky will now not throw an error trying to parse it, but just treat it as "unknown" and will not try to refresh it
99
- note: at the moment Minisky will not catch the "token expired" error and refresh the token automatically in such scenario

lib/minisky/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require_relative 'minisky'
22

33
class Minisky
4-
VERSION = "0.5.0"
4+
VERSION = "0.5.1"
55
end

0 commit comments

Comments
 (0)