@automattic/vip 2.9.3 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CONTRIBUTING.md CHANGED
@@ -44,21 +44,12 @@ Our release flow for VIP CLI follows this pattern:
44
44
  - Include a Changelog for all npm version releases, including any minor or major versions
45
45
  - This is a public repository. Please do not include any internal links in PRs, changelogs, testing instructions, etc.
46
46
  - Merge changes from your feature branch to the `develop` branch
47
- - Please do not merge any changes into the `master` branch yet. All features/changes that are not ready to be public should stay in the `develop` branch to avoid conflicts when releasing urgent fixes.
48
- - Changes from the `develop` branch are merged to `master` and released on NPM following our release schedule
49
- - Any team member that is part of our NPM organization can release new minor or major versions, but please have a Customer Experience (Pâtisserie) team member look over the changes first.
47
+ - If you are ready to release your changes publicly, merge your changes from the `develop` branch to the `master` branch. All changes that are not ready to be public should be feature flagged or stay in the `develop` branch to avoid conflicts when releasing urgent fixes (not recommended).
48
+ - Finally, release your changes as a new minor or major NPM version. Ping in the #vip-platform-patisserie channel to notify folks of a new release, but please feel free to release your changes without any blockers from the team. Any team member that is part of the Automattic NPM organization can release a new version; if you aren't a member, generic credentials are available in the Secret Store.
50
49
 
51
50
  ### Changelogs
52
51
  Changelogs allow customers to keep up with all the changes happening across our VIP Platform. Changelogs for VIP CLI are posted to the [VIP Cloud Changelog P2](https://wpvipchangelog.wordpress.com/), along with the repository’s `README.md`.
53
52
 
54
- ### Release Schedule
55
-
56
- The VIP Customer Experience squad conducts releases on Tuesdays from 4AM to 5PM Pacific Time (US). Releases are regular but do not happen every Tuesday. Please coordinate with the VIP Customer Experience squad if you'd like to lead your own release.
57
-
58
- As part of the release process, our squad merges changes from the `develop` branch to the `master` branch. Therefore, do not merge changes into `develop` unless it is ready for release (or use a feature flag to disable it).
59
-
60
- Fixes for urgent or breaking bugs may be merged straight to the `master` branch and released publicly via `npm` at any time outside of our release window. All other changes should participate in our release window.
61
-
62
53
  ## Releasing / Publishing
63
54
 
64
55
  ### Pre-publish Checks
package/README.md CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  VIP-CLI is your tool for interacting with and managing your VIP applications.
3
2
 
4
3
  ## Getting started
@@ -27,7 +26,33 @@ By default, we record information about the usage of this tool using an in-house
27
26
 
28
27
  ## Changelog
29
28
 
29
+ ### 2.10.0 (4 May 2022)
30
+
31
+ - #1021 [dev-env] Add login info and documentation link to `dev-env info`
32
+ - #1023 [dev-env] Skip the trunk from the prompt about the latest available WordPress versions
33
+ - #1019 [dev-env] Unifies lando and other dev-env debug logs
34
+ - #1018 [dev-env] enable lando debug on `--debug`
35
+ - #1017 [dev-env] Adding tracking for create and destroy sub commands
36
+ - #1016 [dev-env] Adding tracking for start sub command
37
+ - #1020 [dev-env] More tracking
38
+
39
+ ### 2.9.5 (26 April 2022)
40
+
41
+ - #1005 [dev-env] updateWordPress image improvements
42
+ - #1006 Remove renovate.json
43
+ - #1007 Set up CodeQL Scanning
44
+ - #1008 WP-CLI: Reattach Reconnect-Related Events After a Successful Reconnection
45
+ - #1009 Add ability to choose a PHP image to use
46
+ - #1010 [dev-env] Add Enterprise Search, XDebug, phpMyAdmin options to the config wizard.
47
+
48
+ ### 2.9.4 (07 April 2022)
49
+
50
+ - #996 Clean up lint warnings
51
+ - #1001 Fix reconnect event listeners
52
+ - #1000 Bump socket.io-client from 4.0.1 to 4.4.1
53
+
30
54
  ### 2.9.3 (29 March 2022)
55
+
31
56
  - #995 Add debug call to dev-envs handleCLIException
32
57
  - #992 Add --debug flag to all commands
33
58
  - #993 [dev-env] Fix in caching version list.
@@ -38,96 +63,109 @@ By default, we record information about the usage of this tool using an in-house
38
63
  - #987 Add support for M1 Macs in the search-replace tests
39
64
 
40
65
  ### 2.9.2 (9 March 2022)
41
- - #980 [dev-env] Fix/tag formatting on stapled images
42
- - #986 Clean the build folder prior to rebuilding it
43
- - #985 Adding webP to the list of accepted extensions for files
44
- - #972 Run tests in Windows Env
66
+
67
+ - #980 [dev-env] Fix/tag formatting on stapled images
68
+ - #986 Clean the build folder prior to rebuilding it
69
+ - #985 Adding webP to the list of accepted extensions for files
70
+ - #972 Run tests in Windows Env
45
71
 
46
72
  https://github.com/Automattic/vip/releases/tag/v2.9.2
47
73
 
48
74
  ### 2.9.1 (2 March 2022)
49
- - #982 Remove unused dependencies - Fixes Error: Cannot find module 'core-js'
50
- - #978 [dev-env] Added phpmyadmin proxy value
75
+
76
+ - #982 Remove unused dependencies - Fixes Error: Cannot find module 'core-js'
77
+ - #978 [dev-env] Added phpmyadmin proxy value
51
78
 
52
79
  https://github.com/Automattic/vip/releases/tag/v2.9.1
53
80
 
54
81
  ### 2.9.0 (1 March 2022)
55
- - #966 [dev-env] Dynamic WordPress Image List
56
- - #975 [dev-env] prompt On Unselected Env
57
- - #974 [dev-env] Corrections of text for -h menu in dev-env create
58
- - #973 [dev-env] update Nginx image
59
- - #971 [dev-env] Use custom add user command
60
- - #964 [dev-env] Validate sql on import
61
- - #970 [dev-env] Do not use /tmp as a userConfRoot
62
- - #977 Fix flow errors
63
- - #976 Fix/duplicate shortcut parameter
64
- - #968 Update minimum Node version
82
+
83
+ - #966 [dev-env] Dynamic WordPress Image List
84
+ - #975 [dev-env] prompt On Unselected Env
85
+ - #974 [dev-env] Corrections of text for -h menu in dev-env create
86
+ - #973 [dev-env] update Nginx image
87
+ - #971 [dev-env] Use custom add user command
88
+ - #964 [dev-env] Validate sql on import
89
+ - #970 [dev-env] Do not use /tmp as a userConfRoot
90
+ - #977 Fix flow errors
91
+ - #976 Fix/duplicate shortcut parameter
92
+ - #968 Update minimum Node version
65
93
 
66
94
  https://github.com/Automattic/vip/releases/tag/v2.9.0
67
95
 
68
96
  ### 2.8.2 (27 January 2021)
69
- - #961 Fixes md5 calculation failing when search-replace is used
70
- - #959 Fixes md5 calculation for SQL Imports on VIPd
97
+
98
+ - #961 Fixes md5 calculation failing when search-replace is used
99
+ - #959 Fixes md5 calculation for SQL Imports on VIPd
71
100
 
72
101
  https://github.com/Automattic/vip/releases/tag/v2.8.2
73
102
 
74
103
  ### 2.8.0 (25 January 2021)
75
- - #952 FORNO-1047: Fix SQL Import for compressed files
76
- - #955 Add Error prefix for "Failed to fetch logs" msg
77
- - #946 Add support for the site logs tailing feature
78
- - #953 [dev-env] Updated list of available wordpress images for dev-env
79
- - #933 Update dependency debug to v4.3.3
104
+
105
+ - #952 FORNO-1047: Fix SQL Import for compressed files
106
+ - #955 Add Error prefix for "Failed to fetch logs" msg
107
+ - #946 Add support for the site logs tailing feature
108
+ - #953 [dev-env] Updated list of available wordpress images for dev-env
109
+ - #933 Update dependency debug to v4.3.3
80
110
 
81
111
  https://github.com/Automattic/vip/releases/tag/v2.8.0
82
112
 
83
113
  ### 2.7.1 (10 January 2021)
114
+
84
115
  - #950 Switch to npm-shrinkwrap
85
- - #947 [dev-env] List all dev env alias
86
- - #944 Add `vip whoami` command
87
- - #942 Envvar: Show message when there is an attempt to change the New Relic key.
116
+ - #947 [dev-env] List all dev env alias
117
+ - #944 Add `vip whoami` command
118
+ - #942 Envvar: Show message when there is an attempt to change the New Relic key.
88
119
 
89
120
  https://github.com/Automattic/vip/releases/tag/v2.7.1
90
121
 
91
122
  ### 2.7.0 (07 December 2021)
92
- - #941 [dev-env] Bump lando CLI dependency
93
- - #938 Hide roll back message after SQL Import failure for launched sites
94
- - #936 Sets jest maxWorkers to 4
123
+
124
+ - #941 [dev-env] Bump lando CLI dependency
125
+ - #938 Hide roll back message after SQL Import failure for launched sites
126
+ - #936 Sets jest maxWorkers to 4
95
127
 
96
128
  https://github.com/Automattic/vip/releases/tag/v2.7.0
97
129
 
98
130
  ### 2.6.0 (23 November 2021)
99
- - #921 [dev-env] Introuces update to change existing environment
100
- - #928 [dev-env] Switch lando to use our fork
101
- - #927 [dev-env] Handles user already exists during sql import
102
- - #925 [dev-env] Fix the issue with dev-env update
103
- - #924 FORNO-985 Increase SQL Import limit for unlaunched sites to 100GB
104
- - #923 FORNO-943 Fixes a bug which prevents displaying SQL Import error messages
105
- - #922 Update eslint-config-wpvip commit hash to c6605d1
106
- - #873 Pin dependencies
131
+
132
+ - #921 [dev-env] Introuces update to change existing environment
133
+ - #928 [dev-env] Switch lando to use our fork
134
+ - #927 [dev-env] Handles user already exists during sql import
135
+ - #925 [dev-env] Fix the issue with dev-env update
136
+ - #924 FORNO-985 Increase SQL Import limit for unlaunched sites to 100GB
137
+ - #923 FORNO-943 Fixes a bug which prevents displaying SQL Import error messages
138
+ - #922 Update eslint-config-wpvip commit hash to c6605d1
139
+ - #873 Pin dependencies
107
140
 
108
141
  ### 2.5.0 (9 November 2021)
109
- - #919 [dev-env] Expose lando core logs
110
- - #916 [dev-env] Save instance data state
111
- - #914 [dev-env] update help wording for dev env
112
- - #915 Add warning message when an envvar is set/deleted
142
+
143
+ - #919 [dev-env] Expose lando core logs
144
+ - #916 [dev-env] Save instance data state
145
+ - #914 [dev-env] update help wording for dev env
146
+ - #915 Add warning message when an envvar is set/deleted
113
147
 
114
148
  ### 2.4.0 (5 November 2021)
115
- - #913 [dev-env] No login required for dev-env
116
- - #911 Adds more release instructions
149
+
150
+ - #913 [dev-env] No login required for dev-env
151
+ - #911 Adds more release instructions
117
152
 
118
153
  ### 2.3.1 (2 November 2021)
154
+
119
155
  - Fixes an issue with the 2.3.0 where the intended changes didn't get published correctly.
120
156
 
121
157
  ### 2.3.0 (2 November 2021)
122
- - #908 [dev-env] Custom user permissions setup
123
- - #897 [dev-env] Primary domain prompt for primary domain redirect
124
- - #902 [dev-env] Delete file permissions
125
- - #900 Clarify CONTRIBUTING guidelines
126
- - #905 Update contribution steps
158
+
159
+ - #908 [dev-env] Custom user permissions setup
160
+ - #897 [dev-env] Primary domain prompt for primary domain redirect
161
+ - #902 [dev-env] Delete file permissions
162
+ - #900 Clarify CONTRIBUTING guidelines
163
+ - #905 Update contribution steps
127
164
 
128
165
  ### 2.2.0 (27 October 2021)
129
166
 
130
167
  New: Environment variables command
168
+
131
169
  - #896 Open config envvar command for all customers
132
170
  - #876 Update envvar list command to only show names
133
171
  - #879 Add config envvar get and get-all commands
@@ -135,6 +173,7 @@ New: Environment variables command
135
173
  - #858 Environment variable CLI commands (list, set, delete)
136
174
 
137
175
  Fixes:
176
+
138
177
  - #901 Don't mark import as failed until restore has completed
139
178
  - #899 Proxy fix + healthchecks
140
179
  - #894 support windows db import
@@ -149,6 +188,7 @@ Fixes:
149
188
  - #870 Add the VIP CLI release process and release schedule
150
189
 
151
190
  Dependencies updates:
191
+
152
192
  - #778 Update dependency ini to v2
153
193
  - #786 Update dependency keytar to v7
154
194
  - #884 Update dependency cli-columns to v4
@@ -161,28 +201,28 @@ https://github.com/Automattic/vip/releases/tag/v2.2.0
161
201
 
162
202
  ### 2.1.0 (16 September 2021)
163
203
 
164
- - #857 Remove select DB checks
165
- - #864 Adding WordPress versions to dev-env
166
- - #868 persist database data in between container restarts
167
- - #862 Fix lint warnings
168
- - #867 Update dependency lando to v3.3.2
169
- - #863 Add links to CONTRIBUTING and SECURITY
170
- - #855 Add some helpful hints for new command scaffolding
171
- - #856 Adding media import command on dev environment
172
- - #849 Adding SQL import to dev environment
173
- - #854 Updating command descriptions and arguments on dev-env
174
- - #850 Use official memcached image on dev-env
175
- - #853 Enable ssl forwarding on dev-env
176
- - #851 Conditionally disabling statsd on mu-plugins
177
- - #852 Fixing Prettier format annotation typo
178
- - #843 Removing custom wp-config-defaults
179
- - #848 Not using a prefix to all dev environments
180
- - #847 Update dependency lando to v3.3.0
181
- - #840 Use official Elasticsearch image on dev-env
182
- - #845 Fix MariaDB healthcheck
183
- - #846 dev-env: Update error message for directory prompt
184
- - #842 Removing PHP parameter from dev environment
185
- - #839 Use official MariaDB image and enable version selection on dev-env
204
+ - #857 Remove select DB checks
205
+ - #864 Adding WordPress versions to dev-env
206
+ - #868 persist database data in between container restarts
207
+ - #862 Fix lint warnings
208
+ - #867 Update dependency lando to v3.3.2
209
+ - #863 Add links to CONTRIBUTING and SECURITY
210
+ - #855 Add some helpful hints for new command scaffolding
211
+ - #856 Adding media import command on dev environment
212
+ - #849 Adding SQL import to dev environment
213
+ - #854 Updating command descriptions and arguments on dev-env
214
+ - #850 Use official memcached image on dev-env
215
+ - #853 Enable ssl forwarding on dev-env
216
+ - #851 Conditionally disabling statsd on mu-plugins
217
+ - #852 Fixing Prettier format annotation typo
218
+ - #843 Removing custom wp-config-defaults
219
+ - #848 Not using a prefix to all dev environments
220
+ - #847 Update dependency lando to v3.3.0
221
+ - #840 Use official Elasticsearch image on dev-env
222
+ - #845 Fix MariaDB healthcheck
223
+ - #846 dev-env: Update error message for directory prompt
224
+ - #842 Removing PHP parameter from dev environment
225
+ - #839 Use official MariaDB image and enable version selection on dev-env
186
226
 
187
227
  https://github.com/Automattic/vip/releases/tag/v2.1.0
188
228
 
@@ -224,6 +264,7 @@ https://github.com/Automattic/vip/releases/tag/v2.0.13
224
264
  https://github.com/Automattic/vip/releases/tag/v2.0.12
225
265
 
226
266
  ### 2.0.11 (5 August 2021)
267
+
227
268
  - Handle parameter validation in a consistent way #795
228
269
  - Fix error blocking data sync on CLI sites #810
229
270
  - Update DB Engine check to reduce false positives #811
@@ -239,6 +280,7 @@ https://github.com/Automattic/vip/releases/tag/v2.0.12
239
280
  https://github.com/Automattic/vip/releases/tag/2.0.11
240
281
 
241
282
  ### 2.0.10 (21 June 2021)
283
+
242
284
  - Adds Media Import Abort subcommand
243
285
  - Disables enterprise search by default
244
286
  - Handles numbered slugs correctly
@@ -250,6 +292,7 @@ https://github.com/Automattic/vip/releases/tag/2.0.11
250
292
  https://github.com/Automattic/vip/releases/tag/v2.0.10
251
293
 
252
294
  ### 2.0.9 (3 June 2021)
295
+
253
296
  - Enable SQL import for all site types
254
297
  - Bug fix for analytics errors causing some commands to fail
255
298
  - Add the full changelog to the readme
@@ -259,6 +302,7 @@ https://github.com/Automattic/vip/releases/tag/v2.0.10
259
302
  https://github.com/Automattic/vip/releases/tag/v2.0.9
260
303
 
261
304
  ### 2.0.8 (27 May 2021)
305
+
262
306
  - [Beta] Media Import: Enable media imports for production WordPress applications
263
307
  - SQL Import: Enable SQL Import for launched sites
264
308
  - SQL Import: Enable SQL Import for multisite networks
@@ -267,6 +311,7 @@ https://github.com/Automattic/vip/releases/tag/v2.0.9
267
311
  https://github.com/Automattic/vip/releases/tag/v2.0.8
268
312
 
269
313
  ### 2.0.7 (6 May 2021)
314
+
270
315
  - SQL Import: Add additional multisite validations
271
316
  - Update socket.io-client to 4.0.1
272
317
  - Misc. dependency updates
@@ -274,33 +319,39 @@ https://github.com/Automattic/vip/releases/tag/v2.0.8
274
319
  https://github.com/Automattic/vip/releases/tag/v2.0.7
275
320
 
276
321
  ### 2.0.6 (15 Apr 2021)
322
+
277
323
  - SQL Import: Add additional checks for site type
278
324
 
279
325
  https://github.com/Automattic/vip/releases/tag/v2.0.6
280
326
 
281
327
  ### 2.0.5 (8 Mar 2021)
328
+
282
329
  - Fix a bug when comparing env data to selected environment #697
283
330
 
284
331
  https://github.com/Automattic/vip/releases/tag/v2.0.5
285
332
 
286
333
  ### 2.0.4 (3 Mar 2021)
334
+
287
335
  - Bump socket.io-client from 2.3.0 to 2.4.0 (Fixes WP-CLI in node 15+) #679
288
336
  - Additional SQL import file static validations #669
289
337
 
290
338
  https://github.com/Automattic/vip/releases/tag/v2.0.4
291
339
 
292
340
  ### 2.0.3 (19 Feb 2021)
341
+
293
342
  - Improved SQL import validation around the use of TRIGGER
294
343
 
295
344
  https://github.com/Automattic/vip/releases/tag/v2.0.3
296
345
 
297
346
  ### 2.0.2 (15 Feb 2021)
347
+
298
348
  - Improved handling of debug output during search & replace
299
349
  - Updated the vip-search-replace package to ^1.0.13
300
350
 
301
351
  https://github.com/Automattic/vip/releases/tag/v2.0.2
302
352
 
303
353
  ### 2.0.1 (11 Feb 2021)
354
+
304
355
  - SQL Import: Improved reporting of server-side failures
305
356
  - SQL Import: Add ability to skip local validation
306
357
  - Updated the vip-search-replace package to v1.0.12
@@ -309,6 +360,7 @@ https://github.com/Automattic/vip/releases/tag/v2.0.2
309
360
  https://github.com/Automattic/vip/releases/tag/v2.0.1
310
361
 
311
362
  ### 2.0.0 (2 Feb 2021)
363
+
312
364
  - Drops support for Node 8
313
365
  - Added Security Policy
314
366
  - Added SQL file import feature for new sites
@@ -317,37 +369,44 @@ https://github.com/Automattic/vip/releases/tag/v2.0.1
317
369
  https://github.com/Automattic/vip/releases/tag/v2.0.0
318
370
 
319
371
  ### 1.12.1 (8 Sep 2020)
372
+
320
373
  - Updated list of accepted special characters for media files for imports
321
374
 
322
375
  https://github.com/Automattic/vip/releases/tag/v1.12.1
323
376
 
324
377
  ### 1.12.0 (21 Aug 2020)
378
+
325
379
  - Added multisite support for media files validation
326
380
  - Added Tracks for SQL and media file validation events
327
381
 
328
382
  https://github.com/Automattic/vip/releases/tag/v1.12.0
329
383
 
330
384
  ### 1.11.2 (17 Aug 2020)
385
+
331
386
  - Added support for multiple nested folders for the media file validation command
332
387
 
333
388
  https://github.com/Automattic/vip/releases/tag/v1.11.2
334
389
 
335
390
  ### 1.11.1 (17 Aug 2020)
391
+
336
392
  - Added fix to process the import validation subcommands
337
393
 
338
394
  https://github.com/Automattic/vip/releases/tag/v1.11.1
339
395
 
340
396
  ### 1.11.0 (17 Aug 2020)
397
+
341
398
  - Added `vip import validate sql` and `vip import validate files` commands to run static validation checks for SQL and media files for imports
342
399
 
343
400
  https://github.com/Automattic/vip/releases/tag/v1.11.0
344
401
 
345
402
  ### 1.10.0 (12 Jun 2020)
403
+
346
404
  - Added support for specifying a SOCKS proxy through the environment variable VIP_PROXY
347
405
 
348
406
  https://github.com/Automattic/vip/releases/tag/v1.10.0
349
407
 
350
408
  ### 1.9.0 (30 Mar 2020)
409
+
351
410
  - Added support for [opting out of usage tracking](https://github.com/Automattic/vip/tree/e54d9ee0ce2dd4725ca8718b3aba06db24306ad7#analytics) via `DO_NOT_TRACK` environment variable #547
352
411
  - Fix interactive commands not working correctly #478
353
412
  - Show usage information when an unsupported command is entered #527
@@ -356,6 +415,7 @@ https://github.com/Automattic/vip/releases/tag/v1.10.0
356
415
  https://github.com/Automattic/vip/releases/tag/v1.9.0
357
416
 
358
417
  ### 1.8.0 (25 Sep 2019)
418
+
359
419
  - Fixes around cancelling commands via Ctrl-C
360
420
  - Gracefully handle remote command cancellation
361
421
  - Enhance Rollbar logging for additional use cases
@@ -363,21 +423,25 @@ https://github.com/Automattic/vip/releases/tag/v1.9.0
363
423
  https://github.com/Automattic/vip/releases/tag/v1.8.0
364
424
 
365
425
  ### 1.7.0 (15 Aug 15 2019)
426
+
366
427
  - Resume long-running WP-CLI commands in case of network interruptions
367
428
 
368
429
  https://github.com/Automattic/vip/releases/tag/v1.7.0
369
430
 
370
431
  ### 1.6.2 (25 Jul 2019)
432
+
371
433
  - Corrected some install issues with the 1.6.0/1.6.1 releases.
372
434
 
373
435
  https://github.com/Automattic/vip/releases/tag/v1.6.2
374
436
 
375
437
  ### 1.6.1 (25 Jul 2019)
438
+
376
439
  - Intermittent release to test some issues with v1.6.0
377
440
 
378
441
  https://github.com/Automattic/vip/releases/tag/v1.6.1
379
442
 
380
443
  ### 1.6.0 (25 Jul 2019)
444
+
381
445
  - We added ability to cancel running commands.
382
446
  - We fixed an issue with trailing characters such as line breaks affecting use of command output by scripts.
383
447
  - Various dependancy updates.
@@ -385,6 +449,7 @@ https://github.com/Automattic/vip/releases/tag/v1.6.1
385
449
  https://github.com/Automattic/vip/releases/tag/v1.6.0
386
450
 
387
451
  ### 1.5.0 (15 Jul 2019)
452
+
388
453
  - Added `--yes` flag for WP-CLI commands to skip confirmation on production environments.
389
454
  - We fixed the character limit errors raised when running long WP-CLI commands.
390
455
  - We've added Rollbar to allow us to monitor and address errors
@@ -393,11 +458,13 @@ https://github.com/Automattic/vip/releases/tag/v1.6.0
393
458
  https://github.com/Automattic/vip/releases/tag/v1.5.0
394
459
 
395
460
  ### 1.4.1 (29 Apr 2019)
461
+
396
462
  - No functional changes, 1.4.0 was already taken on NPM :)
397
463
 
398
464
  https://github.com/Automattic/vip/releases/tag/1.4.1
399
465
 
400
466
  ### 1.4.0 (29 Apr 2019)
467
+
401
468
  - Added "environment alias" support (`vip @my-site.env sync`)
402
469
  - Added support for WP-CLI commands
403
470
  - Misc. dependency updates
@@ -405,6 +472,7 @@ https://github.com/Automattic/vip/releases/tag/1.4.1
405
472
  https://github.com/Automattic/vip/releases/tag/1.4.0
406
473
 
407
474
  ### 1.3.0 (1 Feb 2019)
475
+
408
476
  - We now display information header for every `vip app --app` execution [(#223)](https://github.com/Automattic/vip/pull/223).
409
477
  - We fixed the logout bug asking the user to login before being able to logout [(#222)](https://github.com/Automattic/vip/pull/222) and we also display a message when a user logout [(#221)](https://github.com/Automattic/vip/pull/221).
410
478
  - We replaced `inquirer` with `enquirer` [(#229)](https://github.com/Automattic/vip/pull/229).
@@ -415,11 +483,13 @@ https://github.com/Automattic/vip/releases/tag/1.4.0
415
483
  https://github.com/Automattic/vip/releases/tag/v1.3.0
416
484
 
417
485
  ### 1.2.1 (5 Dec 2018)
486
+
418
487
  - The `1.2.0` version was containing a bug and we published a patch to fix it. Please use this version instead.
419
488
 
420
489
  https://github.com/Automattic/vip/releases/tag/v1.2.1
421
490
 
422
491
  ### 1.2.0 (5 Dec 2018)
492
+
423
493
  - We now display a preview of the `sync` feature with the backup time and the search/replace taking place in your database.
424
494
  - We now display your mapped domain instead of the placeholder `go-vip.co` domain in `vip app` and `vip app list`.
425
495
  - We now display a better message when an app does not have any non-production environments.
@@ -429,11 +499,13 @@ https://github.com/Automattic/vip/releases/tag/v1.2.1
429
499
  https://github.com/Automattic/vip/releases/tag/v1.2.0
430
500
 
431
501
  ### 1.1.1 (1 Nov 2018)
502
+
432
503
  - Updates dependencies to fix a bug introduced by sub-dependencies.
433
504
 
434
505
  https://github.com/Automattic/vip/releases/tag/v1.1.1
435
506
 
436
507
  ### 1.1.0 (12 Jul 2018)
508
+
437
509
  - We now correctly report errors when `vip sync` fails. Previously, this would incorrectly report that a sync was run previously.
438
510
  - We fixed permissions issues for some users with `admin` access for repos. They were unable to properly view and access applications.
439
511
  - We now display more applications in `vip app list` (up to 100!) and have made it easier to browse through a large list thanks to (`$PAGER`|`less`) support. Previously you would only see the first 10 applications in your account.
@@ -443,6 +515,7 @@ https://github.com/Automattic/vip/releases/tag/v1.1.0
443
515
  ### 1.0.0 (2 Jul 2018)
444
516
 
445
517
  The first release!
518
+
446
519
  - `vip app list`: view a list of all your applications.
447
520
  - `vip app`: view details about one of your applications.
448
521
  - `vip sync`: trigger [a data sync](https://vip.wordpress.com/2018/03/28/data-sync-on-vip-go/) to synchronize data from your production environment to non-production environments.
@@ -22,7 +22,6 @@ services:
22
22
  volumes:
23
23
  devtools: {}
24
24
  scripts:
25
-
26
25
  nginx:
27
26
  type: compose
28
27
  ssl: true
@@ -37,11 +36,9 @@ services:
37
36
  php:
38
37
  type: compose
39
38
  services:
40
- image: ghcr.io/automattic/vip-container-images/php-fpm:7.4
39
+ image: <%= php %>
41
40
  command: run.sh
42
41
  working_dir: /wp
43
- healthcheck:
44
- test: 'cat /wp/wp-includes/pomo/mo.php'
45
42
  environment:
46
43
  XDEBUG: <%= xdebug ? 'enable' : 'disable' %>
47
44
  STATSD: <%= statsd ? 'enable' : 'disable' %>
@@ -95,7 +92,7 @@ services:
95
92
  environment:
96
93
  UPLOAD_LIMIT: 4G
97
94
  <% } %>
98
-
95
+ <% if ( enterpriseSearchEnabled ) { %>
99
96
  vip-search:
100
97
  type: compose
101
98
  services:
@@ -115,7 +112,7 @@ services:
115
112
  - search_data:/usr/share/elasticsearch/data
116
113
  volumes:
117
114
  search_data:
118
-
115
+ <% } %>
119
116
  <% if ( statsd ) { %>
120
117
  statsd:
121
118
  type: compose
@@ -14,6 +14,8 @@ var _debug = _interopRequireDefault(require("debug"));
14
14
 
15
15
  var _chalk = _interopRequireDefault(require("chalk"));
16
16
 
17
+ var _tracker = require("../lib/tracker");
18
+
17
19
  var _command = _interopRequireDefault(require("../lib/cli/command"));
18
20
 
19
21
  var exit = _interopRequireWildcard(require("../lib/cli/exit"));
@@ -60,6 +62,10 @@ cmd.examples(examples);
60
62
  cmd.argv(process.argv, async (arg, opt) => {
61
63
  const slug = (0, _devEnvironmentCli.getEnvironmentName)(opt);
62
64
  debug('Args: ', arg, 'Options: ', opt);
65
+ const trackingInfo = {
66
+ slug
67
+ };
68
+ await (0, _tracker.trackEvent)('dev_env_create_command_execute', trackingInfo);
63
69
 
64
70
  const startCommand = _chalk.default.bold((0, _devEnvironmentCli.getEnvironmentStartCommand)(opt));
65
71
 
@@ -91,7 +97,8 @@ cmd.argv(process.argv, async (arg, opt) => {
91
97
  await (0, _devEnvironmentCore.printEnvironmentInfo)(slug);
92
98
  const message = '\n' + _chalk.default.green('✓') + ` environment created.\n\nTo start it please run:\n\n${startCommand}\n`;
93
99
  console.log(message);
100
+ await (0, _tracker.trackEvent)('dev_env_create_command_success', trackingInfo);
94
101
  } catch (error) {
95
- exit.withError(error.message);
102
+ await (0, _devEnvironmentCli.handleCLIException)(error, 'dev_env_create_command_error', trackingInfo);
96
103
  }
97
104
  });
@@ -14,9 +14,9 @@ var _debug = _interopRequireDefault(require("debug"));
14
14
 
15
15
  var _chalk = _interopRequireDefault(require("chalk"));
16
16
 
17
- var _command = _interopRequireDefault(require("../lib/cli/command"));
17
+ var _tracker = require("../lib/tracker");
18
18
 
19
- var exit = _interopRequireWildcard(require("../lib/cli/exit"));
19
+ var _command = _interopRequireDefault(require("../lib/cli/command"));
20
20
 
21
21
  var _devEnvironmentCore = require("../lib/dev-environment/dev-environment-core");
22
22
 
@@ -24,10 +24,6 @@ var _devEnvironmentCli = require("../lib/dev-environment/dev-environment-cli");
24
24
 
25
25
  var _devEnvironment = require("../lib/constants/dev-environment");
26
26
 
27
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
28
-
29
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
30
-
31
27
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
32
28
 
33
29
  /**
@@ -43,6 +39,8 @@ const examples = [{
43
39
  }];
44
40
  (0, _command.default)().option('slug', 'Custom name of the dev environment').option('soft', 'Keep config files needed to start an environment intact').examples(examples).argv(process.argv, async (arg, opt) => {
45
41
  const slug = (0, _devEnvironmentCli.getEnvironmentName)(opt);
42
+ const trackingInfo = (0, _devEnvironmentCli.getEnvTrackingInfo)(slug);
43
+ await (0, _tracker.trackEvent)('dev_env_destroy_command_execute', trackingInfo);
46
44
  debug('Args: ', arg, 'Options: ', opt);
47
45
 
48
46
  try {
@@ -50,7 +48,8 @@ const examples = [{
50
48
  await (0, _devEnvironmentCore.destroyEnvironment)(slug, removeFiles);
51
49
  const message = _chalk.default.green('✓') + ' Environment destroyed.\n';
52
50
  console.log(message);
51
+ await (0, _tracker.trackEvent)('dev_env_destroy_command_success', trackingInfo);
53
52
  } catch (error) {
54
- exit.withError(error.message);
53
+ await (0, _devEnvironmentCli.handleCLIException)(error, 'dev_env_destroy_command_error', trackingInfo);
55
54
  }
56
55
  });
@@ -14,6 +14,8 @@
14
14
  */
15
15
  "use strict";
16
16
 
17
+ var _tracker = require("../lib/tracker");
18
+
17
19
  var _command = _interopRequireDefault(require("../lib/cli/command"));
18
20
 
19
21
  var _devEnvironmentCli = require("../lib/dev-environment/dev-environment-cli");
@@ -38,6 +40,8 @@ const examples = [{
38
40
  wildcardCommand: true
39
41
  }).option('slug', 'Custom name of the dev environment').examples(examples).argv(process.argv, async (unmatchedArgs, opt) => {
40
42
  const slug = (0, _devEnvironmentCli.getEnvironmentName)(opt);
43
+ const trackingInfo = (0, _devEnvironmentCli.getEnvTrackingInfo)(slug);
44
+ await (0, _tracker.trackEvent)('dev_env_exec_command_execute', trackingInfo);
41
45
 
42
46
  try {
43
47
  // to avoid confusion let's enforce -- as a splitter for arguments for this command and wp itself
@@ -55,7 +59,8 @@ const examples = [{
55
59
  }
56
60
 
57
61
  await (0, _devEnvironmentCore.exec)(slug, arg);
62
+ await (0, _tracker.trackEvent)('dev_env_exec_command_success', trackingInfo);
58
63
  } catch (error) {
59
- (0, _devEnvironmentCli.handleCLIException)(error);
64
+ (0, _devEnvironmentCli.handleCLIException)(error, 'dev_env_exec_command_error', trackingInfo);
60
65
  }
61
66
  });