|
| 1 | +## Unreleased |
| 2 | + |
| 3 | +* 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 |
| 4 | +* 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) |
| 5 | +* allow connecting to non-HTTPS servers (e.g. `http://localhost:3000`) |
| 6 | +* deprecate logging in using an email address in the `id` field – `createSession` accepts such identifier, but unlike with handle or DID, there's no way to use it to look up the DID document and PDS location if we wanted to |
| 7 | +* marked `Minisky#active_repl?` method as private |
| 8 | + |
1 | 9 | ## [0.5.0] - 2024-12-27 🎄 |
2 | 10 |
|
3 | 11 | * `host` param in the initializer can be passed with a `https://` prefix (useful if you're passing it directly from a DID document, e.g. using DIDKit) |
|
17 | 25 | * fixed error when the response is success but not JSON (e.g. an empty body like in deleteRecord) |
18 | 26 | * allow passing options to the client in the initializer |
19 | 27 | * aliased `default_progress` setting as `progress` |
20 | | -* added `base64` dependency explicitly to the gemspec - fixes a warning in Ruby 3.3, since it will be extracted as an optional gem in 3.4 |
| 28 | +* added `base64` dependency explicitly to the gemspec – fixes a warning in Ruby 3.3, since it will be extracted as an optional gem in 3.4 |
21 | 29 |
|
22 | 30 | ## [0.3.1] - 2023-10-10 |
23 | 31 |
|
|
28 | 36 | * authentication improvements & changes: |
29 | 37 | - Minisky now automatically manages access tokens, calling `check_access` manually is not necessary (set `auto_manage_tokens` to `false` to disable this) |
30 | 38 | - `check_access` now just checks token's expiry time instead of making a request to `getSession` |
31 | | - - added `send_auth_headers` option - set to `false` to not set auth header automatically, which is the default |
32 | | - - removed default config file name - explicit file name is now required |
33 | | - - Minisky can now be used in unauthenticated mode - pass `nil` as the config file name |
| 39 | + - added `send_auth_headers` option – set to `false` to not set auth header automatically, which is the default |
| 40 | + - removed default config file name – explicit file name is now required |
| 41 | + - Minisky can now be used in unauthenticated mode – pass `nil` as the config file name |
34 | 42 | - added `reset_tokens` helper method |
35 | | -* refactored response handling - typed errors are now raised on non-success response status |
| 43 | +* refactored response handling – typed errors are now raised on non-success response status |
36 | 44 | * `user` wrapper can also be used for writing fields to the config |
37 | 45 | * improved error handling |
38 | 46 |
|
|
62 | 70 |
|
63 | 71 | ## [0.0.1] - 2023-08-30 |
64 | 72 |
|
65 | | -Initial release - extracted from original gist: |
| 73 | +Initial release – extracted from original gist: |
66 | 74 |
|
67 | 75 | - logging in and refreshing the token |
68 | 76 | - making GET & POST requests |
|
0 commit comments