From fd15b13c9f73cf8cc35774daf589ef4776dee90f Mon Sep 17 00:00:00 2001 From: Jason Carver Date: Tue, 16 Jul 2019 13:54:23 -0700 Subject: [PATCH] =?UTF-8?q?Bump=20version:=200.1.0-alpha.25=20=E2=86=92=20?= =?UTF-8?q?0.1.0-alpha.26?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- docs/release_notes.rst | 64 +++++++++++++++++++++++++++++++++++ newsfragments/617.feature.rst | 1 - newsfragments/636.feature.rst | 1 - newsfragments/646.feature.rst | 1 - newsfragments/682.feature.rst | 1 - newsfragments/693.feature.rst | 1 - newsfragments/696.feature.rst | 1 - newsfragments/704.bugfix.rst | 1 - newsfragments/728.feature.rst | 1 - newsfragments/731.bugfix.rst | 1 - newsfragments/734.feature.rst | 4 --- newsfragments/754.doc.rst | 2 -- newsfragments/755.feature.rst | 1 - newsfragments/763.bugfix.rst | 1 - newsfragments/763.removal.rst | 6 ---- newsfragments/766.doc.rst | 1 - newsfragments/768.feature.rst | 2 -- newsfragments/771.removal.rst | 1 - newsfragments/772.bugfix.rst | 1 - newsfragments/775.doc.rst | 2 -- newsfragments/778.doc.rst | 1 - newsfragments/780.bugfix.rst | 2 -- newsfragments/790.feature.rst | 2 -- newsfragments/794.doc.rst | 3 -- newsfragments/796.feature.rst | 2 -- newsfragments/803.bugfix.rst | 2 -- setup.py | 2 +- 28 files changed, 66 insertions(+), 44 deletions(-) delete mode 100644 newsfragments/617.feature.rst delete mode 100644 newsfragments/636.feature.rst delete mode 100644 newsfragments/646.feature.rst delete mode 100644 newsfragments/682.feature.rst delete mode 100644 newsfragments/693.feature.rst delete mode 100644 newsfragments/696.feature.rst delete mode 100644 newsfragments/704.bugfix.rst delete mode 100644 newsfragments/728.feature.rst delete mode 100644 newsfragments/731.bugfix.rst delete mode 100644 newsfragments/734.feature.rst delete mode 100644 newsfragments/754.doc.rst delete mode 100644 newsfragments/755.feature.rst delete mode 100644 newsfragments/763.bugfix.rst delete mode 100644 newsfragments/763.removal.rst delete mode 100644 newsfragments/766.doc.rst delete mode 100644 newsfragments/768.feature.rst delete mode 100644 newsfragments/771.removal.rst delete mode 100644 newsfragments/772.bugfix.rst delete mode 100644 newsfragments/775.doc.rst delete mode 100644 newsfragments/778.doc.rst delete mode 100644 newsfragments/780.bugfix.rst delete mode 100644 newsfragments/790.feature.rst delete mode 100644 newsfragments/794.doc.rst delete mode 100644 newsfragments/796.feature.rst delete mode 100644 newsfragments/803.bugfix.rst diff --git a/.bumpversion.cfg b/.bumpversion.cfg index dda703d525..7ccacc2f99 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.1.0-alpha.25 +current_version = 0.1.0-alpha.26 commit = True tag = True parse = (?P\d+)\.(?P\d+)\.(?P\d+)(-(?P[^.]*)\.(?P\d+))? diff --git a/docs/release_notes.rst b/docs/release_notes.rst index 644ab0f84b..f2c00d5576 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -5,6 +5,70 @@ Trinity is moving fast. Read up on all the latest improvements. .. towncrier release notes start +Trinity 0.1.0-alpha.26 (2019-07-16) +----------------------------------- + +Features +~~~~~~~~ + +- Expose certain peer pool events and move RequestServer into an isolated plugin (`#617 `__) +- Run UPnP Service as an isolated plugin (plus `#730 `_ fixup) (`#636 `__) +- Log the gap time between the imported header and now; don't blast screen with logs when regular syncing a lot (`#646 `__) +- Make logging config more ergonomic, flexible and consistent (`#682 `__) +- In-memory ``Transport`` for use in testing. (`#693 `__) +- Expose events for Transaction and NewBlockHashes commands on the EventBus (`#696 `__) +- Use ``trinity db-shell`` to connect to a running process and inspect its database (`#728 `__) +- Pool management upgrades + + - Move TransactionPool into its own process + - Create ProxyPeerPool that partially exposes peer pool functionality to any process (`#734 `__) +- Move responsibility for receiving handshake into ``p2p.transport.Transport`` class. (`#755 `__) +- Trinity can now autocomplete CLI parameters on ````. + Learn how to activate autocomplete in the :doc:`docs`. (`#768 `__) +- Implement ``p2p.trio_service.Service`` abstraction using ``trio`` as a loose + replacement for the existing ``asyncio`` based ``p2p.service.BaseService``. (`#790 `__) +- trinity attach can now accept path to ipc as parameter + Learn more :doc:`docs`. (`#796 `__) + + +Bugfixes +~~~~~~~~ + +- Header syncing is now limited in how far ahead of block sync it will go (`#704 `__) +- Prevent ``KeyError`` exception raised at ``del self._dependencies[prune_task_id]`` during syncing (`#731 `__) +- Fix a race condition in Trinity's event bus announcement ceremony (`#763 `__) +- Several very uncommon issues during syncing, more likely during beam sync (`#772 `__) +- Squashed bug that redownloads block bodies and logs this warning: + ``ValidationError: Cannot finish prereq BlockImportPrereqs.StoreBlockBodies of task`` (`#780 `__) +- When starting beam sync, download previous six block bodies, so that uncle validation can succeed. + Import needs to verify that new block imports don't add uncles that were already added. (`#803 `__) + + +Improved Documentation +~~~~~~~~~~~~~~~~~~~~~~ + +- Setup towncrier to generate release notes from fragment files to ensure a higher standard + for release notes. (`#754 `__) +- Cover ``trinity.protocol`` events in API docs (`#766 `__) +- Cover :class:`~trinity.config.TrinityConfig`, :class:`~trinity.config.Eth1AppConfig` and + :class:`~trinity.config.BeaconAppConfig` in API docs. (`#775 `__) +- Improve layout of API docs by grouping classmethods, methods and attributes. (`#778 `__) +- In the API docs display class methods, static methods and methods as one group "methods". + While we ideally wish to separate these, Sphinx keeps them all as one group which we'll + be following until we find a better option. (`#794 `__) + + +Deprecations and Removals +~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Plugin removals + + - Remove ``BaseAsyncStopPlugin`` which isn't needed anymore now that there is no + hardwired ``networking`` process anymore. + - Remove plugin manager scopes which aren't needed anymore now that there is only + a single ``PluginManager``. (`#763 `__) +- The ``get_chain_config`` API was moved from the ``TrinityConfig`` to the ``Eth1AppConfig`` (`#771 `__) + v0.1.0-alpha.25 -------------------------- diff --git a/newsfragments/617.feature.rst b/newsfragments/617.feature.rst deleted file mode 100644 index 6c1fa937d3..0000000000 --- a/newsfragments/617.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Expose certain peer pool events and move RequestServer into an isolated plugin diff --git a/newsfragments/636.feature.rst b/newsfragments/636.feature.rst deleted file mode 100644 index 5d94c3fcd5..0000000000 --- a/newsfragments/636.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Run UPnP Service as an isolated plugin (plus `#730 `_ fixup) diff --git a/newsfragments/646.feature.rst b/newsfragments/646.feature.rst deleted file mode 100644 index 1b19c6b4bb..0000000000 --- a/newsfragments/646.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Log the gap time between the imported header and now; don't blast screen with logs when regular syncing a lot diff --git a/newsfragments/682.feature.rst b/newsfragments/682.feature.rst deleted file mode 100644 index 7955e67b33..0000000000 --- a/newsfragments/682.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Make logging config more ergonomic, flexible and consistent diff --git a/newsfragments/693.feature.rst b/newsfragments/693.feature.rst deleted file mode 100644 index 1aa8f84919..0000000000 --- a/newsfragments/693.feature.rst +++ /dev/null @@ -1 +0,0 @@ -In-memory ``Transport`` for use in testing. diff --git a/newsfragments/696.feature.rst b/newsfragments/696.feature.rst deleted file mode 100644 index 9e02b93cd4..0000000000 --- a/newsfragments/696.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Expose events for Transaction and NewBlockHashes commands on the EventBus diff --git a/newsfragments/704.bugfix.rst b/newsfragments/704.bugfix.rst deleted file mode 100644 index d22a7f1603..0000000000 --- a/newsfragments/704.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Header syncing is now limited in how far ahead of block sync it will go diff --git a/newsfragments/728.feature.rst b/newsfragments/728.feature.rst deleted file mode 100644 index 6153587964..0000000000 --- a/newsfragments/728.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Use ``trinity db-shell`` to connect to a running process and inspect its database diff --git a/newsfragments/731.bugfix.rst b/newsfragments/731.bugfix.rst deleted file mode 100644 index 9680bb2526..0000000000 --- a/newsfragments/731.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent ``KeyError`` exception raised at ``del self._dependencies[prune_task_id]`` during syncing diff --git a/newsfragments/734.feature.rst b/newsfragments/734.feature.rst deleted file mode 100644 index 39bc9dcc6a..0000000000 --- a/newsfragments/734.feature.rst +++ /dev/null @@ -1,4 +0,0 @@ -Pool management upgrades - -- Move TransactionPool into its own process -- Create ProxyPeerPool that partially exposes peer pool functionality to any process diff --git a/newsfragments/754.doc.rst b/newsfragments/754.doc.rst deleted file mode 100644 index 016c4e2b03..0000000000 --- a/newsfragments/754.doc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Setup towncrier to generate release notes from fragment files to ensure a higher standard -for release notes. \ No newline at end of file diff --git a/newsfragments/755.feature.rst b/newsfragments/755.feature.rst deleted file mode 100644 index 9a07424fb8..0000000000 --- a/newsfragments/755.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Move responsibility for receiving handshake into ``p2p.transport.Transport`` class. diff --git a/newsfragments/763.bugfix.rst b/newsfragments/763.bugfix.rst deleted file mode 100644 index 3c50d5c68e..0000000000 --- a/newsfragments/763.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a race condition in Trinity's event bus announcement ceremony \ No newline at end of file diff --git a/newsfragments/763.removal.rst b/newsfragments/763.removal.rst deleted file mode 100644 index c850a966a9..0000000000 --- a/newsfragments/763.removal.rst +++ /dev/null @@ -1,6 +0,0 @@ -Plugin removals - -- Remove ``BaseAsyncStopPlugin`` which isn't needed anymore now that there is no -hardwired ``networking`` process anymore. -- Remove plugin manager scopes which aren't needed anymore now that there is only -a single ``PluginManager``. diff --git a/newsfragments/766.doc.rst b/newsfragments/766.doc.rst deleted file mode 100644 index 1e13347067..0000000000 --- a/newsfragments/766.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Cover ``trinity.protocol`` events in API docs \ No newline at end of file diff --git a/newsfragments/768.feature.rst b/newsfragments/768.feature.rst deleted file mode 100644 index 474bae3d36..0000000000 --- a/newsfragments/768.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Trinity can now autocomplete CLI parameters on ````. -Learn how to activate autocomplete in the :doc:`docs`. diff --git a/newsfragments/771.removal.rst b/newsfragments/771.removal.rst deleted file mode 100644 index a9dcc2a399..0000000000 --- a/newsfragments/771.removal.rst +++ /dev/null @@ -1 +0,0 @@ -The ``get_chain_config`` API was moved from the ``TrinityConfig`` to the ``Eth1AppConfig`` diff --git a/newsfragments/772.bugfix.rst b/newsfragments/772.bugfix.rst deleted file mode 100644 index e287891e68..0000000000 --- a/newsfragments/772.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Several very uncommon issues during syncing, more likely during beam sync diff --git a/newsfragments/775.doc.rst b/newsfragments/775.doc.rst deleted file mode 100644 index bd4fb66ae7..0000000000 --- a/newsfragments/775.doc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Cover :class:`~trinity.config.TrinityConfig`, :class:`~trinity.config.Eth1AppConfig` and -:class:`~trinity.config.BeaconAppConfig` in API docs. \ No newline at end of file diff --git a/newsfragments/778.doc.rst b/newsfragments/778.doc.rst deleted file mode 100644 index 101b29aa6d..0000000000 --- a/newsfragments/778.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Improve layout of API docs by grouping classmethods, methods and attributes. \ No newline at end of file diff --git a/newsfragments/780.bugfix.rst b/newsfragments/780.bugfix.rst deleted file mode 100644 index d81bb735bc..0000000000 --- a/newsfragments/780.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Squashed bug that redownloads block bodies and logs this warning: -``ValidationError: Cannot finish prereq BlockImportPrereqs.StoreBlockBodies of task`` diff --git a/newsfragments/790.feature.rst b/newsfragments/790.feature.rst deleted file mode 100644 index b1b4593947..0000000000 --- a/newsfragments/790.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Implement ``p2p.trio_service.Service`` abstraction using ``trio`` as a loose -replacement for the existing ``asyncio`` based ``p2p.service.BaseService``. diff --git a/newsfragments/794.doc.rst b/newsfragments/794.doc.rst deleted file mode 100644 index 50c5600596..0000000000 --- a/newsfragments/794.doc.rst +++ /dev/null @@ -1,3 +0,0 @@ -In the API docs display class methods, static methods and methods as one group "methods". -While we ideally wish to separate these, Sphinx keeps them all as one group which we'll -be following until we find a better option. \ No newline at end of file diff --git a/newsfragments/796.feature.rst b/newsfragments/796.feature.rst deleted file mode 100644 index 252af95e51..0000000000 --- a/newsfragments/796.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -trinity attach can now accept path to ipc as parameter -Learn more :doc:`docs`. diff --git a/newsfragments/803.bugfix.rst b/newsfragments/803.bugfix.rst deleted file mode 100644 index d012dc29a5..0000000000 --- a/newsfragments/803.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -When starting beam sync, download previous six block bodies, so that uncle validation can succeed. -Import needs to verify that new block imports don't add uncles that were already added. diff --git a/setup.py b/setup.py index 2d29264262..8dc94ba5e9 100644 --- a/setup.py +++ b/setup.py @@ -147,7 +147,7 @@ setup( name='trinity', # *IMPORTANT*: Don't manually change the version here. Use the 'bumpversion' utility. - version='0.1.0-alpha.25', + version='0.1.0-alpha.26', description='The Trinity client for the Ethereum network', long_description=long_description, long_description_content_type='text/markdown',