Skip to content

Bump Autofac from 2.6.3.862 to 5.1.4#23

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/Autofac-5.1.4
Closed

Bump Autofac from 2.6.3.862 to 5.1.4#23
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/nuget/Autofac-5.1.4

Conversation

@dependabot-preview
Copy link
Copy Markdown

@dependabot-preview dependabot-preview bot commented Apr 29, 2020

Bumps Autofac from 2.6.3.862 to 5.1.4.

Release notes

Sourced from Autofac's releases.

v5.1.4

#1111 / #1102 - Minor update to handling of provided instances with OnRelease.

v5.1.3

Issues resolved:

  • #1089: Owned instances now allow for async disposal.
  • #1094: InstancePerOwned now works correctly with keyed registrations.
  • #1099: ACTNARS can now resolve generic types with abstract type arguments.
  • #1102: Provided instances should now have OnRelease called when the container is disposed regardless of whether the instances themselves were resolved from the container.
  • #1107: The new() generic type constraint should now be correctly handled in open generic registrations.

v5.1.2

  • Fix #1085 - StackOverflowException thrown with circular property dependencies

v5.1.1

Replaced missing constructor on ResolveRequest to fix accidental break in 5.1.0.

v5.1.0

  • Update NuGet package to use new icon
  • Cache the implementations of a ServiceRegistrationInfo until the implementations change
  • Fix #963 - Partially decorating service implementing multiple interfaces throws
  • Fix #1073 - Always lock when getting an initialized ServiceRegistrationInfo
  • Fix #1077 - Keep raising 'Registered' and 'RegistrationSourceAdded' events after the 'ComponentRegistry' has been built

v5.0.0

This is the first major-version release we've had in about three years (Autofac 4.0 was released in August 2016). There are some breaking changes and new features you should know about as you decide your upgrade strategy.

Breaking Changes

Framework Version Targeting Changes

Starting with Autofac 5.0 there is no longer support for .NET 4.5.x. .NET 4.5.2, the last release in that line, follows the same support lifecycle as Windows Server 2012 R2 which ended mainstream support in September 2018.

Autofac 5.0 now targets:

  • netstandard2.0
  • netstandard2.1
  • net461

Containers are Immutable

The container registry can no longer be updated after it has been built.

The ContainerBuilder.Update method was marked obsolete in November 2016 and there has been a robust discussion to answer questions about how to get the container contents to adjust as needed at runtime.

ContainerBuilder.Update has now been removed entirely.

If you need to change registration behavior at runtime, there are several options available to you including the use of lambdas or child lifetime scopes. See this discussion issue for examples and ideas. We will work to add some documentation based on this issue.

[[PR #948](autofac/Autofac#981) - thanks @weelink!]

... (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)
  • @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)
  • 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)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 29, 2020
@dependabot-preview dependabot-preview bot force-pushed the dependabot/nuget/Autofac-5.1.4 branch from 4efc92b to 5c560e2 Compare May 1, 2020 13:01
Bumps [Autofac](https://github.com/autofac/Autofac) from 2.6.3.862 to 5.1.4.
- [Release notes](https://github.com/autofac/Autofac/releases)
- [Commits](https://github.com/autofac/Autofac/commits/v5.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot force-pushed the dependabot/nuget/Autofac-5.1.4 branch from 5c560e2 to 2af207a Compare May 1, 2020 13:06
@dependabot-preview
Copy link
Copy Markdown
Author

Superseded by #28.

@dependabot-preview dependabot-preview bot deleted the dependabot/nuget/Autofac-5.1.4 branch May 23, 2020 15:50
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.

0 participants