Repository navigation
Bump Alba from 8.5.3 to 9.0.0 - #444
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
--- updated-dependencies: - dependency-name: Alba dependency-version: 9.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated Alba from 8.5.3 to 9.0.0.
Release notes
Sourced from Alba's releases.
9.0.0
This is a significant release, we recommend reading through the release notes and check out the new docs: https://jasperfx.github.io/alba/
Blog posts:
https://hawx.dev/blog/everything-new-in-alba-v9/
https://jasperfx.net/news/alba-9
Breaking changes
.NET 10 is required
Alba now targets
net10.0andnet11.0; support for .NET 8 and .NET 9 is dropped. Applicationsunder test must run on .NET 10 or later.
BeforeEachAsyncnow receives theScenarioand runs before the requestIAlbaHost.BeforeEachAsyncchanged fromFunc<HttpContext, Task>toFunc<Scenario, Task>. InAlba 8 the hook received the
HttpContextand was executed by blocking a thread inside the testserver; it is now properly awaited before the HTTP request executes.
If your hook touched the
HttpContext, do the asynchronous work first, then apply the result tothe outgoing request:
For arbitrary context mutations, register a callback with
scenario.ConfigureHttpContext(...).Ordering: all asynchronous
BeforeEachAsyncactions run first (in registration order), then allsynchronous
BeforeEachactions (in registration order). In Alba 8 the two kinds interleaved inregistration order.
Synchronous bootstrapping removed
The
new AlbaHost(IHostBuilder)constructor, theStartAlba()extension method, and thesynchronous
AlbaHost.For(Action<IWebHostBuilder>)overload are removed. Bootstrapping isasynchronous only:
... (truncated)
9.0.0-rc.3
What's Changed
Full Changelog: https://github.com/JasperFx/alba/blob/master/v9_CHANGELOG.md
9.0.0-rc.2
What's Changed
New Contributors
Full Changelog: https://github.com/JasperFx/alba/blob/master/v9_CHANGELOG.md
9.0.0-beta.1
This is the first beta release of the v9 branch with the majority of intended breaking changes.
See the v9_CHANGELOG for the current WIP release notes.
Please open an issue if something is broken/missing.
Commits viewable in compare view.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)