Skip to content

Commit 18a014b

Browse files
committed
Release 4.0.0
1 parent 9202c9a commit 18a014b

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: php
22

33
php:
4-
- 5.3
4+
- 5.5
55

66
sudo: false
77

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@ at the heart of the [Wikibase software](http://wikiba.se/).
88

99
## Release notes
1010

11-
### 3.1.0 (2017-09-01)
12-
13-
* Added a `hash` parameter to the constructors of
14-
`Snak`, `PropertyValueSnak`, `PropertySomeValueSnak` and `PropertyNoValueSnak`,
15-
as well as a `getHash()` function to the `Snak` class.
11+
### 4.0.0 (2017-09-01)
12+
13+
* Added an optional `hash` constructor parameter and a `getHash` method to `Snak`,
14+
`PropertyValueSnak`, `PropertySomeValueSnak`, and `PropertyNoValueSnak`.
15+
* Removed all move-related methods from `SnakList`: `moveUp`, `moveDown`, `move`, as well as
16+
`getValidMoveIndices`.
17+
* Removed dysfunctional `addStatement` and `removeStatement` methods from both `Item` and `Property`
18+
classes.
19+
* Declared `SnakList.getFilteredSnakList` private.
20+
* Travis now runs the QUnit tests.
1621

1722
### 3.0.1 (2016-09-09)
1823

init.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* @deprecated since 3.0
55
*/
6-
define( 'WIKIBASE_DATAMODEL_JAVASCRIPT_VERSION', '3.1.0' );
6+
define( 'WIKIBASE_DATAMODEL_JAVASCRIPT_VERSION', '4.0.0' );
77

88
if ( defined( 'MEDIAWIKI' ) && function_exists( 'wfLoadExtension' ) ) {
99
wfLoadExtension( 'WikibaseDataModelJavaScript', __DIR__ . '/mediawiki-extension.json' );

mediawiki-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
],
66
"url": "https://github.com/wmde/WikibaseDataModelJavascript",
77
"description": "Javascript implementation of the Wikibase data model",
8-
"version": "3.1.0",
8+
"version": "4.0.0",
99
"type": "wikibase",
1010
"license-name": "GPL-2.0+",
1111
"manifest_version": 1

0 commit comments

Comments
 (0)