Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate .NET 7, Node.js 16 and Python 3.8 runtime options #146

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,15 @@ You can write functions in any of the following runtimes and execute them straig

- Node.js 20
- Node.js 18
- Node.js 16
- Python 3.12
- Python 3.11
- Python 3.10
- Python 3.9
- Python 3.8
- Java 21
- Java 17
- Java 11
- Java 8
- .NET 8
- .NET 7
- .NET 6
- Ruby 3.3
- Ruby 3.2
Expand All @@ -42,7 +39,7 @@ You can write functions in any of the following runtimes and execute them straig

Any runtime that [Lambda supports](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html), you can use!

Sidecar is maintained by [Aaron Francis](https://twitter.com/aarondfrancis), go follow me on Twitter!
Sidecar is maintained by [Aaron Francis](https://twitter.com/aarondfrancis), go follow me on Twitter!

### What It Looks Like

Expand Down
3 changes: 0 additions & 3 deletions docs/functions/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,15 @@ Lambda supports multiple languages through the use of runtimes. You can choose a

- Node.js 20: `nodejs20.x`
- Node.js 18: `nodejs18.x`
- Node.js 16: `nodejs16.x`
- Python 3.12: `python3.12`
- Python 3.11: `python3.11`
- Python 3.10: `python3.10`
- Python 3.9: `python3.9`
- Python 3.8: `python3.8`
- Java 21: `java21`
- Java 17: `java17`
- Java 11: `java11`
- Java 8: `java8.al2`
- .NET 8: `dotnet8`
- .NET 7: `dotnet7`
- .NET 6: `dotnet6`
- Ruby 3.3: `ruby3.3`
- Ruby 3.2: `ruby3.2`
Expand Down
4 changes: 1 addition & 3 deletions src/Clients/CloudWatchLogsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@

use Aws\CloudWatchLogs\CloudWatchLogsClient as BaseClient;

class CloudWatchLogsClient extends BaseClient
{
}
class CloudWatchLogsClient extends BaseClient {}
4 changes: 1 addition & 3 deletions src/Clients/S3Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

use Aws\S3\S3Client as BaseClient;

class S3Client extends BaseClient
{
}
class S3Client extends BaseClient {}
4 changes: 1 addition & 3 deletions src/Exceptions/ConfigurationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@

namespace Hammerstone\Sidecar\Exceptions;

class ConfigurationException extends SidecarException
{
}
class ConfigurationException extends SidecarException {}
4 changes: 1 addition & 3 deletions src/Exceptions/LambdaExecutionException.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@

namespace Hammerstone\Sidecar\Exceptions;

class LambdaExecutionException extends SidecarException
{
}
class LambdaExecutionException extends SidecarException {}
4 changes: 1 addition & 3 deletions src/Exceptions/SidecarException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@

use Exception;

class SidecarException extends Exception
{
}
class SidecarException extends Exception {}
3 changes: 3 additions & 0 deletions src/Runtime.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ abstract class Runtime

public const NODEJS_18 = 'nodejs18.x';

/** @deprecated */
public const NODEJS_16 = 'nodejs16.x';

/** @deprecated */
Expand All @@ -21,6 +22,7 @@ abstract class Runtime

public const PYTHON_39 = 'python3.9';

/** @deprecated */
public const PYTHON_38 = 'python3.8';

/** @deprecated */
Expand All @@ -39,6 +41,7 @@ abstract class Runtime

public const DOT_NET_8 = 'dotnet8';

/** @deprecated */
public const DOT_NET_7 = 'dotnet7';

public const DOT_NET_6 = 'dotnet6';
Expand Down
Loading