Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: clerk/javascript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @clerk/clerk-react@4.5.0
Choose a base ref
...
head repository: clerk/javascript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @clerk/clerk-react@4.5.1
Choose a head ref
  • 5 commits
  • 97 files changed
  • 5 contributors

Commits on Nov 22, 2022

  1. Configuration menu
    Copy the full SHA
    0ec6dad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a8cf34 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2022

  1. test(clerk-js): Introduce clerk-js testing infrastructure

    * test(clerk-js): Change Jest config to work with imports instead of globals
    
    * test(clerk-js): Enable jest globals again for now
    
    * test(clerk-js): Add initial wip test for SignInStart component
    
    * test(clerk-js): WIP still but some progress is done on providers
    
    * test(clerk-js): WIP trying some stuff
    
    * test(clerk-js): WIP it renders SignInStart
    
    * test(clerk-js): WIP implement some of the structure of the PoC
    
    * test(clerk-js): WIP write some tests for SignInStart login methods
    
    * test(clerk-js): WIP add more tests
    
    * test(clerk-js): WIP Enable again module mappers
    
    * test(clerk-js): WIP Add one more test on SignInStart
    
    * test(clerk-js): WIP rename function which creates contexts
    
    * chore(repo): Use latest `jest` and remove `@types/jest`
    
    * chore(repo): Tweak jest config to work with latest
    
    * chore(repo): Update broken snapshots
    
    * chore(repo): Simplify internal api by reexporting MockClerkProvider as wrapper
    
    * test(clerk-js): WIP test social OAuth in SignInStart in a more generic way
    
    * test(clerk-js): WIP test all social OAuth login strategies
    
    * test(clerk-js): Minor refactors on fixture building
    
    * chore(clerk-js): Remove @types/jest
    
    * chore(clerk-js): Introduce new testUtils
    
    * chore(clerk-js): Add the ability to bind createFixture to a specific component
    
    * chore(clerk-js): Use new testUtils in SignInStart and SignUpStart
    
    * test(clerk-js): Add some tests for SignInFactorOne
    
    * chore(clerk-js): Rename mocks to fixtures
    
    * test(clerk-js): Add placeholders for all the tests we need for SignInFactorOne
    
    * chore(clerk-js): Revamp environment mocking
    
    * test(clerk-js): Add placeholders for all the tests we need for SignInFactorTwo
    
    * test(clerk-js): Add placeholders for all the tests we need for SignInAccountSwitcher
    
    * chore(clerk-js): Rename `user` to `userEvent` in testUtils
    
    * chore(clerk-js): Revamp clerk mocking
    
    * chore(clerk-js): Introduce client.signIn fixture helpers
    
    * test(clerk-js): Add withMagicLink fixture helper
    
    * test(clerk-js): Fix a navigation test in SignInStart
    
    * test(clerk-js): Add mock for Phone Code Factor One
    
    * test(clerk-js): Fix main SignInFactorOne tests
    
    * test(clerk-js): Fix all breaking SignIn tests
    
    * test(clerk-js): Add first AlternativeMethods tests
    
    * chore(clerk-js): Revamp route mock builders
    
    * chore(clerk-js): Replace _createFixture with bindCreateFixtures
    
    * chore(clerk-js): Make createFixtures support multiple config functions
    
    * test(clerk-js): Complete AlternativeMethod tests for SignInFactorOne
    
    * test(clerk-js): Add tests for SignInFactorOne
    
    * test(clerk-js): Add more tests for SignInFactorOne component
    
    * chore(clerk-js): Move utils.test.ts into __tests__ directory
    
    * test(clerk-js): Sign up options tests for SignUpStart
    
    * test(clerk-js): Finish SignUpStart testing
    
    * chore(clerk-js): Introduce client.signUp fixture helpers
    
    * test(clerk-js): Tests for SignUpVerifyEmail route
    
    * test(clerk-js): Tests for SignUpVerifyPhone route
    
    * chore(clerk-react): Update jest config
    
    * chore(clerk-js): Temporarily skip broken tests
    
    * chore(clerk-js): Fix eslint and typescript warnings for tests
    
    * chore(clerk-js): Add environment to fixtures and add signUp id to sign up helper
    
    * test(clerk-js): Tests for SignUpContinue component
    
    * test(clerk-js): Tests for SignUpEmailLinkFlowComplete
    
    * chore(clerk-js): Move all SignUp tests in the __tests__ directory
    
    * test(clerk-js): Tests for SignInFactorTwo submitting
    
    * test(clerk-js): Add status to attemptFirstFactor mock
    
    * test(clerk-js): Add tests for resend button and FAPI errors on SignInFactorOne
    
    * test(clerk-js): Add tests on SignInFactorTwo for phone code, backup codes and authenticator app
    
    * test(clerk-js): Skip the last test on SignInFactorOne
    
    * test(clerk-js): Remove delay from UserEvent setup to make it compatible with jest fake timers
    
    * test(clerk-js): Fix test using fake timers and UserEvent
    
    * chore(clerk-js): Change test email
    
    * test(clerk-js): Create sign in active sessions helper
    
    * test(clerk-js): Add tests for SignInAccountSwitcher
    
    * test(clerk-js): Add AlternativeMethod/GetHelp tests for SignInFactorTwo
    
    * test(clerk-js): Refactor typing test in SignInFactorTwo
    
    * chore(clerk-js): Organize all tests in __tests__ directories
    
    * test(clerk-js): Add test for SignInAccountSwitcher sign out
    
    * test(clerk-js): Add createFixtures.config
    
    * test(clerk-js): Enable single session mode by default
    
    * test(clerk-js): Revamp user fixtures
    
    * chore(repo): Update package-lock.json
    
    Co-authored-by: anagstef <anagstef@gmail.com>
    Co-authored-by: George Desipris <george.desipris.56@gmail.com>
    3 people authored Nov 23, 2022
    Configuration menu
    Copy the full SHA
    d0fd727 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b22d6f9 View commit details
    Browse the repository at this point in the history
  3. chore(release): Publish

     - @clerk/backend-core@2.11.4
     - @clerk/clerk-js@4.16.1
     - @clerk/edge@1.12.12
     - @clerk/clerk-expo@0.10.1
     - @clerk/nextjs@4.6.3
     - @clerk/clerk-react@4.5.1
     - @clerk/remix@1.3.16
     - @clerk/clerk-sdk-node@4.5.4
     - @clerk/shared@0.5.5
     - @clerk/themes@1.2.27
     - @clerk/types@3.17.1
    SokratisVidros committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    629b02d View commit details
    Browse the repository at this point in the history
Loading