Skip to content

Conversation

@shairez
Copy link
Contributor

@shairez shairez commented Aug 2, 2022

What is it?

  • Feature / enhancement
  • Bug
  • Docs / tests

Description

Following our discussion, we decided that useEnvData is a more descriptive name than useUserContext and might cause less confusions in the future.

This is a BREAKING CHANGE (why am I yelling? 😅)
but for an undocumented api which only qwik city uses at the moment

Checklist:

  • My code follows the developer guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • Added new tests to cover the fix / functionality

@manucorporat
Copy link
Contributor

RenderOptions should be updated too, it still has userContext there

@shairez
Copy link
Contributor Author

shairez commented Aug 3, 2022

@manucorporat done!
(plus I changed userCtx as well)

@manucorporat
Copy link
Contributor

looking great! lets wait for the CI to pass and merge it

@shairez
Copy link
Contributor Author

shairez commented Aug 3, 2022

@manucorporat for some reason the E2E tests are failing on using the older version

is it a "dog fooding" kind of issue?

@manucorporat
Copy link
Contributor

This breaking change is tricky, because it's self referenced, qwikcity needs a version that is not released

@adamdbradley adamdbradley merged commit 13a81d3 into QwikDev:main Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants