Skip to content

Commit

Permalink
🎂 Bump major version to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elifoster committed Oct 18, 2017
1 parent db384ca commit 692ca27
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# Changelog
## Version 3
### Version 3.0.0
**Breaking changes!**
* Update token system for MediaWiki 1.27+ (#45, #46, #65, #67).
* `login` no longer takes a third `token` parameter.
* `create_account` no longer takes a fifth `token` parameter.
* `create_account_email` no longer takes a fifth `token` parameter.
* `MediaWiki::Query::Properties#get_token` has been replaced by `MediaWiki::Query::Meta#get_token`. This only takes one parameter, as opposed to the old method's two parameters, which is the type of token to receive. Valid types are verified in the `MediaWiki::Query::Meta::TOKEN_TYPES` array.
* Remove unnecessary `autoparse`, `header`, and `override_assertion` parameters from `post` (#68).
* The returned value is now always a parsed hash, never an HTTPMessage directly.
* Initialization parameter defaults are more likely what is to be used now (#62, #66).
* `:query_limit_default` is now defaulted to `'max'`.
* `:use_continuation` is now defaulted to `true`.

## Version 2
### Version 2.0.1
* Fix NoMethodError in `get_templates_in_page` when called for pages with no templates (#61)
Expand Down
2 changes: 1 addition & 1 deletion mediawiki-butt.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '2.0.1'
s.version = '3.0.0'
s.license = 'MIT'
# Expand on this description eventually.
s.description = <<-EOF
Expand Down

0 comments on commit 692ca27

Please sign in to comment.