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
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
of data (meaning that the entire DER blob might not be immediately
available on input).
On top of that, the decoder yields partially reconstructed ASN.1
object on input starvation making it possible for the caller to
inspect what has been decoded so far and possibly consume partial
ASN.1 data.
All these new feature are natively available through
StreamingDecoder class. Previously published API is implemented
as a thin wrapper on top of that ensuring backward compatibility.
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
Added support for PyPy 3.7, 3.8, 3.9
Modernized packaging and testing. pyasn1 now uses setup.cfg,
pyproject.toml, build, and
GitHub Actions.
PyPI package ownership for pyasn1 and pyasn1-module has been
transfered to Christian Heimes and Simon Pichugin in
[PyPI support ticket #2090](pypa/pypi-support#2090).
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 pyasn1 from 0.4.8 to 0.5.0.
Release notes
Sourced from pyasn1's releases.
Changelog
Sourced from pyasn1's changelog.
... (truncated)
Commits
becae60
Prepare release 0.5.0 (#27)da4822d
RealEncoder.supportIndefLenMode
as a boolean2590ba6
Fix CI for py39 environmentb627c81
Replace all snmplabs.com links1b2184f
Use proper SPDX identifier08ac800
Prepare release 0.5.0.rc2 (#15)4176c0a
gh-12: Allow passing of tagMap and typeMap args (#13)4ca2d86
Add tagMap/typeMap aliases to encoder and decoder modules (#10)26c25b0
Add note about new maintainers (#8)d802555
Pass tag to workflow call (#7)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)