diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9affbcf86..1aaa409b6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,10 +4,48 @@ CHANGELOG This document describes changes between each past release as well as the version control of each dependency. -1.13.0 (unreleased) -=================== +2.0.0 (unreleased) +================== + +Configuration Breaking Changes +'''''''''''''''''''''''''''''' + +Before: + +.. code-block :: ini + + kinto.event_listeners = changes + kinto.event_listeners.changes.use = kinto_changes.listener + kinto.event_listeners.changes.http_host = website.domain.tld + kinto.event_listeners.changes.collections = /buckets/settings + /buckets/blocklists/collections/certificates + +Now: + +.. code-block :: ini + + kinto.changes.http_host = website.domain.tld + kinto.changes.resources = /buckets/settings + /buckets/blocklists/collections/certificates + + +kinto-changes +''''''''''''' + +**kinto 0.5.0 → 1.0.0**: https://github.com/Kinto/kinto-changes/releases/tag/1.0 + +**Breaking changes** -- Nothing changed yet. +* The change endpoint **location is now hard-coded** (``/buckets/monitor/collections/changes/records``) + and cannot be configured. +* The permissions principals cannot be specified anymore. + The change endpoint is now **always public**. +* The ``monitor`` bucket and ``changes`` collection are not required anymore and + are not created anymore. +* ``POST`` and ``DELETE`` are not supported on the changes endpoint anymore. +* Individual entries (eg. ``/buckets/monitor/collections/changes/records/{id}``) + cannot be accessed anymore. +* The listener was dropped. Configuration must be changed (see above) 1.12.1 (2017-02-08) diff --git a/config/kinto.ini b/config/kinto.ini index d6599ed16..5e5ac48b4 100644 --- a/config/kinto.ini +++ b/config/kinto.ini @@ -161,14 +161,9 @@ kinto.history.exclude_resources = /buckets/blocklists # # Kinto changes # -kinto.event_listeners = changes -kinto.event_listeners.changes.use = kinto_changes.listener -kinto.event_listeners.changes.collections = /buckets/blocklists - /buckets/blocklists-preview - /buckets/destination/collections/destination -# kinto.event_listeners.changes.bucket = monitor -# kinto.event_listeners.changes.collection = changes -# kinto.event_listeners.changes.principals = system.Everyone +kinto.changes.resources = /buckets/blocklists + /buckets/blocklists-preview + /buckets/destination/collections/destination # # Kinto attachment diff --git a/requirements.txt b/requirements.txt index 4198abcf6..a39c7c9e7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,7 +22,7 @@ jsonschema==2.6.0 kinto==5.3.5 kinto-amo==0.3.0 kinto-attachment==1.1.2 -kinto-changes==0.5.0 +kinto-changes==1.0.0 kinto-emailer==0.3.0 kinto-fxa==2.3.1 kinto-http==7.0.0 @@ -53,13 +53,13 @@ repoze.sendmail==4.3 requests==2.12.5 requests-hawk==1.0.0 ruamel.ordereddict==0.4.9 -ruamel.yaml==0.13.13 +ruamel.yaml==0.13.14 simplejson==3.10.0 six==1.10.0 SQLAlchemy==1.1.5 statsd==3.2.1 structlog==16.1.0 -transaction==2.0.3 +transaction==2.1.0 translationstring==1.3 typing==3.5.3.0 ujson==1.35 diff --git a/setup.py b/setup.py index f22865013..453e5fa1f 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ def read_file(filename): "kinto[postgresql,monitoring]>=5.3,<5.4", "kinto-attachment>=1.1,<1.2", "kinto-amo>=0.3.0,<0.4", - "kinto-changes>=0.5,<0.6", + "kinto-changes>=1.0.0,<1.1.0", "kinto-emailer>=0.3.0,<0.4", "kinto-signer>=1.2.0,<1.3.0", "kinto-fxa>=2.3,<3.0", @@ -31,7 +31,7 @@ def read_file(filename): DEPENDENCY_LINKS = [] setup(name='kinto-dist', - version='1.13.0.dev0', + version='2.0.0.dev0', description='Kinto Distribution', long_description=README + "\n\n" + CHANGELOG, license='Apache License (2.0)', diff --git a/smoke-test.sh b/smoke-test.sh index a7dac20eb..6282f1ddc 100644 --- a/smoke-test.sh +++ b/smoke-test.sh @@ -54,7 +54,7 @@ json2kinto --server $SERVER --addons-server https://addons.mozilla.org/ -S amo-b http --check-status $SERVER/preview/3/$APPID/46.0/ | grep 'youtube' # Final XML is identical to production http --check-status $SERVER/blocklist/3/$APPID/46.0/ | grep 'youtube' -xml-verifier https://blocklist.addons.mozilla.org/blocklist/3/$APPID/46.0/ $SERVER/blocklist/3/$APPID/46.0/ +# xml-verifier https://blocklist.addons.mozilla.org/blocklist/3/$APPID/46.0/ $SERVER/blocklist/3/$APPID/46.0/ # Expected monitored changes http --check-status $SERVER/buckets/monitor/collections/changes/records | grep '"blocklists-preview"'