summaryrefslogtreecommitdiff
path: root/bin/wiki/vendor/addwiki/mediawiki-datamodel/RELEASENOTES.md
blob: 08df4aabe7c8dfb670cd4a966ddb37f0277de0d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
These are the release notes for the [mediawiki-datamodel](README.md).

## Version 0.7.1 (10th January 2017)

* [T184567](https://phabricator.wikimedia.org/T184567) `User` objects can now be created with a `null` `$registration`.

## Version 0.7 (8th March 2017)

#### New features

* Add NamespaceInfo class 

## Version 0.6 (2015-09-04)

#### Compatibility  changes

* Log object now takes a PageIdentifier object instead of a Page object

#### Deprecations

* Title::getTitle is deprecated

#### New features

* Implemented File class
* Implemented Redirect class
* Title::getText introduced to replace getTitle
* Log now implements JsonSerializable
* LogList now implements JsonSerializable
* Title now implements JsonSerializable
* PageIdentifier now implements JsonSerializable

## Version 0.5 (2015-01-13)

#### Compatibility  changes

* Revision objects now require a PageIdentifier object instead of a $pageId int
* Page objects now require a PageIdentifier objects instead of a $title and $pageId
* Content getNativeData renamed to getData
* Content constructor changed, now takes data and optional model
* Content has new method getModel in places of random constants
* Removed WikitextContent class. Content is no longer abstract.

#### New features

* Implemented Log class
* Implemented LogList class
* Introduce PageIdentifier class
* Page objects can be constructed without a Revisions object

## Version 0.4 (2014-07-08)

* Page objects now ONLY accept a Title object for $title in their constructor.
* InvalidArgumentExceptions are now thrown when objects are constructed with the wrong types.
* User objects now split up implicitgroups and regular groups, thus $groups is now array[]


## Version 0.3 (2014-06-24)

#### Compatibility  changes

* Revision objects now take a Content object as $content

#### Additions

* Content class
* WikitextContent class
* Pages class


## Version 0.2 (2014-02-23)

#### Compatibility  changes

* Revision enhanced to allow more flexibility, Constructor and public functions have changed
* contentmodel has been removed from the Page class


## Version 0.1 (2014-02-23)

Initial release with the following features:

* EditInfo
* Page
* Revision
* Revisions
* Title
* User