@automattic/vip 2.9.2 → 2.9.5

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
@@ -131,3 +131,9 @@ For these cases:
131
131
  1. Follow the release steps outlined above (as a `patch` release).
132
132
 
133
133
  Then, repeat for any additional versions that we need to patch.
134
+
135
+ ### go-search-replace binaries
136
+
137
+ Some unit tests require some go-search-replace executable binary files to run. Binaries files for several OS architectures can be downloaded from https://github.com/Automattic/go-search-replace/releases/
138
+
139
+ If, for some reason, you need to compile these binaries yourself, please follow instructions at https://github.com/Automattic/go-search-replace
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
@@ -26,97 +25,137 @@ For help with contributing to this project, including instructions for local dev
26
25
  By default, we record information about the usage of this tool using an in-house analytics sytem. If you would prefer to opt-out of this data collection, you can do so via the `DO_NOT_TRACK` environment variable. You may either export it in your shell configuration or specify it on the command line (e.g. `DO_NOT_TRACK=1 vip app list`).
27
26
 
28
27
  ## Changelog
28
+
29
+ ### 2.9.5 (26 April 2022)
30
+
31
+ - #1005 [dev-env] updateWordPress image improvements
32
+ - #1006 Remove renovate.json
33
+ - #1007 Set up CodeQL Scanning
34
+ - #1008 WP-CLI: Reattach Reconnect-Related Events After a Successful Reconnection
35
+ - #1009 Add ability to choose a PHP image to use
36
+ - #1010 [dev-env] Add Enterprise Search, XDebug, phpMyAdmin options to the config wizard.
37
+
38
+ ### 2.9.4 (07 April 2022)
39
+
40
+ - #996 Clean up lint warnings
41
+ - #1001 Fix reconnect event listeners
42
+ - #1000 Bump socket.io-client from 4.0.1 to 4.4.1
43
+
44
+ ### 2.9.3 (29 March 2022)
45
+
46
+ - #995 Add debug call to dev-envs handleCLIException
47
+ - #992 Add --debug flag to all commands
48
+ - #993 [dev-env] Fix in caching version list.
49
+ - #994 Fix typo in error message
50
+ - #990 [dev-env] Add check for wp folder map add/php_healthcheck
51
+ - #991 Adds optional channing since `progress` can be null as per GraphQL schema
52
+ - #989 Fixes unit test error `bsdthread_register error`
53
+ - #987 Add support for M1 Macs in the search-replace tests
54
+
29
55
  ### 2.9.2 (9 March 2022)
30
- - #980 [dev-env] Fix/tag formatting on stapled images
31
- - #986 Clean the build folder prior to rebuilding it
32
- - #985 Adding webP to the list of accepted extensions for files
33
- - #972 Run tests in Windows Env
56
+
57
+ - #980 [dev-env] Fix/tag formatting on stapled images
58
+ - #986 Clean the build folder prior to rebuilding it
59
+ - #985 Adding webP to the list of accepted extensions for files
60
+ - #972 Run tests in Windows Env
34
61
 
35
62
  https://github.com/Automattic/vip/releases/tag/v2.9.2
36
63
 
37
64
  ### 2.9.1 (2 March 2022)
38
- - #982 Remove unused dependencies - Fixes Error: Cannot find module 'core-js'
39
- - #978 [dev-env] Added phpmyadmin proxy value
65
+
66
+ - #982 Remove unused dependencies - Fixes Error: Cannot find module 'core-js'
67
+ - #978 [dev-env] Added phpmyadmin proxy value
40
68
 
41
69
  https://github.com/Automattic/vip/releases/tag/v2.9.1
42
70
 
43
71
  ### 2.9.0 (1 March 2022)
44
- - #966 [dev-env] Dynamic WordPress Image List
45
- - #975 [dev-env] prompt On Unselected Env
46
- - #974 [dev-env] Corrections of text for -h menu in dev-env create
47
- - #973 [dev-env] update Nginx image
48
- - #971 [dev-env] Use custom add user command
49
- - #964 [dev-env] Validate sql on import
50
- - #970 [dev-env] Do not use /tmp as a userConfRoot
51
- - #977 Fix flow errors
52
- - #976 Fix/duplicate shortcut parameter
53
- - #968 Update minimum Node version
72
+
73
+ - #966 [dev-env] Dynamic WordPress Image List
74
+ - #975 [dev-env] prompt On Unselected Env
75
+ - #974 [dev-env] Corrections of text for -h menu in dev-env create
76
+ - #973 [dev-env] update Nginx image
77
+ - #971 [dev-env] Use custom add user command
78
+ - #964 [dev-env] Validate sql on import
79
+ - #970 [dev-env] Do not use /tmp as a userConfRoot
80
+ - #977 Fix flow errors
81
+ - #976 Fix/duplicate shortcut parameter
82
+ - #968 Update minimum Node version
54
83
 
55
84
  https://github.com/Automattic/vip/releases/tag/v2.9.0
56
85
 
57
86
  ### 2.8.2 (27 January 2021)
58
- - #961 Fixes md5 calculation failing when search-replace is used
59
- - #959 Fixes md5 calculation for SQL Imports on VIPd
87
+
88
+ - #961 Fixes md5 calculation failing when search-replace is used
89
+ - #959 Fixes md5 calculation for SQL Imports on VIPd
60
90
 
61
91
  https://github.com/Automattic/vip/releases/tag/v2.8.2
62
92
 
63
93
  ### 2.8.0 (25 January 2021)
64
- - #952 FORNO-1047: Fix SQL Import for compressed files
65
- - #955 Add Error prefix for "Failed to fetch logs" msg
66
- - #946 Add support for the site logs tailing feature
67
- - #953 [dev-env] Updated list of available wordpress images for dev-env
68
- - #933 Update dependency debug to v4.3.3
94
+
95
+ - #952 FORNO-1047: Fix SQL Import for compressed files
96
+ - #955 Add Error prefix for "Failed to fetch logs" msg
97
+ - #946 Add support for the site logs tailing feature
98
+ - #953 [dev-env] Updated list of available wordpress images for dev-env
99
+ - #933 Update dependency debug to v4.3.3
69
100
 
70
101
  https://github.com/Automattic/vip/releases/tag/v2.8.0
71
102
 
72
103
  ### 2.7.1 (10 January 2021)
104
+
73
105
  - #950 Switch to npm-shrinkwrap
74
- - #947 [dev-env] List all dev env alias
75
- - #944 Add `vip whoami` command
76
- - #942 Envvar: Show message when there is an attempt to change the New Relic key.
106
+ - #947 [dev-env] List all dev env alias
107
+ - #944 Add `vip whoami` command
108
+ - #942 Envvar: Show message when there is an attempt to change the New Relic key.
77
109
 
78
110
  https://github.com/Automattic/vip/releases/tag/v2.7.1
79
111
 
80
112
  ### 2.7.0 (07 December 2021)
81
- - #941 [dev-env] Bump lando CLI dependency
82
- - #938 Hide roll back message after SQL Import failure for launched sites
83
- - #936 Sets jest maxWorkers to 4
113
+
114
+ - #941 [dev-env] Bump lando CLI dependency
115
+ - #938 Hide roll back message after SQL Import failure for launched sites
116
+ - #936 Sets jest maxWorkers to 4
84
117
 
85
118
  https://github.com/Automattic/vip/releases/tag/v2.7.0
86
119
 
87
120
  ### 2.6.0 (23 November 2021)
88
- - #921 [dev-env] Introuces update to change existing environment
89
- - #928 [dev-env] Switch lando to use our fork
90
- - #927 [dev-env] Handles user already exists during sql import
91
- - #925 [dev-env] Fix the issue with dev-env update
92
- - #924 FORNO-985 Increase SQL Import limit for unlaunched sites to 100GB
93
- - #923 FORNO-943 Fixes a bug which prevents displaying SQL Import error messages
94
- - #922 Update eslint-config-wpvip commit hash to c6605d1
95
- - #873 Pin dependencies
121
+
122
+ - #921 [dev-env] Introuces update to change existing environment
123
+ - #928 [dev-env] Switch lando to use our fork
124
+ - #927 [dev-env] Handles user already exists during sql import
125
+ - #925 [dev-env] Fix the issue with dev-env update
126
+ - #924 FORNO-985 Increase SQL Import limit for unlaunched sites to 100GB
127
+ - #923 FORNO-943 Fixes a bug which prevents displaying SQL Import error messages
128
+ - #922 Update eslint-config-wpvip commit hash to c6605d1
129
+ - #873 Pin dependencies
96
130
 
97
131
  ### 2.5.0 (9 November 2021)
98
- - #919 [dev-env] Expose lando core logs
99
- - #916 [dev-env] Save instance data state
100
- - #914 [dev-env] update help wording for dev env
101
- - #915 Add warning message when an envvar is set/deleted
132
+
133
+ - #919 [dev-env] Expose lando core logs
134
+ - #916 [dev-env] Save instance data state
135
+ - #914 [dev-env] update help wording for dev env
136
+ - #915 Add warning message when an envvar is set/deleted
102
137
 
103
138
  ### 2.4.0 (5 November 2021)
104
- - #913 [dev-env] No login required for dev-env
105
- - #911 Adds more release instructions
139
+
140
+ - #913 [dev-env] No login required for dev-env
141
+ - #911 Adds more release instructions
106
142
 
107
143
  ### 2.3.1 (2 November 2021)
144
+
108
145
  - Fixes an issue with the 2.3.0 where the intended changes didn't get published correctly.
109
146
 
110
147
  ### 2.3.0 (2 November 2021)
111
- - #908 [dev-env] Custom user permissions setup
112
- - #897 [dev-env] Primary domain prompt for primary domain redirect
113
- - #902 [dev-env] Delete file permissions
114
- - #900 Clarify CONTRIBUTING guidelines
115
- - #905 Update contribution steps
148
+
149
+ - #908 [dev-env] Custom user permissions setup
150
+ - #897 [dev-env] Primary domain prompt for primary domain redirect
151
+ - #902 [dev-env] Delete file permissions
152
+ - #900 Clarify CONTRIBUTING guidelines
153
+ - #905 Update contribution steps
116
154
 
117
155
  ### 2.2.0 (27 October 2021)
118
156
 
119
157
  New: Environment variables command
158
+
120
159
  - #896 Open config envvar command for all customers
121
160
  - #876 Update envvar list command to only show names
122
161
  - #879 Add config envvar get and get-all commands
@@ -124,6 +163,7 @@ New: Environment variables command
124
163
  - #858 Environment variable CLI commands (list, set, delete)
125
164
 
126
165
  Fixes:
166
+
127
167
  - #901 Don't mark import as failed until restore has completed
128
168
  - #899 Proxy fix + healthchecks
129
169
  - #894 support windows db import
@@ -138,6 +178,7 @@ Fixes:
138
178
  - #870 Add the VIP CLI release process and release schedule
139
179
 
140
180
  Dependencies updates:
181
+
141
182
  - #778 Update dependency ini to v2
142
183
  - #786 Update dependency keytar to v7
143
184
  - #884 Update dependency cli-columns to v4
@@ -150,28 +191,28 @@ https://github.com/Automattic/vip/releases/tag/v2.2.0
150
191
 
151
192
  ### 2.1.0 (16 September 2021)
152
193
 
153
- - #857 Remove select DB checks
154
- - #864 Adding WordPress versions to dev-env
155
- - #868 persist database data in between container restarts
156
- - #862 Fix lint warnings
157
- - #867 Update dependency lando to v3.3.2
158
- - #863 Add links to CONTRIBUTING and SECURITY
159
- - #855 Add some helpful hints for new command scaffolding
160
- - #856 Adding media import command on dev environment
161
- - #849 Adding SQL import to dev environment
162
- - #854 Updating command descriptions and arguments on dev-env
163
- - #850 Use official memcached image on dev-env
164
- - #853 Enable ssl forwarding on dev-env
165
- - #851 Conditionally disabling statsd on mu-plugins
166
- - #852 Fixing Prettier format annotation typo
167
- - #843 Removing custom wp-config-defaults
168
- - #848 Not using a prefix to all dev environments
169
- - #847 Update dependency lando to v3.3.0
170
- - #840 Use official Elasticsearch image on dev-env
171
- - #845 Fix MariaDB healthcheck
172
- - #846 dev-env: Update error message for directory prompt
173
- - #842 Removing PHP parameter from dev environment
174
- - #839 Use official MariaDB image and enable version selection on dev-env
194
+ - #857 Remove select DB checks
195
+ - #864 Adding WordPress versions to dev-env
196
+ - #868 persist database data in between container restarts
197
+ - #862 Fix lint warnings
198
+ - #867 Update dependency lando to v3.3.2
199
+ - #863 Add links to CONTRIBUTING and SECURITY
200
+ - #855 Add some helpful hints for new command scaffolding
201
+ - #856 Adding media import command on dev environment
202
+ - #849 Adding SQL import to dev environment
203
+ - #854 Updating command descriptions and arguments on dev-env
204
+ - #850 Use official memcached image on dev-env
205
+ - #853 Enable ssl forwarding on dev-env
206
+ - #851 Conditionally disabling statsd on mu-plugins
207
+ - #852 Fixing Prettier format annotation typo
208
+ - #843 Removing custom wp-config-defaults
209
+ - #848 Not using a prefix to all dev environments
210
+ - #847 Update dependency lando to v3.3.0
211
+ - #840 Use official Elasticsearch image on dev-env
212
+ - #845 Fix MariaDB healthcheck
213
+ - #846 dev-env: Update error message for directory prompt
214
+ - #842 Removing PHP parameter from dev environment
215
+ - #839 Use official MariaDB image and enable version selection on dev-env
175
216
 
176
217
  https://github.com/Automattic/vip/releases/tag/v2.1.0
177
218
 
@@ -213,6 +254,7 @@ https://github.com/Automattic/vip/releases/tag/v2.0.13
213
254
  https://github.com/Automattic/vip/releases/tag/v2.0.12
214
255
 
215
256
  ### 2.0.11 (5 August 2021)
257
+
216
258
  - Handle parameter validation in a consistent way #795
217
259
  - Fix error blocking data sync on CLI sites #810
218
260
  - Update DB Engine check to reduce false positives #811
@@ -228,6 +270,7 @@ https://github.com/Automattic/vip/releases/tag/v2.0.12
228
270
  https://github.com/Automattic/vip/releases/tag/2.0.11
229
271
 
230
272
  ### 2.0.10 (21 June 2021)
273
+
231
274
  - Adds Media Import Abort subcommand
232
275
  - Disables enterprise search by default
233
276
  - Handles numbered slugs correctly
@@ -239,6 +282,7 @@ https://github.com/Automattic/vip/releases/tag/2.0.11
239
282
  https://github.com/Automattic/vip/releases/tag/v2.0.10
240
283
 
241
284
  ### 2.0.9 (3 June 2021)
285
+
242
286
  - Enable SQL import for all site types
243
287
  - Bug fix for analytics errors causing some commands to fail
244
288
  - Add the full changelog to the readme
@@ -248,6 +292,7 @@ https://github.com/Automattic/vip/releases/tag/v2.0.10
248
292
  https://github.com/Automattic/vip/releases/tag/v2.0.9
249
293
 
250
294
  ### 2.0.8 (27 May 2021)
295
+
251
296
  - [Beta] Media Import: Enable media imports for production WordPress applications
252
297
  - SQL Import: Enable SQL Import for launched sites
253
298
  - SQL Import: Enable SQL Import for multisite networks
@@ -256,6 +301,7 @@ https://github.com/Automattic/vip/releases/tag/v2.0.9
256
301
  https://github.com/Automattic/vip/releases/tag/v2.0.8
257
302
 
258
303
  ### 2.0.7 (6 May 2021)
304
+
259
305
  - SQL Import: Add additional multisite validations
260
306
  - Update socket.io-client to 4.0.1
261
307
  - Misc. dependency updates
@@ -263,33 +309,39 @@ https://github.com/Automattic/vip/releases/tag/v2.0.8
263
309
  https://github.com/Automattic/vip/releases/tag/v2.0.7
264
310
 
265
311
  ### 2.0.6 (15 Apr 2021)
312
+
266
313
  - SQL Import: Add additional checks for site type
267
314
 
268
315
  https://github.com/Automattic/vip/releases/tag/v2.0.6
269
316
 
270
317
  ### 2.0.5 (8 Mar 2021)
318
+
271
319
  - Fix a bug when comparing env data to selected environment #697
272
320
 
273
321
  https://github.com/Automattic/vip/releases/tag/v2.0.5
274
322
 
275
323
  ### 2.0.4 (3 Mar 2021)
324
+
276
325
  - Bump socket.io-client from 2.3.0 to 2.4.0 (Fixes WP-CLI in node 15+) #679
277
326
  - Additional SQL import file static validations #669
278
327
 
279
328
  https://github.com/Automattic/vip/releases/tag/v2.0.4
280
329
 
281
330
  ### 2.0.3 (19 Feb 2021)
331
+
282
332
  - Improved SQL import validation around the use of TRIGGER
283
333
 
284
334
  https://github.com/Automattic/vip/releases/tag/v2.0.3
285
335
 
286
336
  ### 2.0.2 (15 Feb 2021)
337
+
287
338
  - Improved handling of debug output during search & replace
288
339
  - Updated the vip-search-replace package to ^1.0.13
289
340
 
290
341
  https://github.com/Automattic/vip/releases/tag/v2.0.2
291
342
 
292
343
  ### 2.0.1 (11 Feb 2021)
344
+
293
345
  - SQL Import: Improved reporting of server-side failures
294
346
  - SQL Import: Add ability to skip local validation
295
347
  - Updated the vip-search-replace package to v1.0.12
@@ -298,6 +350,7 @@ https://github.com/Automattic/vip/releases/tag/v2.0.2
298
350
  https://github.com/Automattic/vip/releases/tag/v2.0.1
299
351
 
300
352
  ### 2.0.0 (2 Feb 2021)
353
+
301
354
  - Drops support for Node 8
302
355
  - Added Security Policy
303
356
  - Added SQL file import feature for new sites
@@ -306,37 +359,44 @@ https://github.com/Automattic/vip/releases/tag/v2.0.1
306
359
  https://github.com/Automattic/vip/releases/tag/v2.0.0
307
360
 
308
361
  ### 1.12.1 (8 Sep 2020)
362
+
309
363
  - Updated list of accepted special characters for media files for imports
310
364
 
311
365
  https://github.com/Automattic/vip/releases/tag/v1.12.1
312
366
 
313
367
  ### 1.12.0 (21 Aug 2020)
368
+
314
369
  - Added multisite support for media files validation
315
370
  - Added Tracks for SQL and media file validation events
316
371
 
317
372
  https://github.com/Automattic/vip/releases/tag/v1.12.0
318
373
 
319
374
  ### 1.11.2 (17 Aug 2020)
375
+
320
376
  - Added support for multiple nested folders for the media file validation command
321
377
 
322
378
  https://github.com/Automattic/vip/releases/tag/v1.11.2
323
379
 
324
380
  ### 1.11.1 (17 Aug 2020)
381
+
325
382
  - Added fix to process the import validation subcommands
326
383
 
327
384
  https://github.com/Automattic/vip/releases/tag/v1.11.1
328
385
 
329
386
  ### 1.11.0 (17 Aug 2020)
387
+
330
388
  - Added `vip import validate sql` and `vip import validate files` commands to run static validation checks for SQL and media files for imports
331
389
 
332
390
  https://github.com/Automattic/vip/releases/tag/v1.11.0
333
391
 
334
392
  ### 1.10.0 (12 Jun 2020)
393
+
335
394
  - Added support for specifying a SOCKS proxy through the environment variable VIP_PROXY
336
395
 
337
396
  https://github.com/Automattic/vip/releases/tag/v1.10.0
338
397
 
339
398
  ### 1.9.0 (30 Mar 2020)
399
+
340
400
  - Added support for [opting out of usage tracking](https://github.com/Automattic/vip/tree/e54d9ee0ce2dd4725ca8718b3aba06db24306ad7#analytics) via `DO_NOT_TRACK` environment variable #547
341
401
  - Fix interactive commands not working correctly #478
342
402
  - Show usage information when an unsupported command is entered #527
@@ -345,6 +405,7 @@ https://github.com/Automattic/vip/releases/tag/v1.10.0
345
405
  https://github.com/Automattic/vip/releases/tag/v1.9.0
346
406
 
347
407
  ### 1.8.0 (25 Sep 2019)
408
+
348
409
  - Fixes around cancelling commands via Ctrl-C
349
410
  - Gracefully handle remote command cancellation
350
411
  - Enhance Rollbar logging for additional use cases
@@ -352,21 +413,25 @@ https://github.com/Automattic/vip/releases/tag/v1.9.0
352
413
  https://github.com/Automattic/vip/releases/tag/v1.8.0
353
414
 
354
415
  ### 1.7.0 (15 Aug 15 2019)
416
+
355
417
  - Resume long-running WP-CLI commands in case of network interruptions
356
418
 
357
419
  https://github.com/Automattic/vip/releases/tag/v1.7.0
358
420
 
359
421
  ### 1.6.2 (25 Jul 2019)
422
+
360
423
  - Corrected some install issues with the 1.6.0/1.6.1 releases.
361
424
 
362
425
  https://github.com/Automattic/vip/releases/tag/v1.6.2
363
426
 
364
427
  ### 1.6.1 (25 Jul 2019)
428
+
365
429
  - Intermittent release to test some issues with v1.6.0
366
430
 
367
431
  https://github.com/Automattic/vip/releases/tag/v1.6.1
368
432
 
369
433
  ### 1.6.0 (25 Jul 2019)
434
+
370
435
  - We added ability to cancel running commands.
371
436
  - We fixed an issue with trailing characters such as line breaks affecting use of command output by scripts.
372
437
  - Various dependancy updates.
@@ -374,6 +439,7 @@ https://github.com/Automattic/vip/releases/tag/v1.6.1
374
439
  https://github.com/Automattic/vip/releases/tag/v1.6.0
375
440
 
376
441
  ### 1.5.0 (15 Jul 2019)
442
+
377
443
  - Added `--yes` flag for WP-CLI commands to skip confirmation on production environments.
378
444
  - We fixed the character limit errors raised when running long WP-CLI commands.
379
445
  - We've added Rollbar to allow us to monitor and address errors
@@ -382,11 +448,13 @@ https://github.com/Automattic/vip/releases/tag/v1.6.0
382
448
  https://github.com/Automattic/vip/releases/tag/v1.5.0
383
449
 
384
450
  ### 1.4.1 (29 Apr 2019)
451
+
385
452
  - No functional changes, 1.4.0 was already taken on NPM :)
386
453
 
387
454
  https://github.com/Automattic/vip/releases/tag/1.4.1
388
455
 
389
456
  ### 1.4.0 (29 Apr 2019)
457
+
390
458
  - Added "environment alias" support (`vip @my-site.env sync`)
391
459
  - Added support for WP-CLI commands
392
460
  - Misc. dependency updates
@@ -394,6 +462,7 @@ https://github.com/Automattic/vip/releases/tag/1.4.1
394
462
  https://github.com/Automattic/vip/releases/tag/1.4.0
395
463
 
396
464
  ### 1.3.0 (1 Feb 2019)
465
+
397
466
  - We now display information header for every `vip app --app` execution [(#223)](https://github.com/Automattic/vip/pull/223).
398
467
  - 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).
399
468
  - We replaced `inquirer` with `enquirer` [(#229)](https://github.com/Automattic/vip/pull/229).
@@ -404,11 +473,13 @@ https://github.com/Automattic/vip/releases/tag/1.4.0
404
473
  https://github.com/Automattic/vip/releases/tag/v1.3.0
405
474
 
406
475
  ### 1.2.1 (5 Dec 2018)
476
+
407
477
  - The `1.2.0` version was containing a bug and we published a patch to fix it. Please use this version instead.
408
478
 
409
479
  https://github.com/Automattic/vip/releases/tag/v1.2.1
410
480
 
411
481
  ### 1.2.0 (5 Dec 2018)
482
+
412
483
  - We now display a preview of the `sync` feature with the backup time and the search/replace taking place in your database.
413
484
  - We now display your mapped domain instead of the placeholder `go-vip.co` domain in `vip app` and `vip app list`.
414
485
  - We now display a better message when an app does not have any non-production environments.
@@ -418,11 +489,13 @@ https://github.com/Automattic/vip/releases/tag/v1.2.1
418
489
  https://github.com/Automattic/vip/releases/tag/v1.2.0
419
490
 
420
491
  ### 1.1.1 (1 Nov 2018)
492
+
421
493
  - Updates dependencies to fix a bug introduced by sub-dependencies.
422
494
 
423
495
  https://github.com/Automattic/vip/releases/tag/v1.1.1
424
496
 
425
497
  ### 1.1.0 (12 Jul 2018)
498
+
426
499
  - We now correctly report errors when `vip sync` fails. Previously, this would incorrectly report that a sync was run previously.
427
500
  - We fixed permissions issues for some users with `admin` access for repos. They were unable to properly view and access applications.
428
501
  - 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.
@@ -432,6 +505,7 @@ https://github.com/Automattic/vip/releases/tag/v1.1.0
432
505
  ### 1.0.0 (2 Jul 2018)
433
506
 
434
507
  The first release!
508
+
435
509
  - `vip app list`: view a list of all your applications.
436
510
  - `vip app`: view details about one of your applications.
437
511
  - `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,7 +36,7 @@ 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
42
  environment:
@@ -93,7 +92,7 @@ services:
93
92
  environment:
94
93
  UPLOAD_LIMIT: 4G
95
94
  <% } %>
96
-
95
+ <% if ( enterpriseSearchEnabled ) { %>
97
96
  vip-search:
98
97
  type: compose
99
98
  services:
@@ -113,7 +112,7 @@ services:
113
112
  - search_data:/usr/share/elasticsearch/data
114
113
  volumes:
115
114
  search_data:
116
-
115
+ <% } %>
117
116
  <% if ( statsd ) { %>
118
117
  statsd:
119
118
  type: compose
@@ -12,8 +12,6 @@
12
12
 
13
13
  var _fs = _interopRequireDefault(require("fs"));
14
14
 
15
- var _chalk = _interopRequireDefault(require("chalk"));
16
-
17
15
  var _command = _interopRequireDefault(require("../lib/cli/command"));
18
16
 
19
17
  var _devEnvironmentCli = require("../lib/dev-environment/dev-environment-cli");
@@ -58,6 +58,7 @@ cmd.argv(process.argv, async (arg, opt) => {
58
58
  muPlugins: currentInstanceData.muPlugins.dir || currentInstanceData.muPlugins.tag || 'latest',
59
59
  wordpress: currentInstanceData.wordpress.tag,
60
60
  elasticsearch: currentInstanceData.elasticsearch,
61
+ php: currentInstanceData.php || _devEnvironment.DEV_ENVIRONMENT_PHP_VERSIONS.default,
61
62
  mariadb: currentInstanceData.mariadb,
62
63
  statsd: currentInstanceData.statsd,
63
64
  phpmyadmin: currentInstanceData.phpmyadmin,
@@ -54,8 +54,6 @@ var _progress = require("../lib/cli/progress");
54
54
 
55
55
  var _isMultiSite = require("../lib/validations/is-multi-site");
56
56
 
57
- var _path = _interopRequireDefault(require("path"));
58
-
59
57
  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); }
60
58
 
61
59
  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; }