Skip to content

Commit

Permalink
Decide that the next release will increment major version
Browse files Browse the repository at this point in the history
i. e. API breaking changes on the way
  • Loading branch information
mara004 committed Aug 27, 2022
1 parent b4662fd commit 1056e79
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ name: Autorelease
on:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
# https://github.com/bblanchon/pdfium-binaries/blob/master/.github/workflows/trigger.yml
schedule:
- cron: '0 10 * * 1'
# (Schedule temporarily disabled as the next release will increment major version and may need more time)
# schedule:
# - cron: '0 10 * * 1'
workflow_dispatch:

jobs:
Expand Down
1 change: 1 addition & 0 deletions autorelease/update_beta.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions autorelease/update_major.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

6 changes: 3 additions & 3 deletions docs/devel/changelog_staging.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

# Changelog for next release

- pypdfium2 now provides PDFium with an external buffer for rendering. This has numerous advantages, most notably that callers don't need to free resources anymore. The `BitmapDataHolder` class has been removed. *`PdfPage.render_base()` was semi-public, so technically this is an API-breaking change.*
- pypdfium2 was changed to provide PDFium with an external buffer for rendering. This has numerous advantages, most notably that callers don't need to free resources anymore. `PdfPage.render_base()` now directly returns a ctypes ubyte array; `BitmapDataHolder` has been removed.
- When doing an automatic release, repository changes are now only pushed after successful wheel building, to avoid leaving the repository in an invalid state in case some earlier step fails.
- Rewrote the project's `README.md`. Added more support model examples and an extensive guide regarding the raw PDFium/ctypes API.
- Improved support model code style while writing the raw API guide.
- Polished `setup.py` code to be much cleaner and easier to understand.
- Restructured some setup-related sources.
- When doing an automatic release, repository changes are now only pushed after successful wheel building, to avoid leaving the repository in an invalid state in case some earlier step fails.
- PDFium's commit log is now shown with GitHub releases.
- Tweaked dependency pinning.
- PDFium's commit log is now shown with GitHub releases.

0 comments on commit 1056e79

Please sign in to comment.