Updated RTD configuration to include a dummy index.rst redirecting to contents.html, ensuring compatibility with third-party documentation and search indexes.
Fixed the API breakage wih decoder.decode(substrateFun=...).
A substrateFun passed to decoder.decode() can now be either v0.4 Non-Streaming or v0.5 Streaming.
pyasn1 will detect and handle both cases transparently.
A substrateFun passed to one of the new streaming decoders is still expected to be v0.5 Streaming only.
It's a major release. The most important changes are:
PyPI package ownership for pyasn1 and pyasn1-module has been transferred to Christian Heimes and Simon Pichugin in [PyPI support ticket #2090](pypa/pypi-support#2090).
The upstream repositories for pyasn1 and pyasn1-modules are now in the GitHub organization https://github.com/pyasn1/.
Modernized packaging and testing. pyasn1 now uses setup.cfg, pyproject.toml, build, and GitHub Actions.
Make BER/CER/DER decoders streaming and suspendible
Added support for Python 3.8, 3.9, 3.10, 3.11
Removed support for EOL Pythons 2.4, 2.5, 2.6, 3.2, 3.3, 3.4, 3.5
Updated RTD configuration to include a dummy index.rst
redirecting to contents.html, ensuring compatibility with
third-party documentation and search indexes.
[pr #47](pyasn1/pyasn1#47)
Fixed the API breakage wih decoder.decode(substrateFun=...).
A substrateFun passed to decoder.decode() can now be either
v0.4 Non-Streaming or v0.5 Streaming. pyasn1 will detect and
handle both cases transparently.
A substrateFun passed to one of the new streaming decoders is
still expected to be v0.5 Streaming only.
[pr #30](pyasn1/pyasn1#30)
[pr #39](pyasn1/pyasn1#39)
Revision 0.5.0, released 19-04-2023
Change RealEncoder.supportIndefLenMode type to a boolean
[pr #21](pyasn1/pyasn1#21)
Re-add tagMap and typeMap module level attributes to all
encoder and decoder modules. They are aliases for TAG_MAP and
TYPE_MAP, [issue #9](pyasn1/pyasn1#9).
Restore API for passing for tagMap and typeMap arguments
to Encoder and Decoder classes by name and position,
[issue #12](pyasn1/pyasn1#12).
Re-add tagMap and typeMap module level attributes to all
encoder and decoder modules. They are aliases for TAG_MAP and
TYPE_MAP, [issue #9](pyasn1/pyasn1#9).
Restore API for passing for tagMap and typeMap arguments
to Encoder and Decoder classes by name and position,
Make BER/CER/DER decoders streaming and suspendible
The goal of this change is to make the decoder yielding on input
data starvation and resuming from where it stopped whenever the
caller decides to try again (hopefully making sure that some more
input becomes available).
This change makes it possible for the decoder to operate on streams
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 pyasn1 from 0.4.8 to 0.5.1.
Release notes
Sourced from pyasn1's releases.
Changelog
Sourced from pyasn1's changelog.
... (truncated)
Commits
e4f9244
Prepare release 0.5.12113545
Make auto-provided substrateFun streamingf0484d4
Fix decoder.decode(substrateFun=...) API breakage626cddb
Allow substrateFun reading less, but not more942aa09
doc: Add workaround for Read The Docs (#47)16fde23
Bring back EOL Python support for 0.5.1 release (#44)8dd64ac
Remove support for EOL Pythondb2ff3b
GitHub Actions: Start testing on Python 3.12-dev (#32)ce6f7f0
Use correct argument type for valueDecoder method (#30)becae60
Prepare release 0.5.0 (#27)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 show