Skip to content

Commit 866fb8c

Browse files
committed
Updated to OnTopic 4.4.0
Of specific relevance to the OnTopic Editor, this includes improvements to Oroborus Configuration, helping ensure that updates to e.g. `ContentTypeDescriptor` and `AttributeDescriptor` topics are reflected in real-time, whereas many still required an application restart previously. Work was committed for this in 4.3.0, as part of the support for initializing an empty database, but there were a number of issues with that implementation due to versioning conflicts between various caches—such as `TopicRepositoryBase._contentTypeDescriptors` and `CachedTopicRepository._cache`. This update mitigates those by not just evaluating missing or updated `Topic.Key`s, but evaluating mismatches in the root `ContentTypeDescriptor` object reference. When a mismatch occurs, the version from the source graph is honored. In addition, when `SqlTopicRepository.Load()` is called, it will attempt to update the `TopicRepositoryBase.GetContentTypeDescriptors()` cache. As the first call to `Load()` will usually be a passthrough from `CachedTopicRepository` loading all topics, this helps ensure that the two caches are using the same object references for the same topic entities.
1 parent 4fee666 commit 866fb8c

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

OnTopic.Editor.AspNetCore.Host/OnTopic.Editor.AspNetCore.Host.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="OnTopic" Version="4.3.0" />
11-
<PackageReference Include="OnTopic.ViewModels" Version="4.3.0" />
12-
<PackageReference Include="OnTopic.AspNetCore.Mvc" Version="4.3.0" />
13-
<PackageReference Include="OnTopic.Data.Caching" Version="4.3.0" />
14-
<PackageReference Include="OnTopic.Data.Sql" Version="4.3.0" />
10+
<PackageReference Include="OnTopic" Version="4.4.0" />
11+
<PackageReference Include="OnTopic.ViewModels" Version="4.4.0" />
12+
<PackageReference Include="OnTopic.AspNetCore.Mvc" Version="4.4.0" />
13+
<PackageReference Include="OnTopic.Data.Caching" Version="4.4.0" />
14+
<PackageReference Include="OnTopic.Data.Sql" Version="4.4.0" />
1515
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="3.1.7" />
1616
</ItemGroup>
1717

OnTopic.Editor.AspNetCore/OnTopic.Editor.AspNetCore.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
<PrivateAssets>all</PrivateAssets>
3131
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3232
</PackageReference>
33-
<PackageReference Include="OnTopic" Version="4.3.0" />
33+
<PackageReference Include="OnTopic" Version="4.4.0" />
3434
<PackageReference Include="OnTopic.Data.Transfer" Version="1.2.0" />
35-
<PackageReference Include="OnTopic.ViewModels" Version="4.3.0" />
36-
<PackageReference Include="OnTopic.AspNetCore.Mvc" Version="4.3.0" />
35+
<PackageReference Include="OnTopic.ViewModels" Version="4.4.0" />
36+
<PackageReference Include="OnTopic.AspNetCore.Mvc" Version="4.4.0" />
3737
</ItemGroup>
3838

3939
<ItemGroup>

OnTopic.Editor.Models/OnTopic.Editor.Models.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
<PrivateAssets>all</PrivateAssets>
2828
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2929
</PackageReference>
30-
<PackageReference Include="OnTopic" Version="4.3.0" />
30+
<PackageReference Include="OnTopic" Version="4.4.0" />
3131
<PackageReference Include="OnTopic.Data.Transfer" Version="1.2.0" />
32-
<PackageReference Include="OnTopic.ViewModels" Version="4.3.0" />
32+
<PackageReference Include="OnTopic.ViewModels" Version="4.4.0" />
3333
<PackageReference Include="System.Text.Json" Version="4.6.0" />
3434
</ItemGroup>
3535

0 commit comments

Comments
 (0)