DiceRoller 3.0.0

.NET Framework 4.5.2
There is a newer version of this package available.
See the version list below for details.
dotnet add package DiceRoller --version 3.0.0
NuGet\Install-Package DiceRoller -Version 3.0.0
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="DiceRoller" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DiceRoller --version 3.0.0
#r "nuget: DiceRoller, 3.0.0"
#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.
// Install DiceRoller as a Cake Addin
#addin nuget:?package=DiceRoller&version=3.0.0

// Install DiceRoller as a Cake Tool
#tool nuget:?package=DiceRoller&version=3.0.0

Extensible and well-documented dice roller with a robust set of features. Excellent for play-by-post forums, virtual tabletops, or for integrating into character sheets or encounter managers.

Product Versions
.NET Framework net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
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
4.2.0 886 6/15/2021
4.1.0 4,433 12/26/2019
4.0.0 2,732 12/23/2018
3.1.0 1,083 10/6/2017
3.0.2 794 9/30/2017
3.0.1 787 9/23/2017
3.0.0 796 9/16/2017
2.0.2 886 6/21/2017
2.0.1 895 5/12/2017
2.0.0 961 5/6/2017
1.1.0 841 4/20/2017
1.0.0 860 4/18/2017

Breaking changes:
- DiceAST subclasses have their RollerConfig parameters swapped with RollData. This change is only breaking if you have implemented custom AST nodes.
 If you have not implemented custom AST nodes, no code changes need to be made to your project.

New features:
- RollerConfig.MacroRegistry can be used to associate macro callbacks to specific names instead of registering a global handler.
- A new [DiceMacro] attribute is added to be used in conjunction with MacroRegistry.RegisterType.
- Roller.Roll can now take an optional RollData object as a 3rd parameter. This can be used to add in custom functions or macros
 only valid for that roll (as opposed to global across multiple rolls as is the case for RollerConfig). Functions or macros
 defined here with the same name as global ones override the global ones.

Deprecated:
- RollerConfig.ExecuteMacro is deprecated and will be removed in a future version. Use RollerConfig.MacroRegistry instead.
     
See https://skizzerz.net/DiceRoller/Changelog for more changes.