Skip to content

E9li postal3 patch #60599

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 9 commits into from
Closed

E9li postal3 patch #60599

wants to merge 9 commits into from

Conversation

e9li
Copy link

@e9li e9li commented May 30, 2025

Q A
Branch? 7.3 for bug fixes
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix
License MIT

when using postal 3 with api key not password is needed. currently getPassword() is used which returns of course an error. getUser() works fine. also the message_id is now nested in ['data']['message_id']. i did not use postal before version 3 so i don't know how is was before. with this two "fixes" sending work perfectly fine.

fabpot and others added 8 commits May 29, 2025 09:47
…o-store is set (alexander-schranz)

Discussion
----------

[HttpKernel] Do not superseed private cache-control when no-store is set

| Q             | A
| ------------- | ---
| Branch?       | 7.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

I don't think its a good idea to superseed the private cache control via the new noStore option
* #59301

If somebody want to set it to `private` they should explicit do it. via `#[Cache(private: true, noStore: true)]`. I would avoid this non transparent changes in general.

I had usecases in the past where the response is still public for the symfony cache and varnish public and the no store was only for the third party caches and in browser caches. This specially come into play with usage of `ESI` where the general page is cached, but no-store set to not allow back forwards caches, because of the ESI content.

/cc `@smnandre`

Commits
-------

7e6e33e [HttpKernel] Do not superseed private cache-control when no-store is set
in postal 3 is not password, only the api key. getPassword() causes an "Password is not set" error.
postal 3 returns the message_id in the data array.
@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 7.4 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@carsonbot
Copy link

Hey!

Thanks for your PR. You are targeting branch "7.4" but it seems your PR description refers to branch "7.3 for bug fixes".
Could you update the PR description or change target branch? This helps core maintainers a lot.

Cheers!

Carsonbot

@e9li e9li changed the base branch from 7.4 to 7.3 May 30, 2025 16:43
@OskarStark OskarStark changed the base branch from 7.3 to 7.4 May 30, 2025 16:59
@e9li e9li closed this May 30, 2025
@e9li e9li deleted the e9li-postal3-patch branch May 30, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants