Skip to content

Rename create auth functions#7137

Merged
jtoar merged 11 commits intomainfrom
ds-rename-createAuth-functions
Dec 13, 2022
Merged

Rename create auth functions#7137
jtoar merged 11 commits intomainfrom
ds-rename-createAuth-functions

Conversation

@jtoar
Copy link
Copy Markdown
Contributor

@jtoar jtoar commented Dec 13, 2022

All of the auth providers export a create${provider}Auth function from their web package. This is mostly an artifact of when they were all exported from the @redwoodjs-auth-web package where they had to be differentiated from each other. The api packages have already dropped provider-specific naming: they just export a generically named authDecoder function across the board. This PR renames all the create${provider}Auth to just createAuth.

@jtoar jtoar added the release:chore This PR is a chore (means nothing for users) label Dec 13, 2022
@jtoar jtoar requested a review from Tobbe December 13, 2022 21:00
@jtoar jtoar self-assigned this Dec 13, 2022
@Tobbe
Copy link
Copy Markdown
Contributor

Tobbe commented Dec 13, 2022

I suggest you merge this. And then immediately follow up with a PR that updates the test project fixture

EDIT: Or just update manually, like you did 🙂

@jtoar jtoar merged commit aa6fb1e into main Dec 13, 2022
@jtoar jtoar deleted the ds-rename-createAuth-functions branch December 13, 2022 21:49
@redwoodjs-bot redwoodjs-bot Bot added this to the next-release milestone Dec 13, 2022
@redwoodjs-bot
Copy link
Copy Markdown

redwoodjs-bot Bot commented Dec 13, 2022

🔔 @jtoar, @Tobbe—I couldn't cherry pick this one. If you want it in the next release, you'll have to cherry pick it manually.

dac09 added a commit that referenced this pull request Dec 14, 2022
…xperimental-vite-optin

* 'main' of github.com:redwoodjs/redwood: (27 commits)
  fix(deps): update dependency @types/node to v16.18.9 (#7140)
  fix(deps): update dependency vscode-languageserver-textdocument to v1.0.8 (#7132)
  fix: add cli-helpers as dep (#7141)
  remove deprecated auth providers (#7138)
  chore: update test project fixture dbauth packages (#7139)
  NavLink not highlighting when on sub pages (#6939)
  Rename create auth functions (#7137)
  Export underlying cache client with Service Cache functions (#7062)
  fix(deps): update dependency @simplewebauthn/browser to v6.2.2 (#7103)
  fix(deps): update dependency msw to v0.49.2 (#7126)
  chore(deps): update dependency nx to v15.3.3 (#7125)
  fix(deps): update docusaurus monorepo to v2.2.0 (#7116)
  [docs] How to test in GitHub actions (#6921)
  fix(deps): update typescript-eslint monorepo to v5.46.1 (#7109)
  Codemod to include full-name in test-project signup (#7124)
  Rebuild test-project fixture (#7123)
  feat: add CustomValidator (#7051)
  dbAuthClient (#7111)
  chore(deps): update dependency nx to v15.3.2 (#7114)
  chore(deps): update dependency redis to v4.5.1 (#7115)
  ...
@jtoar jtoar modified the milestones: next-release, v4.0.0 Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:chore This PR is a chore (means nothing for users)

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants