From 723af49db7bd3aaf1e49e4f53df9141912ff8175 Mon Sep 17 00:00:00 2001 From: Christoph Burgdorf Date: Thu, 18 Jun 2020 11:09:59 +0200 Subject: [PATCH] Compile release notes --- docs/release_notes.rst | 89 +++++++++++++++++++++++++++++++++ newsfragments/1491.feature.rst | 1 - newsfragments/1569.feature.rst | 9 ---- newsfragments/1595.feature.rst | 1 - newsfragments/1599.feature.rst | 1 - newsfragments/1604.feature.rst | 1 - newsfragments/1606.feature.rst | 1 - newsfragments/1611.internal.rst | 2 - newsfragments/1627.feature.rst | 4 -- newsfragments/1633.doc.rst | 1 - newsfragments/1649.bugfix.rst | 5 -- newsfragments/1653.internal.rst | 6 --- newsfragments/1659.doc.rst | 1 - newsfragments/1672.internal.rst | 2 - newsfragments/1675.removal.rst | 1 - newsfragments/1680.feature.rst | 1 - newsfragments/1681.feature.rst | 1 - newsfragments/1699.feature.rst | 1 - newsfragments/1707.feature.rst | 6 --- newsfragments/1713.feature.rst | 1 - newsfragments/1714.feature.rst | 3 -- newsfragments/1724.bugfix.rst | 2 - newsfragments/1749.bugfix.rst | 1 - newsfragments/1749.internal.rst | 1 - newsfragments/1761.feature.rst | 2 - newsfragments/1768.feature.rst | 2 - newsfragments/1779.doc.rst | 1 - newsfragments/1781.feature.rst | 1 - newsfragments/1782.bugfix.rst | 1 - newsfragments/1786.bugfix.rst | 1 - 30 files changed, 89 insertions(+), 61 deletions(-) delete mode 100644 newsfragments/1491.feature.rst delete mode 100644 newsfragments/1569.feature.rst delete mode 100644 newsfragments/1595.feature.rst delete mode 100644 newsfragments/1599.feature.rst delete mode 100644 newsfragments/1604.feature.rst delete mode 100644 newsfragments/1606.feature.rst delete mode 100644 newsfragments/1611.internal.rst delete mode 100644 newsfragments/1627.feature.rst delete mode 100644 newsfragments/1633.doc.rst delete mode 100644 newsfragments/1649.bugfix.rst delete mode 100644 newsfragments/1653.internal.rst delete mode 100644 newsfragments/1659.doc.rst delete mode 100644 newsfragments/1672.internal.rst delete mode 100644 newsfragments/1675.removal.rst delete mode 100644 newsfragments/1680.feature.rst delete mode 100644 newsfragments/1681.feature.rst delete mode 100644 newsfragments/1699.feature.rst delete mode 100644 newsfragments/1707.feature.rst delete mode 100644 newsfragments/1713.feature.rst delete mode 100644 newsfragments/1714.feature.rst delete mode 100644 newsfragments/1724.bugfix.rst delete mode 100644 newsfragments/1749.bugfix.rst delete mode 100644 newsfragments/1749.internal.rst delete mode 100644 newsfragments/1761.feature.rst delete mode 100644 newsfragments/1768.feature.rst delete mode 100644 newsfragments/1779.doc.rst delete mode 100644 newsfragments/1781.feature.rst delete mode 100644 newsfragments/1782.bugfix.rst delete mode 100644 newsfragments/1786.bugfix.rst diff --git a/docs/release_notes.rst b/docs/release_notes.rst index a15141d1b5..38aa78727d 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -5,6 +5,95 @@ Trinity is moving fast. Read up on all the latest improvements. .. towncrier release notes start +Trinity 0.1.0-alpha.36 (2020-06-18) +----------------------------------- + +Features +~~~~~~~~ + +- Implement ``admin_peers`` JSON-RPC API (`#1491 `__) +- Implement basic metrics tracking. With this change Trinity supports collecting + and writing metrics to InfluxDB to be further processed and visualized + by Grafana. + + Run Trinity with ``--enable-metrics --metrics-host "mymachine"`` and provide + the Influx server and password via the following two environment variables: + + - ``TRINITY_METRICS_INFLUX_DB_SERVER`` + - ``TRINITY_METRICS_INFLUX_DB_PW`` (`#1569 `__) +- Monitor the total number of incoming and outgoing packets in Influx/Grafana (`#1595 `__) +- Monitor the number of peers in Grafana (`#1599 `__) +- The `--ethstats` flag is now named `--enable-ethstats` to improve consistency. (`#1604 `__) +- Don't let `CompressedLengthError` escape and be written to the console. (`#1606 `__) +- Add partial support for `eth/65`. Recognize the protocol with its new commands + and support it across all internal infrastructure. The built-in "transaction pool" + does not yet use the ``NewPooledTransactionHashes`` command yet and answers + ``GetPooledTransactions`` with empty responses. (`#1627 `__) +- Allow for Influxdb port & protocol to be configured via cli arguments. (`#1680 `__) +- Upgrade to py-evm v0.3.0-alpha.15 -- gives access to block state witnesses (`#1681 `__) +- Support reporting of the current head for connected peers to influx / grafana. (`#1699 `__) +- Rename ``--beam-from-checkpoint`` to ``--sync-from-checkpoint`` + + Ensure sync related flags show up under ``--sync-mode`` section in ``--help`` + + Add new ``--sync-mode header`` to only sync the header chain on the ETH network. + This does also support launching from a checkpoint via ``--sync-from-checkpoint`` flag. (`#1707 `__) +- Report trinity process and thread count to grafana. (`#1713 `__) +- Implement backfilling of gaps in the header chain (introduced through checkpointing) for + sync modes ``header`` and ``beam``. This background job can be disable via + the ``--disable-backfill`` flag. (`#1714 `__) +- Upgraded py-evm to v0.3.0-alpha.16 -- See `py-evm's release notes + `_ (`#1761 `__) +- Upgraded py-evm to v0.3.0-alpha.17 -- See `py-evm v0.3.0-alpha.17 release notes + `_ (`#1768 `__) +- Increase the tip distance for etherscan checkpoint resolving from 50 to 5000 blocks. (`#1781 `__) + + +Bugfixes +~~~~~~~~ + +- Fix the propagation of transactions which was broken when the transaction pool + was moved into an isolated component. + + Also the transaction pool tests now do assertions based on what the remote + pool actually receives instead of based on what we appear to be sending out. (`#1649 `__) +- Squash some deprecation warnings, by upgrading to eth-keys v0.3.3, eth-tester v0.4.0-beta.2, + and web3.py v5.9.0 (`#1724 `__) +- Return checksum address for ``to`` field in ``eth_getTransactionReceipt`` RPC API (`#1749 `__) +- Fix etherscan checkpoint resolving for Ropsten and Görli. (`#1782 `__) +- Fix beam sync crashing when running under Clique consensus (e.g. Görli) (`#1786 `__) + + +Improved Documentation +~~~~~~~~~~~~~~~~~~~~~~ + +- Add API docs for various proxy events under ``trinity.protocol.*`` (`#1633 `__) +- Add a guide on how to setup local monitoring with InfluxDB and Grafana (`#1659 `__) +- Add cookbook recipe on how to sync from a trusted checkpoint. (`#1779 `__) + + +Deprecations and Removals +~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Drop support for Python 3.6 making Python 3.7 the minimal supported Python version. (`#1675 `__) + + +Internal Changes - for Trinity Contributors +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Remove test that scans for unhandled errors when the transaction pool is disabled. + Disabling the transaction pool is unlikely to increase the chance of error. (`#1611 `__) +- Upgrade latest lahja 0.16.0 + + With the new release the event bus raises exceptions if events or requests + are send into the void, meaning when no active subscribers exist. This can + be explicitly allowed if desired by setting ``require_subscriber`` to ``False`` + when broadcasting events or making requests. (`#1653 `__) +- Improve test coverage of Ethereum Wire Protocol making sure that certain tests ran across + all supported protocols from ETH/63 to ETH/65. (`#1672 `__) +- Run RPC API tests against Istanbul fixtures (`#1749 `__) + + Trinity 0.1.0-alpha.35 (2020-03-03) ----------------------------------- diff --git a/newsfragments/1491.feature.rst b/newsfragments/1491.feature.rst deleted file mode 100644 index b0d356da72..0000000000 --- a/newsfragments/1491.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Implement ``admin_peers`` JSON-RPC API \ No newline at end of file diff --git a/newsfragments/1569.feature.rst b/newsfragments/1569.feature.rst deleted file mode 100644 index 946343dc1e..0000000000 --- a/newsfragments/1569.feature.rst +++ /dev/null @@ -1,9 +0,0 @@ -Implement basic metrics tracking. With this change Trinity supports collecting -and writing metrics to InfluxDB to be further processed and visualized -by Grafana. - -Run Trinity with ``--enable-metrics --metrics-host "mymachine"`` and provide -the Influx server and password via the following two environment variables: - -- ``TRINITY_METRICS_INFLUX_DB_SERVER`` -- ``TRINITY_METRICS_INFLUX_DB_PW`` \ No newline at end of file diff --git a/newsfragments/1595.feature.rst b/newsfragments/1595.feature.rst deleted file mode 100644 index bea7419d5f..0000000000 --- a/newsfragments/1595.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Monitor the total number of incoming and outgoing packets in Influx/Grafana \ No newline at end of file diff --git a/newsfragments/1599.feature.rst b/newsfragments/1599.feature.rst deleted file mode 100644 index 3e7136b9ac..0000000000 --- a/newsfragments/1599.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Monitor the number of peers in Grafana \ No newline at end of file diff --git a/newsfragments/1604.feature.rst b/newsfragments/1604.feature.rst deleted file mode 100644 index 875f00ae70..0000000000 --- a/newsfragments/1604.feature.rst +++ /dev/null @@ -1 +0,0 @@ -The `--ethstats` flag is now named `--enable-ethstats` to improve consistency. \ No newline at end of file diff --git a/newsfragments/1606.feature.rst b/newsfragments/1606.feature.rst deleted file mode 100644 index 55557fe02e..0000000000 --- a/newsfragments/1606.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Don't let `CompressedLengthError` escape and be written to the console. \ No newline at end of file diff --git a/newsfragments/1611.internal.rst b/newsfragments/1611.internal.rst deleted file mode 100644 index 8ce6d6334a..0000000000 --- a/newsfragments/1611.internal.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove test that scans for unhandled errors when the transaction pool is disabled. -Disabling the transaction pool is unlikely to increase the chance of error. \ No newline at end of file diff --git a/newsfragments/1627.feature.rst b/newsfragments/1627.feature.rst deleted file mode 100644 index 6469d3d623..0000000000 --- a/newsfragments/1627.feature.rst +++ /dev/null @@ -1,4 +0,0 @@ -Add partial support for `eth/65`. Recognize the protocol with its new commands -and support it across all internal infrastructure. The built-in "transaction pool" -does not yet use the ``NewPooledTransactionHashes`` command yet and answers -``GetPooledTransactions`` with empty responses. \ No newline at end of file diff --git a/newsfragments/1633.doc.rst b/newsfragments/1633.doc.rst deleted file mode 100644 index 0313593e79..0000000000 --- a/newsfragments/1633.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Add API docs for various proxy events under ``trinity.protocol.*`` \ No newline at end of file diff --git a/newsfragments/1649.bugfix.rst b/newsfragments/1649.bugfix.rst deleted file mode 100644 index fdf0f8f2ef..0000000000 --- a/newsfragments/1649.bugfix.rst +++ /dev/null @@ -1,5 +0,0 @@ -Fix the propagation of transactions which was broken when the transaction pool -was moved into an isolated component. - -Also the transaction pool tests now do assertions based on what the remote -pool actually receives instead of based on what we appear to be sending out. \ No newline at end of file diff --git a/newsfragments/1653.internal.rst b/newsfragments/1653.internal.rst deleted file mode 100644 index d3aed5bb63..0000000000 --- a/newsfragments/1653.internal.rst +++ /dev/null @@ -1,6 +0,0 @@ -Upgrade latest lahja 0.16.0 - -With the new release the event bus raises exceptions if events or requests -are send into the void, meaning when no active subscribers exist. This can -be explicitly allowed if desired by setting ``require_subscriber`` to ``False`` -when broadcasting events or making requests. \ No newline at end of file diff --git a/newsfragments/1659.doc.rst b/newsfragments/1659.doc.rst deleted file mode 100644 index 27eddba195..0000000000 --- a/newsfragments/1659.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Add a guide on how to setup local monitoring with InfluxDB and Grafana \ No newline at end of file diff --git a/newsfragments/1672.internal.rst b/newsfragments/1672.internal.rst deleted file mode 100644 index 689836ac1c..0000000000 --- a/newsfragments/1672.internal.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve test coverage of Ethereum Wire Protocol making sure that certain tests ran across -all supported protocols from ETH/63 to ETH/65. \ No newline at end of file diff --git a/newsfragments/1675.removal.rst b/newsfragments/1675.removal.rst deleted file mode 100644 index 6c0eadc894..0000000000 --- a/newsfragments/1675.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Drop support for Python 3.6 making Python 3.7 the minimal supported Python version. \ No newline at end of file diff --git a/newsfragments/1680.feature.rst b/newsfragments/1680.feature.rst deleted file mode 100644 index 3cb74d215b..0000000000 --- a/newsfragments/1680.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Allow for Influxdb port & protocol to be configured via cli arguments. diff --git a/newsfragments/1681.feature.rst b/newsfragments/1681.feature.rst deleted file mode 100644 index d7f4755fe9..0000000000 --- a/newsfragments/1681.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade to py-evm v0.3.0-alpha.15 -- gives access to block state witnesses diff --git a/newsfragments/1699.feature.rst b/newsfragments/1699.feature.rst deleted file mode 100644 index f32624dfd8..0000000000 --- a/newsfragments/1699.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Support reporting of the current head for connected peers to influx / grafana. diff --git a/newsfragments/1707.feature.rst b/newsfragments/1707.feature.rst deleted file mode 100644 index 9387608494..0000000000 --- a/newsfragments/1707.feature.rst +++ /dev/null @@ -1,6 +0,0 @@ -Rename ``--beam-from-checkpoint`` to ``--sync-from-checkpoint`` - -Ensure sync related flags show up under ``--sync-mode`` section in ``--help`` - -Add new ``--sync-mode header`` to only sync the header chain on the ETH network. -This does also support launching from a checkpoint via ``--sync-from-checkpoint`` flag. \ No newline at end of file diff --git a/newsfragments/1713.feature.rst b/newsfragments/1713.feature.rst deleted file mode 100644 index 0674985b6e..0000000000 --- a/newsfragments/1713.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Report trinity process and thread count to grafana. diff --git a/newsfragments/1714.feature.rst b/newsfragments/1714.feature.rst deleted file mode 100644 index 85a7241ec9..0000000000 --- a/newsfragments/1714.feature.rst +++ /dev/null @@ -1,3 +0,0 @@ -Implement backfilling of gaps in the header chain (introduced through checkpointing) for -sync modes ``header`` and ``beam``. This background job can be disable via -the ``--disable-backfill`` flag. \ No newline at end of file diff --git a/newsfragments/1724.bugfix.rst b/newsfragments/1724.bugfix.rst deleted file mode 100644 index 7ad17f207f..0000000000 --- a/newsfragments/1724.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Squash some deprecation warnings, by upgrading to eth-keys v0.3.3, eth-tester v0.4.0-beta.2, -and web3.py v5.9.0 diff --git a/newsfragments/1749.bugfix.rst b/newsfragments/1749.bugfix.rst deleted file mode 100644 index 29c7bf3c62..0000000000 --- a/newsfragments/1749.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Return checksum address for ``to`` field in ``eth_getTransactionReceipt`` RPC API \ No newline at end of file diff --git a/newsfragments/1749.internal.rst b/newsfragments/1749.internal.rst deleted file mode 100644 index 973d92a598..0000000000 --- a/newsfragments/1749.internal.rst +++ /dev/null @@ -1 +0,0 @@ -Run RPC API tests against Istanbul fixtures \ No newline at end of file diff --git a/newsfragments/1761.feature.rst b/newsfragments/1761.feature.rst deleted file mode 100644 index bcfe9da873..0000000000 --- a/newsfragments/1761.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Upgraded py-evm to v0.3.0-alpha.16 -- See `py-evm's release notes -`_ diff --git a/newsfragments/1768.feature.rst b/newsfragments/1768.feature.rst deleted file mode 100644 index 9201003603..0000000000 --- a/newsfragments/1768.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Upgraded py-evm to v0.3.0-alpha.17 -- See `py-evm v0.3.0-alpha.17 release notes -`_ diff --git a/newsfragments/1779.doc.rst b/newsfragments/1779.doc.rst deleted file mode 100644 index 36cdddadc3..0000000000 --- a/newsfragments/1779.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Add cookbook recipe on how to sync from a trusted checkpoint. diff --git a/newsfragments/1781.feature.rst b/newsfragments/1781.feature.rst deleted file mode 100644 index bf3ba3e9a8..0000000000 --- a/newsfragments/1781.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Increase the tip distance for etherscan checkpoint resolving from 50 to 5000 blocks. \ No newline at end of file diff --git a/newsfragments/1782.bugfix.rst b/newsfragments/1782.bugfix.rst deleted file mode 100644 index 7355ad3e79..0000000000 --- a/newsfragments/1782.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix etherscan checkpoint resolving for Ropsten and Görli. \ No newline at end of file diff --git a/newsfragments/1786.bugfix.rst b/newsfragments/1786.bugfix.rst deleted file mode 100644 index c81bde89f3..0000000000 --- a/newsfragments/1786.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix beam sync crashing when running under Clique consensus (e.g. Görli) \ No newline at end of file