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

Upgrade AWS SDK #19

Merged
merged 8 commits into from
Aug 23, 2017
Merged

Upgrade AWS SDK #19

merged 8 commits into from
Aug 23, 2017

Conversation

biggianteye
Copy link
Contributor

This PR upgrades the AWS SDK from 2.x to 3.x. I need this upgrade as it is blocking some work elsewhere.

If we want still want to support 2.x, we can branch off version 1.6 which will be the last version that will support the 2.x SDK.

I don't know much about this project so I'm hoping that either @john-n-smith or @h-bragg can point out any obvious flaws in what I've done.

@h-bragg
Copy link
Contributor

h-bragg commented Aug 22, 2017

I have been putting composer update in travis so it can handle different versions.

@h-bragg
Copy link
Contributor

h-bragg commented Aug 22, 2017

while we are here, might as well add a composer cache (and --prefer-dist) in there too:

https://github.com/graze/skeleton-project/blob/master/.travis.yml

the prefer-lowest stuff can be ignored i recon

$formatted = [
'foo' => ['N' => '1'],
'bar' => ['N' => '2']
];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes in this file are because DynamoDbHandler from monolog does different things based on whether the SDK version is 2 or 3.

https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/DynamoDbHandler.php#L77

@biggianteye
Copy link
Contributor Author

@h-bragg At the moment I'm doing the bare minimum to get this in shape for my other work. I'll do the remaining work to bring it into sync with other projects in a different PR.

@h-bragg
Copy link
Contributor

h-bragg commented Aug 22, 2017

Fair snuff.

Copy link
Contributor

@h-bragg h-bragg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sensible. Just need to make sure we version the release appropriately.

@biggianteye biggianteye merged commit ddd97aa into master Aug 23, 2017
@biggianteye biggianteye deleted the aws-sdk-upgrade branch August 23, 2017 10:20
@john-n-smith john-n-smith removed their request for review September 5, 2017 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants