From 5b4b2d1cad9af5e7174e222ad64a22e235d4cf37 Mon Sep 17 00:00:00 2001 From: Maksym Nesterov Date: Fri, 1 Mar 2019 16:21:22 +0200 Subject: [PATCH] 1.3.0 (the first public release) --- CHANGELOG.md | 195 +------------------------------------------------- envs/local.js | 6 +- envs/prod.js | 6 +- package.json | 4 +- yarn.lock | 8 +-- 5 files changed, 15 insertions(+), 204 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f9a84100..13cb1774f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,196 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Please check our [developers guide](https://gitlab.com/tokend/developers-guide) for further information about branching and tagging conventions. -## [1.0.0-rc.7] - 2019-02-27 -### Added -- `assetType` to `asset.record` -- Loader to `AssetCreateForm` -- `assetType` to `asset-create.record` -- `` to the `SaleCard` component -- `UserDoesntExistError` handling -- Message while loading assets & balances on the movements page -- No data messages for `AssetsExplore` & `Balances` pages -- "Use mine" button for pre-issued asset signer field on the `AssetCreateForm` -- Message about no assets pairs exists in the system +## [1.3.0] - 2019-03-01 -### Fixed -- Fixed bug with displaying isRequiresKYC in AssetRequestDetails -- Fix bug with assetType select -- Removed displaying assetType in AssetUpdateRequestRecord -- Bug with displaying `isRequiresKYC` in `AssetRequestDetails` -- Bug with assetType select -- Wrapping sale description into a blob on the `CreateSaleForm` -- Sale description loading -- Hiding `More` button while loading the movements -- Displaying percent fees & fee assets on the fees page -- Trade chart displaying -- Buttons position on Verify page -- Drop down text overflow - -### Added -- Added assetType in to asset.record -- Add loader in to AssetCreateForm -- Add assetType in to asset-create.record -- Add error handling UserDoesntExistError -- Add NotFound error handler in to recovery form - -### Changed -- Remove in AssetUpdateForm tick-field 'requiresKyc' -- Rename `isUpdate` -> `isUpdateMode` on the `CreateSaleForm` -- Favicon -- Contact email in terms (now enterprise@distributedlab.com) -- `vueRoutes` structure: no nested routes -- Withdrawal validation message - -### Removed -- Escape pressing handler in Drawer. The Drawer will no longer close by clicking on Escape button -- Ability to enter date manually in all date fields -- Tick field `requiresKyc` from `AssetUpdateForm` -- `viewSale` method from `Sales` component -- Displaying `assetType` in `AssetUpdateRequestRecord` - -## [1.0.0-rc.6] - 2019-02-25 -### Fixed -- Closing `CreateSaleForm` after submitting -- Using asset records instead of asset codes in `CreateSaleForm` -- Populating `CreateSaleForm` -- Using `saleEnumType` for sale type - -## [1.0.0-rc.5] - 2019-02-25 -### Fixed -- Add loadKvEntriesAccountRoleIds after sign in -- Lower case email before submitting on Login, Sign up and Recovery -- Ability to update pending sale & asset requests -- Request details fields: - - `preIssuanceCreate` -> `createPreIssuance` - - `assetCreate` -> `createAsset` -- `LimitsUpdateRequestRecord` `updateLimits` details field -- Asset request records mocks & unit tests - -### Changed -- Local environment from `anubis` to `angus` -- `LimitsUpdateRequestRecord` field `requestType` to `limitsRequestType` - -## [1.0.0-rc.4] - 2019-02-23 -### Added -- `Api` class, representing SDK class `ApiCaller` -- `ACCOUNT_ROLES` constant to the config -- `REQUEST_TYPES` constant -- `ChangeRoleRequestRecord` wrapper for change role requests -- `Api` instance to the `MockHelper` -- `JsonapiResponse` to the `MockWrapper` -- vuex module for API `key-value` storage -- `UserDoesntExistError`, when user's account is not found -- `IdentityGetterMixin` for getting user's email by their account ID & vice versa -- Loading account roles from the key-value storage -- The message about token existing in user balances after chose some token on the Explore tokes page - -### Fixed -- `RecordWrapper.request`, `RequestRecord` according to the new request types -- failed unit tests - -### Changed -- Use sdk version 1.0.0-x.15 -- Use `Api` class for the new API requests -- Use `accountRoleId` instead of `accountType` -- Use `vuexTypes.accountId` getter instead of `vuexTypes.account.accountId` one -- Use `CreateChangeRoleRequestBuilder.createChangeRoleRequest` instead of `CreateUpdateKYCRequestBuilder.createUpdateKYCRequest` -- Use `IdentityGetterMixin` for getting account ID & email in `EmailGetter`, `IssuanceForm` & `TransferForm` -- Use `vuexTypes.kvEntryGeneralRoleId` & `vuexTypes.kvEntryCorporateRoleId` for making chane role operation -- Change role request mocks according to the new API responses -- Passing `creatorDetails` instead of `externalDetails` param in the `createIssuanceRequest` -- Passing `creatorDetails` instead of `externalDetails` param in the `createWithdrawWithAutoConversion` -- Passing `creatorDetails` instead of `details` in the `assetCreationRequest` -- Passing `creatorDetails` instead of `details` in the `assetUpdateRequest` -- Passing `creatorDetails` instead of `details` in the `createSaleCreationRequest` -- Rename PaymentV2 builder to Payment builder -- Renamed request types: - - `xdr.ReviewableRequestType.preIssuanceCreate` -> `xdr.ReviewableRequestType.createPreIssuance` - - `xdr.ReviewableRequestType.issuanceCreate` -> `xdr.ReviewableRequestType.createIssuance` - - `xdr.ReviewableRequestType.sale` -> `xdr.ReviewableRequestType.createSale` - - `xdr.ReviewableRequestType.limitsUpdate` -> `xdr.ReviewableRequestType.updateLimit` - - `xdr.ReviewableRequestType.amlAlert` -> `xdr.ReviewableRequestType.createAmlAlert` - - `xdr.ReviewableRequestType.updateKyc` -> `xdr.ReviewableRequestType.changeRole` - - `xdr.ReviewableRequestType.assetCreate` -> `xdr.ReviewableRequestType.createAsset` - - `xdr.ReviewableRequestType.assetUpdate` -> `xdr.ReviewableRequestType.updateAsset` -- Renamed fields with names like `details` to `creatorDetails` according to new XDR structs - - `createAmlAlert (opts)`: - - field `opts.reason -> opts.creatorDetails` - - `createWithdrawWithAutoConversion (opts)`: - - field `opts.externalDetails -> opts.creatorDetails` - - `assetCreationRequest (opts)`: - - field `opts.details -> opts.creatorDetails` - - `assetUpdateRequest (opts)`: - - field `opts.details -> opts.creatorDetails` - - `createSaleCreationRequest (opts)`: - - field `opts.details -> opts.creatorDetails` - - `createIssuanceRequest (opts)`: - - field `opts.externalDetails -> opts.creatorDetails` - - `createChangeRoleRequest (opts)`: - - field `opts.kycData -> opts.creatorDetails` - - `createUpdateSaleDetailsRequest (opts)`: - - field `opts.newDetails -> opts.creatorDetails` - - `createPreIssuanceRequestOp (opts)`: - - introduced field `opts.creatorDetails` - -### Removed -- Passing `kycLevelToSet` to `CreateChangeRoleRequestBuilder.createChangeRoleRequest` -- Unnecessary test mocks -- `UpdateKycRequestRecord` (replaced by `ChangeRoleRequestRecord`) -- Use of `ACCOUNT_TYPES` constant -- Countries list from `VerificationGeneralForm` -- Unused vuex getters - -## [1.0.0-rc.3] - 2019-02-21 -### Added -- CSS rule that prevents any events on disabled buttons. - -### Fixed -- Trade offer validations. Earlier, the user was able to enter invalid value without some error message but he cannot be able to send from, so it was confusing for him. -- Fix bug with asset create (lost `trailingDigitsCount` in op) -- Withdrawal form displaying - -## [1.0.0-rc.2] - 2019-02-20 -### Added -- Build version displaying - -## [1.0.0-rc.1] - 2019-02-20 -### Added -- `AssetPairRecord` for wrapping asset pairs -- Ability to cancel your trade order -- User account blocked error -- Transaction error -- Loading state for trades & operations pages -- Disabling select filters while loading - -### Changed -- `MatchRecord` initialization -- Displaying base & quote amount on `MatchOpDetails` -- Moved `TradeTopBar` to the root `Trade` component -- `Requests` menu item is shown only for syndicate users -- Use sdk version 1.0.0-x.9 - -### Removed -- Outdated license file - -### Fixed -- Displaying only tradable asset pairs on the trade page -- Chart margins -- Displaying order match operations -- Parsing operations on dashboard page -- Balances update after creating/updating your trade order -- Using `NoDataMessage` on operations page -- Auto login after recovery seed screen of sign-up -- Fixed many minor markup issues when no logged-in user have no balances at all - -## [1.0.0-rc.0] - 2019-02-18 - -[Unreleased]: https://github.com/tokend/web-client/compare/1.0.0-rc.7...HEAD -[1.0.0-rc.7]: https://github.com/tokend/web-client/compare/1.0.0-rc.6...1.0.0-rc.7 -[1.0.0-rc.6]: https://github.com/tokend/web-client/compare/1.0.0-rc.5...1.0.0-rc.6 -[1.0.0-rc.5]: https://github.com/tokend/web-client/compare/1.0.0-rc.4...1.0.0-rc.5 -[1.0.0-rc.4]: https://github.com/tokend/web-client/compare/1.0.0-rc.3...1.0.0-rc.4 -[1.0.0-rc.3]: https://github.com/tokend/web-client/compare/1.0.0-rc.2...1.0.0-rc.3 -[1.0.0-rc.2]: https://github.com/tokend/web-client/compare/1.0.0-rc.1...1.0.0-rc.2 -[1.0.0-rc.1]: https://github.com/tokend/web-client/compare/1.0.0-rc.0...1.0.0-rc.1 -[1.0.0-rc.0]: https://github.com/tokend/web-client/releases/tag/1.0.0-rc.0 +[Unreleased]: https://github.com/tokend/web-client/compare/1.3.0...HEAD +[1.3.0]: https://github.com/tokend/web-client/releases/tag/1.3.0 diff --git a/envs/local.js b/envs/local.js index b779c2c88..a2a0cd76b 100644 --- a/envs/local.js +++ b/envs/local.js @@ -1,6 +1,6 @@ module.exports = { NODE_ENV: '"default"', - HORIZON_SERVER: '"https://api.angus.tokend.io"', - FILE_STORAGE: '"https://s3-eu-west-1.amazonaws.com/angus-is"', - NETWORK_PASSPHRASE: '"Angus Network!"', + HORIZON_SERVER: '"http://localhost:8000/_/api/"', + FILE_STORAGE: '"http://localhost:8000/_/storage/api"', + NETWORK_PASSPHRASE: '"TokenD Developer Network"', } diff --git a/envs/prod.js b/envs/prod.js index 00ec1c68e..a2a0cd76b 100644 --- a/envs/prod.js +++ b/envs/prod.js @@ -1,6 +1,6 @@ module.exports = { NODE_ENV: '"default"', - HORIZON_SERVER: '"https://testnet.tokend.org/_/api"', - FILE_STORAGE: '"https://storage.testnet.tokend.org/api"', - NETWORK_PASSPHRASE: '"TokenD Testnet Network"' + HORIZON_SERVER: '"http://localhost:8000/_/api/"', + FILE_STORAGE: '"http://localhost:8000/_/storage/api"', + NETWORK_PASSPHRASE: '"TokenD Developer Network"', } diff --git a/package.json b/package.json index 0841c3e7d..06e5de946 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tokend-web-client", - "version": "1.0.0-rc.7", + "version": "1.3.0", "description": "TokenD web-client", "author": "Distributed Lab ", "private": true, @@ -20,7 +20,7 @@ }, "dependencies": { "@mdi/font": "3.3.92", - "@tokend/js-sdk": "1.0.0-x.19", + "@tokend/js-sdk": "1.3.0", "bignumber.js": "8.0.1", "clipboard": "2.0.4", "d3": "5.7.0", diff --git a/yarn.lock b/yarn.lock index d986ed1e4..03b47cc1c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -654,10 +654,10 @@ array-from "^2.1.1" lodash.get "^4.4.2" -"@tokend/js-sdk@1.0.0-x.17": - version "1.0.0-x.17" - resolved "https://registry.yarnpkg.com/@tokend/js-sdk/-/js-sdk-1.0.0-x.17.tgz#4ab2deceaa535fc0c40d1e980878a299052c6bb8" - integrity sha512-olw7VtcUNp30FWEA6R8bS1Q5uG6rsYvUn4Yc8rVanpO54CjvE6h8OUShjwvAhJX4prlmB/1SG3ukz/yjCZiDIA== +"@tokend/js-sdk@1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@tokend/js-sdk/-/js-sdk-1.3.0.tgz#c377099adb0526bfd7cd7660ac81115d5d89e245" + integrity sha512-vQuId/miSkKqYYxLBV70TP7RW8y2qNZAs3U2zs+MuWmgMu3L8ET0MWNOAWPY0qSue4uTX5GOTcXC04tWycRlYQ== dependencies: axios "0.16.2" base32.js "0.1.0"