From f3a230552c4f17f3a20a8bd39b4fa076e33f8173 Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Tue, 12 Mar 2024 02:15:58 +0300 Subject: [PATCH 1/2] Update Fluid 2.6.0 --- src/OrchardCore.Build/Dependencies.props | 2 +- src/docs/resources/libraries/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OrchardCore.Build/Dependencies.props b/src/OrchardCore.Build/Dependencies.props index 7ed75926253..75d47e057e1 100644 --- a/src/OrchardCore.Build/Dependencies.props +++ b/src/OrchardCore.Build/Dependencies.props @@ -21,7 +21,7 @@ - + diff --git a/src/docs/resources/libraries/README.md b/src/docs/resources/libraries/README.md index c16d00b5a1b..084b2584ff8 100644 --- a/src/docs/resources/libraries/README.md +++ b/src/docs/resources/libraries/README.md @@ -15,7 +15,7 @@ The below table lists the different .NET libraries used in Orchard Core: | [Azure Storage Blobs for DataProtection](https://github.com/Azure/azure-sdk-for-net/blob/Azure.Extensions.AspNetCore.DataProtection.Blobs_1.3.2/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/README.md) | Allows storing ASP.NET Core DataProtection keys in Azure Blob Storage. | 1.3.3 |[MIT](https://github.com/Azure/azure-sdk-for-net/blob/master/LICENSE.txt) | | [Castle.Core](https://github.com/castleproject/Core) | Castle DynamicProxy. | 5.1.1 |[Apache-2.0](https://github.com/castleproject/Core/blob/master/LICENSE) | | [DocumentFormat.OpenXML](https://github.com/dotnet/Open-XML-SDK) | The Open XML SDK provides tools for working with Office Word, Excel, and PowerPoint documents | 3.0.1 | [MIT](https://github.com/dotnet/Open-XML-SDK/blob/main/LICENSE) | -| [Fluid.Core](https://github.com/sebastienros/fluid) | .NET Liquid template engine. | 2.5.0 | [MIT](https://github.com/sebastienros/fluid/blob/dev/LICENSE) | +| [Fluid.Core](https://github.com/sebastienros/fluid) | .NET Liquid template engine. | 2.6.0 | [MIT](https://github.com/sebastienros/fluid/blob/dev/LICENSE) | | [GraphQL](https://github.com/graphql/graphiql) | GraphiQL & GraphQL. | 7.8.0 | [MIT](https://github.com/graphql/graphiql/blob/main/LICENSE) | | [HtmlSanitizer](https://github.com/mganss/HtmlSanitizer) | Cleans HTML to avoid XSS attacks. | 8.1.844-beta | [MIT](https://github.com/mganss/HtmlSanitizer/blob/master/LICENSE.md) | | [Image Sharp](https://github.com/SixLabors/ImageSharp.Web) | Middleware for ASP.NET-Core for image manipulation. | 3.1.1 |[Apache-2.0](https://github.com/SixLabors/ImageSharp.Web/blob/master/LICENSE) | From 0fecb2de8b32db3fa16736ef17a814aef1d67f1f Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Tue, 12 Mar 2024 02:28:25 +0300 Subject: [PATCH 2/2] Fix the build --- .../LiquidViewTemplate.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/LiquidViewTemplate.cs b/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/LiquidViewTemplate.cs index 63be8f7837e..41e808030c5 100644 --- a/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/LiquidViewTemplate.cs +++ b/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/LiquidViewTemplate.cs @@ -99,9 +99,9 @@ public static Task ParseAsync(LiquidViewParser parser, strin } } - internal class ShapeAccessor : DelegateAccessor + internal class ShapeAccessor : DelegateAccessor { - public ShapeAccessor() : base(_getter) + public ShapeAccessor() : base((obj, name, ctx) => _getter(obj, name)) { }