towncrier_template.md.jinja (798B)
1 {%- if versiondata["version"] == "main" -%} 2 ## Changes for the Upcoming Release 3 4 :::{warning} 5 These changes reflect the current [development progress](https://github.com/python-attrs/attrs/tree/main) and have **not** been part of a PyPI release yet. 6 ::: 7 {% else -%} 8 ## [{{ versiondata["version"] }}](https://github.com/python-attrs/attrs/tree/{{ versiondata["version"] }}) - {{ versiondata["date"] }} 9 {%- endif %} 10 11 {% for section, _ in sections.items() %} 12 {% if sections[section] %} 13 {% for category, val in definitions.items() if category in sections[section] %} 14 15 ### {{ definitions[category]['name'] }} 16 17 {% for text, values in sections[section][category].items() %} 18 - {{ text }} 19 {{ values|join(',\n ') }} 20 {% endfor %} 21 22 {% endfor %} 23 {% else %} 24 No significant changes. 25 26 27 {% endif %} 28 {% endfor %}