Skip to content

Separate deprecations and removals sections by default #704

@abravalheri

Description

@abravalheri

Hello, thank you very much for the project.

I am opening this issue to gauge the interest of the maintainers in separating the sections regarding deprecations and removals by default.

The reasoning behind the request is the following:

Many projects use some form of https://semver.org/: (or at least "attempt" SemVer), which prescribes the following:

  • deprecations are introduced in minor version bumps
  • removals are done in major version bumps.

Some projects then use the fragments to detect which kind of version bump to apply (see https://github.com/jaraco/jaraco.develop/blob/v8.17.6/jaraco/develop/towncrier.py#L36-L43)

So in this context, it is useful to have these 2 kinds of releases clearly separated not only for communication but also for automatic detection.

Now, a user could write its own custom configuration, however, as discussed in jaraco/skeleton#169 this leads to an "explosion" in terms of copy+pasted boilerplate, which is undesirable.

Therefore my question is:

Is the towncrier team receptive to a potential change to separate the deprecation and removal sections/fragments by default?

If not, is there a way we could write a plugin/extension that achieves that without requiring every project to copy+paste configuration?

The issue #77 is related, however I understand that the resolution for that ticket was an advice for using custom configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions