Skip to content
This repository was archived by the owner on Jun 14, 2021. It is now read-only.

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps pyasn1 from 0.4.6 to 0.4.7.

Release notes

Sourced from pyasn1's releases.

Release 0.4.7

The major feature of this release is SET ... WITH COMPONENTS constraint support.

  • Added WithComponentsConstraint along with related
    ComponentPresentConstraint and ComponentAbsentConstraint classes
    to be used with Sequence/Set types representing
    SET ... WITH COMPONENTS ... like ASN.1 constructs.

The other important change is that sizeSpec attribute of ASN.1 objects is now deprecated
in favor of uniform subtypeSpec, which is now used for all constraints.

  • Deprecate subtypeSpec attributes and keyword argument. It is now
    recommended to pass ValueSizeConstraint, as well as all other constraints,
    to subtypeSpec.
  • Added isInconsistent property to all constructed types. This property
    conceptually replaces verifySizeSpec method to serve a more general
    purpose e.g. ensuring all required fields are in a good shape. By default
    this check invokes subtype constraints verification and is run by codecs
    on value de/serialisation.

In the bug fixes department we have just one fix:

  • Fixed a design bug in a way of how the items assigned to constructed
    types are verified. Now if Asn1Type-based object is assigned, its
    compatibility is verified based on having all tags and constraint
    objects as the type in field definition. When a bare Python value is
    assigned, then field type object is cloned and initialized with the
    bare value (constraints verificaton would run at this moment).

Complete list of changes can be found in CHANGELOG.

Changelog

Sourced from pyasn1's changelog.

Revision 0.4.7, released 01-09-2019

  • Added isInconsistent property to all constructed types. This property conceptually replaces verifySizeSpec method to serve a more general purpose e.g. ensuring all required fields are in a good shape. By default this check invokes subtype constraints verification and is run by codecs on value de/serialisation.
  • Deprecate subtypeSpec attributes and keyword argument. It is now recommended to pass ValueSizeConstraint, as well as all other constraints, to subtypeSpec.
  • Fixed a design bug in a way of how the items assigned to constructed types are verified. Now if Asn1Type-based object is assigned, its compatibility is verified based on having all tags and constraint objects as the type in field definition. When a bare Python value is assigned, then field type object is cloned and initialized with the bare value (constraints verificaton would run at this moment).
  • Added WithComponentsConstraint along with related ComponentPresentConstraint and ComponentAbsentConstraint classes to be used with Sequence/Set types representing SET ... WITH COMPONENTS ... like ASN.1 constructs.
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.

If all status checks pass Dependabot will automatically merge this pull request.


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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [pyasn1](https://github.com/etingof/pyasn1) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/etingof/pyasn1/releases)
- [Changelog](https://github.com/etingof/pyasn1/blob/master/CHANGES.rst)
- [Commits](etingof/pyasn1@v0.4.6...v0.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 1, 2019
@dependabot-preview dependabot-preview bot merged commit 11d8a8a into master Sep 1, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/pip/pyasn1-0.4.7 branch September 1, 2019 16:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants