Skip to content

2027.0.1

Choose a tag to compare

@github-actions github-actions released this 11 May 21:56
  • Updated TUnit to 1.44

  • Reworked RevitThreadExecutor, fixing crashes and thread-affinity issues

  • TUnit 1.33 changed the order in which test classes are initialised: instance field initialisers now run before the Revit session hook.
    Field initialisers that previously worked are no longer safe, because they load Revit API types before the application is injected.
    Rewrite them lazily c92b6b9.

    Before:

    private protected Dictionary<string, Document> Documents { get; } = [];

    After:

    private protected Dictionary<string, Document> Documents => field ??= new();

Full changelog: 2027.0.0...2027.0.1