Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: bump the all-dependencies group with 6 updates #123

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 11, 2024

Bumps the all-dependencies group with 6 updates:

Package From To
ZiggyCreatures.FusionCache 1.2.0 1.3.0
ActualLab.Fusion 9.0.60 9.0.81
ActualLab.Fusion.Blazor 9.0.60 9.0.81
ActualLab.Fusion.Ext.Services 9.0.60 9.0.81
ActualLab.Generators 9.0.60 9.0.81
MudBlazor 7.5.0 7.6.0

Updates ZiggyCreatures.FusionCache from 1.2.0 to 1.3.0

Release notes

Sourced from ZiggyCreatures.FusionCache's releases.

v1.3.0

♊ Auto-Clone (docs)

In general is never a good idea to mutate data retrieved from the cache: it should always be considered immutable/readonly. To see why, read more in the docs.

Not all the scenarios where mutating a piece of data we got from the cache are necessarily wrong though, as users may have a particular use case where that may be needed, and ideally they should be abe to do that in an easy (and optimized!) way, by following the tried and true "it just works" mindset.

With Auto-Clone this is now possible.

A couple of details:

  • it just works, out of the box
  • is easy to use
  • doesn't require extra coding/setup (it's just a new EnableAutoClone option)
  • uses existing code infrastructure (eg: IFusionCacheSerializer)
  • has granular control on a per-entry basis
  • is performant (as much as possible)

Thanks to community users @​JarrodOsborne and @​kzkzg !

See here for the original issue.

💣 Fail-Safe Without Exceptions (docs)

Currently the way to activate fail-safe is for a factory to throw an exception.

This makes sense, since the whole point of fail-safe is to protect us when an error occurs while executing a factory.

But there may be other ways to do it, for example by using a variation of the Result Pattern or similar approaches, in which throwing an exception is not necessary.

This is now possible thanks to the new Fail(...) method on the FusionCacheFactoryExecutionContext<TValue> type, which we can access when executing a factory.

A quick example:

var productResult = await cache.GetOrSetAsync<Result<Product>>(
	$"product:{id}",
	async (ctx, ct) =>
	{
		var productResult = GetProductFromDb(id);
	if (productResult.IsSuccess == false)
	{
		return ctx.Fail(productResult.Error);
	}
return productResult;

},
opt =&gt; opt.SetDuration(duration).SetFailSafe(true)

</tr></table>

... (truncated)

Commits

Updates ActualLab.Fusion from 9.0.60 to 9.0.81

Commits

Updates ActualLab.Fusion.Blazor from 9.0.60 to 9.0.81

Commits

Updates ActualLab.Fusion from 9.0.60 to 9.0.81

Commits

Updates ActualLab.Fusion.Ext.Services from 9.0.60 to 9.0.81

Commits

Updates ActualLab.Fusion from 9.0.60 to 9.0.81

Commits

Updates ActualLab.Generators from 9.0.60 to 9.0.81

Commits

Updates MudBlazor from 7.5.0 to 7.6.0

Release notes

Sourced from MudBlazor's releases.

MudBlazor v7.6.0

What's Changed

New Features

Bug Fixes

Other Changes

New Contributors

Full Changelog: MudBlazor/MudBlazor@v7.5.0...v7.6.0

Commits
  • 950c5f4 MudTreeView: Allow for parent auto selection configuration (#9567)
  • 246bfe7 Build: Add sonar workflow (#9395)
  • c97124d Docs: Remove duplicate sentence in CONTRIBUTING.md (#9565)
  • 4b8ef9d MudDateRangePicker: Add parameter to allow capture of disabled dates (#9452) ...
  • 97c83ab Performance: Use Identifier helper in more cases (#9558)
  • 17203b0 Docs: Fix german link in CONTRIBUTING.MD (#9564)
  • 246e753 MudTreeViewItem: Add ReadOnly (#9557)
  • 1a49e09 Inputs: Fixed margins on each variant and margin sizes (#9517)
  • fa8bf91 Make object-fit and object-position styles important (#9499)
  • 8b92213 Menu: Stay open after being clicked with MouseOver (#9513)
  • Additional 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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the all-dependencies group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [ZiggyCreatures.FusionCache](https://github.com/ZiggyCreatures/FusionCache) | `1.2.0` | `1.3.0` |
| [ActualLab.Fusion](https://github.com/ActualLab/Fusion) | `9.0.60` | `9.0.81` |
| [ActualLab.Fusion.Blazor](https://github.com/ActualLab/Fusion) | `9.0.60` | `9.0.81` |
| [ActualLab.Fusion.Ext.Services](https://github.com/ActualLab/Fusion) | `9.0.60` | `9.0.81` |
| [ActualLab.Generators](https://github.com/ActualLab/Fusion) | `9.0.60` | `9.0.81` |
| [MudBlazor](https://github.com/MudBlazor/MudBlazor) | `7.5.0` | `7.6.0` |


Updates `ZiggyCreatures.FusionCache` from 1.2.0 to 1.3.0
- [Release notes](https://github.com/ZiggyCreatures/FusionCache/releases)
- [Commits](ZiggyCreatures/FusionCache@v1.2.0...v1.3.0)

Updates `ActualLab.Fusion` from 9.0.60 to 9.0.81
- [Commits](https://github.com/ActualLab/Fusion/commits)

Updates `ActualLab.Fusion.Blazor` from 9.0.60 to 9.0.81
- [Commits](https://github.com/ActualLab/Fusion/commits)

Updates `ActualLab.Fusion` from 9.0.60 to 9.0.81
- [Commits](https://github.com/ActualLab/Fusion/commits)

Updates `ActualLab.Fusion.Ext.Services` from 9.0.60 to 9.0.81
- [Commits](https://github.com/ActualLab/Fusion/commits)

Updates `ActualLab.Fusion` from 9.0.60 to 9.0.81
- [Commits](https://github.com/ActualLab/Fusion/commits)

Updates `ActualLab.Generators` from 9.0.60 to 9.0.81
- [Commits](https://github.com/ActualLab/Fusion/commits)

Updates `MudBlazor` from 7.5.0 to 7.6.0
- [Release notes](https://github.com/MudBlazor/MudBlazor/releases)
- [Changelog](https://github.com/MudBlazor/MudBlazor/blob/dev/CHANGELOG.md)
- [Commits](MudBlazor/MudBlazor@v7.5.0...v7.6.0)

---
updated-dependencies:
- dependency-name: ZiggyCreatures.FusionCache
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: ActualLab.Fusion
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: ActualLab.Fusion.Blazor
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: ActualLab.Fusion
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: ActualLab.Fusion.Ext.Services
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: ActualLab.Fusion
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: ActualLab.Generators
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: MudBlazor
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@carlsixsmith-moj carlsixsmith-moj merged commit 5b0dadd into main Aug 12, 2024
1 check passed
@dependabot dependabot bot deleted the dependabot/nuget/all-dependencies-86632d8b99 branch August 12, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant