Release notes
*Sourced from [Autofac's releases](https://github.com/autofac/Autofac/releases).*
> ## 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
- [`831973f`](https://github.com/autofac/Autofac/commit/831973f4d02fbc619921dfaa8ac0c536f60ae7a3) Additional assertions in new unit test for issue [#960](https://github-redirect.dependabot.com/autofac/Autofac/issues/960).
- [`cb91ecd`](https://github.com/autofac/Autofac/commit/cb91ecd286ca57dafe4369191cef24c4d6ec4106) Do not reuse ExternalComponentRegistration
- [`f50cd07`](https://github.com/autofac/Autofac/commit/f50cd076b8e0271c75dba4e5492bbe473885b0c9) Semver => 4.9.1 for bug fixes.
- [`eb2869c`](https://github.com/autofac/Autofac/commit/eb2869c7236bb6d5bacd64423299ab678fca9de2) Made the backing field for ServiceRegistrationInfo.IsInitialized volatile to ...
- [`b4059f0`](https://github.com/autofac/Autofac/commit/b4059f03b260984442ec92457b1ae7854046530a) Reduced locking in ComponentRegistry to improve concurrency of service resolu...
- [`acb742d`](https://github.com/autofac/Autofac/commit/acb742d0341540fe27c6daaf3a4b67335565dde0) Inlcude xunit.runner.json config file in benchmark project with shadowCopy tu...
- [`c81a51e`](https://github.com/autofac/Autofac/commit/c81a51e094d15d8bb4c6b74a8ad3ab10bb9e25ff) Code style changes in LifetimeScope. Also aggressive inling of CheckNotDispos...
- [`210ef8b`](https://github.com/autofac/Autofac/commit/210ef8b03d4b22f6cd0c28f07466b065d80528e6) Merge branch 'develop' of https://github.com/autofac/Autofac into develop
- [`b44be67`](https://github.com/autofac/Autofac/commit/b44be67289ea055fdb37f107fe0db43fd9de6368) AggressiveInlining of RequiresInitialization method in ServiceRegistrationInfo.
- [`95fb436`](https://github.com/autofac/Autofac/commit/95fb4368391ae1927fc99202c36f31772b15875e) Fix release notes link
- Additional commits viewable in [compare view](https://github.com/autofac/Autofac/compare/v4.8.1...v4.9.1)
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.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
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.1.
Release notes
*Sourced from [Autofac's releases](https://github.com/autofac/Autofac/releases).* > ## 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
- [`831973f`](https://github.com/autofac/Autofac/commit/831973f4d02fbc619921dfaa8ac0c536f60ae7a3) Additional assertions in new unit test for issue [#960](https://github-redirect.dependabot.com/autofac/Autofac/issues/960). - [`cb91ecd`](https://github.com/autofac/Autofac/commit/cb91ecd286ca57dafe4369191cef24c4d6ec4106) Do not reuse ExternalComponentRegistration - [`f50cd07`](https://github.com/autofac/Autofac/commit/f50cd076b8e0271c75dba4e5492bbe473885b0c9) Semver => 4.9.1 for bug fixes. - [`eb2869c`](https://github.com/autofac/Autofac/commit/eb2869c7236bb6d5bacd64423299ab678fca9de2) Made the backing field for ServiceRegistrationInfo.IsInitialized volatile to ... - [`b4059f0`](https://github.com/autofac/Autofac/commit/b4059f03b260984442ec92457b1ae7854046530a) Reduced locking in ComponentRegistry to improve concurrency of service resolu... - [`acb742d`](https://github.com/autofac/Autofac/commit/acb742d0341540fe27c6daaf3a4b67335565dde0) Inlcude xunit.runner.json config file in benchmark project with shadowCopy tu... - [`c81a51e`](https://github.com/autofac/Autofac/commit/c81a51e094d15d8bb4c6b74a8ad3ab10bb9e25ff) Code style changes in LifetimeScope. Also aggressive inling of CheckNotDispos... - [`210ef8b`](https://github.com/autofac/Autofac/commit/210ef8b03d4b22f6cd0c28f07466b065d80528e6) Merge branch 'develop' of https://github.com/autofac/Autofac into develop - [`b44be67`](https://github.com/autofac/Autofac/commit/b44be67289ea055fdb37f107fe0db43fd9de6368) AggressiveInlining of RequiresInitialization method in ServiceRegistrationInfo. - [`95fb436`](https://github.com/autofac/Autofac/commit/95fb4368391ae1927fc99202c36f31772b15875e) Fix release notes link - Additional commits viewable in [compare view](https://github.com/autofac/Autofac/compare/v4.8.1...v4.9.1)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
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.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.