* upgrade to next 14
* use default react import
* use `next/compat/router`
* set baseurl for next13 app
* get it working
* fix Error Component
* fix floating promisis
* Create modern-cups-cheat.md
* fix type of error boundary
* get react query working again
* remove experimental
* remove broken test since next export is removed
* fix qm integration test
* fix mismatch of cookie names in client and server
* fix `auth-with-rpc`
* fix unit tests
* fix snapshot
* remove `@tanstack/query-core` dep from `@blitzjs/rpc`
* Update .changeset/modern-cups-cheat.md
* fix: lockfile
* regression: re-export react query client utilites
* Update .changeset/modern-cups-cheat.md
* do not export `withRouter`
* revert change to `BlitzProvider`
* remove unnecessary next types
* add logging to rsc invoke and decouple auth from rpc again
* implement object chaining
* add `onInvokeError` options to catch errors without manual wrapping
* rename `LoggerOptions` to `RpcLoggerOptions`
* spacing
* fix error typed to `any`
* update class code
* tests working again
* add last test case proving working modal of roles
* Create moody-pandas-do.md
* Apply suggestions from code review
* blitz invoke logger
* fix logic to test the role
* add tests
* pnpm lock
* Create afraid-ligers-build.md
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* upgrade to next 13.5.2 and update location of internal function
* Create lucky-teachers-sleep.md
* fix bootupMarkers
* fix issues with qm integration test
* Update integration-tests/utils/next-test-utils.ts
* next.js generated stuff
* Update .changeset/lucky-teachers-sleep.md
* remove unnecessary next lints to the integration-tests
* Update main.yml
* Revert "remove unnecessary next lints to the integration-tests"
This reverts commit 3226b2e3ba.
* secure-password breaking changes
* fix
* more fixes
* fix secure-password imports
* add codemod
* add secure-password to auth integration test
* Apply suggestions from code review
* try adding playwrigth to package.json
* without server mode
* add one to fix conficting ports
* another try
* add waitPort in the right place
* use same port
* manually kill the process
* remove the server mode
* cleanup
* change rpc route basepath includeRPC in monorepos to be one folder up
* changeset
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* inital unwrapping of blitz rpc from blitz auth
* fix linr
* Revert "fix linr"
This reverts commit 000e2c7259.
* remove duplication of code and dynamically import blitz auth if plugin is used
* return types to blitz-auth and import in rpc as types
* remove excess files from git diff
* remove todo ts-ignore
* add changeset
* better error messages
* Update odd-cars-fry.md
* switch from blitz log to console - due to import error.
* Revert "Merge branch 'rpc-without-auth' of https://github.com/blitz-js/blitz into rpc-without-auth"
This reverts commit 5b45d65b4d, reversing
changes made to b15dfa6dec.
* Revert "switch from blitz log to console - due to import error."
This reverts commit b15dfa6dec.
* Revert "better error messages"
This reverts commit 75922cb063.
* fix location of seting global variable
* better error message due to dynamic import
* allow setting csrf token in blitz rpc
* cleanup
* fix
* pnpm lock fix and update csrf api
* fix global.ts type definition
* remove change to merge
* fix pnpm-lock
* update integration-tests to work without blitz-auth
* initial working commit after switch to plugin system
* fix pnpm-lock
* readd the changeset
* update hook names
* Revert "readd the changeset"
This reverts commit 796f3f518e.
* Revert "update hook names"
This reverts commit fb127ed84e.
* Revert "fix pnpm-lock"
This reverts commit d7447b5966.
* Revert "Revert "fix pnpm-lock""
This reverts commit c2f21aa0e5.
* Revert "Revert "update hook names""
This reverts commit 4b66846b20.
* Revert "Revert "readd the changeset""
This reverts commit c95d150e64.
* add header to rpc plugin
* pnpm lock fix
* cleanup - change global hook names to prefix with __BLITZ
* initial commit suggestion - TODO Fix types
* fix most type assertions
* fix error without blitz auth
* add typea to events and middleware reducers
* implement suggestion
* Apply suggestions from code review
Co-authored-by: Brandon Bayer <b@bayer.ws>
* move onSessionCreated event from blitz-auth to blitz-rpc
* move globals to blitz core, move event listener to blitz-next
* remove middlewareCtx to Ctx
* fix imports
* improve type definition of hook types
* format
* Revert "remove middlewareCtx to Ctx"
This reverts commit 4259b4dbed.
* Revert "fix imports"
This reverts commit 7422bfaee3.
* revert changes from MiddlewareCtx to Ctx
* pnpm lock and other fixes
* remove type assertion
* merge to one `Array.reduce`
* Apply suggestions from code review
Co-authored-by: Brandon Bayer <b@bayer.ws>
* implement review suggestions
* Update packages/blitz/src/types.ts
* add unit tests
* cleanup
* Update packages/blitz/tests/plugin.test.ts
* add providers to plugin reduce
* add initial integration test for full blitz rpc+auth and custom client plugins
* test commenting out playwright install
* fixes
* remove changes related to console.log checking
* test
* try with different command
* comment
* another try
* try adding global install
* change console.log to console.info for better identification
* fix db
* lowdb import fix
* convert from lowdb to prisma
* fix blitz build error
* add custom plugin events to integration-tests
* manipulate the timing of event firing
* fix
* check
* add middleware tests
* fix
* fix commented test and cleanup
* add the migration file
Co-authored-by: Brandon Bayer <b@bayer.ws>