-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate towncrier for the changelog generation #381
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
rtd: | ||
project: multidict | ||
|
||
|
||
chronographer: | ||
exclude: | ||
bots: | ||
- dependabot-preview |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
========= | ||
Changelog | ||
========= | ||
|
||
.. | ||
You should *NOT* be adding new change log entries to this file, this | ||
file is managed by towncrier. You *may* edit previous change logs to | ||
fix problems like typo corrections or such. | ||
To add a new change log entry, please see | ||
https://pip.pypa.io/en/latest/development/#adding-a-news-entry | ||
we named the news folder "changes". | ||
|
||
WARNING: Don't drop the next directive! | ||
|
||
.. towncrier release notes start | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{# TOWNCRIER TEMPLATE #} | ||
{% for section, _ in sections.items() %} | ||
{% set underline = underlines[0] %}{% if section %}{{section}} | ||
{{ underline * section|length }}{% set underline = underlines[1] %} | ||
|
||
{% endif %} | ||
|
||
{% if sections[section] %} | ||
{% for category, val in definitions.items() if category in sections[section]%} | ||
{{ definitions[category]['name'] }} | ||
{{ underline * definitions[category]['name']|length }} | ||
|
||
{% if definitions[category]['showcontent'] %} | ||
{% for text, values in sections[section][category].items() %} | ||
- {{ text }} | ||
{{ values|join(',\n ') }} | ||
{% endfor %} | ||
|
||
{% else %} | ||
- {{ sections[section][category]['']|join(', ') }} | ||
|
||
{% endif %} | ||
{% if sections[section][category]|length == 0 %} | ||
No significant changes. | ||
|
||
{% else %} | ||
{% endif %} | ||
|
||
{% endfor %} | ||
{% else %} | ||
No significant changes. | ||
|
||
|
||
{% endif %} | ||
{% endfor %} | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix GC object tracking. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,275 @@ | ||
4.5.2 (2018-11-28) | ||
------------------ | ||
|
||
* Fix another memory leak introduced by 4.5.0 release | ||
`#307 <https://github.com/aio-libs/multidict/issues/307>`_ | ||
|
||
4.5.1 (2018-11-22) | ||
------------------ | ||
|
||
* Fix a memory leak introduced by 4.5.0 release | ||
`#306 <https://github.com/aio-libs/multidict/issues/306>`_ | ||
|
||
4.5.0 (2018-11-19) | ||
------------------ | ||
|
||
* Multidict views ported from Cython to C extension | ||
`#275 <https://github.com/aio-libs/multidict/issues/275>`_ | ||
|
||
|
||
4.4.2 (2018-09-19) | ||
------------------ | ||
|
||
* Restore Python 3.4 support | ||
`#289 <https://github.com/aio-libs/multidict/issues/289>`_ | ||
|
||
|
||
4.4.1 (2018-09-17) | ||
------------------ | ||
|
||
* Fix type annotations | ||
`#283 <https://github.com/aio-libs/multidict/issues/283>`_) | ||
|
||
* Allow to install the library on systems without compilation toolset | ||
`#281 <https://github.com/aio-libs/multidict/issues/281>`_ | ||
|
||
|
||
4.4.0 (2018-07-04) | ||
------------------ | ||
|
||
* Rewrite C implementation to use C pair list. | ||
|
||
* Fix update order when both ``arg`` and ``kwargs`` are used. | ||
|
||
|
||
4.3.1 (2018-05-06) | ||
------------------ | ||
|
||
* Fix a typo in multidict stub file. | ||
|
||
4.3.0 (2018-05-06) | ||
------------------ | ||
|
||
* Polish type hints, make multidict type definitions generic. | ||
|
||
4.2.0 (2018-04-15) | ||
------------------ | ||
|
||
* Publish ``py.typed`` flag for type hinting analyzers (``mypy`` etc). | ||
|
||
4.1.0 (2018-01-28) | ||
------------------ | ||
|
||
* Fix key casing in Pure Python implementation of | ||
:py:class:`CIMultiDict` | ||
`#202 <https://github.com/aio-libs/multidict/issues/202>`_ | ||
|
||
4.0.0 (2018-01-14) | ||
------------------ | ||
|
||
* Accept multiple keys in :py:meth:`MultiDict.update` and | ||
:py:meth:`CIMultiDict.update` | ||
`#199 <https://github.com/aio-libs/multidict/issues/199>`_ | ||
|
||
3.3.2 (2017-11-02) | ||
------------------ | ||
|
||
* Fix tarball (again) | ||
|
||
|
||
3.3.1 (2017-11-01) | ||
------------------ | ||
|
||
* Include .c files in tarball | ||
`#181 <https://github.com/aio-libs/multidict/issues/181>`_ | ||
|
||
|
||
3.3.0 (2017-10-15) | ||
------------------ | ||
|
||
* Introduce abstract base classes | ||
`#102 <https://github.com/aio-libs/multidict/issues/102>`_ | ||
|
||
* Publish OSX binary wheels | ||
`#153 <https://github.com/aio-libs/multidict/issues/153>`_ | ||
|
||
|
||
3.2.0 (2017-09-17) | ||
------------------ | ||
|
||
* Fix pickling | ||
`#134 <https://github.com/aio-libs/multidict/issues/134>`_ | ||
|
||
* Fix equality check when other contains more keys | ||
`#124 <https://github.com/aio-libs/multidict/issues/124>`_ | ||
|
||
* Fix :py:class:`CIMultiDict <multidict.CIMultiDict>` copy | ||
`#107 <https://github.com/aio-libs/multidict/issues/107>`_ | ||
|
||
3.1.3 (2017-07-14) | ||
------------------ | ||
|
||
* Fix build | ||
|
||
3.1.2 (2017-07-14) | ||
------------------ | ||
|
||
* Fix type annotations | ||
|
||
3.1.1 (2017-07-09) | ||
------------------ | ||
|
||
* Remove memory leak in :py:func:`istr <multidict.istr>` implementation | ||
`#105 <https://github.com/aio-libs/multidict/issues/105>`_ | ||
|
||
3.1.0 (2017-06-25) | ||
------------------ | ||
|
||
* Raise :py:exc:`RuntimeError` on :py:class:`dict` iterations if the dict was changed (:issue:`99`) | ||
|
||
* Update ``__init__.pyi`` signatures | ||
|
||
3.0.0 (2017-06-21) | ||
------------------ | ||
|
||
* Refactor internal data structures: main dict operations are about | ||
100% faster now. | ||
|
||
* Preserve order on multidict updates | ||
|
||
Updates are ``md[key] = val`` and ``md.update(...)`` calls. | ||
|
||
Now **the last** entry is replaced with new key/value pair, all | ||
previous occurrences are removed. | ||
|
||
If key is not present in dictionary the pair is added to the end | ||
|
||
`#68 <https://github.com/aio-libs/multidict/issues/68>`_ | ||
|
||
* Force keys to :py:class:`str` instances | ||
`#88 <https://github.com/aio-libs/multidict/issues/88>`_ | ||
|
||
* Implement :py:func:`.popall(key[, default]) <multidict.MultiDict.popall>` | ||
`#84 <https://github.com/aio-libs/multidict/issues/84>`_ | ||
|
||
* :py:func:`.pop() <multidict.MultiDict.pop>` removes only first occurence, | ||
:py:func:`.popone() <multidict.MultiDict.popone>` added | ||
`#92 <https://github.com/aio-libs/multidict/issues/92>`_ | ||
|
||
* Implement dict's version | ||
`#86 <https://github.com/aio-libs/multidict/issues/86>`_ | ||
|
||
* Proxies are not pickable anymore | ||
`#77 <https://github.com/aio-libs/multidict/issues/77>`_ | ||
|
||
2.1.7 (2017-05-29) | ||
------------------ | ||
|
||
* Fix import warning on Python 3.6 | ||
`#79 <https://github.com/aio-libs/multidict/issues/79>`_ | ||
|
||
2.1.6 (2017-05-27) | ||
------------------ | ||
|
||
* Rebuild the library for fixning missing ``__spec__`` attribute | ||
`#79 <https://github.com/aio-libs/multidict/issues/79>`_ | ||
|
||
2.1.5 (2017-05-13) | ||
------------------ | ||
|
||
* Build Python 3.6 binary wheels | ||
|
||
2.1.4 (2016-12-1) | ||
------------------ | ||
|
||
* Remove ``LICENSE`` filename extension @ ``MANIFEST.in`` file | ||
`#31 <https://github.com/aio-libs/multidict/issues/31>`_ | ||
|
||
2.1.3 (2016-11-26) | ||
------------------ | ||
|
||
* Add a fastpath for multidict extending by multidict | ||
|
||
|
||
2.1.2 (2016-09-25) | ||
------------------ | ||
|
||
* Fix :py:func:`CIMultiDict.update <multidict.CIMultiDict.update>` for case of accepting :py:func:`istr <multidict.istr>` | ||
|
||
|
||
2.1.1 (2016-09-22) | ||
------------------ | ||
|
||
* Fix :py:class:`CIMultiDict <multidict.CIMultiDict>` constructor for case of accepting | ||
:py:func:`istr <multidict.istr>` `#11 | ||
<https://github.com/aio-libs/multidict/issues/11>`_ | ||
|
||
|
||
2.1.0 (2016-09-18) | ||
------------------ | ||
|
||
* Allow to create proxy from proxy | ||
|
||
* Add type hints (:pep:`484`) | ||
|
||
|
||
2.0.1 (2016-08-02) | ||
------------------ | ||
|
||
* Don't crash on ``{} - MultiDict().keys()`` and similar operations | ||
`#6 <https://github.com/aio-libs/multidict/issues/6>`_ | ||
|
||
|
||
2.0.0 (2016-07-28) | ||
------------------ | ||
|
||
* Switch from uppercase approach for case-insensitive string to | ||
:py:func:`str.title() <str.title>` | ||
`#5 <https://github.com/aio-libs/multidict/issues/5>`_ | ||
|
||
* Deprecate :py:func:`upstr <multidict.upstr>` class in favor of :py:func:`istr <multidict.istr>` alias. | ||
|
||
1.2.2 (2016-08-02) | ||
------------------ | ||
|
||
* Don't crash on ``{} - MultiDict().keys()`` and similar operations | ||
`#6 <https://github.com/aio-libs/multidict/issues/6>`_ | ||
|
||
1.2.1 (2016-07-21) | ||
------------------ | ||
|
||
* Don't expose ``multidict.__version__`` | ||
|
||
|
||
1.2.0 (2016-07-16) | ||
------------------ | ||
|
||
* Make ``upstr(upstr('abc'))`` much faster | ||
|
||
|
||
1.1.0 (2016-07-06) | ||
------------------ | ||
|
||
* Don't double-iterate during :py:class:`MultiDict <multidict.MultiDict>` initialization | ||
`#3 <https://github.com/aio-libs/multidict/issues/3>`_ | ||
|
||
* Fix :py:func:`CIMultiDict.pop <multidict.CIMultiDict.pop>`: it is case insensitive now | ||
`#1 <https://github.com/aio-libs/multidict/issues/1>`_ | ||
|
||
* Provide manylinux wheels as well as Windows ones | ||
|
||
1.0.3 (2016-03-24) | ||
------------------ | ||
|
||
* Add missing MANIFEST.in | ||
|
||
1.0.2 (2016-03-24) | ||
------------------ | ||
|
||
* Fix setup build | ||
|
||
|
||
1.0.0 (2016-02-19) | ||
------------------ | ||
|
||
* Initial implementation |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, this folder also needs a separate README explaining what to do. GitHub will then render it in the directory view.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea is good; the README is not mandatory though.
aiohttp doesn't have it; we have instructions in CONTRIBUTING document.
I think it can work for multidict as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw it work here well: https://github.com/tox-dev/tox/tree/master/docs/changelog.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to add README here -- you are welcome. In a separate PR.