Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pypdf2 from 1.27.12 to 1.28.1 #491

Merged
merged 1 commit into from
May 23, 2022
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 23, 2022

Bumps pypdf2 from 1.27.12 to 1.28.1.

Release notes

Sourced from pypdf2's releases.

Version 1.28.1, 2022-05-22

What's Changed

Bug Fixes (BUG)

  • Incorrectly show deprecation warnings on internal usage (#887)

Maintenance (MAINT)

  • Add stacklevel=2 to deprecation warnings (#889)
  • Remove duplicate warnings imports (#888)

Full Changelog: py-pdf/pypdf@1.28.0...1.28.1

Version 1.28.0, 2022-05-22

This release adds a lot of deprecation warnings in preparation of the PyPDF2 2.0.0 release. The changes are mostly using snake_case function-, method-, and variable-names as well as using properties instead of getter-methods.

Maintenance (MAINT):

  • Remove IronPython Fallback for zlib (#868)

Full Changelog: py-pdf/pypdf@1.27.12...1.27.13

Deprecations (DEP)

  • Make the PyPDF2.utils module private
  • Rename of core classes:
    • PdfFileReader ➔ PdfReader
    • PdfFileWriter ➔ PdfWriter
    • PdfFileMerger ➔ PdfMerger
  • Use PEP8 conventions for function names and parameters
  • If a property and a getter-method are both present, use the property

Details

In many places:

  • getObject ➔ get_object
  • writeToStream ➔ write_to_stream
  • readFromStream ➔ read_from_stream

PyPDF2.generic

  • readObject ➔ read_object
  • convertToInt ➔ convert_to_int
  • DocumentInformation.getText ➔ DocumentInformation._get_text : This method should typically not be used; please let me know if you need it.

PdfReader class:

  • reader.getPage(pageNumber)reader.pages[page_number]
  • reader.getNumPages() / reader.numPageslen(reader.pages)

... (truncated)

Changelog

Sourced from pypdf2's changelog.

Version 1.28.1, 2022-05-22

Bug Fixes (BUG):

  • Incorrectly show deprecation warnings on internal usage (#887)

Maintenance (MAINT):

  • Add stacklevel=2 to deprecation warnings (#889)
  • Remove duplicate warnings imports (#888)

Full Changelog: py-pdf/pypdf@1.28.0...1.28.1

Version 1.28.0, 2022-05-22

This release adds a lot of deprecation warnings in preparation of the PyPDF2 2.0.0 release. The changes are mostly using snake_case function-, method-, and variable-names as well as using properties instead of getter-methods.

Maintenance (MAINT):

  • Remove IronPython Fallback for zlib (#868)

Full Changelog: py-pdf/pypdf@1.27.12...1.27.13

Deprecations (DEP)

  • Make the PyPDF2.utils module private
  • Rename of core classes:
    • PdfFileReader ➔ PdfReader
    • PdfFileWriter ➔ PdfWriter
    • PdfFileMerger ➔ PdfMerger
  • Use PEP8 conventions for function names and parameters
  • If a property and a getter-method are both present, use the property

Details

In many places:

  • getObject ➔ get_object
  • writeToStream ➔ write_to_stream
  • readFromStream ➔ read_from_stream

PyPDF2.generic

  • readObject ➔ read_object
  • convertToInt ➔ convert_to_int
  • DocumentInformation.getText ➔ DocumentInformation._get_text : This method should typically not be used; please let me know if you need it.

PdfReader class:

  • reader.getPage(pageNumber)reader.pages[page_number]
  • reader.getNumPages() / reader.numPageslen(reader.pages)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pypdf2](https://github.com/py-pdf/PyPDF2) from 1.27.12 to 1.28.1.
- [Release notes](https://github.com/py-pdf/PyPDF2/releases)
- [Changelog](https://github.com/py-pdf/PyPDF2/blob/main/CHANGELOG)
- [Commits](py-pdf/pypdf@1.27.12...1.28.1)

---
updated-dependencies:
- dependency-name: pypdf2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 23, 2022
@soxoj soxoj merged commit 3bfb2db into main May 23, 2022
@soxoj soxoj deleted the dependabot/pip/pypdf2-1.28.1 branch May 23, 2022 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant