Plugin stack: follow-ups before 4.5

Aperta
#3,580 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
14/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp, game-dev
Ambito
devtools

Direzione di ricerca

This is a tracker with no single entry point, so a newcomer should pick one item and read its linked PR first, such as the companion restore code behind the NuGet.config item from #3535. Several items are open design questions or marked to confirm, and the thread has no comments yet. Done means one checklist item is resolved with its own tests and reviewer sign-off.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area-Plugins enhancement

The plugin stack (#3535 to #3547) is merged without these items. They come from the review (https://github.com/stride3d/stride/pull/3535#issuecomment-6135165867) and should land before 4.5 is released. Each one either runs when users upgrade, freezes at the release (public API, package layout), or is about safety.

Items marked "to confirm" need a closer look first to see how serious they are.

Later improvements are tracked in #3581.

Upgraders (they run once per project, when it is upgraded to 4.5)
  • #3538 The package upgrader scans the project folder, not the package's AssetFolders: a project with custom asset folders can be missed
  • #3547 The compositor upgrader skips compositors with a rotated archetype id
  • #3547 The compositor decision is made per package: a library and its executable can get different answers
  • #3547 The UI design sheet URL rewrite is silent: it should log what it changes
  • #3543 The code upgrader can insert a using above the license header of a file
  • Opening a 4.4 project through its platform .csproj (no .sln) and upgrading: the first project's restore pins the Stride.* versions to 4.4.0, so the upgraded game gets the 4.4.0 package content labelled 4.5. On master the content is silently old; with the plugin stack it fails ("Cannot add StrideUIDesigns ... already in package Stride.Engine 4.4.0", the asset moved to Stride.UI.Assets)
Public API and package layout (they freeze at the release)
  • #3539 Bepu: three copies of the fill-mode enum, and FillMode changes type
  • #3539 Bepu: ConvexHullMesh is public with rough edges: make it internal, or finish it
  • #3544 IThumbnailComponent is an editor concern in Stride.Engine (to confirm: is it new public API?)
  • #3541 Navigation assets live in the Physics companion: decide whether they get their own Assets companion before the Bullet rename (moving them later needs another upgrader)
Companion packages
  • #3535 Companion restore reads only NuGet.config: RestoreSources, RestorePackagesPath, fallback folders and lock files are ignored, so a project with custom feeds or package folders can fail to restore
  • #3535 Versions of a companion's own companions depend on load order (third-party plugins)
  • #3545 Host assemblies matched by simple name win over the game's deps.json: the wrong version can load (to confirm)
Robustness
  • #3536 Template prompt paths are validated on their first segment only (to confirm: can a template write outside the project?)
  • #3536 The ffmpeg probe has no timeout, and its arguments are built by string interpolation (file names with quotes)
  • #3536 Editor registries are written from loader threads and read from UI and game threads
  • #3544 The plugin template's Editor project pulls System.Drawing.Common 4.6.0 (critical vulnerability warning on every new plugin) (to confirm)
Docs
  • #3544 Plugin authoring: where the version comes from, publishing and consuming a plugin, debugging one
  • Release notes for the plugin system
Lingua principale
C#
Stelle
8k
Fork
1.2k
Merge medio
2g 7h
PR unite (30g)
316

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di stride3d/stride

Tutte le issue di stride3d/stride

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.