Skip to content

Releases: aws/aws-codedeploy-agent

1.7.1

02 Nov 00:22
Compare
Choose a tag to compare

changed: Updated dependencies for security patches.

1.7.0

17 Jan 23:05
Compare
Choose a tag to compare

Release Notes:

Added: A :disable_imds_v1: configuration setting to the CodeDeploy agent configuration file. Use this setting to disable the fallback to IMDSv1 when IMDSv2 errors occur. Defaults to false (enable the fallback).

Added: Support for the Red Hat Enterprise Linux 9 (RHEL 9) operating system.

Added: Support for Ruby versions 3.1 and 3.2 on Ubuntu.

Fixed: The CodeDeploy agent now generates a user-friendly error if the CodeDeploy agent configuration file fails to load.

Changed: Upgraded Ruby to 2.7.8-1 in the CodeDeploy agent for Windows.

1.6.0

22 May 23:46
3ba4279
Compare
Choose a tag to compare

Release Notes:

Added: Support for Ruby 3.1, 3.2.

Added: Support for Amazon Linux 2023.

Added: Support for Windows Server 2022.

Changed: The default setting of verbose is now false for Windows Server instances. To continue to print debug messages in log files on Windows, you must set verbose to true.

Removed: Support for Windows Server 2016 and Windows Server 2012 R2.

Removed: Support for Amazon Linux 2018.03.x.

S3 Keys and ETags

MSI

   latest/codedeploy-agent.msi
   releases/codedeploy-agent-1.6.0.49.msi
   ETag: "0464a4779af65e2ac6fd0351b6151a9c"

DEB

    latest/codedeploy-agent_all.deb
    releases/codedeploy-agent_1.6.0-49_all.deb
    ETag: "456d67c61d906b21e851b5f8b3a0c729"

RPM

    latest/codedeploy-agent.noarch.rpm
    releases/codedeploy-agent-1.6.0-49.noarch.rpm
    ETag: "04f0d0c3afdacd457593f343d76bdcb8"

Special thanks to: @aj-aws @mwjones-aws @t0shiii @puneethnr @philstrong @amznchrs

1.5.0

03 Apr 19:12
e227cbf
Compare
Choose a tag to compare

Release Notes:

Added: Support for Ruby 3.

Added: Support for Ubuntu 22.04.

Fixed: An issue where restarting the CodeDeploy agent soon after startup would lead to the agent hanging.

Changed: The CodeDeploy agent now fails a host deployment on agent startup if the agent service restarts unexpectedly while running a hook script. This fix lets you avoid waiting the 70 minute timeout period before retrying a deployment.

Deprecation notice: CodeDeploy agent 1.5.0 is the last release to support Windows Server 2016, and Windows Server 2012 R2.

Removed: Support for the CodeDeploy agent on Ubuntu 14.04 LTS, Windows Server 2008 R2, Windows Server 2008 R2 32-bit.

S3 keys and ETags

MSI

latest/codedeploy-agent.msi
releases/codedeploy-agent-1.5.0.57.msi
ETag: "46e324841ab9a6fae5f4af1c956473fd"

DEB

latest/codedeploy-agent_all.deb
releases/codedeploy-agent_1.5.0-57_all.deb
ETag: "a5a0a7a6568b357fdad1f2806ba12308"

RPM

latest/codedeploy-agent.noarch.rpm
releases/codedeploy-agent-1.5.0-57.noarch.rpm
ETag: "edc76825fe23aa51c692b6e74f635f6a"

Special thanks to: @aj-aws @mwjones-aws @t0shiii @puneethnr @philstrong @amznchrs

1.4.0

16 Sep 17:47
1a53e8f
Compare
Choose a tag to compare

Added: Support for Red Hat Enterprise Linux 8.

Fixed: An issue with the unzip operation when the disk was full. The CodeDeploy agent now detects the unzip's exit code 50 indicating a full disk, removes partially extracted files, and raises an exception to post a failure to the CodeDeploy server. The error message is visible as a lifecycle event error message, and the host-level deployment will stop without being stuck or timing-out.

Fixed: An issue that would cause the agent to fail.

Fixed: An issue where hooks would time out during an edge-case race condition. Hooks with no scripts will now continue and no longer cause failures or timeouts.

Changed: The update script from the CodeDeploy agent's bin directory was removed because it is no longer used.

Changed: The CodeDeploy agent for Windows Server now bundles Ruby 2.7.

Changed: New environment variables were added, to be used by hook scripts depending on the source of the deployment bundle (Amazon S3 or GitHub).

For further details and deprecation notices see release notes

Special thanks to: @keithcyu @mwjones-aws @t0shiii @dljvette @kaiwensun @puneethnr @jcbhl @amznchrs

AWS CodeDeploy agent version 1.3.2

24 May 17:18
a724d58
Compare
Choose a tag to compare

Fixed: An issue when installing the CodeDeploy agent on Ubuntu 20.04 and later.
Fixed: An intermittent issue that occurred when extracting compressed files because relative paths weren't being handled correctly.
Added: Support for AWS PrivateLink and VPC endpoints for Windows instances.
Added: Support for Ubuntu 20.10.
Added: AppSpec file improvements:

  • You can now specify a custom filename for the AppSpec file when creating a local deployment. For more information, see Create a local deployment.
  • The AppSpec file can now have a .yaml file extension.
  • You can now overwrite deployed files using a new, optional file_exists_behavior setting in the AppSpec file. For more information, see AppSpec 'files' section (EC2/On-Premises deployments only).

Upgraded: CodeDeploy now uses the AWS SDK for Ruby 3.0.

AWS CodeDeploy agent version 1.3.1

15 Mar 05:24
baaa837
Compare
Choose a tag to compare

Fixed: Removed an expired certificate that was no longer used.
Fixed: Removed the prompt message from the agent uninstall script used by AWS Systems Manager, making it easier to downgrade a host or fleet to a previous version of the agent.

AWS CodeDeploy agent version 1.2.1

25 Sep 01:05
030bc3a
Compare
Choose a tag to compare

Added: Support for IMDSv2. Includes a silent fallback to IMDSv1 if IMDSv2 http requests fail.
Changed: Upgraded AWS Ruby SDK dependency from v2 to v3.
Changed: Updated Rake and Rubyzip dependencies for security patches.
Fixed: Ensure that an empty PID file will return a status of No CodeDeploy Agent Running and clean up the PID file on agent start.

AWS CodeDeploy agent version 1.1.2

01 Aug 00:11
Compare
Choose a tag to compare

Added: Support for Ubuntu 19.10-20.04
Added: Memory efficiency improvements for Linux and Ubuntu to release reserved memory more timely. Unzip command will first attempt to use a system installed unzip utility before using rubyzip
Added: Compatibility with Windows Server "silent-cleanup" which was causing the agent to be unresponsive in some cases
Added: Ignore non-empty directories when cleanup
Added: Support for AWS Local Zone in Los Angeles (LA)
Added: Extract AZ from instance metadata to provide compatibility for AWS Local Zones
Added: Allow to provide archive with inner folder
Added: :enable_auth_policy as a config variable
Changed: Behavior for unzip warnings are now ignored so deployments will now continue

AWS CodeDeploy agent version 1.1.0

25 Jun 01:07
Compare
Choose a tag to compare

With this release, you can manage the installation and automatic updates of the CodeDeploy Agent using AWS Systems Manager. Systems Manager provides enhanced rollback functionality and configurable update schedules. We are deprecating the previous automatic update process on all supported operating systems. If you are using the previous auto update process for Ubuntu or Linux or the Windows Updater you will not be automatically updated to this version. Visit the user guide to learn more about using AWS Systems Manager to install and update the CodeDeploy Agent.

Changed: Versioning of the CodeDeploy Agent now follows the Ruby standard versioning convention
Added: New parameter to the install and update command to allow installation of specific agent version, see user guide for more information
Added: Command in the installer that will find, validate and remove the old CodeDeploy Auto Update cron job for Linux and Ubuntu, unless the cron has been modified after creation.