-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from onfido/prepare-release
Release 0.8.0 preparation
- Loading branch information
Showing
5 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,22 +4,23 @@ This project adheres to the Node default version scheme, meaning It's safe to us | |
The standard for the caret can [be found here](https://docs.npmjs.com/misc/semver#caret-ranges-123-025-004). | ||
Breaking changes result in a different major. UI changes that might break customizations on top of the sdk, will be treated as breaking changes too. | ||
|
||
## [New version] | ||
|
||
### Added | ||
- Internal: The document capture step now has a strategy to cope with slow responses from the server when requesting to validate documents. If the number of unprocessed documents is 3+, it stops sending more until a response is given. | ||
- Public: The capture screen UI now includes an upload button fallback, for whenever the user is experiencing problems with the webcam. | ||
- Internal: `webp` falls back to `jpeg` in case the browser does not support it. | ||
## [0.8.0] | ||
|
||
### Changed | ||
- Public: Captures are now returned as `png` instead of `webp`, `webp` is still used internally for streaming to the server. | ||
- Public: Captures are now returned as `png` instead of `webp`, although `webp` is still used internally for streaming to the server. | ||
- Public: the captures returned by `Onfido.getCaptures()` have a simplified signature of just `{id,image,documentType}`. | ||
- Public: It's now possible to open and close the modal by calling `.setOptions({isModalOpen:boolean})` | ||
- Internal: The modal has been refactored to be fully reactive, `vanilla-modal` has been replaced with a fork of `react-modal`. | ||
- Internal: Updated to `[email protected]`, selectors are now more general as in they are no longer specific to each capture type, some new selectors are also being used. | ||
- Internal: `Camera`, `Capture` and `Uploader` have been refactored, the pure part of the components have been separated from the "impure"/state logic part. This adds flexibility and encapsulation. | ||
- Internal: `Camera`, `Capture` and `Uploader` have been refactored, the pure part of the components have been separated from the state logic part. This adds flexibility and encapsulation. | ||
- Internal: The `Capture` component now orchestrates all the state logic of the `Uploader` component, this allows to join the camera and uploader state logic together. | ||
|
||
### Added | ||
- Public: The capture screen UI now includes an upload button fallback, for whenever the user experiences problems with the webcam. | ||
- Internal: When requesting to validate documents there is now a strategy to cope with slow responses from the server. If the number of unprocessed documents is 3+, the client stops sending more requests until a response is given. | ||
- Internal: `webp` falls back to `jpeg` in case the browser does not support it. | ||
|
||
|
||
## [0.7.0] | ||
|
||
|
@@ -64,7 +65,8 @@ Breaking changes result in a different major. UI changes that might break custom | |
|
||
The standard for this change log can be found [here](http://keepachangelog.com/). | ||
|
||
[0.7.0]: https://github.com/onfido/onfido-sdk-ui/compare/0.5.1...0.7.0 | ||
[0.8.0]: https://github.com/onfido/onfido-sdk-ui/compare/0.7.0...0.8.0 | ||
[0.7.0]: https://github.com/onfido/onfido-sdk-ui/compare/0.6.1...0.7.0 | ||
[0.6.1]: https://github.com/onfido/onfido-sdk-ui/compare/0.5.1...0.6.1 | ||
[0.5.1]: https://github.com/onfido/onfido-sdk-ui/compare/0.5.0...0.5.1 | ||
[0.5.0]: https://github.com/onfido/onfido-sdk-ui/compare/0.4.0...0.5.0 |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters