Skip to content

Commit

Permalink
Prepare changelog for release
Browse files Browse the repository at this point in the history
Nevermind the previous commit, we have to make a release, anyway.
  • Loading branch information
mara004 committed Oct 11, 2023
1 parent a76b4b8 commit 3e4127a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/devel/changelog_staging.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@
<!-- List character: dash (-) -->

# Changelog for next release

- `PdfTextPage.get_text_range()`: Correct the allocation in case of excluded/inserted chars, modify scope to prevent pdfium from reading beyond `range(index, index+count)` (which otherwise it does with leading excluded chars). Update docs to note the two different representations. Thanks to Nikita Rybak for the discovery ({issue}`261`).
- ctypesgen fork: replaced the old library loader with a new, lean version

- Setup changes (partly ported from the devel branch)
* ctypesgen fork: replaced the old, bloated library loader with a new, lean version
* Merged `$PDFIUM_VERSION` and `$PDFIUM_USE_V8` into the existing `$PDFIUM_PLATFORM` specifier (see Readme for updated description). The relatively minor setup API breakage was considered tolerable; the core library API is not affected.
* Removed the `build` package from pyproject buildsystem requires, where it was unnecessary. Thanks to Anaconda Team.
* Split in two separate modules: pypdfium2 for helpers (pure-python), pypdfium2_raw for the core bindings (data files).

- Switched PyPI upload to "trusted publishing" (OIDC), which is considered safer. Further, the core maintainers have set up 2FA as requested by PyPI.

*Note: Earlier releases may fail to install from source due to API-breaking changes to our ctypesgen fork (see {issue}`264`). Where possible, avoid source installs and use the wheels instead (the default behavior). If you actually have to do this, consider `--no-build-isolation` and pre-installed dependencies, including ctypesgen prior to commit `61c638b`.*

0 comments on commit 3e4127a

Please sign in to comment.