An in-range update of sn-client-js is breaking the build π¨
greenkeeper opened this issue Β· comments
Version 2.5.0 of sn-client-js was just published.
Branch | Build failing π¨ |
---|---|
Dependency | sn-client-js |
Current Version | 2.4.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
sn-client-js is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
Status Details
- β continuous-integration/travis-ci/push The Travis CI build failed Details
Release Notes
2.5.0New features
Upload functionality has been improved, now chunked upload is supported from the library. The new upload endpoints on Content level:
- content.UploadTextAsFile(options) - Create a text file from a string variable
- content.UploadFile(options) - Upload a file from a File instance (e.g. from form data)
- content.UploadFromDropEvent(options) - Upload a file structure from a single Drop event
Binary field support has been added, now you can overwrite binaries on content field level. The new endpoints per binary fields (e.g. file.Binary) are:
- fileContent.SaveBinaryFile(file: File)
- fileContent.SaveBinaryText(text: string)
- fileContent.GetDownloadUrl(): string
New Repository setting - If you've modified the default BinaryChunkSize, you can adjust it with the Repository's ChunkSize setting
Changes
MockHttpProvider has been refactored in order to handle a request/response queue instead of defining single results. The provider will
The following methods has been removed / replaced
- setResponse(response) -> AddResponse(response)
- setError(error) -> AddError(error)
- lastOptions -> RequestLog
RxAjaxHttpProvider - The unused ForceCheckCrossDomain property has been removed.
Commits
The new version differs by 3 commits.
b810743
Feature/Upload (#69)
57d9d64
Merge branch 'release/2.4.1' into development
bdde0b0
[KFI]chore(package): bumped version
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
After pinning to 2.4.1 your tests are passing again. Downgrade this dependency π.