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

update for Fastify v5 #276

Merged
merged 5 commits into from
Feb 7, 2024
Merged

update for Fastify v5 #276

merged 5 commits into from
Feb 7, 2024

Conversation

gurgunday
Copy link
Member

@gurgunday gurgunday commented Jan 24, 2024

Ref: fastify/fastify#5116

Checklist

@gurgunday gurgunday requested a review from a team January 24, 2024 07:34
@gurgunday gurgunday changed the base branch from master to next January 24, 2024 07:35
@@ -17,7 +17,7 @@ on:

jobs:
test:
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v3
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.0.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4.0.0
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v4

If you use v4 then it'll automatically pick up the latest, i.e. if we release 4.0.1 then it'll use that.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, will do that

But then I'm not understanding something

Why didn't this work with rate-limit? Using v4 there with the redis workflow resulted in errors

fastify/fastify-rate-limit#350
https://github.com/fastify/fastify-rate-limit/actions/runs/7195862716

Copy link
Member Author

@gurgunday gurgunday Jan 24, 2024

Choose a reason for hiding this comment

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

There you go, it didn't work...

I think it might be because v4 doesn't exist as a release/tag — there is only v4.0.0

Copy link
Member

Choose a reason for hiding this comment

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

Ah yeah, forgot the v4 release went awry: fastify/workflows#107, grumble grumble grumble.

gurgunday and others added 3 commits January 24, 2024 08:57
Co-authored-by: Frazer Smith <frazer.dev@outlook.com>
Signed-off-by: Gürgün Dayıoğlu <gurgun.dayioglu@icloud.com>
signer.js Outdated Show resolved Hide resolved
This reverts commit c691788.
@gurgunday gurgunday merged commit 495625d into fastify:next Feb 7, 2024
14 checks passed
@gurgunday gurgunday deleted the next branch February 7, 2024 20:41
jsumners pushed a commit that referenced this pull request Jul 3, 2024
* update for v5

* Update .github/workflows/ci.yml

Co-authored-by: Frazer Smith <frazer.dev@outlook.com>
Signed-off-by: Gürgün Dayıoğlu <gurgun.dayioglu@icloud.com>

* Revert "Update .github/workflows/ci.yml"

This reverts commit b7a3800.

* use replaceAll

* Revert "use replaceAll"

This reverts commit c691788.

---------

Signed-off-by: Gürgün Dayıoğlu <gurgun.dayioglu@icloud.com>
Co-authored-by: Frazer Smith <frazer.dev@outlook.com>
jsumners added a commit that referenced this pull request Jul 3, 2024
* set sameSite: lax by default (#277)

* update for Fastify v5 (#276)

* update for v5

* Update .github/workflows/ci.yml

Co-authored-by: Frazer Smith <frazer.dev@outlook.com>
Signed-off-by: Gürgün Dayıoğlu <gurgun.dayioglu@icloud.com>

* Revert "Update .github/workflows/ci.yml"

This reverts commit b7a3800.

* use replaceAll

* Revert "use replaceAll"

This reverts commit c691788.

---------

Signed-off-by: Gürgün Dayıoğlu <gurgun.dayioglu@icloud.com>
Co-authored-by: Frazer Smith <frazer.dev@outlook.com>

* set sameSite: lax by default (#277)

* update for Fastify v5 (#276)

* update for v5

* Update .github/workflows/ci.yml

Co-authored-by: Frazer Smith <frazer.dev@outlook.com>
Signed-off-by: Gürgün Dayıoğlu <gurgun.dayioglu@icloud.com>

* Revert "Update .github/workflows/ci.yml"

This reverts commit b7a3800.

* use replaceAll

* Revert "use replaceAll"

This reverts commit c691788.

---------

Signed-off-by: Gürgün Dayıoğlu <gurgun.dayioglu@icloud.com>
Co-authored-by: Frazer Smith <frazer.dev@outlook.com>

* update fastify deps

* Update .github/workflows/ci.yml

Co-authored-by: Gürgün Dayıoğlu <gurgun.dayioglu@icloud.com>
Signed-off-by: Matteo Collina <matteo.collina@gmail.com>

---------

Signed-off-by: Gürgün Dayıoğlu <gurgun.dayioglu@icloud.com>
Signed-off-by: Matteo Collina <matteo.collina@gmail.com>
Co-authored-by: Gürgün Dayıoğlu <gurgun.dayioglu@icloud.com>
Co-authored-by: Frazer Smith <frazer.dev@outlook.com>
Co-authored-by: Matteo Collina <hello@matteocollina.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants