@automattic/vip 2.14.0 → 2.17.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +582 -0
  2. package/CONTRIBUTING.md +2 -2
  3. package/README.md +0 -549
  4. package/assets/dev-env.lando.template.yml.ejs +10 -14
  5. package/dist/bin/vip-config-software-get.js +90 -0
  6. package/dist/bin/vip-config-software-update.js +147 -0
  7. package/dist/bin/vip-config-software.js +27 -0
  8. package/dist/bin/vip-config.js +1 -1
  9. package/dist/bin/vip-dev-env-create.js +11 -9
  10. package/dist/bin/vip-dev-env-import-sql.js +1 -1
  11. package/dist/bin/vip-dev-env-info.js +0 -3
  12. package/dist/bin/vip-dev-env-start.js +3 -2
  13. package/dist/bin/vip-dev-env-update.js +2 -2
  14. package/dist/bin/vip-import-sql.js +6 -4
  15. package/dist/lib/analytics/clients/pendo.js +2 -5
  16. package/dist/lib/api/app.js +9 -3
  17. package/dist/lib/api/http.js +71 -0
  18. package/dist/lib/api.js +4 -24
  19. package/dist/lib/app.js +36 -0
  20. package/dist/lib/cli/command.js +9 -2
  21. package/dist/lib/config/software.js +345 -0
  22. package/dist/lib/constants/dev-environment.js +7 -8
  23. package/dist/lib/constants/vipgo.js +22 -0
  24. package/dist/lib/dev-environment/dev-environment-cli.js +109 -43
  25. package/dist/lib/dev-environment/dev-environment-core.js +25 -3
  26. package/dist/lib/dev-environment/dev-environment-lando.js +5 -4
  27. package/dist/lib/site-import/db-file-import.js +1 -1
  28. package/dist/lib/user-error.js +14 -0
  29. package/dist/lib/validations/is-multisite-domain-mapped.js +161 -0
  30. package/dist/lib/validations/line-by-line.js +3 -2
  31. package/dist/lib/validations/site-type.js +27 -1
  32. package/dist/lib/validations/utils.js +45 -0
  33. package/npm-shrinkwrap.json +134 -35
  34. package/package.json +5 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,582 @@
1
+ ## Changelog
2
+
3
+ ### 2.17.0 (06 Sep 2022)
4
+ - #1093 [dev-env] use latest proxy image
5
+ - #1091 Extract http helper into standalone function
6
+ - #1090 Add tracking to software update
7
+ - #1083 Software Management: Update
8
+ - #1089 [dev-env] Fix wording in wizard
9
+
10
+ ### 2.16.0 (29 Aug 2022)
11
+
12
+ - #1086 Add tracking to config software get
13
+ - #1034 Bump node-fetch from 2.6.1 to 2.6.7
14
+ - #1087 Increase the limit of sql file from 1GB to 5GB for SQL Imports
15
+ - #1085 [dev-env] rename clientCode to appCode
16
+ - #1084 Update/sw get tweaks
17
+ - #1077 [dev-env] Remove app.env support from non-create command
18
+ - #1079 [dev-env] support multiple falsy values add/support_for_falsy
19
+ - #1080 [dev-env] switch name to slug in info table
20
+ - #1073 [dev-env] e2e Windows tests
21
+ - #1078 SQL Import: Fix multisite primary domain validation
22
+ - #1068 Software Management: Get settings
23
+ - #1070 [dev-env] validate client code - look for specific subdirectories
24
+ - #1075 [dev-env] Add switch to skip wp version check
25
+ - #1074 [dev-env] update lando dependency
26
+ - #1071 [dev-env] update wizard prompts to be fully configurable using config switches
27
+
28
+ ### 2.15.0 (3 Aug 2022)
29
+
30
+ - #1067 FORNO-1244: SQL Import: Increase max import size for launched sites to 1GB
31
+ - #1064 FORNO-1254: SQL Import: Add multisite primary domain validation
32
+ - #1062 [dev-env] Change wizard wording
33
+ - #1065 [dev-env] Update default software versions for PHP and Elasticsearch
34
+ - #1063 [dev-env] Remove redundant healthchecks
35
+ - #1061 [dev-env] Fix duplicate shortcuts
36
+
37
+ ### 2.14.0 (19 Jul 2022)
38
+
39
+ - #1059 Update engines to show support for npm > 6
40
+ - #1058 [dev-env] switch dev-env error during import to warning
41
+ - #1057 [dev-env] Update debug instruction example
42
+ - #1055 [dev-env] Makes exec attempt to run the task even if env seems to be down
43
+
44
+ ### 2.13.1 (20 Jun 2022)
45
+
46
+ - #1052 [dev-env] Update/lando compose version
47
+ - #1045 README: Fix Typo `VIP CLI` => `VIP-CLI`
48
+ - #1048 Switch to GitHub Actions
49
+
50
+ ### 2.13.0 (16 Jun 2022)
51
+
52
+ - #1046 Add Cache Purge Command
53
+ - #1050 [dev-env] Change docs link
54
+ - #1047 [dev-env] Bump lando package
55
+ - #1044 [dev-env] Fix healthchecks No. 2
56
+ - #1043 [dev-env] add docker-compose v2 support
57
+ - #1042 [dev-env] Fix search popup during wizard
58
+ - #1038 [dev-env] Adds domain validation during sql import
59
+ - #1040 [dev-env] track dev-env start time in seconds
60
+
61
+ ### 2.12.0 (19 May 2022)
62
+
63
+ - #1035 and #1032 Improved publishing checks to publish on npm
64
+ - #1037 [dev-env] only record the php version numbers update/clean_php_version
65
+ - #999 Add Feature to Support HTTPS/HTTP/NO_PROXY Settings
66
+ - #1036 Move DO_NOT_TRACK handling to Analytics lib
67
+ - #1033 [dev-env] Bump lando in order to support node 18
68
+
69
+ #### Special thanks
70
+ frank-cerny for the contribution on #999
71
+
72
+ ### 2.11.2 (12 May 2022)
73
+
74
+ - Hotfix to use correct production config.json in the NPM published package caused by a different NPM version in the build process.
75
+
76
+ ### 2.11.1 (12 May 2022)
77
+
78
+ - Hotfix to use correct production config.json in the NPM published package
79
+
80
+ ### 2.11.0 (11 May 2022)
81
+
82
+ - #1022 [dev-env] Validate docker installed
83
+ - #1026 [dev-env] adds tracking to stop subcommand
84
+ - #1028 Re-calculate the fileMeta if file gets changed by the searchAndReplace
85
+ - #1029 Adds Pendo analytics client
86
+ - #1030 [dev-env] Fix failure tracking
87
+
88
+ ### 2.10.0 (4 May 2022)
89
+
90
+ - #1021 [dev-env] Add login info and documentation link to `dev-env info`
91
+ - #1023 [dev-env] Skip the trunk from the prompt about the latest available WordPress versions
92
+ - #1019 [dev-env] Unifies lando and other dev-env debug logs
93
+ - #1018 [dev-env] enable lando debug on `--debug`
94
+ - #1017 [dev-env] Adding tracking for create and destroy sub commands
95
+ - #1016 [dev-env] Adding tracking for start sub command
96
+ - #1020 [dev-env] More tracking
97
+
98
+ ### 2.9.5 (26 April 2022)
99
+
100
+ - #1005 [dev-env] updateWordPress image improvements
101
+ - #1006 Remove renovate.json
102
+ - #1007 Set up CodeQL Scanning
103
+ - #1008 WP-CLI: Reattach Reconnect-Related Events After a Successful Reconnection
104
+ - #1009 Add ability to choose a PHP image to use
105
+ - #1010 [dev-env] Add Enterprise Search, XDebug, phpMyAdmin options to the config wizard.
106
+
107
+ ### 2.9.4 (07 April 2022)
108
+
109
+ - #996 Clean up lint warnings
110
+ - #1001 Fix reconnect event listeners
111
+ - #1000 Bump socket.io-client from 4.0.1 to 4.4.1
112
+
113
+ ### 2.9.3 (29 March 2022)
114
+
115
+ - #995 Add debug call to dev-envs handleCLIException
116
+ - #992 Add --debug flag to all commands
117
+ - #993 [dev-env] Fix in caching version list.
118
+ - #994 Fix typo in error message
119
+ - #990 [dev-env] Add check for wp folder map add/php_healthcheck
120
+ - #991 Adds optional channing since `progress` can be null as per GraphQL schema
121
+ - #989 Fixes unit test error `bsdthread_register error`
122
+ - #987 Add support for M1 Macs in the search-replace tests
123
+
124
+ ### 2.9.2 (9 March 2022)
125
+
126
+ - #980 [dev-env] Fix/tag formatting on stapled images
127
+ - #986 Clean the build folder prior to rebuilding it
128
+ - #985 Adding webP to the list of accepted extensions for files
129
+ - #972 Run tests in Windows Env
130
+
131
+ https://github.com/Automattic/vip/releases/tag/v2.9.2
132
+
133
+ ### 2.9.1 (2 March 2022)
134
+
135
+ - #982 Remove unused dependencies - Fixes Error: Cannot find module 'core-js'
136
+ - #978 [dev-env] Added phpmyadmin proxy value
137
+
138
+ https://github.com/Automattic/vip/releases/tag/v2.9.1
139
+
140
+ ### 2.9.0 (1 March 2022)
141
+
142
+ - #966 [dev-env] Dynamic WordPress Image List
143
+ - #975 [dev-env] prompt On Unselected Env
144
+ - #974 [dev-env] Corrections of text for -h menu in dev-env create
145
+ - #973 [dev-env] update Nginx image
146
+ - #971 [dev-env] Use custom add user command
147
+ - #964 [dev-env] Validate sql on import
148
+ - #970 [dev-env] Do not use /tmp as a userConfRoot
149
+ - #977 Fix flow errors
150
+ - #976 Fix/duplicate shortcut parameter
151
+ - #968 Update minimum Node version
152
+
153
+ https://github.com/Automattic/vip/releases/tag/v2.9.0
154
+
155
+ ### 2.8.2 (27 January 2021)
156
+
157
+ - #961 Fixes md5 calculation failing when search-replace is used
158
+ - #959 Fixes md5 calculation for SQL Imports on VIPd
159
+
160
+ https://github.com/Automattic/vip/releases/tag/v2.8.2
161
+
162
+ ### 2.8.0 (25 January 2021)
163
+
164
+ - #952 FORNO-1047: Fix SQL Import for compressed files
165
+ - #955 Add Error prefix for "Failed to fetch logs" msg
166
+ - #946 Add support for the site logs tailing feature
167
+ - #953 [dev-env] Updated list of available wordpress images for dev-env
168
+ - #933 Update dependency debug to v4.3.3
169
+
170
+ https://github.com/Automattic/vip/releases/tag/v2.8.0
171
+
172
+ ### 2.7.1 (10 January 2021)
173
+
174
+ - #950 Switch to npm-shrinkwrap
175
+ - #947 [dev-env] List all dev env alias
176
+ - #944 Add `vip whoami` command
177
+ - #942 Envvar: Show message when there is an attempt to change the New Relic key.
178
+
179
+ https://github.com/Automattic/vip/releases/tag/v2.7.1
180
+
181
+ ### 2.7.0 (07 December 2021)
182
+
183
+ - #941 [dev-env] Bump lando CLI dependency
184
+ - #938 Hide roll back message after SQL Import failure for launched sites
185
+ - #936 Sets jest maxWorkers to 4
186
+
187
+ https://github.com/Automattic/vip/releases/tag/v2.7.0
188
+
189
+ ### 2.6.0 (23 November 2021)
190
+
191
+ - #921 [dev-env] Introuces update to change existing environment
192
+ - #928 [dev-env] Switch lando to use our fork
193
+ - #927 [dev-env] Handles user already exists during sql import
194
+ - #925 [dev-env] Fix the issue with dev-env update
195
+ - #924 FORNO-985 Increase SQL Import limit for unlaunched sites to 100GB
196
+ - #923 FORNO-943 Fixes a bug which prevents displaying SQL Import error messages
197
+ - #922 Update eslint-config-wpvip commit hash to c6605d1
198
+ - #873 Pin dependencies
199
+
200
+ ### 2.5.0 (9 November 2021)
201
+
202
+ - #919 [dev-env] Expose lando core logs
203
+ - #916 [dev-env] Save instance data state
204
+ - #914 [dev-env] update help wording for dev env
205
+ - #915 Add warning message when an envvar is set/deleted
206
+
207
+ ### 2.4.0 (5 November 2021)
208
+
209
+ - #913 [dev-env] No login required for dev-env
210
+ - #911 Adds more release instructions
211
+
212
+ ### 2.3.1 (2 November 2021)
213
+
214
+ - Fixes an issue with the 2.3.0 where the intended changes didn't get published correctly.
215
+
216
+ ### 2.3.0 (2 November 2021)
217
+
218
+ - #908 [dev-env] Custom user permissions setup
219
+ - #897 [dev-env] Primary domain prompt for primary domain redirect
220
+ - #902 [dev-env] Delete file permissions
221
+ - #900 Clarify CONTRIBUTING guidelines
222
+ - #905 Update contribution steps
223
+
224
+ ### 2.2.0 (27 October 2021)
225
+
226
+ New: Environment variables command
227
+
228
+ - #896 Open config envvar command for all customers
229
+ - #876 Update envvar list command to only show names
230
+ - #879 Add config envvar get and get-all commands
231
+ - #875 Temporarily gate access to new config command to VIP staff
232
+ - #858 Environment variable CLI commands (list, set, delete)
233
+
234
+ Fixes:
235
+
236
+ - #901 Don't mark import as failed until restore has completed
237
+ - #899 Proxy fix + healthchecks
238
+ - #894 support windows db import
239
+ - #889 Proxy config change
240
+ - #888 mount wordpress code
241
+ - #872 Auto flush cache after import and add vipgo user
242
+ - #869 Media redirect to production site.
243
+ - #885 Make search data persistent between restarts
244
+ - #844 Expose DB and expose extra services in info table
245
+ - #865 spawn WP-CLI as root to allow for FS operations
246
+ - #895 Fix rmdir deprecation warning
247
+ - #870 Add the VIP-CLI release process and release schedule
248
+
249
+ Dependencies updates:
250
+
251
+ - #778 Update dependency ini to v2
252
+ - #786 Update dependency keytar to v7
253
+ - #884 Update dependency cli-columns to v4
254
+ - #887 Update dependency lando to v3.4.3
255
+ - #874 Update dependency lando to v3.4.0
256
+ - #750 Bump hosted-git-info from 2.8.8 to 2.8.9
257
+ - #877 Bump tmpl from 1.0.4 to 1.0.5
258
+
259
+ https://github.com/Automattic/vip/releases/tag/v2.2.0
260
+
261
+ ### 2.1.0 (16 September 2021)
262
+
263
+ - #857 Remove select DB checks
264
+ - #864 Adding WordPress versions to dev-env
265
+ - #868 persist database data in between container restarts
266
+ - #862 Fix lint warnings
267
+ - #867 Update dependency lando to v3.3.2
268
+ - #863 Add links to CONTRIBUTING and SECURITY
269
+ - #855 Add some helpful hints for new command scaffolding
270
+ - #856 Adding media import command on dev environment
271
+ - #849 Adding SQL import to dev environment
272
+ - #854 Updating command descriptions and arguments on dev-env
273
+ - #850 Use official memcached image on dev-env
274
+ - #853 Enable ssl forwarding on dev-env
275
+ - #851 Conditionally disabling statsd on mu-plugins
276
+ - #852 Fixing Prettier format annotation typo
277
+ - #843 Removing custom wp-config-defaults
278
+ - #848 Not using a prefix to all dev environments
279
+ - #847 Update dependency lando to v3.3.0
280
+ - #840 Use official Elasticsearch image on dev-env
281
+ - #845 Fix MariaDB healthcheck
282
+ - #846 dev-env: Update error message for directory prompt
283
+ - #842 Removing PHP parameter from dev environment
284
+ - #839 Use official MariaDB image and enable version selection on dev-env
285
+
286
+ https://github.com/Automattic/vip/releases/tag/v2.1.0
287
+
288
+ ### 2.0.14 (26 August 2021)
289
+
290
+ - Update dependency graphql to v15.5.1 #796
291
+ - Update dependency graphql-tag to v2.12.5 #799
292
+ - Update dependency debug to v4.3.2 #806
293
+ - Remove fake data dev-env commands #830
294
+ - Disable statsd by default #831
295
+ - Support ES version option #832
296
+ - Removing mu-plugins test command #835
297
+ - Making PHPMyAdmin optional on dev-env #836
298
+ - Patching Docker for Windows in dev-env #837
299
+ - enable/disable xdebug #838
300
+
301
+ https://github.com/Automattic/vip/releases/tag/v2.0.14
302
+
303
+ ### 2.0.13 (19 August 2021)
304
+
305
+ - Allow user to run multisite import even if wpSites.nodes doesn't exist. #815
306
+ - Bumping version number to 2.0.12 #827
307
+ - Path resolving fixes #829
308
+ - Send header each time #826
309
+ - Sets up a volume for media files #825
310
+ - Update dependency chalk to v4.1.2 #813
311
+ - Update dependency lando to v3.1.4 #797
312
+ - Upgrading statsd container to 0.9.0 #828
313
+
314
+ https://github.com/Automattic/vip/releases/tag/v2.0.13
315
+
316
+ ### 2.0.12 (13 August 2021)
317
+
318
+ - Using new VIP Docker images for dev-env #818
319
+ - Bump path-parse from 1.0.6 to 1.0.7 #819
320
+ - Increasing dev-env PMA upload limit to 4G #822
321
+ - PIE-2890 Fixes issue where user is unable to login after logout #823
322
+
323
+ https://github.com/Automattic/vip/releases/tag/v2.0.12
324
+
325
+ ### 2.0.11 (5 August 2021)
326
+
327
+ - Handle parameter validation in a consistent way #795
328
+ - Fix error blocking data sync on CLI sites #810
329
+ - Update DB Engine check to reduce false positives #811
330
+ - Retrieve the status and steps regardless of the site type. #812
331
+ - Dev-Env: Handle relative file paths #802
332
+ - Dev-Env: Make dev-env start more resilient #804
333
+ - Dev-Env: Validate Path to a component #803
334
+ - Dev-Env: Handle multisite = false correctly #809
335
+ - Dev-Env: Adds a check for an orphaned proxy container #814
336
+ - FORNO-759: Add logged in user details to all Tracks events #801
337
+ - FORNO-779: Throttle request to Parker when fetching media import status #808
338
+
339
+ https://github.com/Automattic/vip/releases/tag/2.0.11
340
+
341
+ ### 2.0.10 (21 June 2021)
342
+
343
+ - Adds Media Import Abort subcommand
344
+ - Disables enterprise search by default
345
+ - Handles numbered slugs correctly
346
+ - Unifies print table on start command with other commands
347
+ - Drops the isVip requirement for dev-env
348
+ - Fixes intermittent fatal error caused due to analytics tracking
349
+ - Misc dependency updates
350
+
351
+ https://github.com/Automattic/vip/releases/tag/v2.0.10
352
+
353
+ ### 2.0.9 (3 June 2021)
354
+
355
+ - Enable SQL import for all site types
356
+ - Bug fix for analytics errors causing some commands to fail
357
+ - Add the full changelog to the readme
358
+ - Improved error output by adding debug info and consistent output/error codes
359
+ - Misc dependency updates
360
+
361
+ https://github.com/Automattic/vip/releases/tag/v2.0.9
362
+
363
+ ### 2.0.8 (27 May 2021)
364
+
365
+ - [Beta] Media Import: Enable media imports for production WordPress applications
366
+ - SQL Import: Enable SQL Import for launched sites
367
+ - SQL Import: Enable SQL Import for multisite networks
368
+ - SQL Import: Additional input file validation
369
+
370
+ https://github.com/Automattic/vip/releases/tag/v2.0.8
371
+
372
+ ### 2.0.7 (6 May 2021)
373
+
374
+ - SQL Import: Add additional multisite validations
375
+ - Update socket.io-client to 4.0.1
376
+ - Misc. dependency updates
377
+
378
+ https://github.com/Automattic/vip/releases/tag/v2.0.7
379
+
380
+ ### 2.0.6 (15 Apr 2021)
381
+
382
+ - SQL Import: Add additional checks for site type
383
+
384
+ https://github.com/Automattic/vip/releases/tag/v2.0.6
385
+
386
+ ### 2.0.5 (8 Mar 2021)
387
+
388
+ - Fix a bug when comparing env data to selected environment #697
389
+
390
+ https://github.com/Automattic/vip/releases/tag/v2.0.5
391
+
392
+ ### 2.0.4 (3 Mar 2021)
393
+
394
+ - Bump socket.io-client from 2.3.0 to 2.4.0 (Fixes WP-CLI in node 15+) #679
395
+ - Additional SQL import file static validations #669
396
+
397
+ https://github.com/Automattic/vip/releases/tag/v2.0.4
398
+
399
+ ### 2.0.3 (19 Feb 2021)
400
+
401
+ - Improved SQL import validation around the use of TRIGGER
402
+
403
+ https://github.com/Automattic/vip/releases/tag/v2.0.3
404
+
405
+ ### 2.0.2 (15 Feb 2021)
406
+
407
+ - Improved handling of debug output during search & replace
408
+ - Updated the vip-search-replace package to ^1.0.13
409
+
410
+ https://github.com/Automattic/vip/releases/tag/v2.0.2
411
+
412
+ ### 2.0.1 (11 Feb 2021)
413
+
414
+ - SQL Import: Improved reporting of server-side failures
415
+ - SQL Import: Add ability to skip local validation
416
+ - Updated the vip-search-replace package to v1.0.12
417
+ - SQL Import: Fix and test for multi-site tables that have more than one digit
418
+
419
+ https://github.com/Automattic/vip/releases/tag/v2.0.1
420
+
421
+ ### 2.0.0 (2 Feb 2021)
422
+
423
+ - Drops support for Node 8
424
+ - Added Security Policy
425
+ - Added SQL file import feature for new sites
426
+ - Added SQL search and replace feature
427
+
428
+ https://github.com/Automattic/vip/releases/tag/v2.0.0
429
+
430
+ ### 1.12.1 (8 Sep 2020)
431
+
432
+ - Updated list of accepted special characters for media files for imports
433
+
434
+ https://github.com/Automattic/vip/releases/tag/v1.12.1
435
+
436
+ ### 1.12.0 (21 Aug 2020)
437
+
438
+ - Added multisite support for media files validation
439
+ - Added Tracks for SQL and media file validation events
440
+
441
+ https://github.com/Automattic/vip/releases/tag/v1.12.0
442
+
443
+ ### 1.11.2 (17 Aug 2020)
444
+
445
+ - Added support for multiple nested folders for the media file validation command
446
+
447
+ https://github.com/Automattic/vip/releases/tag/v1.11.2
448
+
449
+ ### 1.11.1 (17 Aug 2020)
450
+
451
+ - Added fix to process the import validation subcommands
452
+
453
+ https://github.com/Automattic/vip/releases/tag/v1.11.1
454
+
455
+ ### 1.11.0 (17 Aug 2020)
456
+
457
+ - Added `vip import validate sql` and `vip import validate files` commands to run static validation checks for SQL and media files for imports
458
+
459
+ https://github.com/Automattic/vip/releases/tag/v1.11.0
460
+
461
+ ### 1.10.0 (12 Jun 2020)
462
+
463
+ - Added support for specifying a SOCKS proxy through the environment variable VIP_PROXY
464
+
465
+ https://github.com/Automattic/vip/releases/tag/v1.10.0
466
+
467
+ ### 1.9.0 (30 Mar 2020)
468
+
469
+ - Added support for [opting out of usage tracking](https://github.com/Automattic/vip/tree/e54d9ee0ce2dd4725ca8718b3aba06db24306ad7#analytics) via `DO_NOT_TRACK` environment variable #547
470
+ - Fix interactive commands not working correctly #478
471
+ - Show usage information when an unsupported command is entered #527
472
+ - Dependency & dev dependency upgrades
473
+
474
+ https://github.com/Automattic/vip/releases/tag/v1.9.0
475
+
476
+ ### 1.8.0 (25 Sep 2019)
477
+
478
+ - Fixes around cancelling commands via Ctrl-C
479
+ - Gracefully handle remote command cancellation
480
+ - Enhance Rollbar logging for additional use cases
481
+
482
+ https://github.com/Automattic/vip/releases/tag/v1.8.0
483
+
484
+ ### 1.7.0 (15 Aug 15 2019)
485
+
486
+ - Resume long-running WP-CLI commands in case of network interruptions
487
+
488
+ https://github.com/Automattic/vip/releases/tag/v1.7.0
489
+
490
+ ### 1.6.2 (25 Jul 2019)
491
+
492
+ - Corrected some install issues with the 1.6.0/1.6.1 releases.
493
+
494
+ https://github.com/Automattic/vip/releases/tag/v1.6.2
495
+
496
+ ### 1.6.1 (25 Jul 2019)
497
+
498
+ - Intermittent release to test some issues with v1.6.0
499
+
500
+ https://github.com/Automattic/vip/releases/tag/v1.6.1
501
+
502
+ ### 1.6.0 (25 Jul 2019)
503
+
504
+ - We added ability to cancel running commands.
505
+ - We fixed an issue with trailing characters such as line breaks affecting use of command output by scripts.
506
+ - Various dependancy updates.
507
+
508
+ https://github.com/Automattic/vip/releases/tag/v1.6.0
509
+
510
+ ### 1.5.0 (15 Jul 2019)
511
+
512
+ - Added `--yes` flag for WP-CLI commands to skip confirmation on production environments.
513
+ - We fixed the character limit errors raised when running long WP-CLI commands.
514
+ - We've added Rollbar to allow us to monitor and address errors
515
+ - We updated third party dependencies to newer, more secure versions.
516
+
517
+ https://github.com/Automattic/vip/releases/tag/v1.5.0
518
+
519
+ ### 1.4.1 (29 Apr 2019)
520
+
521
+ - No functional changes, 1.4.0 was already taken on NPM :)
522
+
523
+ https://github.com/Automattic/vip/releases/tag/1.4.1
524
+
525
+ ### 1.4.0 (29 Apr 2019)
526
+
527
+ - Added "environment alias" support (`vip @my-site.env sync`)
528
+ - Added support for WP-CLI commands
529
+ - Misc. dependency updates
530
+
531
+ https://github.com/Automattic/vip/releases/tag/1.4.0
532
+
533
+ ### 1.3.0 (1 Feb 2019)
534
+
535
+ - We now display information header for every `vip app --app` execution [(#223)](https://github.com/Automattic/vip/pull/223).
536
+ - 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).
537
+ - We replaced `inquirer` with `enquirer` [(#229)](https://github.com/Automattic/vip/pull/229).
538
+ - We fixed a bug where we didn't check if we can sync to an environment before accessing some information about it [(#230)](https://github.com/Automattic/vip/pull/230).
539
+ - We fixed an `EPIPE` bug when hitting `q` in `app list` command [(#225)](https://github.com/Automattic/vip/pull/225).
540
+ - We updated third party dependencies to newer, more secure versions.
541
+
542
+ https://github.com/Automattic/vip/releases/tag/v1.3.0
543
+
544
+ ### 1.2.1 (5 Dec 2018)
545
+
546
+ - The `1.2.0` version was containing a bug and we published a patch to fix it. Please use this version instead.
547
+
548
+ https://github.com/Automattic/vip/releases/tag/v1.2.1
549
+
550
+ ### 1.2.0 (5 Dec 2018)
551
+
552
+ - We now display a preview of the `sync` feature with the backup time and the search/replace taking place in your database.
553
+ - We now display your mapped domain instead of the placeholder `go-vip.co` domain in `vip app` and `vip app list`.
554
+ - We now display a better message when an app does not have any non-production environments.
555
+ - We fixed a bug where the help menu was not showing until you're logged in.
556
+ - We updated third party dependencies to newer, more secure versions.
557
+
558
+ https://github.com/Automattic/vip/releases/tag/v1.2.0
559
+
560
+ ### 1.1.1 (1 Nov 2018)
561
+
562
+ - Updates dependencies to fix a bug introduced by sub-dependencies.
563
+
564
+ https://github.com/Automattic/vip/releases/tag/v1.1.1
565
+
566
+ ### 1.1.0 (12 Jul 2018)
567
+
568
+ - We now correctly report errors when `vip sync` fails. Previously, this would incorrectly report that a sync was run previously.
569
+ - We fixed permissions issues for some users with `admin` access for repos. They were unable to properly view and access applications.
570
+ - 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.
571
+
572
+ https://github.com/Automattic/vip/releases/tag/v1.1.0
573
+
574
+ ### 1.0.0 (2 Jul 2018)
575
+
576
+ The first release!
577
+
578
+ - `vip app list`: view a list of all your applications.
579
+ - `vip app`: view details about one of your applications.
580
+ - `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.
581
+
582
+ https://github.com/Automattic/vip/releases/tag/v1.0.0
package/CONTRIBUTING.md CHANGED
@@ -78,14 +78,14 @@ Prepare the release by making sure that:
78
78
 
79
79
  1. All relevant PRs have been merged.
80
80
  1. The release has been tested across macOS, Windows, and Linux.
81
- 1. The [changelog](https://github.com/Automattic/vip/blob/master/README.md#changelog) has been updated on `master`.
81
+ 1. The [changelog](https://github.com/Automattic/vip/blob/master/CHANGELOG.md) has been updated on `master`.
82
82
  1. All tests pass and your working directory is clean (we have pre-publish checks to catch this, just-in-case).
83
83
 
84
84
  #### Changelog Generator Hint:
85
85
 
86
86
  ```
87
87
  export LAST_RELEASE_DATE=2021-08-25T13:40:00+02
88
- gh pr list --search "is:merged sort:updated-desc closed:>$LAST_RELEASE_DATE" | sed -e 's/\s*\S\+\s*\S\+\s*$//' -e 's/^/- #/'
88
+ gh pr list --search "is:merged sort:updated-desc closed:>$LAST_RELEASE_DATE" | sed -e 's/\s\+\S\+\tMERGED.*$//' -e 's/^/- #/'
89
89
  ```
90
90
 
91
91
  Then, let's publish: