Releases: ritten-org/Ritten
Releases · ritten-org/Ritten
Release list
v0.20.0
Added
WriteAllTextandReadAllTextIfExistson everyIFile. Writes are atomic by default.IFile.MoveTo,GetUnixFileModeandSetUnixFileMode, the primitives the atomic write is built from.
Changed
IFile.OpenWritetruncates. It used to open an existing file without emptying it, so every whole-file writer carried the sameSetLength(0)workaround; they all useWriteAllTextnow.
v0.19.0
Added
Ritten.NuGet. The feed client,NugetRead,CheckVersion,NugetAuthenticate,NugetPush, so a host composing its own jobs can check and publish packages without the tool.- A continuous release cadence.
release.cadenceinritten.json—curatedorcontinuous. Undercontinuousevery merge that changes what ships is a release, so a pull request that changes it must move the version.
v0.18.0
Changed
- Empty reports no longer get commented. A run that stops early before any report section no longer gets posted as a comment on the PR.
v0.17.0
Added
ISecretProvider, the secrets provider a host registers.Resolveturns a reference into the secret it names.Ritten.OnePassword. The first provider:AddOnePassword()resolvesop://vault/item/fieldreferences through the 1Password CLI, authenticated from the environment or a service-account token file.EnvironmentFile. Reads an env file the waydocker compose --env-filedoes —NAME=value, comments, quotes — and resolves the references in it through the registered provider, so a file on disk holds the names of secrets and never a value.TofuEnvironment. The environment a root module is applied to: a variable file and env files, produced by a workflow's own step and read by every OpenTofu step after it.
Changed
- The OpenTofu client deploys to any environment.
Init,PlanandApplytake theTofuEnvironmentper call. TofuPlanproduces itsTofuPlanResult.
v0.16.1
Fixed
- Ritten.OpenTofu is no longer missing. Forgot to include the project in
ritten.json.
v0.16.0
Added
Ritten.OpenTofu.IOpenTofuover thetofuon the path, withTofuInit,TofuFormatCheck,TofuPlanandTofuApplysteps.SectionName.Infrastructure. What a change would do, or did, to the infrastructure.- Docker steps.
ComposeCheck,BuildImagesandComposeUpinRitten.Docker. IDocker.ComposeValidate. Resolves the compose file without touching anything, and hands back what compose objected to rather than a pass/fail.- The tool registers the Forgejo runtime.
rittenon a Forgejo runner now gets the job summary and the pull request commentRitten.Forgejoalready knew how to write.
v0.15.0
Added
- Forgejo PR comments.
Ritten.Forgejonow keeps one comment per workflow on the pull request under review. - Better Forgejo envrionmen support. The runtime now reads the pull request's number and base ref from the run and registers a
PullRequestinfo model. IGit.ChangedFilesSince. For checking what files have been changed in a given branch.
v0.14.0
Added
IDockercan stop and start a compose stack in place.ComposeStop/ComposeStart. Dry runs report the stop and start.
v0.13.0
Added
IGit.IsRepository. Whether the directory the client addresses is a working tree or inside one.Ritten.Forgejo. The Forgejo Actions runtime: detected onFORGEJO_ACTIONS, claiming theGITHUB_*mirrors the runner exports for GitHub-written workflows so it outranks the GitHub runtime where both are registered.Ritten.Docker. A docker client for workflows:IDockerbuilds, tags, pushes and logs in, runs a container to completion, and converges or removes a compose stack.
v0.12.0
Added
IGitcan address a repository other than the workflow's.InRepository(directory)returns a client bound to that working tree, for a job that maintains a checkout beside its own.IGitcommits and pushes.Stage,Commit,Push(with an optionalGitCredential, handed to git through a one-shot credential helper in the environment so it never reaches the remote URL or an argument list),AddRemote,CurrentBranch,UpstreamandCommitsAheadjoin the tagging operations. Dry runs report each write instead of making it.