🚧 This instance is under construction; expect occasional downtime. Runners available in /repos. Questions? Ask in #wikimedia-gitlab on libera.chat, or under GitLab on Phabricator.

CHANGELOG.md 8.31 KB
Newer Older
Addshore's avatar
Addshore committed
1
2
# Changelog

Addshore's avatar
Addshore committed
3
All notable changes to this project will be documented in this file.
Addshore's avatar
Addshore committed
4

Addshore's avatar
Addshore committed
5
Each tagged release MUST have a section 2 heading starting at the time of release `## TAG-NAME...` or Gitlab release notes will be missed.
6

Addshore's avatar
Addshore committed
7
8
## Unreleased

Addshore's avatar
Addshore committed
9
10
- ...

11
12
13
14
## v0.8.1

- Fixed development environment `exec` and internal command running with `docker-compose` version 2

Addshore's avatar
Addshore committed
15
16
17
18
19
20
## v0.8.0

Development environment specific:

- Added `custom` service set, usable by creating a `custom.yml` (see the help output for details)
- Updated `eventlogging`, `graphite`, `mediawiki-web` & `mariadb` image versions
Addshore's avatar
Addshore committed
21
22
23
24
25
26
27
28
29
30
31
32
33
34

## v0.7.0

- Added `codesearch` command
- Added the ability to `update` to a specific `--version` (including rollback)
- Fixed "dirty" state in verbose version output

Development environment specific:

- Fixed the chown of some directories on `mediawiki install`
- Fixed running `fresh` or `quibble` after a previous failed command
- Fixed default `fresh` and `quibble` environment variables
- Fixed typos in setup wizard

Addshore's avatar
Addshore committed
35
36
37
38
39
40
41
42
43
44
45
## v0.6.0

- Added `toolhub search` command.
- Added `--type` filter to `toolhub list` commnand.

Development environment specific:

- Added `eventlogging` service.
- Fixed removal of non existant volumes through some commands.
- Fixed regression in 0.5.0 with passing env vars into exec commands such as `mw docker mediawiki exec -- XDEBUG_SESSION=1 php test.php`

Addshore's avatar
Addshore committed
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
## v0.5.0

- Added `toolhub` command for `list`ing and `get`ing tools.
- Added `gerrit change list` command.
- Added `gerrit group members` command.
- Improved all prompt questions.
- Now also built targetting `darwin/arm64`.

Development environment specific:

- Added `elasticsearch` service.
- Added a `mailhog` service https://github.com/mailhog/MailHog.
- Fixed issues cloning MediaWiki and Vecotr with a non shallow clone during setup.
- Fixed SQLite permission issues.
- Fixed issue with using `maintenance/shell.php`.
- Fixed some `quibble` commands.
- Fixed trying to save `/etc/hosts` file even when nothing had changed.

This release was made on 17th October 2021.

Addshore's avatar
Addshore committed
66
67
68
69
70
71
72
73
74
75
76
77
78
## v0.4.0

- Added `gerrit` command with `project` subcommand.
- Added `docker fresh` command.
- Added `docker memcached` command and service.
- Added `docker env clear` command to clear all environment variables.
- Added work in progress `docker quibble` command.
- Improved help output for the `docker redis` command.
- Fixed exit codes for various `docker hosts` commands.
- Fixed aborting of initial setup prompts for `docker mediawiki` (thanks Lens0021).
- Fixed typos throughout (thanks Lens0021).
- `$wgTmpDirectory` is no longer set by `docker mediawiki`, allowing the MediaWiki default to prevail.

Addshore's avatar
Addshore committed
79
80
This release was made on 15th October 2021.

Addshore's avatar
Addshore committed
81
82
83
84
## v0.3.0

- Added `gitlab` command for interacting with the Wikimedia Gitlab instance.
- Added `--no-interaction` option to all commands with user prompts.
Addshore's avatar
Addshore committed
85
- Changed update check period from 1 day to 3 hours.
Lens0021's avatar
Lens0021 committed
86
- Fixed long wait when checking for update with no internet.
Addshore's avatar
Addshore committed
87
- Fixed fatals on regular update check failures.
Addshore's avatar
Addshore committed
88

Addshore's avatar
Addshore committed
89
90
This release was made on 4th October 2021.

Addshore's avatar
Addshore committed
91
92
93
94
95
96
97
98
99
100
## v0.2.1

- `mw docker mediawiki install`
  - Added long help message, explaining what the command does.
  - Fixed composer lockfile check & prompt for composer update.
  - Fixed moving and restoration of LocalSetting.php during install.
  - Fixed leaving .bak LocalSettings files around if we correctly move the file back.
- `mw docker mediawiki exec`
  - Added mediawiki log tail example.

101
102
103
## v0.2.0

This is the second release built by CI on Gitlab, but the first that will be served to users.
Lens0021's avatar
Lens0021 committed
104
From this point forward users will automatically update from Gitlab releases.
105
106
107

- Added verbose flags to the `version` and `update` commands.
- Changed default output of the `version` command.
Lens0021's avatar
Lens0021 committed
108
- Changed default output of the `update` command when no update is available, making the output more useful.
109
110
111
- Removed `update_channel` from the configuration, the only update channel is now Gitlab.


Addshore's avatar
Addshore committed
112
113
114
115
116
117
118
119
120
## v0.1.0-dev.20210920.1

There are no functionality changes in this release compared to `v0.1.0-dev-addshore.20210916.1`.

This is the first release built by CI on Gitlab.

## v0.1.0-dev-addshore: [addshore/mwcli development on github](https://github.com/addshore/mwcli)

### [v0.1.0-dev-addshore.20210916.1](https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210916.1)
121
122
123

* `mw dev hosts`: command added to interact with your `/etc/hosts` file if needed
* `mw dev * exec`: commands can now have environment variables passed to them. e.g. `mw dev mediawiki exec -- FOO=bar env`
Lens0021's avatar
Lens0021 committed
124
* `mw dev`: ports are now checked for availability before listening begins
125
126
127
* `mw dev adminer`: Updated from `adminer:4.8.0` to `adminer:4` (enabling minor update)
* Fix typos

Addshore's avatar
Addshore committed
128
### [v0.1.0-dev-addshore.20210910.1](https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210910.1)
129
130
131
132

* `mw dev mediawiki phpunit`: Command has been removed, please use `mw dev mediawiki exec`
* `mw dev`: Use correct terminal size in all `exec` commands
* `mw dev destroy`: Fix command description
133

Addshore's avatar
Addshore committed
134
### [v0.1.0-dev-addshore.20210909.1](https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210909.1)
135
136

* `mw update`: Stop printing update success release notes twice
Lens0021's avatar
Lens0021 committed
137
* `mw dev docker-compose` no longer breaks if passed no arguments
138
139
140
141
142
143
144
* `mw dev mediawiki`: Switch default MediaWiki PHP version to 7.3
* `mw dev mediawiki`: Include `php-ast` in MediaWiki container
* `mw dev mediawiki`: Output details of username, password and domain of MediaWiki site after install
* `mw dev mediawiki`: Nicer error from MediaWiki if no DB exists when loading a site
* `mw dev mediawiki install`: now requires that you specify a `--dbtype`
* DEV: `make`: Fix generation of staticfiles using make

Addshore's avatar
Addshore committed
145
### [v0.1.0-dev-addshore.20210907.1](https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210907.1)
146

Addshore's avatar
Addshore committed
147
* Enable updates from releases.wikimedia.org
148
149
150
151
* Fix segfaults caused by xdebug and `xdebug.var_display_max_` -1 values. ([phabricator](https://phabricator.wikimedia.org/T288363))
  * MediaWiki no longer has `ini_set( 'xdebug.var_display_max_depth', -1 );` set
  * MediaWiki no longer has `ini_set( 'xdebug.var_display_max_children', -1 );` set
  * MediaWiki no longer has `ini_set( 'xdebug.var_display_max_data', -1 );` set
Addshore's avatar
Addshore committed
152

Addshore's avatar
Addshore committed
153
### [v0.1.0-dev-addshore.20210806.1](https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210806.1)
Addshore's avatar
Addshore committed
154
155
156
157
158
159

* Fix mysql server db check complaining about Countable ([phabricator](https://phabricator.wikimedia.org/T287695))
* Prepare for releases from releases.wikimedia.org
* Take backups of LocalSettings incase they get lost
* Create a user .composer directory if it doesn't exist ([phabricator](https://phabricator.wikimedia.org/T288309))

Addshore's avatar
Addshore committed
160
### [v0.1.0-dev-addshore.20210714.1](https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210714.1)
Addshore's avatar
Addshore committed
161
162
163
164
165

* Replace docker command with mwdd functionality
* Introduce a dev alias for use with your main development environment command
* Introduced basic cli configuration and config command

Addshore's avatar
Addshore committed
166
### [v0.1.0-dev-addshore.20210703.1](https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210703.1)
Addshore's avatar
Addshore committed
167
168
169
170
171
172
173
174

* Improve updater output
* mwdd
** Removed the confusing mwdd create command
** Implemented mwdd suspend and mwdd resume
** Fix most --user options for most exec commands
** Remove duplicate phpunit command

Addshore's avatar
Addshore committed
175
### [v0.1.0-dev-addshore.20210627.1](https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210627.1)
Addshore's avatar
Addshore committed
176
177
178
179
180
[https://github.com/addshore/mwcli/compare/v0.1.0-dev-addshore.20210524.1...v0.1.0-dev-addshore.20210627.1 Commits]

* mwdd: Use docker-compose 3.7 file versions
* mwdd: Use stretch-php72-fpm:3.0.0 image for MediaWiki, which fixed XDebug issues

Addshore's avatar
Addshore committed
181
### [v0.1.0-dev-addshore.20210524.1](https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210524.1)
Addshore's avatar
Addshore committed
182
183
184
185
186
187
188
[https://github.com/addshore/mwcli/compare/v0.1.0-dev-addshore.20210523.2...v0.1.0-dev-addshore.20210524.1 Commits]

* Allow users to choose if they update or not
* Check for new updates daily
* mwdd: Make use of a composer cache
* mwdd: Fix permissions of data and log mounts
* mwdd: Internally use maintenance/checkComposerLockUpToDate.php
Lens0021's avatar
Lens0021 committed
189
* mwdd: Add exec commands for all services
Addshore's avatar
Addshore committed
190

Addshore's avatar
Addshore committed
191
### [v0.1.0-dev-addshore.20210523.2](https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210523.2)
Addshore's avatar
Addshore committed
192
193
194
195

[https://github.com/addshore/mwcli/compare/v0.1.0-dev-addshore.20210523.1...v0.1.0-dev-addshore.20210523.2 Commits]

Initial addshore dev build of most mwdd functionality.