Skip to content

Commit

Permalink
Update changelog styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Mar 19, 2023
1 parent 59f7108 commit 5362ef3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/devel/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## 4.2.0 (2023-03-14)

- Updated PDFium from `5633` to `5648` (autorelease).
- Updated PDFium from `5633` to `5648`.
- API-breaking changes around forms code, necessary to fix conceptual issues. Closes {issue}`182`.
* `may_init_forms` parameter replaced with `init_forms()`, so that a custom form config can be provided.
This is particularly required for V8 enabled PDFium.
Expand All @@ -22,13 +22,13 @@

## 4.1.0 (2023-03-07)

- Updated PDFium from `5619` to `5633` (autorelease).
- Updated PDFium from `5619` to `5633`.
- The `PdfDocument` parameter `may_init_forms` is now False by default.


## 4.0.0 (2023-02-28)

- Updated PDFium from `5579` to `5619` (autorelease).
- Updated PDFium from `5579` to `5619`.
- Full support model rewrite. Many existing features changed and new helpers added. Numerous bugs fixed on the way.
Read the updated documentation to migrate your code.
- The raw API is now isolated in a separate namespace (`pypdfium2.raw`).
Expand All @@ -46,7 +46,7 @@

## 4.0.0b1 (2023-02-22)

- Attempted first beta release for v4. PyPI upload failed due to {issue}`177`.
- Attempted beta release for v4. PyPI upload failed due to {issue}`177`.


## History
Expand Down
5 changes: 2 additions & 3 deletions setupsrc/pypdfium2_setup/autorelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,9 @@ def log_changes(summary, prev_ns, curr_ns):

pdfium_msg = "## %s (%s)\n\n- " % (curr_ns["V_PYPDFIUM2"], time.strftime("%Y-%m-%d"))
if prev_ns["V_LIBPDFIUM"] != curr_ns["V_LIBPDFIUM"]:
pdfium_msg += "Updated PDFium from `%s` to `%s`" % (prev_ns["V_LIBPDFIUM"], curr_ns["V_LIBPDFIUM"])
pdfium_msg += "Updated PDFium from `%s` to `%s`." % (prev_ns["V_LIBPDFIUM"], curr_ns["V_LIBPDFIUM"])
else:
pdfium_msg += "No PDFium update"
pdfium_msg += " (autorelease)."
pdfium_msg += "No PDFium update."

content = Changelog.read_text()
pos = content.index("\n", content.index("# Changelog")) + 1
Expand Down

0 comments on commit 5362ef3

Please sign in to comment.