Skip to content

Commit

Permalink
Release: v1.0.0-alpha.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zmoki committed Jan 16, 2019
1 parent accfa51 commit 4ba7687
Show file tree
Hide file tree
Showing 4 changed files with 263 additions and 122 deletions.
24 changes: 12 additions & 12 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"dist/uploadcare-upload-client.esm.js": {
"bundled": 18974,
"minified": 9656,
"gzipped": 2991,
"bundled": 23915,
"minified": 12198,
"gzipped": 3628,
"treeshaked": {
"rollup": {
"code": 46,
Expand All @@ -14,18 +14,18 @@
}
},
"dist/uploadcare-upload-client.cjs.js": {
"bundled": 18997,
"minified": 9669,
"gzipped": 3000
"bundled": 23938,
"minified": 12211,
"gzipped": 3639
},
"dist/uploadcare-upload-client.js": {
"bundled": 57661,
"minified": 19025,
"gzipped": 6619
"bundled": 62952,
"minified": 21189,
"gzipped": 7167
},
"dist/uploadcare-upload-client.min.js": {
"bundled": 19025,
"minified": 18999,
"gzipped": 6598
"bundled": 21189,
"minified": 21163,
"gzipped": 7150
}
}
30 changes: 28 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,36 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

[Unreleased]: https://github.com/uploadcare/uploadcare-upload-client/compare/v1.0.0-alpha.1...HEAD

[Unreleased]: https://github.com/uploadcare/uploadcare-upload-client/compare/v1.0.0.alpha...HEAD
## [1.0.0-alpha.1]

## 1.0.0.alpha
### Fixed

* Use the version from the `package.json` file to create Uploadcare User Agent.

### Changed

* The `base` function returns `thenable` object called `DirectUpload`
instead of using the `promise` property.
* The `fileFrom` function returns `thenable` object called `FilePromise`
instead of using the `promise` property.
* The `FileInfo` type renamed to `UFile` and updated.
* The `FilePromise` resolved with an object of the `UFile` type.
* The progress of `fileFrom` now based on the `FilePromiseProgress` type.
* Updated the `InfoResponse` type.

### Added

* The `checkFileIsReady` function to check if the file is ready on the CDN.
* New properties for the object that the `fileFrom` function returns:
`onUploaded`, `onReady`.
* The `camelizeKeys` function for inner usage.
* The `baseCDN` default setting

[1.0.0-alpha.1]: https://github.com/uploadcare/uploadcare-upload-client/compare/v1.0.0-alpha...v1.0.0-alpha.1

## 1.0.0-alpha

The first public alpha release.

Expand Down
Loading

0 comments on commit 4ba7687

Please sign in to comment.