Skip to content

Commit

Permalink
Update Jint and Changelog for 7.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Jan 24, 2024
1 parent 105bcdb commit 8573a28
Show file tree
Hide file tree
Showing 32 changed files with 74 additions and 63 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [7.13.0] - 2024-01-24

### Fixed

* **API**: Do not normalize field names in error response.
* **Apps**: Fix registration of app deleter when permanent app deleteion is enabled.
* **Contents**: Fix full text handling for large content IDs.
* **Contents**: Rich Editor. Allow overlapping class names.
* **Contents**: Rich Editor. Correctly calculate the word and character count.

### Changed

* **API**: Update NSwag
* **API**: Update OpenIdDict.

### Added

* **Jobs**: Notification when jobs are completed.

## [7.12.0] - 2024-01-09

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
<PackageReference Include="Google.Cloud.Diagnostics.Common" Version="5.1.0" />
<PackageReference Include="Google.Cloud.Logging.V2" Version="4.1.0" />
<PackageReference Include="Google.Cloud.Monitoring.V3" Version="3.5.0" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Azure.CognitiveServices.Vision.ComputerVision" Version="7.0.1" />
<PackageReference Include="Microsoft.Azure.SignalR.Management" Version="1.23.0" />
<PackageReference Include="Microsoft.Azure.SignalR.Management" Version="1.24.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Microsoft.OData.Core" Version="7.20.0" />
Expand Down
2 changes: 1 addition & 1 deletion backend/src/Migrations/Migrations.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private static JsArray FromArray(JsonArray arr, Engine engine)
target[i] = Map(arr[i], engine);
}

return engine.Realm.Intrinsics.Array.Construct(target);
return engine.Intrinsics.Array.Construct(target);
}

private static JsonObjectInstance FromObject(JsonObject obj, Engine engine)
Expand Down Expand Up @@ -136,7 +136,7 @@ public static JsonValue Map(JsValue? value)
{
var obj = value.AsObject();

var result = new JsonObject((int)obj.Length);
var result = new JsonObject();

foreach (var (key, propertyDescriptor) in obj.GetOwnProperties())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

using Jint;
using Jint.Native;
using Jint.Runtime;
using Jint.Runtime.Interop;
using Jint.Runtime.References;

namespace Squidex.Domain.Apps.Core.Scripting;

Expand All @@ -24,7 +24,7 @@ public bool TryUnresolvableReference(Engine engine, Reference reference, out JsV

public bool TryGetCallable(Engine engine, object reference, out JsValue value)
{
value = new ClrFunctionInstance(engine, "anonymous", (thisObj, _) => thisObj);
value = new ClrFunction(engine, "anonymous", (thisObj, _) => thisObj);
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void IScheduler.Run(Action? action)
{
lock (Engine)
{
Engine.ResetConstraints();
Engine.Constraints.Reset();
action();
}

Expand All @@ -136,7 +136,7 @@ void IScheduler.Run<TArg>(Action<TArg>? action, TArg argument)
{
lock (Engine)
{
Engine.ResetConstraints();
Engine.Constraints.Reset();
action(argument);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
<ItemGroup>
<PackageReference Include="Fluid.Core" Version="2.5.0" />
<PackageReference Include="GeoJSON.Net" Version="1.2.19" />
<PackageReference Include="Jint" Version="3.0.0-beta-2055" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Jint" Version="3.0.0" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageReference Include="NJsonSchema" Version="11.0.0" />
<PackageReference Include="RefactoringEssentials" Version="5.6.0" PrivateAssets="all" />
<PackageReference Include="Squidex.Messaging.Subscriptions" Version="6.3.5" />
<PackageReference Include="Squidex.Messaging.Subscriptions" Version="6.3.6" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" />
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Lucene.Net.QueryParser" Version="4.8.0-beta00016" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
<ProjectReference Include="..\Squidex.Shared\Squidex.Shared.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CsvHelper" Version="30.0.1" />
<PackageReference Include="CsvHelper" Version="30.0.3" />
<PackageReference Include="GraphQL" Version="7.7.2" />
<PackageReference Include="GraphQL.DataLoader" Version="7.7.2" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<ProjectReference Include="..\Squidex.Infrastructure\Squidex.Infrastructure.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ProjectReference Include="..\Squidex.Shared\Squidex.Shared.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions backend/src/Squidex.Domain.Users/Squidex.Domain.Users.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel" Version="6.2.0" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="8.0.1" />
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageReference Include="OpenIddict.AspNetCore" Version="5.0.1" />
<PackageReference Include="OpenIddict.AspNetCore" Version="5.1.0" />
<PackageReference Include="RefactoringEssentials" Version="5.6.0" PrivateAssets="all" />
<PackageReference Include="SharpPwned.NET" Version="2.0.1" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PackageReference Include="EventStore.Client.Grpc.ProjectionManagement" Version="23.1.0" />
<PackageReference Include="EventStore.Client.Grpc.Streams" Version="23.1.0" />
<PackageReference Include="Grpc.Net.Client" Version="2.60.0" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<ProjectReference Include="..\Squidex.Infrastructure\Squidex.Infrastructure.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
14 changes: 7 additions & 7 deletions backend/src/Squidex.Infrastructure/Squidex.Infrastructure.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<ItemGroup>
<PackageReference Include="MailKit" Version="4.3.0" />
<PackageReference Include="McMaster.NETCore.Plugins" Version="1.4.0" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -24,12 +24,12 @@
<PackageReference Include="NodaTime" Version="3.1.10" />
<PackageReference Include="OpenTelemetry.Api" Version="1.7.0" />
<PackageReference Include="RefactoringEssentials" Version="5.6.0" PrivateAssets="all" />
<PackageReference Include="Squidex.Assets" Version="6.3.5" />
<PackageReference Include="Squidex.Caching" Version="6.3.5" />
<PackageReference Include="Squidex.Hosting.Abstractions" Version="6.3.5" />
<PackageReference Include="Squidex.Log" Version="6.3.5" />
<PackageReference Include="Squidex.Messaging" Version="6.3.5" />
<PackageReference Include="Squidex.Text" Version="6.3.5" />
<PackageReference Include="Squidex.Assets" Version="6.3.6" />
<PackageReference Include="Squidex.Caching" Version="6.3.6" />
<PackageReference Include="Squidex.Hosting.Abstractions" Version="6.3.6" />
<PackageReference Include="Squidex.Log" Version="6.3.6" />
<PackageReference Include="Squidex.Messaging" Version="6.3.6" />
<PackageReference Include="Squidex.Text" Version="6.3.6" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" />
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion backend/src/Squidex.Shared/Squidex.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<DebugSymbols>True</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion backend/src/Squidex.Web/Squidex.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageReference Include="GraphQL" Version="7.7.2" />
<PackageReference Include="GraphQL.SystemTextJson" Version="7.7.2" />
<PackageReference Include="GraphQL.Server.Transports.AspNetCore" Version="7.6.0" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
26 changes: 13 additions & 13 deletions backend/src/Squidex/Squidex.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<PackageReference Include="GraphQL" Version="7.7.2" />
<PackageReference Include="GraphQL.MicrosoftDI" Version="7.7.2" />
<PackageReference Include="GraphQL.SystemTextJson" Version="7.7.2" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -57,24 +57,24 @@
<PackageReference Include="NetTopologySuite.IO.GeoJSON4STJ" Version="4.0.0" />
<PackageReference Include="NJsonSchema" Version="11.0.0" />
<PackageReference Include="NodaTime.Serialization.SystemTextJson" Version="1.1.2" />
<PackageReference Include="NSwag.AspNetCore" Version="14.0.1" />
<PackageReference Include="NSwag.AspNetCore" Version="14.0.2" />
<PackageReference Include="OpenCover" Version="4.7.1221" PrivateAssets="all" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.7.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.7.0" />
<PackageReference Include="RefactoringEssentials" Version="5.6.0" PrivateAssets="all" />
<PackageReference Include="ReportGenerator" Version="5.2.0" PrivateAssets="all" />
<PackageReference Include="Squidex.Assets.Azure" Version="6.3.5" />
<PackageReference Include="Squidex.Assets.GoogleCloud" Version="6.3.5" />
<PackageReference Include="Squidex.Assets.FTP" Version="6.3.5" />
<PackageReference Include="Squidex.Assets.ImageMagick" Version="6.3.5" />
<PackageReference Include="Squidex.Assets.ImageSharp" Version="6.3.5" />
<PackageReference Include="Squidex.Assets.Mongo" Version="6.3.5" />
<PackageReference Include="Squidex.Assets.S3" Version="6.3.5" />
<PackageReference Include="Squidex.Assets.TusAdapter" Version="6.3.5" />
<PackageReference Include="Squidex.Assets.Azure" Version="6.3.6" />
<PackageReference Include="Squidex.Assets.GoogleCloud" Version="6.3.6" />
<PackageReference Include="Squidex.Assets.FTP" Version="6.3.6" />
<PackageReference Include="Squidex.Assets.ImageMagick" Version="6.3.6" />
<PackageReference Include="Squidex.Assets.ImageSharp" Version="6.3.6" />
<PackageReference Include="Squidex.Assets.Mongo" Version="6.3.6" />
<PackageReference Include="Squidex.Assets.S3" Version="6.3.6" />
<PackageReference Include="Squidex.Assets.TusAdapter" Version="6.3.6" />
<PackageReference Include="Squidex.ClientLibrary" Version="19.0.0" />
<PackageReference Include="Squidex.Hosting" Version="6.3.5" />
<PackageReference Include="Squidex.Messaging.All" Version="6.3.5" />
<PackageReference Include="Squidex.Messaging.Subscriptions" Version="6.3.5" />
<PackageReference Include="Squidex.Hosting" Version="6.3.6" />
<PackageReference Include="Squidex.Messaging.All" Version="6.3.6" />
<PackageReference Include="Squidex.Messaging.Subscriptions" Version="6.3.6" />
<PackageReference Include="Squidex.OpenIddict.MongoDb" Version="5.1.0" />
<PackageReference Include="Squidex.YDotNet" Version="0.2.9" />
<PackageReference Include="Squidex.YDotNet.Native" Version="0.2.9" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<ItemGroup>
<PackageReference Include="FakeItEasy" Version="8.1.0" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -27,7 +27,7 @@
<PackageReference Include="NodaTime.Serialization.SystemTextJson" Version="1.1.2" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="xunit" Version="2.6.5" />
<PackageReference Include="xunit" Version="2.6.6" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

namespace Squidex.Domain.Apps.Entities.Apps.DomainObject;

[UsesVerify]
public class AppDomainObjectTests : HandlerTestBase<App>
{
private readonly IBillingPlans billingPlans = A.Fake<IBillingPlans>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

namespace Squidex.Domain.Apps.Entities.Assets.DomainObject;

[UsesVerify]
public class AssetDomainObjectTests : HandlerTestBase<Asset>
{
private readonly IAssetQueryService assetQuery = A.Fake<IAssetQueryService>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

namespace Squidex.Domain.Apps.Entities.Assets.DomainObject;

[UsesVerify]
public class AssetFolderDomainObjectTests : HandlerTestBase<AssetFolder>
{
private readonly IAssetQueryService assetQuery = A.Fake<IAssetQueryService>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

namespace Squidex.Domain.Apps.Entities.Contents.DomainObject;

[UsesVerify]
public class ContentDomainObjectTests : HandlerTestBase<WriteContent>
{
private readonly DomainId contentId = DomainId.NewGuid();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// All rights reserved. Licensed under the MIT license.
// ==========================================================================

using MongoDB.Bson.Serialization.Attributes;
using Squidex.Domain.Apps.Core.TestHelpers;
using Squidex.Domain.Apps.Entities.MongoDb;
using Squidex.Infrastructure;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

namespace Squidex.Domain.Apps.Entities.Rules.DomainObject;

[UsesVerify]
public class RuleDomainObjectTests : HandlerTestBase<Rule>
{
private readonly IRuleEnqueuer ruleEnqueuer = A.Fake<IRuleEnqueuer>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

namespace Squidex.Domain.Apps.Entities.Schemas.DomainObject;

[UsesVerify]
public class SchemaDomainObjectTests : HandlerTestBase<Schema>
{
private readonly string fieldName = "age";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<PackageReference Include="GraphQL" Version="7.7.2" />
<PackageReference Include="GraphQL.SystemTextJson" Version="7.7.2" />
<PackageReference Include="Lorem.Universal.Net" Version="4.0.80" />
<PackageReference Include="Meziantou.Analyzer" Version="2.0.136">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.138">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -39,8 +39,8 @@
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" />
<PackageReference Include="System.Reactive.Linq" Version="6.0.0" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
<PackageReference Include="Verify.Xunit" Version="22.11.5" />
<PackageReference Include="xunit" Version="2.6.5" />
<PackageReference Include="Verify.Xunit" Version="23.0.1" />
<PackageReference Include="xunit" Version="2.6.6" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
Expand Down
Loading

0 comments on commit 8573a28

Please sign in to comment.