mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 04:53:48 +00:00
Upgraded to Rust v1.100.0 and .NET v10.0.15 (#1218)
This commit is contained in:
1 parent
78f5066bfd
commit
f96025529a
10 files changed
+71
-49
No files matched your search
@@ -793,7 +793,7 @@ jobs:
|
||||
|
||||
- name: Read the toolchain versions from the metadata
|
||||
run: |
|
||||
# The .NET SDK version. The format is '10.0.403 (commit 5a2162bea6)',
|
||||
# The .NET SDK version. The format is '10.0.404 (commit 2ab2854867)',
|
||||
# so we extract the version number alone:
|
||||
dotnet_sdk_version=$(sed -n '4p' metadata.txt | sed 's/[^0-9.]*\([0-9.]*\).*/\1/')
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.CommandLine" Version="2.0.14" />
|
||||
<PackageReference Include="System.CommandLine" Version="2.0.15" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -80,15 +80,15 @@
|
||||
<PackageReference Include="DocumentFormat.OpenXml" Version="3.5.1" />
|
||||
<PackageReference Include="HtmlAgilityPack" Version="1.12.4" />
|
||||
<PackageReference Include="MailKit" Version="4.18.2" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="10.0.14" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.14" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="10.0.15" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.15" />
|
||||
|
||||
<!--
|
||||
Its assembly ships with ASP.NET Core, but the package also brings the build logic which writes the
|
||||
manifest of the embedded files. Without that manifest, the release serves no static files at all, and
|
||||
WebRootFiles finds neither the changelogs nor the ERI specifications in any build.
|
||||
-->
|
||||
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="10.0.14" />
|
||||
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="10.0.15" />
|
||||
<PackageReference Include="MudBlazor" Version="9.12.0" />
|
||||
<PackageReference Include="MudBlazor.Markdown" Version="9.10.0" />
|
||||
<PackageReference Include="ReverseMarkdown" Version="5.0.0" />
|
||||
|
||||
@@ -59,42 +59,42 @@
|
||||
},
|
||||
"Microsoft.AspNetCore.App.Internal.Assets": {
|
||||
"type": "Direct",
|
||||
"requested": "[10.0.14, )",
|
||||
"resolved": "10.0.14",
|
||||
"contentHash": "T1IOYbID1msKjQEh684HebnN+Xnq/pocMXDukOMZtzzPTf9c4/30+/JndM/1txrqwuSYqWvLiAQWzu4U93cshw=="
|
||||
"requested": "[10.0.15, )",
|
||||
"resolved": "10.0.15",
|
||||
"contentHash": "cineG7aU2cpo+CC5rDORY4bFRya0mlaULDpzQ+ncfG0tMyZlWATyVAo2P29i0hH40EElK5O204pjT4XEYALb6g=="
|
||||
},
|
||||
"Microsoft.Data.Sqlite.Core": {
|
||||
"type": "Direct",
|
||||
"requested": "[10.0.14, )",
|
||||
"resolved": "10.0.14",
|
||||
"contentHash": "1p9rO3Q2X/L/9YrYog3vaDzi8u+WZfJCOkDYoHqmofqYP0DLPLPyZcS2Rnh/79JXAodgbs1AgsaNwLpIvC3Xew==",
|
||||
"requested": "[10.0.15, )",
|
||||
"resolved": "10.0.15",
|
||||
"contentHash": "mjDz/zleAF78J1KRN9FludN2bzbsMWoXYSLVcawADle7RBhZYpFZYivGRvbvlH/RtXT/gjO0yhG99tzdFiET+A==",
|
||||
"dependencies": {
|
||||
"SQLitePCLRaw.core": "2.1.13"
|
||||
}
|
||||
},
|
||||
"Microsoft.EntityFrameworkCore.Sqlite": {
|
||||
"type": "Direct",
|
||||
"requested": "[10.0.14, )",
|
||||
"resolved": "10.0.14",
|
||||
"contentHash": "lxrwnVwvlIfQD4IF4WUVupE6Qxfj3MfFftDVwo7tsGAWCKLL8Ttb8UjIt+gE4e9nRlH7EgdC6TrsArFGnNYREw==",
|
||||
"requested": "[10.0.15, )",
|
||||
"resolved": "10.0.15",
|
||||
"contentHash": "t6kIAikliaVrVjChJS11d+riwBK1du8GY2r9zMHjVlQIl0wIocd8a4vWAPd+MakWKLiJa+ZXIgMzxn8f3z5DYg==",
|
||||
"dependencies": {
|
||||
"Microsoft.EntityFrameworkCore.Sqlite.Core": "10.0.14",
|
||||
"Microsoft.Extensions.DependencyModel": "10.0.14",
|
||||
"Microsoft.EntityFrameworkCore.Sqlite.Core": "10.0.15",
|
||||
"Microsoft.Extensions.DependencyModel": "10.0.15",
|
||||
"SQLitePCLRaw.bundle_e_sqlite3": "2.1.13",
|
||||
"SQLitePCLRaw.core": "2.1.13"
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.FileProviders.Embedded": {
|
||||
"type": "Direct",
|
||||
"requested": "[10.0.14, )",
|
||||
"resolved": "10.0.14",
|
||||
"contentHash": "v+KNMXj2RktQ690ijlFYniH8gggO+EVMjCZSou+NcpI2mKNAT27Dgn2UfiJKbwQ84v2Avp6Mwceqog8gvQn5Cw=="
|
||||
"requested": "[10.0.15, )",
|
||||
"resolved": "10.0.15",
|
||||
"contentHash": "1uOmE46L6BeIEQv7x4lynMzeSO3cRe8DeDSvFMcWZRCIHblNRpiAWFGiDP0d8HRy06DKdCBC0GtYEkSS+/fg0w=="
|
||||
},
|
||||
"Microsoft.NET.ILLink.Tasks": {
|
||||
"type": "Direct",
|
||||
"requested": "[10.0.14, )",
|
||||
"resolved": "10.0.14",
|
||||
"contentHash": "YlTamXppEQls6DYWt7RdUuwWDb0lyw/vXCaGeQpLCpsLmfwGuCkOz/vIGgMTV7ECsJcavkCOkxZXv9s8rdAHkQ=="
|
||||
"requested": "[10.0.15, )",
|
||||
"resolved": "10.0.15",
|
||||
"contentHash": "u0WnRcZgBZYHlVFpbe/3Adpmb9rmNJ8/fmEwqc/xjB7fFppq+gfaLJd3Sdaw+J02zV0eP/T9dneQ3Dv5jWw6bw=="
|
||||
},
|
||||
"MudBlazor": {
|
||||
"type": "Direct",
|
||||
@@ -176,46 +176,46 @@
|
||||
},
|
||||
"Microsoft.EntityFrameworkCore": {
|
||||
"type": "Transitive",
|
||||
"resolved": "10.0.14",
|
||||
"contentHash": "vY3931PYPIDBbKovGHbACmpOWvURvKNyRXfCjMh5yLW+FH6vLWeqUu2xzSCRo4Oz4tgx9GYpd0JlV5LDyAoQdg==",
|
||||
"resolved": "10.0.15",
|
||||
"contentHash": "cp0ocqFrk6SXPy5xAI4gf2RlTk7jO4LcybDGWKp5F5zjPKyn2fEulElXIrCWreQFe8/4u01xoVhscrabhOOnhw==",
|
||||
"dependencies": {
|
||||
"Microsoft.EntityFrameworkCore.Abstractions": "10.0.14",
|
||||
"Microsoft.EntityFrameworkCore.Analyzers": "10.0.14"
|
||||
"Microsoft.EntityFrameworkCore.Abstractions": "10.0.15",
|
||||
"Microsoft.EntityFrameworkCore.Analyzers": "10.0.15"
|
||||
}
|
||||
},
|
||||
"Microsoft.EntityFrameworkCore.Abstractions": {
|
||||
"type": "Transitive",
|
||||
"resolved": "10.0.14",
|
||||
"contentHash": "/SaznoTTFfKzxYEbCPAwwKBR3XT92DZgH4jJ3/cqs2skP3o2D+TL6i9Aaj+8Azwtu6/sRd0ve4P2mN12nfVmCw=="
|
||||
"resolved": "10.0.15",
|
||||
"contentHash": "aLHlTnngp1CcWF5gWbqNwcfROjINCaQVKoySCFpl8O/EQaCdvtW+miv9KoSpKDtWIN+W7lZ8yr4KnbK3hp9oYQ=="
|
||||
},
|
||||
"Microsoft.EntityFrameworkCore.Analyzers": {
|
||||
"type": "Transitive",
|
||||
"resolved": "10.0.14",
|
||||
"contentHash": "gaANlGNTxkgODX2eeVT8jjd3AmlFilQV4DFf8qoW30+wUCm2o4N7nEHtZvnHIwfhaJni2DqcjE47Au7tC0Q5jA=="
|
||||
"resolved": "10.0.15",
|
||||
"contentHash": "13C007jEmO1JVsoJ+Vvn0AzOaR5bpGsDsaOB9nQt6denQR8hmv1eWmQ0qGarvz+1Zu5b511uF74A90BQigdYHA=="
|
||||
},
|
||||
"Microsoft.EntityFrameworkCore.Relational": {
|
||||
"type": "Transitive",
|
||||
"resolved": "10.0.14",
|
||||
"contentHash": "Ut0kgtfoKX9QElQVEXSEAgdQc79jISWStVWSOhfPDDHNSKMwFzSXG3gtdYFTAbsBoV+8NtXdVaj4xwdqeky8UA==",
|
||||
"resolved": "10.0.15",
|
||||
"contentHash": "8rEj7IN4+cW1fXkENqCsHeqDrty3izIvWIw6YlXA3sYLPpie1S1MMAWrF3/QjPSI9AWL3sXT6tQqBeNeX6QWEw==",
|
||||
"dependencies": {
|
||||
"Microsoft.EntityFrameworkCore": "10.0.14"
|
||||
"Microsoft.EntityFrameworkCore": "10.0.15"
|
||||
}
|
||||
},
|
||||
"Microsoft.EntityFrameworkCore.Sqlite.Core": {
|
||||
"type": "Transitive",
|
||||
"resolved": "10.0.14",
|
||||
"contentHash": "08VGlMQ9WbK869as9Ho+VZQbM5Qu6zdorgeh6ShVwQgLYgfUBiaIm02T7spfW7Xc1MBHCvclwPgGWpvx5BYGXQ==",
|
||||
"resolved": "10.0.15",
|
||||
"contentHash": "+StxCQ7r+6JOt37kltnnJo07Ik7KZEPYCNRWgOM0x2Cy4fKYaE8kB3YOwJF//4uIXZdkzvNgtE+6V6HsLZcQMQ==",
|
||||
"dependencies": {
|
||||
"Microsoft.Data.Sqlite.Core": "10.0.14",
|
||||
"Microsoft.EntityFrameworkCore.Relational": "10.0.14",
|
||||
"Microsoft.Extensions.DependencyModel": "10.0.14",
|
||||
"Microsoft.Data.Sqlite.Core": "10.0.15",
|
||||
"Microsoft.EntityFrameworkCore.Relational": "10.0.15",
|
||||
"Microsoft.Extensions.DependencyModel": "10.0.15",
|
||||
"SQLitePCLRaw.core": "2.1.13"
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.DependencyModel": {
|
||||
"type": "Transitive",
|
||||
"resolved": "10.0.14",
|
||||
"contentHash": "N8OcqM0370wSXMJ3ZxO66rSElHrIgxvpfUn0vV7zRj7NvKo0nfwgEoTmC3Yz3860o60IaQ4KIPyeLIGX9EeNWA=="
|
||||
"resolved": "10.0.15",
|
||||
"contentHash": "087ome/PndkacsUGmB6OoTyhQ3UwoSRqv9odKbvdD4h3o6TqSIVIK/v1WaNKZ/oiMUVuMcV0l2yXdt55RHRxGw=="
|
||||
},
|
||||
"MimeKit": {
|
||||
"type": "Transitive",
|
||||
|
||||
@@ -35,3 +35,5 @@
|
||||
- Fixed the settings of the security audit for assistant plugins, which you could change even when your organization had locked them through a configuration plugin. They now show the lock, like all other settings your organization manages.
|
||||
- Fixed the automatic security audit of assistant plugins when no model was set for it: you got two error messages for each plugin, again whenever you opened the assistants or plugins page. Now AI Studio tells you once, and the settings of the security audit show a warning.
|
||||
- Fixed the AI-based data validation of classic RAG, which kept passages that the AI had judged as not fitting your question. Now the AI only gets the passages that fit. When the check fails for a passage, AI Studio keeps it, and when it fails for all of them, AI Studio tells you.
|
||||
- Upgraded to Rust v1.100.0.
|
||||
- Upgraded to .NET v10.0.15.
|
||||
@@ -10,7 +10,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="coverlet.collector" Version="10.1.0" />
|
||||
<PackageReference Include="coverlet.collector" Version="10.1.1" />
|
||||
<!--
|
||||
Held at the version the two analyzer projects build against, so that a test compiling a
|
||||
snippet uses the same Roslyn the analyzers themselves were written for. Raise all three
|
||||
@@ -18,7 +18,7 @@
|
||||
10.0.1xx), even though the SDK in metadata.txt ships a newer one; SourceCodeRules explains why.
|
||||
-->
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.12.0" />
|
||||
<!--
|
||||
NUnit 4.6 broke Assert.That for plain values under C# 13: with Assert.That(Action, ...) added,
|
||||
even Assert.That(1, Is.EqualTo(1)) failed with "argument 1: cannot convert int to System.Action".
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
26.11.1
|
||||
2026-11-07 11:04:21 UTC
|
||||
260
|
||||
10.0.403 (commit 5a2162bea6)
|
||||
10.0.14 (commit 0427b9abbe)
|
||||
1.99.1 (commit 58cf8f9c3)
|
||||
10.0.404 (commit 2ab2854867)
|
||||
10.0.15 (commit 8e0f8ed231)
|
||||
1.100.0 (commit 0ef1bc386)
|
||||
9.12.0
|
||||
2.12.5
|
||||
9d1768e2f40, release
|
||||
|
||||
@@ -89,6 +89,18 @@ blocking handler can hold up the whole app. Therefore:
|
||||
- `runtime_api::test_support::assert_runtime_stays_free` tests a handler which waits for a lock. Run
|
||||
such a test with `#[tokio::test(flavor = "multi_thread", worker_threads = 1)]`.
|
||||
|
||||
**The runtime builds with the Rust of the Flatpak, too.** Flathub builds the Flatpak with its own Rust,
|
||||
the extension `org.freedesktop.Sdk.Extension.rust-stable` of the branch named by
|
||||
`FLATPAK_FREEDESKTOP_VERSION` in the pipeline, and only after a release. That Rust often lags behind the
|
||||
toolchain in `metadata.txt` by a version or two. Therefore:
|
||||
|
||||
- `rust-version` in `Cargo.toml` names the Rust of the Flatpak, not our toolchain. Clippy refuses every
|
||||
API of the standard library which is newer (`incompatible_msrv`), so the quality gate catches it before
|
||||
the release does.
|
||||
- Raise `rust-version` only once Flathub ships the newer Rust on that branch, never together with
|
||||
`metadata.txt`. Keep the minor version only, such as `1.98`: the branches of Flathub differ in the patch.
|
||||
- Never silence `incompatible_msrv`. Write the code the way the older Rust allows instead.
|
||||
|
||||
## IPC Communication Flow
|
||||
1. Rust runtime starts and generates TLS certificate
|
||||
2. Rust starts internal HTTPS API on random port
|
||||
|
||||
@@ -2,6 +2,14 @@
|
||||
name = "mindwork-ai-studio"
|
||||
version = "26.11.1"
|
||||
edition = "2024"
|
||||
|
||||
# Not our toolchain, which metadata.txt names, but the oldest Rust which still has to build the runtime: Flathub
|
||||
# builds the Flatpak with the extension org.freedesktop.Sdk.Extension.rust-stable of the branch named by
|
||||
# FLATPAK_FREEDESKTOP_VERSION in the pipeline, which lags behind. Clippy refuses every API of the standard library
|
||||
# which is newer (incompatible_msrv), and Cargo prefers versions of crates which still build with it. Keep the
|
||||
# minor version only: patch releases add no APIs, and the branches of Flathub differ in the patch. Raise it only
|
||||
# once Flathub ships a newer Rust, see runtime/AGENTS.md.
|
||||
rust-version = "1.98"
|
||||
description = "MindWork AI Studio"
|
||||
authors = ["Thorsten Sommer"]
|
||||
|
||||
|
||||
+4
-4
@@ -136,11 +136,11 @@ fn update_cargo_toml(cargo_path: &str, version: &str) {
|
||||
let cargo_toml_lines = cargo_toml.lines();
|
||||
let mut new_cargo_toml = String::new();
|
||||
|
||||
// Return early when the version already matches to avoid unnecessary rewrites.
|
||||
// Return early when the version already matches to avoid unnecessary rewrites. The version of the
|
||||
// package is the one line which starts with `version = `, the same line the loop below replaces:
|
||||
// version = "26.11.1"
|
||||
let current_version = cargo_toml.lines().find_map(|line| {
|
||||
let trimmed = line.trim_start();
|
||||
let rest = trimmed.strip_prefix("\"version\": ")?;
|
||||
let quoted = rest.strip_prefix('"')?;
|
||||
let quoted = line.strip_prefix("version = \"")?;
|
||||
let end_idx = quoted.find('"')?;
|
||||
Some("ed[..end_idx])
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user