Transiever.SieveRuler 1.1.5

dotnet add package Transiever.SieveRuler --version 1.1.5
                    
NuGet\Install-Package Transiever.SieveRuler -Version 1.1.5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Transiever.SieveRuler" Version="1.1.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Transiever.SieveRuler" Version="1.1.5" />
                    
Directory.Packages.props
<PackageReference Include="Transiever.SieveRuler" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Transiever.SieveRuler --version 1.1.5
                    
#r "nuget: Transiever.SieveRuler, 1.1.5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Transiever.SieveRuler@1.1.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Transiever.SieveRuler&version=1.1.5
                    
Install as a Cake Addin
#tool nuget:?package=Transiever.SieveRuler&version=1.1.5
                    
Install as a Cake Tool

Transiever.SieveRuler library

The library exposes:

  • RuleDocument and RuleDefinition as the JSON API.
  • Schema v1 conditions, exceptions, explicit actions, and the simple targetFolder shortcut.
  • JsonRuleSerializer with RuleDocument file and stream APIs.
  • Action-aware rule optimization and Sieve generation.
  • Strict Sieve import, byte-preserving composition, and source-aware reconciliation.
  • Typed preview, deployment, rollback, and history workflows over Transiever.ManageSieve.

Install

dotnet add package Transiever.SieveRuler

The package is available on NuGet.org. For a tool-selection guide and local/export workflow, see Generate and deploy Sieve rules from JSON in .NET.

The package includes the v1 JSON schema. All asynchronous I/O accepts CancellationToken.

GitHub releases publish this library to NuGet.org. Release versions are calculated by semantic-release and are not committed into the project file.

Expected preview, deployment, rollback, and history outcomes use typed statuses. Malformed inputs, stale state, I/O, and protocol failures throw.

Policy Notes

The library owns the provider-neutral workflow behavior behind preview, deployment, rollback, and retained-history operations. The canonical workflow description lives in the synchronization policy. Rules contract and provider metadata details live in the rules and metadata guide.

In short:

  • Preview writes separate reconciled ownership and rendered candidate rule documents.
  • Preview capability checks accept both advertised ManageSieve extensions and active-script require evidence.
  • Deployment plans are version 1 and preserve the current active script name by default.
  • Active-script replacement creates a server-side backup before mutation.
  • Rollback restores that backup, or reactivates the recorded source script when no backup was created.
  • Generated managed rules include Open-Xchange-compatible ## Flag: comments with stable IDs and rule names for provider UIs.
  • Deployment can prune inactive history in SieveRuler's reserved history namespace, keeping the oldest backup plus the newest 5 remaining history scripts by default.
  • History restore creates a fresh backup before changing active filtering.
  • History restore can restore the original unmanaged or no-active state when a retained marker exists.

SieveRuler is designed to stay Sieve-provider agnostic. However, provider UI metadata compatibility is currently only validated against mailbox.org's Open-Xchange implementation.

The library does not read environment variables or access Console.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.5 146 9/8/2026
1.1.4 214 8/29/2026
1.1.3 144 8/25/2026
1.1.2 136 8/21/2026
1.1.1 215 8/4/2026
1.1.0 209 7/21/2026
1.0.1 134 7/21/2026
1.0.0 167 7/10/2026
1.0.0-beta.2 76 7/7/2026