diff --git a/CHANGELOG.md b/CHANGELOG.md index 695e080..1b23c5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog ## Version 1 +### Version 1.3.0 +**Security update!** +* Add support for the Assert API (PR #51). + * New `:assertion` option in initialize opts. It takes either `:user` or `:bot`. + * New `override_assertion` parameter in `post` to prevent assertion errors being thrown. + * **Note**: Assertions will only happen if `post`'s `autoparse` parameter is true. + * New NotLoggedInError and NotBotError for the according assertions. + * `Butt#user_bot?` no longer has a parameter. It now queries with an assertion rather than checking the user's groups. + * New method `Butt#logged_in?` to check if the current instance is logged in. + ### Version 1.2.0 * Add support for the Purge API (#48) diff --git a/mediawiki-butt.gemspec b/mediawiki-butt.gemspec index a6e8b63..3653425 100644 --- a/mediawiki-butt.gemspec +++ b/mediawiki-butt.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.authors = ['Eli Foster', 'Eric Schneider (xbony2)'] s.name = 'mediawiki-butt' s.summary = 'Interacting with the MediaWiki API' - s.version = '1.2.0' + s.version = '1.3.0' s.license = 'MIT' # Expand on this description eventually. s.description = <<-EOF