Skip to content

Commit

Permalink
chore: reword the changelog fragments, add break entry type
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Jun 29, 2022
1 parent 7350fd4 commit 54f150f
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion news/1072.dep.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Prefer tomllib on Python 3.11
Prefer `tomllib` on Python 3.11
1 change: 1 addition & 0 deletions news/1083.break.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Editable dependencies in the `[project]` table is not allowed, according to PEP 621. They are however still allowed in the `[tool.pdm.dev-dependencies]` table. PDM will emit a warning when it finds editable dependencies in the `[project]` table, or will abort when you try to add them into the `[project]` table via CLI.
1 change: 0 additions & 1 deletion news/1083.feature.md

This file was deleted.

1 change: 0 additions & 1 deletion news/1091.misc.md

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion news/1098.feature.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Lazy load the candidates returned by `find_matches()` to speed up the resolution.
Lazily load the candidates returned by `find_matches()` to speed up the resolution.
2 changes: 1 addition & 1 deletion news/1153.dep.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Update dependency version `pdm-pep517` to 1.0.0.
Update dependency version `pdm-pep517` to `1.0.0`.
1 change: 1 addition & 0 deletions news/1156.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Retrieve the candidate metadata by parsing the `pyproject.toml` rather than building it.
1 change: 0 additions & 1 deletion news/1156.fix.md

This file was deleted.

2 changes: 1 addition & 1 deletion news/1157.feature.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Update the converters to support the new `[tool.pdm.build]` table.
Update the format converters to support the new `[tool.pdm.build]` table.
2 changes: 1 addition & 1 deletion news/1160.misc.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Provides a `tox.ini` file for easier local testing against all Python versions.
Provide a `tox.ini` file for easier local testing against all Python versions.
1 change: 1 addition & 0 deletions news/1161.break.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Now the paths to the global configurations and global project are calculated according to platform standards.
1 change: 0 additions & 1 deletion news/1161.fix.md

This file was deleted.

2 changes: 1 addition & 1 deletion news/593.feature.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Configuration item to respect the source order in the `pyproject.toml` file. Packages will be returned by source earlier in the order or later ones if not found.
Add project configuration `respect-source-order` under `[tool.pdm.resolution]` to respect the source order in the `pyproject.toml` file. Packages will be returned by source earlier in the order or later ones if not found.
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ title_format = "Release v{version} ({project_date})"
template = "news/towncrier_template.md"
underlines = "-~^"

[[tool.towncrier.type]]
directory = "break"
name = "Breaking Changes"
showcontent = true

[[tool.towncrier.type]]
directory = "feature"
name = "Features & Improvements"
Expand All @@ -137,7 +142,7 @@ underlines = "-~^"

[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
name = "Documentation"
showcontent = true

[[tool.towncrier.type]]
Expand All @@ -155,11 +160,6 @@ underlines = "-~^"
name = "Miscellany"
showcontent = true

[[tool.towncrier.type]]
directory = "refactor"
name = "Refactor"
showcontent = true

[build-system]
requires = ["pdm-pep517>=1.0"]
build-backend = "pdm.pep517.api"
Expand Down

0 comments on commit 54f150f

Please sign in to comment.