Skip to content

Commit

Permalink
Prepare 7.2.0 (#940)
Browse files Browse the repository at this point in the history
* Changelog.

* Update dependency.

* Update Newtonsoft
  • Loading branch information
SebastianStehle authored Nov 11, 2022
1 parent d82ed7b commit 196867d
Show file tree
Hide file tree
Showing 16 changed files with 288 additions and 18 deletions.
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,49 @@ 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.2.0] - 2022-11-11

### Fixed

* **Assets**: Configured timeout for queries was ignored.
* **Assets**: Several fixes for tags which was causing duplicate tag names when a tag was renamed.
* **Backups**: Fix timeout handling for backups to mark timed out backups as failed.
* **Contents**: Configured timeout for queries was ignored.
* **Contents**: Disable component fields when field is disabled.
* **Contents**: Disable drag and drop for array editors, when the array field is disabled.
* **Contents**: Fix generated OpenApi specs.
* **Contents**: Fix geo queries (latitude and longitude) was swapped.
* **Rules**: Fixes cache duration for rule handling.
* **Templates**: Updated the template system to create a new temporary folder for each operation to query the repository.
* **UI**: More help pages.
* **UI**: More history pages.
* **UI**: Several fixes to handle schema fields.
* **UI**: Use a fallback image, if the app image cannot be loaded.

### Changed

* **API**: Better status handling for exceptions.
* **API**: Move to file scoped namespaces.
* **Backups**: More logs for the backup.
* **Contents**: Mark content-version endpoint as obsolete.
* **Helm**: Document helm parameters.
* **Rules**: Dedicated Rule action for OpenSearch.
* **Rules**: More logs for rule enqueuer.
* **UI**: Updated Angular to 15.0
* **UI**: Updated Bootstrap.

### Added

* **Billing**: Introducing teams to manage subscriptions across teams.
* **Billing**: Several changes to introduce a referral program.
* **Contents**: Button to show or hide the input for custom ID.
* **Contents**: Column to show the translation status.
* **Contents**: Define a custom GraphQL schema for JSON fields.
* **Contents**: New endpoint to fetch a specific content by version.
* **Contents**: OpenAPI definitions for the bulkd endpoint.
* **OpenAPI**: Add more controllers to OpenAPI spec.
* **Users**: Added tests for user management.

## [7.1.0] - 2022-09-01

### Fixed
Expand Down
1 change: 1 addition & 0 deletions backend/i18n/frontend_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"assets.metadataAdd": "Add Metadata",
"assets.moveFailed": "Failed to move asset. Please reload.",
"assets.protected": "Protected",
"assets.protectedHint": "Assets are public by default. Everybody with the link can download the file. If you make an asset protected, only authenticated users (usually a client) can download the asset.",
"assets.refreshTooltip": "Refresh Assets",
"assets.reloaded": "Assets reloaded.",
"assets.removeConfirmText": "Do you really want to remove the asset?",
Expand Down
1 change: 1 addition & 0 deletions backend/i18n/frontend_it.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"assets.metadataAdd": "Aggiungi un metadato",
"assets.moveFailed": "Non è stato possibile spostare la risorsa. Per favore ricarica.",
"assets.protected": "Protetto",
"assets.protectedHint": "Assets are public by default. Everybody with the link can download the file. If you make an asset protected, only authenticated users (usually a client) can download the asset.",
"assets.refreshTooltip": "Aggiorna le risorse",
"assets.reloaded": "Risorse ricaricate.",
"assets.removeConfirmText": "Sei sicuro di voler cancellare la risorsa?",
Expand Down
1 change: 1 addition & 0 deletions backend/i18n/frontend_nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"assets.metadataAdd": "Metadata toevoegen",
"assets.moveFailed": "Verplaatsen van item is mislukt. Laad opnieuw.",
"assets.protected": "Beschermd",
"assets.protectedHint": "Assets are public by default. Everybody with the link can download the file. If you make an asset protected, only authenticated users (usually a client) can download the asset.",
"assets.refreshTooltip": "Bestanden vernieuwen",
"assets.reloaded": "Bestanden herladen.",
"assets.removeConfirmText": "Wil je het bestand echt verwijderen?",
Expand Down
1 change: 1 addition & 0 deletions backend/i18n/frontend_zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"assets.metadataAdd": "添加元数据",
"assets.moveFailed": "资源移动失败。请重新加载。",
"assets.protected": "受保护",
"assets.protectedHint": "Assets are public by default. Everybody with the link can download the file. If you make an asset protected, only authenticated users (usually a client) can download the asset.",
"assets.refreshTooltip": "刷新资源",
"assets.reloaded": "资源重新加载。",
"assets.removeConfirmText": "你真的要移除资源吗?",
Expand Down
1 change: 1 addition & 0 deletions backend/i18n/source/frontend_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"assets.metadataAdd": "Add Metadata",
"assets.moveFailed": "Failed to move asset. Please reload.",
"assets.protected": "Protected",
"assets.protectedHint": "Assets are public by default. Everybody with the link can download the file. If you make an asset protected, only authenticated users (usually a client) can download the asset.",
"assets.refreshTooltip": "Refresh Assets",
"assets.reloaded": "Assets reloaded.",
"assets.removeConfirmText": "Do you really want to remove the asset?",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ public sealed class DefaultAppLogStore : IAppLogStore, IDeleter
private static readonly CsvConfiguration CsvConfiguration = new CsvConfiguration(CultureInfo.InvariantCulture)
{
DetectDelimiter = false,
Delimiter = "|",
LeaveOpen = true
Delimiter = "|"
};

private readonly IRequestLogStore requestLogStore;
Expand Down Expand Up @@ -88,7 +87,7 @@ public async Task ReadLogAsync(DomainId appId, DateTime fromDate, DateTime toDat
var writer = new StreamWriter(stream, Encoding.UTF8, 4096, true);
try
{
await using (var csv = new CsvWriter(writer, CsvConfiguration))
await using (var csv = new CsvWriter(writer, CsvConfiguration, true))
{
csv.WriteField(FieldTimestamp);
csv.WriteField(FieldRequestPath);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private async Task ApplyTemplateAsync(IAppEntity app, string? template)

private static async Task<ISyncService> CreateSyncServiceAsync(string repository, ISession session)
{
var fs = await FileSystems.CreateAsync(repository, session.WorkingDirectory);
var fs = await FileSystems.CreateAsync(repository);

return new SyncService(fs, session);
}
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="CsvHelper" Version="27.2.1" />
<PackageReference Include="CsvHelper" Version="30.0.0" />
<PackageReference Include="GraphQL" Version="7.1.1" />
<PackageReference Include="GraphQL.DataLoader" Version="7.1.1" />
<PackageReference Include="Meziantou.Analyzer" Version="1.0.702">
Expand All @@ -29,7 +29,7 @@
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="6.0.1" />
<PackageReference Include="Notifo.SDK" Version="1.2.0" />
<PackageReference Include="RefactoringEssentials" Version="5.6.0" PrivateAssets="all" />
<PackageReference Include="Squidex.CLI.Core" Version="8.21.0" />
<PackageReference Include="Squidex.CLI.Core" Version="9.2.0" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" />
<PackageReference Include="System.Collections.Immutable" Version="6.0.0" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
Expand Down
15 changes: 13 additions & 2 deletions backend/src/Squidex/Areas/Api/Config/OpenApi/OpenApiServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
using Squidex.Areas.Api.Controllers.Rules.Models;
using Squidex.Domain.Apps.Core.Assets;
using Squidex.Domain.Apps.Core.Contents;
using Squidex.Domain.Apps.Core.Schemas;
using Squidex.Infrastructure;
using Squidex.Infrastructure.Json.Objects;
using Squidex.Infrastructure.Queries;
Expand Down Expand Up @@ -115,10 +116,20 @@ private static void ConfigureSchemaSettings(JsonSchemaGeneratorSettings settings

CreateAnyMap<JsonDocument>(),
CreateAnyMap<JsonValue>(),
CreateAnyMap<FilterNode<JsonValue>>()
CreateAnyMap<FilterNode<JsonValue>>(),

new PrimitiveTypeMapper(typeof(FieldNames), schema =>
{
schema.Type = JsonObjectType.Array;

schema.Item = new JsonSchema
{
Type = JsonObjectType.String
};
}),
};

settings.SchemaType = SchemaType.OpenApi3;
settings.SchemaType = NJsonSchema.SchemaType.OpenApi3;

settings.FlattenInheritanceHierarchy = flatten;
}
Expand Down
2 changes: 1 addition & 1 deletion backend/src/Squidex/Pipeline/Squid/SquidMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
// All rights reserved. Licensed under the MIT license.
// ==========================================================================

using Squidex.Infrastructure;
using System.Text;
using Squidex.Infrastructure;

namespace Squidex.Pipeline.Squid;

Expand Down
9 changes: 3 additions & 6 deletions backend/src/Squidex/Squidex.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,10 @@
<PackageReference Include="Microsoft.OData.Core" Version="7.11.0" />
<PackageReference Include="MongoDB.Driver" Version="2.17.1" />
<PackageReference Include="MongoDB.Driver.Core.Extensions.OpenTelemetry" Version="1.0.0" />
<PackageReference Include="Namotion.Reflection" Version="2.1.1" ExcludeAssets="all" />
<PackageReference Include="NetTopologySuite.IO.GeoJSON4STJ" Version="2.1.1" />
<PackageReference Include="NJsonSchema" Version="10.7.2" />
<PackageReference Include="NodaTime.Serialization.JsonNet" Version="3.0.0" />
<PackageReference Include="NJsonSchema" Version="10.8.0" />
<PackageReference Include="NodaTime.Serialization.SystemTextJson" Version="1.0.0" />
<PackageReference Include="NSwag.AspNetCore" Version="13.16.1" />
<PackageReference Include="NSwag.AspNetCore" Version="13.17.0" />
<PackageReference Include="OpenCover" Version="4.7.1221" PrivateAssets="all" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.0.0-rc7" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.0.0-rc7" />
Expand All @@ -76,11 +74,10 @@
<PackageReference Include="Squidex.Assets.S3" Version="4.13.0" />
<PackageReference Include="Squidex.Assets.TusAdapter" Version="4.13.0" />
<PackageReference Include="Squidex.Caching.Orleans" Version="1.9.0" />
<PackageReference Include="Squidex.ClientLibrary" Version="10.2.0" />
<PackageReference Include="Squidex.ClientLibrary" Version="12.2.0" />
<PackageReference Include="Squidex.Hosting" Version="4.13.0" />
<PackageReference Include="Squidex.Messaging.All" Version="4.13.0" />
<PackageReference Include="Squidex.Messaging.Subscriptions" Version="4.13.0" />
<PackageReference Include="Squidex.Namotion.Reflection" Version="2.0.10" />
<PackageReference Include="Squidex.OpenIddict.MongoDb" Version="4.0.1-dev" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" />
<PackageReference Include="System.Linq" Version="4.3.0" />
Expand Down
Loading

0 comments on commit 196867d

Please sign in to comment.