Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps EventFlow.Autofac from 0.72.3914 to 0.74.3948.

Release notes

Sourced from EventFlow.Autofac's releases.

v0.74.3948

  • Breaking: Renamed AspNetCoreEventFlowOptions.AddMetadataProviders()
    to AddDefaultMetadataProviders() and made AddUserClaimsMetadata opt-in
    in order to prevent policy issues.
  • Fix: Allow explicit implementations of IEmit<> in aggregate roots
  • Fix: Using .AddAspNetCore() with defaults now doesn't throw a DI
    exception.

v0.73.3933

  • New: Configure JSON serialization:
    EventFlowOptions.New.
      .ConfigureJson(json => json
        .AddSingleValueObjects()
        .AddConverter<SomeConverter>()
      )
  • New: ASP.NET Core enhancements:
    • New fluent configuration API for ASP.NET Core components:
      services.AddEventFlow(o => o.AddAspNetCore(c => {...})); (old syntax
      AddAspNetCoreMetadataProviders is now deprecated).
    • .RunBootstrapperOnHostStartup() runs bootstrappers together with ASP.NET
      host startup. Previously, this was done in AddAspNetCoreMetadataProviders
      and led to some confusion.
    • .UseMvcJsonOptions() adds EventFlow JSON configuration (see below) to ASP.NET Core,
      so you can accept and return Single Value Objects as plain strings for example.
    • .Add{Whatever}Metadata() configures specific metadata provider.
    • .AddUserClaimsMetadata(params string claimTypes) configures the new claims metadata
      provider (for auditing or "ChangedBy" in read models).
    • .UseLogging() configures an adapter for Microsoft.Extensions.Logging
    • .UseModelBinding() adds model binding support for Single Value Objects:
        [HttpGet("customers/{id}")]
        public async Task<IActionResult> SingleValue(CustomerId id)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }
  • Fix: ASP.NET Core AddRequestHeadersMetadataProvider doesn't throw when
    HttpContext is null.
  • Fix: ReadModelRepopulator now correctly populates IAmAsyncReadModelFor
Changelog

Sourced from EventFlow.Autofac's changelog.

New in 0.74.3948 (released 2019-07-01)

  • Breaking: Renamed AspNetCoreEventFlowOptions.AddMetadataProviders()
    to AddDefaultMetadataProviders() and made AddUserClaimsMetadata opt-in
    in order to prevent policy issues.
  • Fix: Allow explicit implementations of IEmit<> in aggregate roots
  • Fix: Using .AddAspNetCore() with defaults now doesn't throw a DI
    exception.

New in 0.73.3933 (released 2019-06-11)

  • New: Configure JSON serialization:
    EventFlowOptions.New.
      .ConfigureJson(json => json
        .AddSingleValueObjects()
        .AddConverter<SomeConverter>()
      )
  • New: ASP.NET Core enhancements:
    • New fluent configuration API for ASP.NET Core components:
      services.AddEventFlow(o => o.AddAspNetCore(c => {...})); (old syntax
      AddAspNetCoreMetadataProviders is now deprecated).
    • .RunBootstrapperOnHostStartup() runs bootstrappers together with ASP.NET
      host startup. Previously, this was done in AddAspNetCoreMetadataProviders
      and led to some confusion.
    • .UseMvcJsonOptions() adds EventFlow JSON configuration (see below) to ASP.NET Core,
      so you can accept and return Single Value Objects as plain strings for example.
    • .Add{Whatever}Metadata() configures specific metadata provider.
    • .AddUserClaimsMetadata(params string claimTypes) configures the new claims metadata
      provider (for auditing or "ChangedBy" in read models).
    • .UseLogging() configures an adapter for Microsoft.Extensions.Logging
    • .UseModelBinding() adds model binding support for Single Value Objects:
        [HttpGet("customers/{id}")]
        public async Task<IActionResult> SingleValue(CustomerId id)
        {
            if (!ModelState.IsValid)
            {
                return BadRequest(ModelState);
            }
  • Fix: ASP.NET Core AddRequestHeadersMetadataProvider doesn't throw when
    HttpContext is null.
  • Fix: ReadModelRepopulator now correctly populates IAmAsyncReadModelFor
Commits
  • f3f4e06 Merge pull request #657 from frankebersoll/aspnet-core
  • 9ecf71d Updated release notes
  • 1d86813 Fixed issues with ASP.NET metadata providers
  • c031fef Merge pull request #651 from eventflow/explicit-emit
  • 376757b Use StringComparison
  • 19af3e1 Merge branch 'develop' into explicit-emit
  • 3ffe57b Merge pull request #652 from eventflow/https-docs-links
  • a1faaad Change other links to HTTPS (those that support it)
  • da2c70d Update read me with HTTPS links to docs
  • 9392a92 Update documentation link in packages to use HTTPS
  • Additional commits viewable 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 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). To ignore the version in this PR you can just close it
  • @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)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 2, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #41.

@dependabot-preview dependabot-preview bot deleted the dependabot/nuget/EventFlow.Autofac-0.74.3948 branch September 13, 2019 05:25
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.

1 participant