Skip to content

Commit

Permalink
REL 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
addshore committed Apr 27, 2017
1 parent a5beebc commit 6416e68
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
20 changes: 12 additions & 8 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
These are the release notes for the [mediawiki-api-base](README.md).

## Version 2.3.0 (No yet released)

* All guzzle configuration settings can now be overridden in `ClientFactory`
* Requests that fail due to maxlag will be automatically retried
* Added `MediawikiApi::getApiUrl`
* UsageException messages now include the error code and result the API returned
These are the release notes for the [mediawiki-api-base](README.md) library.

## Version 2.3.0 (27 April 2017)

* All guzzle configuration settings can now be overridden in `ClientFactory`. [#27](https://github.com/addwiki/mediawiki-api-base/pull/27)
* Requests that fail due to maxlag will be automatically retried. [#28](https://github.com/addwiki/mediawiki-api-base/pull/28). Fixes [T143193](https://phabricator.wikimedia.org/T143193).
* Added `MediawikiApi::getApiUrl`. [#24](https://github.com/addwiki/mediawiki-api-base/pull/24)
* Debugging infomation now logged when login fails. [#26](https://github.com/addwiki/mediawiki-api-base/pull/26)
* UsageException messages now include the error code and result the API returned. [#31](https://github.com/addwiki/mediawiki-api-base/pull/31)
* Both formatversion=2 and old style API results supported [#33](https://github.com/addwiki/mediawiki-api-base/pull/33)
* Fix [MediawikiApi::newFromPage() fails on non-XML HTML](https://phabricator.wikimedia.org/T163527). [#34](https://github.com/addwiki/mediawiki-api-base/pull/34)
* Various CI improvements.

## Version 2.2.1 (3 August 2016)

Expand Down
6 changes: 2 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"name": "addwiki/mediawiki-api-base",
"type": "library",
"description": "A basic Mediawiki api base lib",
"description": "A basic Mediawiki api base library",
"keywords": ["Mediawiki"],
"license": "GPL-2.0+",
"authors": [
{
"name": "Addshore"
}
{ "name": "Addshore" }
],
"require": {
"php": ">=5.5",
Expand Down
8 changes: 4 additions & 4 deletions docs/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ installs them into your project.
# Install Composer
curl -sS https://getcomposer.org/installer | php
You can add Guzzle as a dependency using the composer.phar CLI:
You can add addwiki/mediawiki-api-base as a dependency using the composer.phar CLI:

.. code-block:: bash
php composer.phar require addwiki/mediawiki-api-base:~2.0
Alternatively, you can specify Guzzle as a dependency in your project's
Alternatively, you can specify addwiki/mediawiki-api-base as a dependency in your project's
existing composer.json file:

.. code-block:: js
Expand All @@ -62,13 +62,13 @@ Bleeding edge
--------------------------

During your development, you can keep up with the latest changes on the master
branch by setting the version requirement for Guzzle to ``~2.0@dev``.
branch by setting the version requirement for addwiki/mediawiki-api-base to ``~2.0@dev``.

.. code-block:: js
{
"require": {
"guzzlehttp/guzzle": "~2.0@dev"
"addwiki/mediawiki-api-base": "~2.0@dev"
}
}
Expand Down

0 comments on commit 6416e68

Please sign in to comment.