dbolin / Apex.Serialization

High performance contract-less binary serializer for .NET
MIT License
86 stars 13 forks source link

Bump Hyperion from 0.12.0 to 0.12.1 #165

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps Hyperion from 0.12.0 to 0.12.1.

Release notes

Sourced from Hyperion's releases.

Hyperion v0.12.1

0.12.1 March 23 2022

0.12.0 January 12 2022

  • Allow explicit control over which types can be deserialized #281

We've expanded our deserialization safety check to block dangerous types from being deserialized; we recommend this method as a best practice to prevent deserialization of untrusted data. You can now create a custom deserialize layer type filter programmatically:

var typeFilter = TypeFilterBuilder.Create()
    .Include<AllowedClassA>()
    .Include<AllowedClassB>()
    .Build();
var options = SerializerOptions.Default
    .WithTypeFilter(typeFilter);
var serializer = new Serializer(options);

For complete documentation, please read the readme on filtering types for secure deserialization.

0.11.2 October 7 2021

  • Fix exception thrown during deserialization when preserve object reference was turned on and a surrogate instance was inserted into a collection multiple times. #264
  • Add support for AggregateException serialization. #266

0.11.1 August 17 2021

We've added a deserialization safety check to block dangerous types from being deserialized. This is done to add a layer of security from possible code injection and code execution attack. Currently it is an all or nothing feature that can be turned on and off by using the new DisallowUnsafeTypes flag inside SerializerOptions (defaults to true).

The unsafe types that are currently blocked are:

  • System.Security.Claims.ClaimsIdentity
  • System.Windows.Forms.AxHost.State
  • System.Windows.Data.ObjectDataProvider
  • System.Management.Automation.PSObject
  • System.Web.Security.RolePrincipal
  • System.IdentityModel.Tokens.SessionSecurityToken
  • SessionViewStateHistoryItem
  • TextFormattingRunProperties
  • ToolboxItemContainer
  • System.Security.Principal.WindowsClaimsIdentity
  • System.Security.Principal.WindowsIdentity
  • System.Security.Principal.WindowsPrincipal

... (truncated)

Changelog

Sourced from Hyperion's changelog.

0.12.1 March 23 2022

Commits
  • 28d3c58 Version 0.12.1 release (#302)
  • af18916 Bump Microsoft.NET.Test.Sdk from 17.0.0 to 17.1.0 (#297)
  • be6f95a Bump AkkaVersion from 1.4.34 to 1.4.35 (#300)
  • 82f3347 Fix disallow-unsafe-type Akka.NET settings and harden unsafe type detection (...
  • 6486308 Bump FluentAssertions from 6.3.0 to 6.5.1 (#295)
  • 15e2fd9 Bump ApprovalTests from 5.7.1 to 5.7.2 (#298)
  • a2a9563 Bump AkkaVersion from 1.4.33 to 1.4.34 (#299)
  • 2f2dd11 Bump FSharp.Core from 6.0.1 to 6.0.3 (#292)
  • 7d4b320 Bump coverlet.collector from 3.1.0 to 3.1.2 (#293)
  • 6317c96 Bump AkkaVersion from 1.4.31 to 1.4.33 (#296)
  • See full diff in compare view


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)
dependabot[bot] commented 2 years ago

Superseded by #166.