Skip to content

Add SES Session Token again to Symfony Mailer #38794

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

Closed
wants to merge 51 commits into from
Closed

Add SES Session Token again to Symfony Mailer #38794

wants to merge 51 commits into from

Conversation

Jubeki
Copy link
Contributor

@Jubeki Jubeki commented Sep 13, 2021

symfony/symfony#42982 was merged into 5.4 of Symfony (still waiting to be merged into 6.0) which adds support for the temporary credentials of AWS.

Because in the ses section of the Laravel mail-config the session_token is named token we need to rename the config key while passing the options to the SES-Factory.

Another option would be to add this to the upgrade guide that the config entry needs to be renamed.

The SesFactory only respects the session_token and region option right now therefor I would recommend renaming the token to session_token in the config.

@driesvints what is your opinion on that?

tfevens and others added 16 commits September 8, 2021 14:35
When creating a model using the `artisan make:model` command, there is no option to create a Policy at the same time. This change adds the `--policy` option to the `make:model` command, and includes it in the `--all` option as well.
Updated to pass CI style guides.
Illuminate\Cache\Repository implements PSR-16's
Psr\SimpleCache\CacheInterface via the
Illuminate\Contracts\Cache\Repository interface.

Let's declare that `illuminate/cache` and `laravel/framework` provide
`psr/simple-cache-implementation` so that packages relying on
`psr/simple-cache implementation` for a PSR-16 cache can be installed
in a Laravel project.
Makes it more convenient to handle delete errors in destroy actions.
* [8.x] Add `assertExists` testing method

* add methods

Co-authored-by: Taylor Otwell <taylorotwell@gmail.com>
This reverts commit 11edec3.
This reverts commit b4e3823.
@Jubeki
Copy link
Contributor Author

Jubeki commented Sep 13, 2021

And I don't know why the tests are failing 😅😂

@driesvints
Copy link
Member

@Jubeki try rebasing with master and they'll pass again.

@driesvints
Copy link
Member

@Jubeki let's keep the rename to avoid the breaking change

driesvints and others added 10 commits September 13, 2021 18:02
Co-authored-by: michael-rubel <contact@observer.name>
Co-authored-by: michael-rubel <contact@observer.name>
Co-authored-by: michael-rubel <contact@observer.name>
Co-authored-by: michael-rubel <contact@observer.name>
Co-authored-by: michael-rubel <contact@observer.name>
@driesvints
Copy link
Member

@Jubeki ow sorry, I should have first rebased the symfony mailer PR and you should have rebased with that 🤦‍♂️

I've just merged master into symfony-mailer. Can you send this in anew? Sorry for the mess.

@driesvints driesvints closed this Sep 13, 2021
@Jubeki Jubeki deleted the add-aws-session-token branch September 13, 2021 16:06
@Jubeki
Copy link
Contributor Author

Jubeki commented Sep 13, 2021

Yeah I will do that

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.

10 participants