Skip to content

v0.2.33

Choose a tag to compare

@github-actions github-actions released this 31 Jul 14:28
· 3434 commits to master since this release
ee72d26

Changelog

Features

Major changes

  • Merge DNP_DAPPMANAGER and DNP_ADMIN into a monorepo. Binds the ADMIN and DAPPMANAGER so their versions never go out of sync. This has caused serious problems in the past since DAppNode is ideally only controlled via this UI. Therefore if a breaking change update goes wrong, the UI may become unusable. Also, it makes development more agile, one less package to maintain, and results in a unique place for users to open issues.
    • Move ADMIN source code into this repo.
    • Serve the ADMIN UI in DAPPMANAGER's HTTP API
  • Migrate from WAMP (Crossbar) to plain JSON RPC for communications with the DAPPMANAGER. While a powerful concept WAMP does not provide a major advantage to DAppNode since all communication happens through the DAPPMANAGER. WAMP adds complexity and consumes unnecessary resources for a task that can be accomplished with a regular HTTP server inside the DM.

Bugs

  • Make sure docker-compose ENVs are in an array format. Fixes #307
  • Use node-fetch instead of wget to fetch public IPs. Fixes #321
  • Image download cache must re-download diff images with the same semver
  • Emit package changed events after a core update rollback
  • Sanitize dependencies stored in package labels. Fixes #391.

Minor changes

  • Be able to disable the WIFI package from the UI. Fixes dappnode/DAppNode#141.
  • Don't parse ansi in Terminal window to prevent stripping html tags. Fixes. dappnode/DNP_ADMIN#446
  • Use publicIp to troubleshoot if the DAppNode is connected to the internet. FIxes dappnode/DAppNode#140
  • Enable LOG_LEVEL to be customized from the UI. Fixes #392
  • Use ethers to prepare ARM64 support
  • Improve internal logger
    • Use source maps + stack traces to automatically identify the location of a log without a factory
    • Allow any type and number of arguments to the logger. Abstracts logging formatting to make logging more succinct and less error-prone
  • Isolate compose utils into a dedicated module. Strongly test and modularize this critical module to minimize the chance of corrupting docker-compose.yml files. Fixes dappnode/DNP_ADMIN#443, #351.
  • Store userActionLogs to a JSON based DB instead of using Winston. Eliminates the need to manually parse log files, which has caused issues in the past.
  • Minimize calls to docker system df
  • Improve type safety: remove all unnecessary type castings
  • Use swr to simplify front-end data fetching code
  • Standardize package routes. Use a consistent reverse DNS notation.
  • Remove unwanted console.log, police them with an eslint rule
  • Use memoize and the docker api for getDappmanagerImage

Install package

http://my.dappnode/#/installer/%2Fipfs%2FQmckbFJHHcAT7bPgyfSLT9ZeYQgr8f9QTXXzhNc5NduBHd

/ipfs/QmckbFJHHcAT7bPgyfSLT9ZeYQgr8f9QTXXzhNc5NduBHd

Publish transaction

To: 0x0C564CA7B948008fB324268D8baEDAEb1bd47BcE
Value: 0
Data: 0x73053410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000021000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000342f697066732f516d636b62464a4848634154376250677966534c54395a6559516772386639515458587a684e63354e6475424864000000000000000000000000
Gas limit: 300000

You can execute this transaction from the Admin UI with Metamask by following this pre-filled link