Skip to content

Releases

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 18 Nov 00:49
5004b16

What's Changed

This release extends Docker publishing with release-versioned image tags, so each SDK image can also be pinned to the exact csrun engine version that produced it while the existing convenience tags keep moving as before.

  • Versioned SDK image aliases add a -vMAJOR.MINOR.PATCH tag for every existing SDK environment tag, letting consumers pin an image to a specific csrun release,
  • Safer publishing checks destination tags before pushing, retries matching digests, rejects conflicting tags and verifies the exact OCI index digest, and deployment checks every SDK variant before any convenience tag moves,
  • Regression coverage and documentation exercise both tag families, fork publishing and manual recovery, and explain how historical convenience-only releases are recovered without inventing versioned tags.

Note

The native PowerShell engine (csrun.ps1), manifest schema version 1 and the container execution contract are unchanged, so existing usage keeps working without modification.

Sources:

Full Changelog: v0.2.1...v0.2.2

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 16 Nov 19:38
1e96747

What's Changed

This release removes a misleading .NET SDK warning from disposable container runs, clarifies the project's identity in its documentation, and repairs the production image promotion and manual deployment workflows.

  • Container warning suppression sets DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK=true in the container image, so successful console and xUnit runs no longer print a misleading workload verification warning,
  • Container regression coverage adds tests for warning-free console and genuine xUnit v3 execution, environment overrides, and unchanged failure diagnostics and read-only execution,
  • Production image promotion materializes verified OCI content as a temporary layout before pushing, so publishing no longer depends on restoring tar ownership, which failed for rootless runs,
  • Single Production approval promotes all three SDK variants (10, 11, and 10-11) in one deploy job under one approval,
  • Pinned deployment tooling checks out the commit that runs the deployment tooling, so fixes to that tooling apply during recovery runs while the release source commit is still verified against the saved artifacts,
  • Documentation presents the README title as C# Example & Test Runner (csrun), documents the optional-workload limitation, and adds the 0.2.1 changelog entry.

Note

The workload integrity check is skipped by default in the container image. Consumers that require that verification can restore the SDK default with -e DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK=false.

Sources:

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 23:25
f6c99a7

What's Changed

This release introduces optional disposable Linux container execution for csrun, so manifests can run the same engine inside a container with the selected .NET SDKs preinstalled, backed by a release pipeline that verifies and publishes those images.

  • Container execution runs manifests piped from stdin in an unprivileged Linux container, with the image pinned to the latest released engine asset and verified by checksum, while generated code and build artifacts stay in container-owned storage,
  • Host isolation passes no host mounts, credentials, or Docker socket by default, so the container does not reach into the host unless you opt in,
  • SDK environment images are built from exact SDK inputs with deterministic tags, and duplicate or unsupported channels are rejected before any publishing happens,
  • OCI verification and promotion tooling checks image archives before they are promoted, and verified images are attached to draft releases,
  • CI and release validation runs container tests in pull request and release workflows, adds a required quality gate to the PR workflow, and pins runners to windows-2025 and ubuntu-26.04,
  • Docker Hub deployment adds a production workflow for publishing the verified images,
  • Documentation covers container usage, SDK environment publishing, validation results and their limits, and the fixed Ubuntu runner policy.

Sources:

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 15:08
0525ee0

What's Changed

This release introduces csrun as a standalone PowerShell 7 script that runs a complete C# console program or xUnit v3 test from a manifest, a source file, or inline source, without cloning a repository or creating a project first.

  • Console and test modes run C# console programs or xUnit v3 tests on the Microsoft Testing Platform, and test runs preserve the process exit status,
  • Framework defaults resolve to the highest supported GA LTS channel from Microsoft's official release index, cached for up to 12 hours, and explicit targets must be .NET 10 or later,
  • Exact NuGet pins are declared with dependsOn as PackageId@ExactVersion, including prerelease versions, with optional sdk and frameworkReferences fields for ASP.NET Core console scenarios,
  • Scriptblock invocation keeps the calling PowerShell session alive and sets $LASTEXITCODE, so the runner fits into larger automation,
  • Manifest validation rejects non-string framework values early with a clear message instead of letting them reach the MSBuild property,
  • Regression and CI coverage exercises the runner against fixtures and samples, and pull request and tag workflows run the suite on the .NET 11 SDK and a .NET 10 compatibility job before a draft release with the tested csrun.ps1 attached,
  • Documentation and samples explain the copy-and-run flow, local options, and the schemaVersion 1 manifest format, with sample manifests for console, date span, xUnit output, and LTS default usage,
  • Repository policy adds the MIT license, AGENTS.md engineering and .NET support rules, and Codebelt GitHub Actions with patch-precision SDK selection for CI.

Warning

csrun executes C# source and NuGet packages with your current permissions. It is not a sandbox, so review the script and the source before running them.

Sources:

New Contributors

Full Changelog: https://github.com/codebeltnet/csrun/commits/v0.1.0