From 49cc78db08896fe7d0bd5861b99ef1de7b0306a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Thu, 9 Jul 2020 18:10:27 +0200
Subject: [PATCH] repurposed the change log

---
 CHANGELOG.md | 175 ++-------------------------------------------------
 README.md    |   3 +-
 2 files changed, 7 insertions(+), 171 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index d05665f..f930c4a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,172 +1,7 @@
-# v1.2.6
-
-* _TBA_
-
-# v1.2.5
-
-* bugfix: fixed `log_frames` in `Cluster`
-* improved Travis build pipeline
-* added stress tests for `SelectListener`
-
-# v1.2.4
-
-* bugfix release
-
-# v1.2.3
-
-* bugfix release: don't bind if queue is topic
-
-# v1.2.2
-
-* bugfix release: don't bind if queue is topic
-
-# v1.2.1
-
-* enabled declaring anonymous queues
-
-# v1.2
-
-* added queue.bind
-
-# v1.1.1
-
-* added `SelectListener`, which means CoolAMQP can 
-  run now on Windows and in gevent environments
-
-# v1.1
-
-* added optional tracing via opentracing
-
-# v1.0.5:
-
-* `on_fail` will be called only if the Cluster has been
-  connected at least once
-
-# v1.0.4:
-
-* add missing locals, which rendered CoolAMQP to be unable to process some messages
-
-# v1.0.3:
-
-* declare *connection.blocked* in *capabilities*
-
-# v1.0.2:
-
-* **bugfix release** due to some bad flags in setup.py it was impossible
-  to install CoolAMQP on Python 3
-
-# v1.0.1:
-
-* added support for channel flow control and blocking and 
-  unblocking the connection
-* added support for notifying the app when connection
-  becomes blocked
-
-# v1.0:
-
-* first solid API release
-* improvements for more speed
-
-# v0.106:
-
-* bugfix release: `NodeDefinition` is now properly str-able
+The changelog is kept as [release notes](https://github.com/smok-serwis/coolamqp/releases/)
+on GitHub. This file serves to only note what changes
+have been made so far, between releases.
 
-# v0.105:
-
-* listener thread will be prctl()ed if [prctl](https://pypi.org/project/python-prctl/) is installed
-* extra attribute for Cluster
-
-# v0.104:
-
-* more extensive testing (CPython3.8, nightly)
-* fixed a bug wherein future_to_notify_on_dead was set_result multiple times
-* switched to nose2 for tests
-* removed unnecessary print()s
-
-# v0.103:
-
-* bugfix in handling exchange in publish
-
-# v0.102:
-
-* due to noticed behaviour on some Linuxes that changing epoll from another thread
-  than is being waited on does not seem to alter the behaviour, EpollListener
-  will now check manually if threads have anything to send
-
-# v0.101:
-
-* bugfix: a race condition during connection setup itself
-* moved __version__ to coolamqp root
-* split `compile_definitions` into a separate package
-* exceptions will display their reply_text correctly if fed a memoryview
-* added Docker-based tests
-* far more robust wait in `Cluster.start` made
-
-# v0.100:
-
-* significant docs update
-* cosmetics
-* fixed a bug wherein on very much loaded systems `ConnectionStart` would arrive before
-  a watch could be registered for it
-
-# v0.99:
-
-* *bugfix release*: extra requirements added to [setup.py](/setup.py)
-
-# v0.98:
-
-* *bugfix release*: fixed multiple race conditions, added stress tests
-
-# v0.97:
-
-* Changed copyright in connection properties to better reflect the current situation
-  * also, noted that in [README](README.md).
-
-# v0.96:
-
-* Python 3.6 and 3.7 officially supported and tested against. Also same done for PyPY 3.5
-* fixing #40
-* added #32
-
-# v0.95:
-
- * multiple bugs fixed
-
-# v0.94:
-
-_version skipped_
-
-# v0.93:
-
- * Large refactor of XML schema compiler
- 
-# v0.92:
-
- * Added `on_fail` event handler - fired upon connection loss
-
-# v0.91:
-  * removed annoying warnings
-
-# v0.90:
-  * first release with a *stable API*
-  * You can pick how your received _message.body_ will look like - bytes,
-  a zero-copy-for-short-messages memoryview, or maybe a totally zero-copy list of memoryviews?
-
-# v0.89.1:
-  * **Critical bugfix**: messages larger than a frame got corrupted
-
-# v0.89:
-   * Events are no longer timestamped by CoolAMQP, it's your job now
-   * You can delete queues (_Cluster.delete_queue_)
-   * Race condition _Connection.start_ fixed
-   * Queue can accept _bytes_ as name
-   * Consumer will set _cancelled_ to _True_ if
-   [Consumer Cancel Notification](https://www.rabbitmq.com/consumer-cancel.html) is received
-   * You can register callbacks for:
-       * Consumer being cancelled for any reason
-       * Consumer being cancelled with a CCN
+# v1.2.6
 
-# v0.88:
-    * Cluster.start will RuntimeError if called more than once
-    * Cluster.shutdown will RuntimeError if called without .start
-    * Warning with content list is shorter
+* _banana banana banana_
diff --git a/README.md b/README.md
index 933ab17..26827f8 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,8 @@ Enjoy!
 _Watch out for memoryviews!_ They're here to stay.
 
 [Short'n'sweet contributing guide](CONTRIBUTING.md)
-[Change log](CHANGELOG.md)
+[Change log for past versions](https://github.com/smok-serwis/coolamqp/releases/)
+[Change log in this, unreleased version](CHANGELOG.md)
 
 
 ## Notes
-- 
GitLab