Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jw3 committed Feb 11, 2024
1 parent 02cef5f commit eae9647
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 6 deletions.
14 changes: 14 additions & 0 deletions .towncrier.template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{% for section_text, section in sections.items() %}{%- if section %}{{section_text}}{% endif -%}
{% if section %}
{% for category in ['packaging', 'added', 'changed', 'removed', 'fixed' ] if category in section %}
### {{ definitions[category]['name'] }}

{% if definitions[category]['showcontent'] %}
{% for text, pull_requests in section[category].items() %}
- {{ text }} {{ pull_requests|join(', ') }}
{% endfor %}
{% else %}
- {{ section[category]['']|join(', ') }}
{% endif %}

{% endfor %}{% else %}No significant changes.{% endif %}{% endfor %}
19 changes: 17 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
Release notes
###
===

`fapolicy-analyzer` issues are filed on [GitHub](https://github.com/ctc-oss/fapolicy-analyzer/issues).

``fapolicy-analyzer`` issues are filed on [GitHub](https://github.com/ctc-oss/fapolicy-analyzer/issues).

## Releases

<!-- towncrier release notes start -->

## [v1.3.0](https://github.com/ctc-oss/fapolicy-analyzer/releases/tag/v1.3.0) - 2024-02-11


### _Added_

- Allow rules to be loaded dynamically into a profiling session ([#990](https://github.com/ctc-oss/fapolicy-analyzer/pull/990))
- Added syntax highlighting to the fapolicyd config editor ([#991](https://github.com/ctc-oss/fapolicy-analyzer/pull/991))

### Packaging

- Use digest crate for sha256 hashing, removing need for ring crate. ([#984](https://github.com/ctc-oss/fapolicy-analyzer/pull/984))
- Add a version number to the PDF user guide content and filename. ([#995](https://github.com/ctc-oss/fapolicy-analyzer/pull/995))


# v1.2.2

### Added Features
Expand Down
1 change: 0 additions & 1 deletion news/984.packaging.md

This file was deleted.

1 change: 0 additions & 1 deletion news/990.added.md

This file was deleted.

1 change: 0 additions & 1 deletion news/991.added.md

This file was deleted.

1 change: 0 additions & 1 deletion news/995.packaging.md

This file was deleted.

20 changes: 20 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
[tool.ruff.lint]
ignore = ["E402"]

[tool.towncrier]
filename = "CHANGELOG.md"
version = "1.3.0"
start_string = "<!-- towncrier release notes start -->\n"
title_format = "## [v{version}](https://github.com/ctc-oss/fapolicy-analyzer/releases/tag/v{version}) - {project_date}"
issue_format = "[#{issue}](https://github.com/ctc-oss/fapolicy-analyzer/pull/{issue})"
underlines = ["", "", ""]
directory = "news"

[tool.towncrier.fragment.added]
name = "Added"
[tool.towncrier.fragment.changed]
name = "Changed"
[tool.towncrier.fragment.removed]
name = "Removed"
[tool.towncrier.fragment.fixed]
name = "Fixed"
[tool.towncrier.fragment.packaging]
name = "Packaging"

0 comments on commit eae9647

Please sign in to comment.