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: deprecate all functions & types exported from magicExports #2735

Closed

Conversation

MichaelDeBoey
Copy link
Member

As a follow-up of #2731, this will show deprecation warnings in the IDE + in console whenever people aren't using the ESLint config.

Inspired by @pcattori's remark (#2542 (comment)) on @mjackson's PR to rename createCloudflareKVSessionStorage to createWorkersKVSessionStorage (#2542).

Since each package is on it's own, I had to copy/paste the warn & getDeprecatedMessage functions over to each package.

If this somehow could be simplified (as this is doing the same thing over & over again), I'd be happy to do so.

@pcattori
Copy link
Contributor

We'll want to wait until #2670 is merged and released before merging this.

@MichaelDeBoey MichaelDeBoey force-pushed the deprecate-magicExports branch 2 times, most recently from 76aa481 to 6f745e1 Compare April 17, 2022 11:33
@chaance
Copy link
Collaborator

chaance commented Apr 17, 2022

@MichaelDeBoey Heads up that some on the team are out next week, but I suspect we'll come back to this when they're back. We may not get the deprecation notices out until then.

@MichaelDeBoey MichaelDeBoey force-pushed the deprecate-magicExports branch 2 times, most recently from 5311c7d to 0fab37f Compare May 3, 2022 15:17
@pcattori
Copy link
Contributor

pcattori commented May 3, 2022

Holding off on warnings for deprecations for a couple more weeks. Will re-open once we are ready for that.

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.

3 participants