From b5e39df6fc400ec2d265b2807d8f91de69f99826 Mon Sep 17 00:00:00 2001 From: Wil Stead Date: Thu, 15 Apr 2021 16:35:24 -0400 Subject: [PATCH] Fixed editor parameter signature in creation callback --- .github/workflows/publish.yml | 2 +- docs/CHANGELOG.md | 4 ++++ src/IWikiOptions.cs | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0f035f0..51fe43f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,6 @@ name: publish env: - VERSION: '0.2.2-preview' + VERSION: '0.2.3-preview' PRERELEASE: true on: push: diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 9c5057c..eeecafa 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.2.3-preview +### Fixed +- Fixed editor parameter signature in creation callback. + ## 0.2.2-preview ### Added - Add editor to creation callback. diff --git a/src/IWikiOptions.cs b/src/IWikiOptions.cs index 9b4f41c..a8c0483 100644 --- a/src/IWikiOptions.cs +++ b/src/IWikiOptions.cs @@ -11,7 +11,7 @@ namespace Tavenem.Wiki /// /// The new article. /// The ID of the editor who created the article. - public delegate ValueTask OnCreatedFunc(Article article, string? editor); + public delegate ValueTask OnCreatedFunc(Article article, string editor); /// /// The delegate signature used by .