From 51fc6f45cf4e4d3f732c1eb8f1b67c7855865eb1 Mon Sep 17 00:00:00 2001 From: Diana Lau Date: Tue, 11 Feb 2020 15:34:01 -0500 Subject: [PATCH 1/9] chore: drop Node.js 6 support --- .travis.yml | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c60f507..a74acf2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ sudo: false language: node_js node_js: - - "6" - "8" - "10" diff --git a/package.json b/package.json index 1c35edf..7d698ed 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ ], "author": "IBM Corp.", "engines": { - "node": ">=6" + "node": ">=8" }, "repository": { "type": "git", From 3192298d7bab6198b53f4dcc6c26f181eb31f7bb Mon Sep 17 00:00:00 2001 From: Diana Lau Date: Mon, 10 Feb 2020 13:59:22 -0500 Subject: [PATCH 2/9] chore: update copyright year --- bin/loopback-cli.js | 2 +- test/help.test.js | 2 +- test/helpers/invoke.js | 2 +- test/helpers/responder.js | 2 +- test/smoke.test.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/loopback-cli.js b/bin/loopback-cli.js index 70fa199..eebbc51 100755 --- a/bin/loopback-cli.js +++ b/bin/loopback-cli.js @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Copyright IBM Corp. 2016,2018. All Rights Reserved. +// Copyright IBM Corp. 2016,2019. All Rights Reserved. // Node module: loopback-cli // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT diff --git a/test/help.test.js b/test/help.test.js index 3849ef4..9a37d17 100644 --- a/test/help.test.js +++ b/test/help.test.js @@ -1,4 +1,4 @@ -// Copyright IBM Corp. 2016,2018. All Rights Reserved. +// Copyright IBM Corp. 2016,2019. All Rights Reserved. // Node module: loopback-cli // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT diff --git a/test/helpers/invoke.js b/test/helpers/invoke.js index 25d5c12..7570fc8 100644 --- a/test/helpers/invoke.js +++ b/test/helpers/invoke.js @@ -1,4 +1,4 @@ -// Copyright IBM Corp. 2016,2018. All Rights Reserved. +// Copyright IBM Corp. 2016,2019. All Rights Reserved. // Node module: loopback-cli // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT diff --git a/test/helpers/responder.js b/test/helpers/responder.js index 7bb1ef9..feb2d0b 100644 --- a/test/helpers/responder.js +++ b/test/helpers/responder.js @@ -1,4 +1,4 @@ -// Copyright IBM Corp. 2016,2017. All Rights Reserved. +// Copyright IBM Corp. 2016,2019. All Rights Reserved. // Node module: loopback-cli // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT diff --git a/test/smoke.test.js b/test/smoke.test.js index 6ea8cdb..b8bc4a1 100644 --- a/test/smoke.test.js +++ b/test/smoke.test.js @@ -1,4 +1,4 @@ -// Copyright IBM Corp. 2016,2018. All Rights Reserved. +// Copyright IBM Corp. 2016,2019. All Rights Reserved. // Node module: loopback-cli // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT From ed31ec736b2ded68c09b2027507ba0de18222a5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Tue, 3 Mar 2020 09:17:42 +0100 Subject: [PATCH 3/9] Update LTS status in README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miroslav Bajtoš --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e567e98..33756cd 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,14 @@ LoopBack CLI tool for creating projects, models and more. This package supersedes the older `slc` tool. -This module is in Active LTS mode, new features are no longer accepted. -(See [Module Long Term Support Policy](#module-long-term-support-policy) below.) +**⚠️ LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. (See +[Module Long Term Support Policy](#module-long-term-support-policy) below.)** -LoopBack 3 users looking for new features are encouraged to upgrade to LoopBack 4. Refer to [loopback-next#1849](https://github.com/strongloop/loopback-next/issues/1849) for more information on how to upgrade. +We urge all LoopBack 3 users to migrate their applications to LoopBack 4 as +soon as possible. Refer to our +[Migration Guide](https://loopback.io/doc/en/lb4/migration-overview.html) +for more information on how to upgrade. ## Installation @@ -96,8 +100,8 @@ This module adopts the [Module Long Term Support (LTS)](http://github.com/CloudN | Version | Status | Published | EOL | | ------- | --------------- | --------- | -------- | -| 5.x | Active LTS | Nov 2018 | Dec 2019 | -| 4.x | Maintenance LTS | Sep 2017 | Dec 2019 | +| 5.x | Maintenance LTS | Nov 2018 | Dec 2020 | +| 4.x | End-of-Life | Sep 2017 | Dec 2019 | | 3.x | End-of-Life | Jul 2017 | Apr 2019 | Learn more about our LTS plan in the [docs](https://loopback.io/doc/en/contrib/Long-term-support.html). From 42806f6f6a84c4739756c1e5a0b8fce44206f05d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Tue, 3 Mar 2020 09:25:36 +0100 Subject: [PATCH 4/9] Print a warning about Maintenance LTS at startup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miroslav Bajtoš --- bin/loopback-cli.js | 9 +++++++++ package.json | 1 + test/fixtures/help-lb-acl.txt | 7 +++++++ test/fixtures/help-lb-bluemix.txt | 7 +++++++ test/fixtures/help-lb-boot-script.txt | 7 +++++++ test/fixtures/help-lb-datasource.txt | 7 +++++++ test/fixtures/help-lb-export-api-def.txt | 7 +++++++ test/fixtures/help-lb-middleware.txt | 7 +++++++ test/fixtures/help-lb-model.txt | 7 +++++++ test/fixtures/help-lb-oracle.txt | 7 +++++++ test/fixtures/help-lb-property.txt | 7 +++++++ test/fixtures/help-lb-relation.txt | 7 +++++++ test/fixtures/help-lb-remote-method.txt | 7 +++++++ test/fixtures/help-lb-soap.txt | 7 +++++++ test/fixtures/help-lb-swagger.txt | 7 +++++++ test/fixtures/help-lb-zosconnectee.txt | 7 +++++++ test/fixtures/help-lb.txt | 7 +++++++ 17 files changed, 115 insertions(+) diff --git a/bin/loopback-cli.js b/bin/loopback-cli.js index eebbc51..b2f10ae 100755 --- a/bin/loopback-cli.js +++ b/bin/loopback-cli.js @@ -8,10 +8,19 @@ const assert = require('assert'); const camelCaseKeys = require('camelcase-keys'); +const chalk = require('ansi-colors'); const debug = require('debug')('loopback:cli'); const minimist = require('minimist'); const path = require('path'); +console.log(chalk.bold(chalk.red(` +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html +`))); + const opts = minimist(process.argv.slice(2), { alias: { help: 'h', diff --git a/package.json b/package.json index 7d698ed..cb0e1bf 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ } }, "dependencies": { + "ansi-colors": "^4.1.1", "camelcase-keys": "^4.2.0", "debug": "^4.0.1", "generator-loopback": "^6.0.0", diff --git a/test/fixtures/help-lb-acl.txt b/test/fixtures/help-lb-acl.txt index 59967ff..550d953 100644 --- a/test/fixtures/help-lb-acl.txt +++ b/test/fixtures/help-lb-acl.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb acl [options] diff --git a/test/fixtures/help-lb-bluemix.txt b/test/fixtures/help-lb-bluemix.txt index 3ef108c..1d3c838 100644 --- a/test/fixtures/help-lb-bluemix.txt +++ b/test/fixtures/help-lb-bluemix.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb bluemix [options] diff --git a/test/fixtures/help-lb-boot-script.txt b/test/fixtures/help-lb-boot-script.txt index a20c545..deb05ea 100644 --- a/test/fixtures/help-lb-boot-script.txt +++ b/test/fixtures/help-lb-boot-script.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb boot-script [options] [] diff --git a/test/fixtures/help-lb-datasource.txt b/test/fixtures/help-lb-datasource.txt index 91782d4..be9f5a7 100644 --- a/test/fixtures/help-lb-datasource.txt +++ b/test/fixtures/help-lb-datasource.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb datasource [options] [] diff --git a/test/fixtures/help-lb-export-api-def.txt b/test/fixtures/help-lb-export-api-def.txt index 4a4e00e..1e03dbb 100644 --- a/test/fixtures/help-lb-export-api-def.txt +++ b/test/fixtures/help-lb-export-api-def.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb export-api-def [options] diff --git a/test/fixtures/help-lb-middleware.txt b/test/fixtures/help-lb-middleware.txt index ec20305..55a8f7d 100644 --- a/test/fixtures/help-lb-middleware.txt +++ b/test/fixtures/help-lb-middleware.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb middleware [options] [] diff --git a/test/fixtures/help-lb-model.txt b/test/fixtures/help-lb-model.txt index 5cde92a..7aeece6 100644 --- a/test/fixtures/help-lb-model.txt +++ b/test/fixtures/help-lb-model.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb model [options] [] diff --git a/test/fixtures/help-lb-oracle.txt b/test/fixtures/help-lb-oracle.txt index 48fa3bb..ed281ce 100644 --- a/test/fixtures/help-lb-oracle.txt +++ b/test/fixtures/help-lb-oracle.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb oracle [options] diff --git a/test/fixtures/help-lb-property.txt b/test/fixtures/help-lb-property.txt index 3677631..d23cf97 100644 --- a/test/fixtures/help-lb-property.txt +++ b/test/fixtures/help-lb-property.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb property [options] diff --git a/test/fixtures/help-lb-relation.txt b/test/fixtures/help-lb-relation.txt index dea57c6..188c176 100644 --- a/test/fixtures/help-lb-relation.txt +++ b/test/fixtures/help-lb-relation.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb relation [options] diff --git a/test/fixtures/help-lb-remote-method.txt b/test/fixtures/help-lb-remote-method.txt index b449f40..1187e8b 100644 --- a/test/fixtures/help-lb-remote-method.txt +++ b/test/fixtures/help-lb-remote-method.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb remote-method [options] [] [] diff --git a/test/fixtures/help-lb-soap.txt b/test/fixtures/help-lb-soap.txt index 7db8540..9b5c073 100644 --- a/test/fixtures/help-lb-soap.txt +++ b/test/fixtures/help-lb-soap.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb soap [options] [] diff --git a/test/fixtures/help-lb-swagger.txt b/test/fixtures/help-lb-swagger.txt index a4bccee..1ed725d 100644 --- a/test/fixtures/help-lb-swagger.txt +++ b/test/fixtures/help-lb-swagger.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb swagger [options] [] diff --git a/test/fixtures/help-lb-zosconnectee.txt b/test/fixtures/help-lb-zosconnectee.txt index 1d2b617..ff9107f 100644 --- a/test/fixtures/help-lb-zosconnectee.txt +++ b/test/fixtures/help-lb-zosconnectee.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb zosconnectee [options] diff --git a/test/fixtures/help-lb.txt b/test/fixtures/help-lb.txt index 37ad104..6899cd6 100644 --- a/test/fixtures/help-lb.txt +++ b/test/fixtures/help-lb.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb app [options] [] From 650256181234cdea612178b89316ea92785d8ca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Thu, 5 Mar 2020 10:12:30 +0100 Subject: [PATCH 5/9] 5.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Print a warning about Maintenance LTS at startup (Miroslav Bajtoš) * Update LTS status in README (Miroslav Bajtoš) * chore: update copyright year (Diana Lau) * chore: drop Node.js 6 support (Diana Lau) --- CHANGES.md | 14 +++++++++++++- package.json | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 73b98ad..331d510 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,16 @@ -2019-06-21, Version 5.0.3 +2020-03-05, Version 5.1.0 +========================= + + * Print a warning about Maintenance LTS at startup (Miroslav Bajtoš) + + * Update LTS status in README (Miroslav Bajtoš) + + * chore: update copyright year (Diana Lau) + + * chore: drop Node.js 6 support (Diana Lau) + + +2019-06-20, Version 5.0.3 ========================= * fix: a workaround to fix the hanging cmd (jannyHou) diff --git a/package.json b/package.json index cb0e1bf..bff99a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "loopback-cli", - "version": "5.0.3", + "version": "5.1.0", "description": "LoopBack CLI tool for creating projects, models and more.", "license": "MIT", "homepage": "http://loopback.io", From 4abd976c34dce0d636791ce9783a033a543af0a6 Mon Sep 17 00:00:00 2001 From: HugoPoi Date: Mon, 29 Jun 2020 11:21:48 +0200 Subject: [PATCH 6/9] fix: warning about LoopBack 3 in stderr close #100 --- bin/loopback-cli.js | 2 +- test/fixtures/help-lb-acl.txt | 7 ------- test/fixtures/help-lb-bluemix.txt | 7 ------- test/fixtures/help-lb-boot-script.txt | 7 ------- test/fixtures/help-lb-datasource.txt | 7 ------- test/fixtures/help-lb-export-api-def.txt | 7 ------- test/fixtures/help-lb-middleware.txt | 7 ------- test/fixtures/help-lb-model.txt | 7 ------- test/fixtures/help-lb-oracle.txt | 7 ------- test/fixtures/help-lb-property.txt | 7 ------- test/fixtures/help-lb-relation.txt | 7 ------- test/fixtures/help-lb-remote-method.txt | 7 ------- test/fixtures/help-lb-soap.txt | 7 ------- test/fixtures/help-lb-swagger.txt | 7 ------- test/fixtures/help-lb-zosconnectee.txt | 7 ------- test/fixtures/help-lb.txt | 7 ------- 16 files changed, 1 insertion(+), 106 deletions(-) diff --git a/bin/loopback-cli.js b/bin/loopback-cli.js index b2f10ae..2a18dc3 100755 --- a/bin/loopback-cli.js +++ b/bin/loopback-cli.js @@ -13,7 +13,7 @@ const debug = require('debug')('loopback:cli'); const minimist = require('minimist'); const path = require('path'); -console.log(chalk.bold(chalk.red(` +console.error(chalk.bold(chalk.red(` LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical security fixes will be provided. The support ends in December 2020. We urge all LoopBack 3 users to migrate their applications to LoopBack 4 diff --git a/test/fixtures/help-lb-acl.txt b/test/fixtures/help-lb-acl.txt index 550d953..59967ff 100644 --- a/test/fixtures/help-lb-acl.txt +++ b/test/fixtures/help-lb-acl.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb acl [options] diff --git a/test/fixtures/help-lb-bluemix.txt b/test/fixtures/help-lb-bluemix.txt index 1d3c838..3ef108c 100644 --- a/test/fixtures/help-lb-bluemix.txt +++ b/test/fixtures/help-lb-bluemix.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb bluemix [options] diff --git a/test/fixtures/help-lb-boot-script.txt b/test/fixtures/help-lb-boot-script.txt index deb05ea..a20c545 100644 --- a/test/fixtures/help-lb-boot-script.txt +++ b/test/fixtures/help-lb-boot-script.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb boot-script [options] [] diff --git a/test/fixtures/help-lb-datasource.txt b/test/fixtures/help-lb-datasource.txt index be9f5a7..91782d4 100644 --- a/test/fixtures/help-lb-datasource.txt +++ b/test/fixtures/help-lb-datasource.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb datasource [options] [] diff --git a/test/fixtures/help-lb-export-api-def.txt b/test/fixtures/help-lb-export-api-def.txt index 1e03dbb..4a4e00e 100644 --- a/test/fixtures/help-lb-export-api-def.txt +++ b/test/fixtures/help-lb-export-api-def.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb export-api-def [options] diff --git a/test/fixtures/help-lb-middleware.txt b/test/fixtures/help-lb-middleware.txt index 55a8f7d..ec20305 100644 --- a/test/fixtures/help-lb-middleware.txt +++ b/test/fixtures/help-lb-middleware.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb middleware [options] [] diff --git a/test/fixtures/help-lb-model.txt b/test/fixtures/help-lb-model.txt index 7aeece6..5cde92a 100644 --- a/test/fixtures/help-lb-model.txt +++ b/test/fixtures/help-lb-model.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb model [options] [] diff --git a/test/fixtures/help-lb-oracle.txt b/test/fixtures/help-lb-oracle.txt index ed281ce..48fa3bb 100644 --- a/test/fixtures/help-lb-oracle.txt +++ b/test/fixtures/help-lb-oracle.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb oracle [options] diff --git a/test/fixtures/help-lb-property.txt b/test/fixtures/help-lb-property.txt index d23cf97..3677631 100644 --- a/test/fixtures/help-lb-property.txt +++ b/test/fixtures/help-lb-property.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb property [options] diff --git a/test/fixtures/help-lb-relation.txt b/test/fixtures/help-lb-relation.txt index 188c176..dea57c6 100644 --- a/test/fixtures/help-lb-relation.txt +++ b/test/fixtures/help-lb-relation.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb relation [options] diff --git a/test/fixtures/help-lb-remote-method.txt b/test/fixtures/help-lb-remote-method.txt index 1187e8b..b449f40 100644 --- a/test/fixtures/help-lb-remote-method.txt +++ b/test/fixtures/help-lb-remote-method.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb remote-method [options] [] [] diff --git a/test/fixtures/help-lb-soap.txt b/test/fixtures/help-lb-soap.txt index 9b5c073..7db8540 100644 --- a/test/fixtures/help-lb-soap.txt +++ b/test/fixtures/help-lb-soap.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb soap [options] [] diff --git a/test/fixtures/help-lb-swagger.txt b/test/fixtures/help-lb-swagger.txt index 1ed725d..a4bccee 100644 --- a/test/fixtures/help-lb-swagger.txt +++ b/test/fixtures/help-lb-swagger.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb swagger [options] [] diff --git a/test/fixtures/help-lb-zosconnectee.txt b/test/fixtures/help-lb-zosconnectee.txt index ff9107f..1d2b617 100644 --- a/test/fixtures/help-lb-zosconnectee.txt +++ b/test/fixtures/help-lb-zosconnectee.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb zosconnectee [options] diff --git a/test/fixtures/help-lb.txt b/test/fixtures/help-lb.txt index 6899cd6..37ad104 100644 --- a/test/fixtures/help-lb.txt +++ b/test/fixtures/help-lb.txt @@ -1,10 +1,3 @@ - -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 -as soon as possible. Refer to our Migration Guide for more information -on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html - Usage: lb app [options] [] From 49eb7b828b6409599a1f2f13a1548b455757dfad Mon Sep 17 00:00:00 2001 From: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> Date: Thu, 31 Dec 2020 10:29:40 +0800 Subject: [PATCH 7/9] chore: update LTS status to End-of-Life MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit see https://github.com/strongloop/loopback-next/issues/6957 Co-authored-by: Miroslav Bajtoš --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 33756cd..c7d8e0e 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,9 @@ LoopBack CLI tool for creating projects, models and more. This package supersedes the older `slc` tool. -**⚠️ LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. (See +**⚠️ LoopBack 3 has reached end of life. We are no longer accepting pull requests or providing +support for community users. The only exception is fixes for critical bugs and security +vulnerabilities provided as part of support for IBM API Connect customers. (See [Module Long Term Support Policy](#module-long-term-support-policy) below.)** We urge all LoopBack 3 users to migrate their applications to LoopBack 4 as @@ -100,7 +101,7 @@ This module adopts the [Module Long Term Support (LTS)](http://github.com/CloudN | Version | Status | Published | EOL | | ------- | --------------- | --------- | -------- | -| 5.x | Maintenance LTS | Nov 2018 | Dec 2020 | +| 5.x | End-of-Life | Nov 2018 | Dec 2020 | | 4.x | End-of-Life | Sep 2017 | Dec 2019 | | 3.x | End-of-Life | Jul 2017 | Apr 2019 | From cb2cfb75f74301c0ff5f78dbf5e0562badcd417a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Tue, 19 Jan 2021 15:42:28 +0100 Subject: [PATCH 8/9] Reword end-of-life warning printed by CLI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miroslav Bajtoš --- bin/loopback-cli.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bin/loopback-cli.js b/bin/loopback-cli.js index 2a18dc3..9b33bad 100755 --- a/bin/loopback-cli.js +++ b/bin/loopback-cli.js @@ -14,9 +14,12 @@ const minimist = require('minimist'); const path = require('path'); console.error(chalk.bold(chalk.red(` -LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical -security fixes will be provided. The support ends in December 2020. We -urge all LoopBack 3 users to migrate their applications to LoopBack 4 +LoopBack 3 has reached end of life. We are no longer accepting pull requests +or providing support for community users. The only exception is fixes for +critical bugs and security vulnerabilities provided as part of support for +IBM API Connect customers. + +We urge all LoopBack 3 users to migrate their applications to LoopBack 4 as soon as possible. Refer to our Migration Guide for more information on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html `))); From c302bf7e833043f53f69ce25958757826477aaec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Tue, 19 Jan 2021 16:11:50 +0100 Subject: [PATCH 9/9] 5.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Reword end-of-life warning printed by CLI (Miroslav Bajtoš) * chore: update LTS status to End-of-Life (Rifa Achrinza) * fix: warning about LoopBack 3 in stderr (HugoPoi) --- CHANGES.md | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 331d510..888e4e7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,13 @@ +2021-01-19, Version 5.2.0 +========================= + + * Reword end-of-life warning printed by CLI (Miroslav Bajtoš) + + * chore: update LTS status to End-of-Life (Rifa Achrinza) + + * fix: warning about LoopBack 3 in stderr (HugoPoi) + + 2020-03-05, Version 5.1.0 ========================= diff --git a/package.json b/package.json index bff99a2..3bdb5b2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "loopback-cli", - "version": "5.1.0", + "version": "5.2.0", "description": "LoopBack CLI tool for creating projects, models and more.", "license": "MIT", "homepage": "http://loopback.io",