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

remove annotation for 3.X release #610

Closed

Conversation

toxicity1985
Copy link
Contributor

@toxicity1985 toxicity1985 commented Dec 20, 2023

Hello,

Sorry about the mess but i make something wrong with the rebase and drop the commit.
I update the plugin yesterday. I add a match function as asked.
I juste have a question regards the invalidation path attribute. If we have a match we have to clear the path configured inside the attribute but not the route called ?

@dbu
Copy link
Contributor

dbu commented Dec 20, 2023

If we have a match we have to clear the path configured inside the attribute but not the route called ?

yes. the assumption is that you annotate this on a route that changes content (so usually it will be a POST request). if the request that triggers the invalidation would itself be cached, symfony would not be invoked on a cache hit and the invalidation would not be triggered.

composer.json Show resolved Hide resolved
@@ -35,20 +35,19 @@
"guzzlehttp/guzzle": "^7.2",
"mockery/mockery": "^1.3.2",
"monolog/monolog": "*",
"sensio/framework-extra-bundle": "^4.0 || ^5.5.1 || ^6.0",
"doctrine/annotations": "^1.11",
Copy link
Contributor

Choose a reason for hiding this comment

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

i think we don't need this anymore

@dbu
Copy link
Contributor

dbu commented Dec 20, 2023

thanks. looks like the CI is now reporting properly again. ignore the installation problem with jean-beru for now.

the failing tests in the other builds indicate that something is not yet working properly with the attributes. or the fixtures only have annotations not attributes?

@dbu
Copy link
Contributor

dbu commented Jan 6, 2024

@toxicity1985 do you have time to check why the build fails?

@toxicity1985
Copy link
Contributor Author

Hello,

I will check today or tommorow. I was busy last week :-p

@dbu
Copy link
Contributor

dbu commented Jan 6, 2024

thanks - did not want to rush you, just to check if it went under or if you are still aware of it.

@toxicity1985
Copy link
Contributor Author

I fixed some test but the last are related to the cache maybe something related to configuration but i don't find where.

@toxicity1985
Copy link
Contributor Author

@dbu i fixed the last test.

@usu
Copy link
Contributor

usu commented Mar 17, 2024

Hi @dbu & @toxicity1985. Is there anything than could be supported to test or to fix any of the remaining tests? Or is this ready to be merged?

@toxicity1985
Copy link
Contributor Author

Hello @usu,
I think it's ok. I use the fork version on my project.
But i think we also have to update some parent library.

Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

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

sorry for the silence. i hope i can release 3.x soon.

there is an open comment still, and some issues with the ci.

(codestyle and readthedocs is out of scope, we can ignore those. but the phpunit builds should all be green)

composer.json Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
@toxicity1985
Copy link
Contributor Author

I have to fix the style. But all the test pass now.

*
* @author Fabien Potencier <fabien@symfony.com>
*/
class ExpressionLanguage extends BaseExpressionLanguage
Copy link
Contributor

Choose a reason for hiding this comment

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

is this replacing something else?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes,, something used in the framework bundle.

@dbu
Copy link
Contributor

dbu commented Mar 21, 2024

thanks a lot! i wrapped this up in #611

there are still a couple of things left in the version 3 milestone https://github.com/FriendsOfSymfony/FOSHttpCacheBundle/milestone/6

@dbu dbu closed this Mar 21, 2024
@toxicity1985 toxicity1985 deleted the remove-sf-bundle branch March 25, 2024 05:28
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.

None yet

3 participants