Skip to content

Deprecate CookieGenerator#28870

Closed
vpavic wants to merge 1 commit into
spring-projects:mainfrom
vpavic:deprecate-cookie-generator
Closed

Deprecate CookieGenerator#28870
vpavic wants to merge 1 commit into
spring-projects:mainfrom
vpavic:deprecate-cookie-generator

Conversation

@vpavic

@vpavic vpavic commented Jul 25, 2022

Copy link
Copy Markdown
Contributor

This commit deprecates CookieGenerator in favor of a more modern alternative in ResponseCookie.


Ideally, all Framework generated cookies should be consistent is sense they use the same infrastructure for creating response cookies. CookieGenerator has only two usages that either have PRs to replace them with ResponseCookie (CookieLocaleResolver) or are about to be deprecated (CookieThemeResolver).

Related:

This commit deprecates CookieGenerator in favor of a more modern alternative in ResponseCookie.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jul 25, 2022
@snicoll snicoll added this to the Triage Queue milestone Sep 26, 2022
@rstoyanchev rstoyanchev self-assigned this Sep 28, 2022
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Sep 28, 2022
@rstoyanchev rstoyanchev modified the milestones: Triage Queue, 6.0.0-RC1 Sep 28, 2022
rstoyanchev pushed a commit that referenced this pull request Sep 28, 2022
This commit deprecates CookieGenerator in favor of the more modern
alternative, ResponseCookie.

See gh-28870
@vpavic vpavic deleted the deprecate-cookie-generator branch September 28, 2022 15:44
rstoyanchev added a commit that referenced this pull request Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants