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 single fetch deprecation notice to also include info about null #10145

Merged
merged 3 commits into from
Oct 23, 2024

Conversation

JakeGinnivan
Copy link
Contributor

Resource routes can no longer just return null, call this out in the deprecation notice.

It just took me a minute to realise it was the null which was triggering the message.

Copy link

changeset-bot bot commented Oct 21, 2024

🦋 Changeset detected

Latest commit: ef53b7e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@remix-run/server-runtime Patch
@remix-run/cloudflare Patch
@remix-run/deno Patch
@remix-run/dev Patch
@remix-run/node Patch
@remix-run/react Patch
@remix-run/testing Patch
@remix-run/cloudflare-pages Patch
@remix-run/cloudflare-workers Patch
@remix-run/architect Patch
@remix-run/express Patch
@remix-run/serve Patch
create-remix Patch
remix Patch
@remix-run/css-bundle Patch
@remix-run/eslint-config Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JakeGinnivan
Copy link
Contributor Author

I'll update the tests if this is actually correct. Let me know.

@brophdawg11 brophdawg11 changed the base branch from main to dev October 21, 2024 17:19
@brophdawg11 brophdawg11 changed the base branch from dev to main October 21, 2024 17:20
@brophdawg11
Copy link
Contributor

Thanks @JakeGinnivan! I made a minor update to elaborate on it also being specific to "externally accessed" resource routes. Would you mind rebasing this and pointing to dev since it's a source code change and we can get it merged for the next release?

JakeGinnivan and others added 2 commits October 22, 2024 07:23
Resource routes can no longer just return null, call this out in the deprecation notice.
@JakeGinnivan
Copy link
Contributor Author

Done @brophdawg11. Thanks

Let me know if I need to squash/apply conventional commits. This started as a bit of a drive by, haha

@brophdawg11
Copy link
Contributor

Looks good! No need to change any commits - I'll squash-merge the PR.

Would you mind adding a changeset as well? Should be able to just type pnpm changeset and follow the prompts for a patch change for the server-runtime package

@JakeGinnivan
Copy link
Contributor Author

Done @brophdawg11. Thanks for your help

Copy link
Contributor

github-actions bot commented Nov 5, 2024

🤖 Hello there,

We just published version 2.14.0-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

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.

2 participants