Release notes
*Sourced from [Autofac's releases](https://github.com/autofac/Autofac/releases).*
> ## v4.9.2
> - Reduce the verbosity of activator exception messages; reverts [#343](https://github-redirect.dependabot.com/autofac/Autofac/issues/343).
> - Resolved [#932](https://github-redirect.dependabot.com/autofac/Autofac/issues/932): Added serialization constructor to DependencyResolutionException for supported framework targets.
> - Fixed an issue where a decorator was only applied if the decorator interface was the first service assigned to the registration. Found while investigating [#963](https://github-redirect.dependabot.com/autofac/Autofac/issues/963).
> - Resolved [#965](https://github-redirect.dependabot.com/autofac/Autofac/issues/965): Do not apply the decorator if already applied, or if the registration is for an adapter.
>
> ## v4.9.1
> - Fix for [#960](https://github-redirect.dependabot.com/autofac/Autofac/issues/960) - `ExternalRegistrySource` reuses `ExternalComponentRegistration` instances causing `ObjectDisposedException`
> - Made the backing field for `ServiceRegistrationInfo.IsInitialized` volatile to prevent the `ComponentRegistry` taking an avoidable lock due to reordering
>
> ## v4.9.0
> - [Decorator enhancements](https://alexmg.com/posts/upcoming-decorator-enhancements-in-autofac-4-9)
> - Switched from symbol server to SourceLink support
> - [#919](https://github-redirect.dependabot.com/autofac/Autofac/issues/919): Memory optimisations
> - Reduced locking in `ComponentRegistry` to improve concurrency of service resolution (extracted from PR [#953](https://github-redirect.dependabot.com/autofac/Autofac/issues/953))
> - Fix for [#635](https://github-redirect.dependabot.com/autofac/Autofac/issues/635) SingleInstance lock. Use lock only if instance not created yet.
> - Alternative to [#924](https://github-redirect.dependabot.com/autofac/Autofac/issues/924): Changed max resolve limit to static for reflection access
> - Improved performance of `CollectionRegistrationSource`
> - Resolved [#927](https://github-redirect.dependabot.com/autofac/Autofac/issues/927): Clarified duplicate lifetime scope exception message with respect to `Owned`
> - Fix for [#889](https://github-redirect.dependabot.com/autofac/Autofac/issues/889) and [#932](https://github-redirect.dependabot.com/autofac/Autofac/issues/932) - Add .NET Standard 2.0 target and make `DependencyResolutionException` serializable
> - Fix for [#929](https://github-redirect.dependabot.com/autofac/Autofac/issues/929): Resetting resolve op activation stack on succeed or fail to allow try/catch in lambda registrations
> - Inherit Registered callback in child scopes (closes [#218](https://github-redirect.dependabot.com/autofac/Autofac/issues/218))
> - Move registration source extension method to a dedicated class and make consistent with module registration
> - Fix for [#218](https://github-redirect.dependabot.com/autofac/Autofac/issues/218): Module.AttachToComponentRegistration() detects registrations in nested scopes
> - Throw `ObjectDisposedException` on activation if activator is disposed
> - Solution upgraded to .NET Core SDK 2.2.101
>
> ## v4.9.0-beta1
> - [Decorator enhancements](https://alexmg.com/posts/upcoming-decorator-enhancements-in-autofac-4-9)
> - Switched from symbol server to SourceLink support
> - [#919](https://github-redirect.dependabot.com/autofac/Autofac/issues/919): Memory optimisations
> - Solution upgraded to Upgrade to .NET Core SDK 2.1.200
> - Alternative to [#924](https://github-redirect.dependabot.com/autofac/Autofac/issues/924): Changed max resolve limit to static for reflection access
Commits
- [`3b6fd22`](https://github.com/autofac/Autofac/commit/3b6fd227b61e5a5788a9b53af28937c2d6b6f457) More unit tests to further expand coverage around issue [#965](https://github-redirect.dependabot.com/autofac/Autofac/issues/965).
- [`8f92ac2`](https://github.com/autofac/Autofac/commit/8f92ac2ea66df72f868a3b177080e698ee305560) Additional unit tests related to [#965](https://github-redirect.dependabot.com/autofac/Autofac/issues/965) to make sure decorators can be applied ...
- [`7aa556a`](https://github.com/autofac/Autofac/commit/7aa556ae3039e66c9c61d5b80878597bdb8124f3) Resoolved [#965](https://github-redirect.dependabot.com/autofac/Autofac/issues/965): Do not apply the decorator if already applied, or if the regi...
- [`641379c`](https://github.com/autofac/Autofac/commit/641379cf129ca74fc17438d706fa0bf7e170d3d8) Typo.
- [`f5746dc`](https://github.com/autofac/Autofac/commit/f5746dc33c4957f7444254147dc8744e17daa7cc) Added skipped/failing test for [#963](https://github-redirect.dependabot.com/autofac/Autofac/issues/963).
- [`7d37488`](https://github.com/autofac/Autofac/commit/7d3748895fa98a562dacb21771555fc16231f9c3) Fluent decorator tests moved to specification project.
- [`f1c3321`](https://github.com/autofac/Autofac/commit/f1c3321a065d89787cfd15d10acc883ec09c68d3) Split up resolve operation tests.
- [`5df69e4`](https://github.com/autofac/Autofac/commit/5df69e4cde6b2f1857cf7129b95da00b4c13a017) Split external registry source tests.
- [`4ca309a`](https://github.com/autofac/Autofac/commit/4ca309a193137db944056120350bd3a85be9863e) Split lifetime scope tests up.
- [`d3e5427`](https://github.com/autofac/Autofac/commit/d3e5427a523064d305bdd1bdfa4a571bb3999293) Split reflection activator tests.
- Additional commits viewable in [compare view](https://github.com/autofac/Autofac/compare/v4.8.1...v4.9.2)
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://app.dependabot.com):
- 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 Autofac from 4.8.1 to 4.9.2.
Release notes
*Sourced from [Autofac's releases](https://github.com/autofac/Autofac/releases).* > ## v4.9.2 > - Reduce the verbosity of activator exception messages; reverts [#343](https://github-redirect.dependabot.com/autofac/Autofac/issues/343). > - Resolved [#932](https://github-redirect.dependabot.com/autofac/Autofac/issues/932): Added serialization constructor to DependencyResolutionException for supported framework targets. > - Fixed an issue where a decorator was only applied if the decorator interface was the first service assigned to the registration. Found while investigating [#963](https://github-redirect.dependabot.com/autofac/Autofac/issues/963). > - Resolved [#965](https://github-redirect.dependabot.com/autofac/Autofac/issues/965): Do not apply the decorator if already applied, or if the registration is for an adapter. > > ## v4.9.1 > - Fix for [#960](https://github-redirect.dependabot.com/autofac/Autofac/issues/960) - `ExternalRegistrySource` reuses `ExternalComponentRegistration` instances causing `ObjectDisposedException` > - Made the backing field for `ServiceRegistrationInfo.IsInitialized` volatile to prevent the `ComponentRegistry` taking an avoidable lock due to reordering > > ## v4.9.0 > - [Decorator enhancements](https://alexmg.com/posts/upcoming-decorator-enhancements-in-autofac-4-9) > - Switched from symbol server to SourceLink support > - [#919](https://github-redirect.dependabot.com/autofac/Autofac/issues/919): Memory optimisations > - Reduced locking in `ComponentRegistry` to improve concurrency of service resolution (extracted from PR [#953](https://github-redirect.dependabot.com/autofac/Autofac/issues/953)) > - Fix for [#635](https://github-redirect.dependabot.com/autofac/Autofac/issues/635) SingleInstance lock. Use lock only if instance not created yet. > - Alternative to [#924](https://github-redirect.dependabot.com/autofac/Autofac/issues/924): Changed max resolve limit to static for reflection access > - Improved performance of `CollectionRegistrationSource` > - Resolved [#927](https://github-redirect.dependabot.com/autofac/Autofac/issues/927): Clarified duplicate lifetime scope exception message with respect to `OwnedCommits
- [`3b6fd22`](https://github.com/autofac/Autofac/commit/3b6fd227b61e5a5788a9b53af28937c2d6b6f457) More unit tests to further expand coverage around issue [#965](https://github-redirect.dependabot.com/autofac/Autofac/issues/965). - [`8f92ac2`](https://github.com/autofac/Autofac/commit/8f92ac2ea66df72f868a3b177080e698ee305560) Additional unit tests related to [#965](https://github-redirect.dependabot.com/autofac/Autofac/issues/965) to make sure decorators can be applied ... - [`7aa556a`](https://github.com/autofac/Autofac/commit/7aa556ae3039e66c9c61d5b80878597bdb8124f3) Resoolved [#965](https://github-redirect.dependabot.com/autofac/Autofac/issues/965): Do not apply the decorator if already applied, or if the regi... - [`641379c`](https://github.com/autofac/Autofac/commit/641379cf129ca74fc17438d706fa0bf7e170d3d8) Typo. - [`f5746dc`](https://github.com/autofac/Autofac/commit/f5746dc33c4957f7444254147dc8744e17daa7cc) Added skipped/failing test for [#963](https://github-redirect.dependabot.com/autofac/Autofac/issues/963). - [`7d37488`](https://github.com/autofac/Autofac/commit/7d3748895fa98a562dacb21771555fc16231f9c3) Fluent decorator tests moved to specification project. - [`f1c3321`](https://github.com/autofac/Autofac/commit/f1c3321a065d89787cfd15d10acc883ec09c68d3) Split up resolve operation tests. - [`5df69e4`](https://github.com/autofac/Autofac/commit/5df69e4cde6b2f1857cf7129b95da00b4c13a017) Split external registry source tests. - [`4ca309a`](https://github.com/autofac/Autofac/commit/4ca309a193137db944056120350bd3a85be9863e) Split lifetime scope tests up. - [`d3e5427`](https://github.com/autofac/Autofac/commit/d3e5427a523064d305bdd1bdfa4a571bb3999293) Split reflection activator tests. - Additional commits viewable in [compare view](https://github.com/autofac/Autofac/compare/v4.8.1...v4.9.2)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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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](https://app.dependabot.com): - 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.