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

feat: deprecates getPayloadHMR in favor of simpler getPayload #9249

Merged
merged 2 commits into from
Nov 16, 2024

Conversation

jmikrut
Copy link
Member

@jmikrut jmikrut commented Nov 16, 2024

Deprecates getPayloadHMR and simplifies this pattern into a single import { getPayload } from 'payload'.

We will still retain the exported getPayloadHMR but it now will throw a deprecation warning with instructions for how to migrate.

@jmikrut jmikrut changed the title chore: deprecates getPayloadHMR in favor of simpler getPayload feat: deprecates getPayloadHMR in favor of simpler getPayload Nov 16, 2024
@jmikrut jmikrut merged commit 31b32ef into beta Nov 16, 2024
52 checks passed
@jmikrut jmikrut deleted the feat/deprecate-getPayloadHMR branch November 16, 2024 20:30
Copy link

🚀 This is included in version v3.0.0-beta.134

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.

1 participant