Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #362 from SkynetLabs/version-v4.0.21-beta
Browse files Browse the repository at this point in the history
Version update to v4.0.21-beta
  • Loading branch information
mrcnski committed Dec 20, 2021
2 parents b7d8839 + 745df91 commit 951a595
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions CHANGELOG-BETA.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,27 @@ _Beta versions are released on the `beta` stream. The latest beta can be install

For the latest stable changes, see [CHANGELOG.md](./CHANGELOG.md).

## [4.0.21-beta]

### Changed

- **[Breaking change]** - SkyDB methods now use a revision number cache
internally, improving performance and correctness. `setJSON` no longer makes a
network request to get the latest revision number, so you must always call
`getJSON` first.
- **[Breaking change]** - Errors from `skyd` requests are now type
`ExecuteRequestError` as opposed to `AxiosError`. The axios error can be
retrieved with `.originalError`.
- Error messages from `skyd` requests now contain the full, descriptive error
response returned from `skyd`.
- Parallel uploads for large files have been fixed and re-enabled. This should
improve performance.

### Added

- Added exports for encryption utilities `decryptJSONFile`, `encryptJSONFile`,
`ENCRYPTED_JSON_RESPONSE_VERSION`, and `EncryptedJSONResponse`.

## [4.0.20-beta]

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "skynet-js",
"version": "4.0.20-beta",
"version": "4.0.21-beta",
"description": "Sia Skynet Javascript Client",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
Expand Down

0 comments on commit 951a595

Please sign in to comment.