Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions docs/guides/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,6 @@ Note:
- The `serverless.yml` setting is ineffective for deprecations reported before the configuration is read.
- `SLS_DEPRECATION_DISABLE` and `disabledDeprecations` remain respected, and no errors will be thrown for mentioned deprecation codes.

<a name="STANDALONE_UNINSTALL_COMMAND_DEPRECATED"><div>&nbsp;</div></a>

## Command `sls uninstall`

Deprecation code: `STANDALONE_UNINSTALL_COMMAND_DEPRECATED`

Removal target: osls v4.0.0

The top-level standalone `sls uninstall` command is deprecated and scheduled for removal in osls v4.0.0. It only removes the legacy standalone binary directory and does not uninstall npm-installed osls.

Use your package manager to uninstall npm-installed osls instead:

```sh
npm uninstall -g osls
```

This does not affect `serverless plugin uninstall`.

<a name="VARIABLES_RESOLUTION_MODE"><div>&nbsp;</div></a>

## Property `variablesResolutionMode`
Expand Down
14 changes: 0 additions & 14 deletions lib/cli/commands-schema/no-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,20 +136,6 @@ commands.set('plugin search', {
lifecycleEvents: ['search'],
});

(() => {
const isHidden = !require('../../utils/is-standalone-executable') || process.platform === 'win32';
const noSupportNotice =
"It's applicable only in context of a standalone executable instance " +
'in non Windows environment.';

commands.set('uninstall', {
usage: 'Deprecated: uninstall standalone osls binary',
isHidden,
noSupportNotice,
lifecycleEvents: ['uninstall'],
});
})();

for (const [name, schema] of commands) {
if (!schema.options) schema.options = {};
for (const optionSchema of Object.values(schema.options)) {
Expand Down
1 change: 0 additions & 1 deletion lib/cli/triage.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ module.exports = async () => {
'install',
'plugin list',
'plugin search',
'uninstall',
]).has(command);

// Used only for osls compose check
Expand Down
1 change: 0 additions & 1 deletion lib/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,4 @@ module.exports = [
require('./aws/deploy-function.js'),
require('./aws/deploy-list.js'),
require('./aws/invoke-local/index.js'),
require('./standalone'),
];
45 changes: 0 additions & 45 deletions lib/plugins/standalone.js

This file was deleted.

7 changes: 0 additions & 7 deletions lib/utils/standalone.js

This file was deleted.

51 changes: 0 additions & 51 deletions test/unit/lib/plugins/standalone.test.js

This file was deleted.

Loading