Skip to content

Commit c37df82

Browse files
danielmainnikolaglumaclucas-barrosDominikGuzeirenanvalentin
authored
release/4.7.0 into master (#2820)
Co-authored-by: Nikola Glumac <[email protected]> Co-authored-by: Lucas <[email protected]> Co-authored-by: Dominik Guzei <[email protected]> Co-authored-by: Renan Ferreira <[email protected]> Co-authored-by: Michael Chappell <[email protected]> Co-authored-by: Tomislav Horaček <[email protected]> Co-authored-by: Daniel Main <[email protected]> Co-authored-by: Michael Bishop <[email protected]> Co-authored-by: Daniel Main <[email protected]> Co-authored-by: Lucas Araujo <[email protected]> Co-authored-by: Danilo Prates <[email protected]> Co-authored-by: Przemysław Włodek <[email protected]> Co-authored-by: Jean-Baptiste Giraudeau <[email protected]>
1 parent bd13ba1 commit c37df82

File tree

17 files changed

+1449
-938
lines changed

17 files changed

+1449
-938
lines changed

.babelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"plugins": [
88
["@babel/plugin-proposal-decorators", { "legacy": true }],
99
["@babel/plugin-proposal-class-properties", { "loose": true }],
10+
["@babel/plugin-proposal-private-property-in-object", { "loose": true }],
1011
[
1112
"@babel/plugin-proposal-private-methods",
1213
{

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"parser": "babel-eslint",
2+
"parser": "@babel/eslint-parser",
33
"parserOptions": {
44
"ecmaFeatures": {
55
"legacyDecorators": true

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 4.7.0
4+
5+
### Features
6+
7+
- Updated Catalyst dates ([PR 2812](https://github.com/input-output-hk/daedalus/pull/2812))
8+
9+
### Fixes
10+
11+
- Fixed receiver address validation by disallowing rewards addresses ([PR 2781](https://github.com/input-output-hk/daedalus/pull/2781))
12+
13+
### Chores
14+
15+
- Updated `trezor-connect` dependency to version `8.2.4` ([PR 2726](https://github.com/input-output-hk/daedalus/pull/2726))
16+
- Updated vulnerable dependencies ([PR 2769](https://github.com/input-output-hk/daedalus/pull/2769))
17+
- Updated CWB and Cardano Node ([PR 2799](https://github.com/input-output-hk/daedalus/pull/2799))
18+
319
## 4.6.0
420

521
### Features

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,25 @@ Daedalus - Cryptocurrency Wallet
2626
```
2727
and then add the following lines:
2828
```
29+
build-users-group = nixbld
30+
31+
max-jobs = auto
32+
cores = 0
33+
sandbox = false
34+
35+
require-sigs = true
36+
trusted-users = root
37+
allowed-users = *
38+
2939
substituters = https://hydra.iohk.io https://cache.nixos.org/
3040
trusted-substituters =
3141
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
32-
max-jobs = 2 # run at most two builds at once
33-
cores = 0 # the builder will use all available CPU cores
34-
extra-sandbox-paths = /System/Library/Frameworks
42+
extra-sandbox-paths = /System/Library/Frameworks /System/Library/PrivateFrameworks /usr/lib
43+
44+
# If you are running on a Mac with M1 chip please uncomment 'system' setting to enforce running on Rosetta2
45+
# system = x86_64-darwin
3546
```
47+
3648
3. Run `nix-shell` with correct list of arguments or by using existing `package.json` scripts to load a shell with all the correct versions of all the required dependencies for development.
3749

3850
**Notes:**

installers/common/MacInstaller.hs

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ sign_cmd "$ABS_PATH/Contents/Resources/app/build/HID.node"
152152
sign_cmd "$ABS_PATH/Contents/Resources/app/node_modules/keccak/bin/darwin-x64-"*"/keccak.node"
153153
sign_cmd "$ABS_PATH/Contents/Resources/app/node_modules/keccak/build/Release/addon.node"
154154
sign_cmd "$ABS_PATH/Contents/Resources/app/node_modules/keccak/prebuilds/darwin-x64/node.napi.node"
155+
sign_cmd "$ABS_PATH/Contents/Resources/app/node_modules/blake-hash/prebuilds/darwin-x64/node.napi.node"
156+
sign_cmd "$ABS_PATH/Contents/Resources/app/node_modules/tiny-secp256k1/build/Release/secp256k1.node"
155157

156158
# Sign the whole component deeply
157159
sign_cmd "$ABS_PATH"
@@ -232,60 +234,66 @@ buildElectronApp darwinConfig@DarwinConfig{dcAppName, dcAppNameApp} installerCon
232234
externalYarn :: [FilePath]
233235
externalYarn =
234236
[ "@babel"
237+
, "@protobufjs"
235238
, "@trezor"
236239
, "base-x"
237240
, "base64-js"
238241
, "bchaddrjs"
242+
, "bech32"
239243
, "big-integer"
240-
, "bigi"
241244
, "bignumber.js"
242245
, "bip66"
243246
, "bitcoin-ops"
244247
, "blake2b"
248+
, "blake-hash"
245249
, "blake2b-wasm"
250+
, "bn.js"
251+
, "brorand"
246252
, "bs58"
247253
, "bs58check"
248-
, "bytebuffer-old-fixed-webpack"
254+
, "bytebuffer"
249255
, "call-bind"
250256
, "cashaddrjs"
251257
, "cbor-web"
252258
, "create-hash"
253259
, "create-hmac"
254260
, "cross-fetch"
255261
, "define-properties"
256-
, "ecurve"
262+
, "elliptic"
257263
, "es-abstract"
258264
, "function-bind"
259265
, "get-intrinsic"
260266
, "has"
261267
, "has-symbols"
262-
, "hd-wallet"
268+
, "hash.js"
269+
, "hmac-drbg"
263270
, "ieee754"
264271
, "inherits"
265272
, "int64-buffer"
266273
, "js-chain-libs-node"
267274
, "json-stable-stringify"
268275
, "keccak"
269276
, "long"
270-
, "merkle-lib"
271277
, "ms"
278+
, "minimalistic-assert"
279+
, "minimalistic-crypto-utils"
272280
, "nanoassert"
273281
, "node-fetch"
274282
, "object-keys"
275283
, "object.values"
276284
, "parse-uri"
277-
, "protobufjs-old-fixed-webpack"
285+
, "protobufjs"
278286
, "pushdata-bitcoin"
279-
, "queue"
280287
, "randombytes"
281288
, "regenerator-runtime"
282289
, "runtypes"
283290
, "safe-buffer"
284291
, "semver-compare"
285292
, "tiny-worker"
286293
, "trezor-connect"
287-
, "trezor-link"
294+
, "tiny-secp256k1"
288295
, "typeforce"
296+
, "util-deprecate"
289297
, "varuint-bitcoin"
290298
, "wif"
291299
]

installers/nix/electron.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
libxkbcommon }:
33

44
let
5-
version = "13.1.1";
5+
version = "13.6.3";
66
name = "electron-${version}";
77

88
throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
@@ -21,19 +21,19 @@ let
2121
src = {
2222
i686-linux = fetchurl {
2323
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-ia32.zip";
24-
sha256 = "fed00edaaba0c4a615fe835baf7d0d0ff893dff902800006bf63cc994c24d3dd";
24+
sha256 = "db9261c05ed57af2fcd4a84b89d299c76948b9d57ce0dba38e3240eb43935257";
2525
};
2626
x86_64-linux = fetchurl {
2727
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-x64.zip";
28-
sha256 = "eb6ae81d71a4d390ec5140d907b191a84c37621176eec9369bb6fc3bf8570e3b";
28+
sha256 = "7607422a4ba80cda4bd7fefb2fbe2f4e0b9a73db92e1e82dc01012a85b5d0d2b";
2929
};
3030
armv7l-linux = fetchurl {
3131
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-armv7l.zip";
32-
sha256 = "7e745a38c6761fa9826b3b9b8d0bd060126a3949da6f3f09f11b842e5e22cee4";
32+
sha256 = "a293a9684e16a427a9f68d101814575a4b1dd232dc3fca47552f906019a6cadc";
3333
};
3434
aarch64-linux = fetchurl {
3535
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-arm64.zip";
36-
sha256 = "445c88e9c9b33abbdb263103736fb5203938b0643bc5377fbdf12b444d26f211";
36+
sha256 = "1599d259832c806b98751a68fb93112711963d259024f0e36f12f064995b3251";
3737
};
3838
}.${stdenv.hostPlatform.system} or throwSystem;
3939

@@ -59,11 +59,11 @@ let
5959
src = {
6060
x86_64-darwin = fetchurl {
6161
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-darwin-x64.zip";
62-
sha256 = "1594ba9aa2e2aa059a03e6b70e16b8116de1998b38f8360801e113fa8d72938c";
62+
sha256 = "6bf09794d6f020bbaaf806a7758da125137b3c96646f4503eb81b9541e50e02f";
6363
};
6464
aarch64-darwin = fetchurl {
6565
url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-darwin-arm64.zip";
66-
sha256 = "7045538917c36214127b7f11a3223396c7199ac19e989e5648a0963773962e6c";
66+
sha256 = "374ddf0581794b31eee900828172f9218193c032c0e46bffcfac6aec95c22f1a";
6767
};
6868
}.${stdenv.hostPlatform.system} or throwSystem;
6969

0 commit comments

Comments
 (0)