github-actions[bot]
3e8f04ed03
Version Packages (beta) ( #4121 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
blitz@2.0.0-beta.26
@blitzjs/rpc@2.0.0-beta.26
@blitzjs/next@2.0.0-beta.26
@blitzjs/generator@2.0.0-beta.26
@blitzjs/codemod@2.0.0-beta.26
@blitzjs/auth@2.0.0-beta.26
v2.0.0-beta.26
2023-04-10 19:24:42 +05:30
Siddharth Suresh
e82a79be50
Update the version of next in the new template from 13.2 to 13.3.0 ( #4120 )
...
Co-authored-by: Brandon Bayer <b@bayer.ws >
2023-04-10 18:45:54 +05:30
Blitz.js Bot
b1fdb63470
(meta) added @vitaliemiron as contributor
2023-04-07 12:46:27 -04:00
Vitalie
38d945a3fb
fix: new app generated by blitz new causes Error: DYNAMIC_SERVER_USAGE ( #4113 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-07 16:46:22 +00:00
Blitz.js Bot
ac587b6ac3
(meta) added @maotora as contributor
2023-04-07 12:38:51 -04:00
Maotora ᕙ(⇀‸↼‶)ᕗ
c07a13eefb
Fix blitz recipe paths ( #3997 )
...
Co-authored-by: Tobias <t@tobiasjordans.de >
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
2023-04-07 12:38:46 -04:00
github-actions[bot]
9f316d73f5
Version Packages (beta) ( #4111 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
@blitzjs/auth@2.0.0-beta.25
@blitzjs/generator@2.0.0-beta.25
@blitzjs/codemod@2.0.0-beta.25
@blitzjs/next@2.0.0-beta.25
@blitzjs/rpc@2.0.0-beta.25
blitz@2.0.0-beta.25
v2.0.0-beta.25
2023-04-03 19:26:36 +05:30
Siddharth Suresh
f84d77a425
Fix invoke type regression ( #4110 )
2023-04-03 08:49:55 +05:30
github-actions[bot]
f2da4f1516
Version Packages (beta) ( #4083 )
...
* Version Packages (beta)
* pnpm lock
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
blitz@2.0.0-beta.24
@blitzjs/codemod@2.0.0-beta.24
@blitzjs/auth@2.0.0-beta.24
@blitzjs/generator@2.0.0-beta.24
@blitzjs/next@2.0.0-beta.24
@blitzjs/rpc@2.0.0-beta.24
v2.0.0-beta.24
2023-03-31 23:30:39 +05:30
Brandon Bayer
acc07ce943
Fix Next 13.2 compatibility ( #4108 )
...
* make everything work with next 13.2
* changeset
* update test
* fix test
2023-03-30 20:20:30 +00:00
Siddharth Suresh
ea7561b8ee
feature: Multiple fields forms using templates during generation ( #3869 )
...
* initial port
* read custom template values from blitz-server
* fix unit tests
* add unit tests
* remove comments
* make db import generic
* fix blitz genrate not updating values
* cleanup
* fix parent generation in createMutation and components, and move existing pages when --parent is called
* cleanup
* Create silly-peas-work.md
* Update .changeset/silly-peas-work.md
* add types for codegen
* fix belongsTo not working
* fix pnpm-lock
* use latest blitz logging setup in generator
* show error when structure of codegen is incorrect using zod
* cleanup
* make prisma import generic
* update tests
* generic prisma to work on subsequent runs
* initial commit adding dropdown option when using belongTo and parent flag
* cleanup
* fix --parent flag
* fix type
* Update getUsers.ts
* fix duplicate
* update prop type to options for --parent or belongsTo option and add LabelSelectField
* update tests
* Update blitz-server.ts
* fix lock file and add react-final-form select component
* fix default bug for string values in #2863
* Update apps/toolkit-app/app/blitz-server.ts
* update to latest changes
* implement suggessions
* fix tests and remove custom log
* add required test and remove error if prisma does not exist
* remove error log if no prisma schema
* works without prisma
* move zod to devDeps
* fix zod version
* preWriteFile and postWriteFile hooks
* fix pnpm lock
* Update packages/generator/src/generators/template-builders/field-values-builder.ts
Co-authored-by: John Vandivier <vandivier_john@yahoo.com >
* initial revert changes to log and add better types
* minor fix
* minor fix
* Update main.yml
* fix playwright issue
* Update main.yml
* try agin
* fix env location
* fix path
* fix version
* try another way
* with deps
* fix version
* cleanup
* add new zod `datetime`
Co-authored-by: Tobias <tobias@fixmycity.de >
* pnpm lock
* update zod to 3.20.0 in generator
* update unit tests
* Create pr-release.yml
* add changeset pre exit to fix error
* update to latest
* fix syntax
* try again
* feature: Consolidate mutations schema to schemas.ts file (#4057 )
* fix global install issue
* update the templates from suggestions
* merge the default and custom config
* fix custom codegen
* fix validations
* add partial type to codegen
* commit to rerun the action
---------
Co-authored-by: John Vandivier <vandivier_john@yahoo.com >
Co-authored-by: Tobias <tobias@fixmycity.de >
2023-03-29 23:34:00 +05:30
Blitz.js Bot
13639c5d1d
(meta) added @jafarlihi as contributor
2023-03-29 09:49:53 -04:00
Hikmat Jafarli
afdc810d0b
Fix LabeledTextField update on next-ui and chakra-ui recipes ( #4106 )
...
* Fix LabeledTextField update on next-ui and chakra-ui recipes
* Create empty-spiders-lay.md
---------
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
2023-03-29 19:19:46 +05:30
Siddharth Suresh
37aeaa7fa2
feature: Nextjs 13 App Directory Utility Methods ( #4103 )
...
* working
* fix toolkit app
* fix add directive
* add back secure password
* changeset
* improve blitz rpc structure
* make it work
* fix most integration tests
* fix the tests
* fix import error
* fix unit test
* fix tests
* remove breaking changes
* remove another breaking change
* fix typescript declaration
* fix errorboundary redirect issues
* cleanup
* upgrade to next13
* update pnpm-lock
* add Server Plugin Export
* fix lint error
* fix build errors
* fixes
* Solve NextRouter is not mounted
* fix
* fix issues
* pnpm lock fix
* rename session function and add auth utility
* remove potential implicit warning
* fix deps and cleanup
* fix secure-password missing file
* fix possibility of crsf token cookie being null
* remove secure-password breaking changes
* Update cuddly-singers-perform.md
* rename functions and remove headers
* Revert "remove secure-password breaking changes"
This reverts commit abccf93d0c .
* unsupported auth methods in react server components
* remove authorizedContext: To be done in another PR
* add integration test for app dir
* fix duplicate package name
* Revert "remove authorizedContext: To be done in another PR"
This reverts commit 46fe8afab9 .
* pnpm lock
* integration test
* remove empty then and add void operator
* add new invokeResolver function
* fix bug in useAuthenticatedBlitzContext
* Create .changeset/tall-radios-clean.md
* overload the invoke function for the new RSC usecase
* invoke works without implicit passing of arguments
* fix pnpm lock
2023-03-29 19:05:46 +05:30
Siddharth Suresh
cadefb88e4
feature: Next 13 App directory ( #4079 )
...
* working
* fix toolkit app
* fix add directive
* add back secure password
* changeset
* improve blitz rpc structure
* make it work
* fix most integration tests
* fix the tests
* fix import error
* fix unit test
* fix tests
* remove breaking changes
* remove another breaking change
* fix typescript declaration
* fix errorboundary redirect issues
* cleanup
* upgrade to next13
* update pnpm-lock
* add Server Plugin Export
* fix lint error
* fix build errors
* fixes
* Solve NextRouter is not mounted
* fix
* fix issues
* pnpm lock fix
* rename session function and add auth utility
* remove potential implicit warning
* fix deps and cleanup
* fix secure-password missing file
* fix possibility of crsf token cookie being null
* remove secure-password breaking changes
* Update cuddly-singers-perform.md
* rename functions and remove headers
* Revert "remove secure-password breaking changes"
This reverts commit abccf93d0c .
* unsupported auth methods in react server components
* remove authorizedContext: To be done in another PR
* add integration test for app dir
* fix duplicate package name
* integration test
* remove empty then and add void operator
* fix pnpm lock
2023-03-24 11:10:36 +05:30
Siddharth Suresh
6f18cbdc98
feature: Next Auth Adapter ( #4046 )
...
* initial working
* add user side callback control
* connect to blitz-auth
* better error handling
* initial working after submodule
* Create fast-adults-guess.md
* add submodule init and update to workflow
* remove internal folder
* cleanup
* ignore tests from next-auth
* add redirectUrl config and maintin consistency
* move required files back to internals folder
* remove submodule cloning
* Patch NextAuth
another time
fix import issue
fix import
add path imports for the adapters
Revert "add to blitz-auth"
This reverts commit 246e62faa5a451aad9f4a2530a159ca3457b8b75.
add to blitz-auth
pnpm lock fix
cleanup
fix codegen
remove nextauth submodule and internal folder and patch nextauth
* Revert "Patch NextAuth"
This reverts commit 31888fc643 .
* switch
* DRY
* optional peerDependency
* Delete .gitmodules
* make it work with webpack alias
* fix
* split to new path
* undo unnecessary changes
* more fixes
* add strong typing to nextauth adapter (#4104 )
* add strong typing to nextauth adapter
* cleanup
---------
Co-authored-by: Brandon Bayer <b@bayer.ws >
2023-03-24 09:07:11 +05:30
Blitz.js Bot
3480d90098
(meta) added @jeliasson as contributor
2023-03-21 04:18:29 -04:00
Siddharth Suresh
9529dbd6f4
Make secure password completely optional ( #4085 )
...
* 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
2023-03-18 16:48:08 +05:30
Blitz.js Bot
f443118b9d
(meta) added @exKAZUu as contributor
2023-02-16 12:17:01 -05:00
Sakamoto, Kazunori
e228ba5dee
fix: type error in reset-password.tsx ( #4081 )
2023-02-17 00:16:55 +07:00
Tobias
430f0b52dd
Update to "prisma": "4.6.1" ( #4062 )
...
Co-authored-by: Brandon Bayer <b@bayer.ws >
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
2023-02-13 18:47:50 +05:30
Marcus Reinhardt
6e88a847fe
fix: vulnerabilities in @blitz/auth ( #4082 )
...
* fix vulnerabilities
* Update .changeset/strong-chicken-study.md
---------
Co-authored-by: Brandon Bayer <b@bayer.ws >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-02-13 10:20:10 +00:00
Brandon Bayer
1db963a8ca
update readme
2023-02-13 17:12:26 +07:00
github-actions[bot]
6374f2ff0c
Version Packages (beta) ( #4055 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
@blitzjs/next@2.0.0-beta.23
@blitzjs/auth@2.0.0-beta.23
@blitzjs/rpc@2.0.0-beta.23
@blitzjs/codemod@2.0.0-beta.23
@blitzjs/generator@2.0.0-beta.23
v2.0.0-beta.23
blitz@2.0.0-beta.23
2023-02-09 21:44:34 +05:30
Tobias
6ec020c6d6
Remove useEffect from reset password templates ( #4051 )
...
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
Co-authored-by: Brandon Bayer <b@bayer.ws >
2023-02-09 11:19:10 +05:30
Blitz.js Bot
a3d8b287f1
(meta) added @sweetliquid as contributor
2023-02-07 03:24:20 -05:00
sweetliquid
4ed1fc1233
docs: delete duplicates of the in comments ( #4073 )
...
Co-authored-by: Brandon Bayer <b@bayer.ws >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-02-07 08:24:14 +00:00
Siddharth Suresh
3fa3c70b39
internal: Readme for the packages ( #4052 )
2023-02-07 15:14:58 +07:00
Blitz.js Bot
a9b1989bb0
(meta) added @jhonnymichel as contributor
2023-02-06 10:47:34 -05:00
Jhonny Michel
c3c789740a
Fixing tests for blitz apps that use vitest ( #4072 )
...
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
Closes https://github.com/blitz-js/blitz/issues/4065
2023-02-06 21:17:28 +05:30
Siddharth Suresh
42a2cf951a
Add secure-password as an Optional peerDependency ( #4067 )
...
Co-authored-by: Brandon Bayer <b@bayer.ws >
2023-02-06 19:11:42 +05:30
Tobias
d316d0db7f
Next 13: Remove anchor tags from Link component ( #4071 )
...
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
Closes https://github.com/blitz-js/blitz/issues/4066
2023-02-06 18:52:49 +05:30
Siddharth Suresh
a8ce2325fc
Fix max-width of body in new app template ( #4068 )
...
Co-authored-by: Brandon Bayer <b@bayer.ws >
2023-01-27 20:41:15 +05:30
Blitz.js Bot
f58a0e42f7
(meta) updated @tordans contributions
2023-01-26 05:23:14 -05:00
Tobias
cb63a0ea5b
Guard blitz generate input against unwanted characters ( #4024 )
...
Co-authored-by: Dillon Raphael <dillon@creatorsneverdie.com >
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
Closes https://github.com/blitz-js/blitz/issues/4021
2023-01-26 15:53:08 +05:30
Siddharth Suresh
a78bd33706
internal: Publish PRs to npm ( #4050 )
2023-01-14 20:39:16 +05:30
bravo-kernel
79c5e86d71
Add missing Layout.tsx for generated mimimalapp ( #4054 )
2023-01-13 17:28:53 -05:00
github-actions[bot]
21b83fb7bf
Version Packages (beta) ( #4038 )
...
* Version Packages (beta)
* pnpm lock
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
blitz@2.0.0-beta.22
@blitzjs/generator@2.0.0-beta.22
@blitzjs/next@2.0.0-beta.22
@blitzjs/rpc@2.0.0-beta.22
@blitzjs/codemod@2.0.0-beta.22
@blitzjs/auth@2.0.0-beta.22
v2.0.0-beta.22
2023-01-12 10:43:33 +05:30
Tobias
14882d43fe
Update package Zod to 3.20.2 ( #4039 )
...
* Update package zod to 3.20.2
* `pnpm changeset` Update zod to 3.20.2 (was 3.19.1).
Co-authored-by: Brandon Bayer <b@bayer.ws >
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
2023-01-11 11:32:02 +05:30
Tobias
989691ec87
Use src instead of app folder for blitz generate custom-template ( #4033 )
...
* Use src instead of app in `customTemplates: "src/templates"`
* Use src instead of app in `cli/commands/generate`
* Add changeset
* remove ignored packages
Co-authored-by: Brandon Bayer <b@bayer.ws >
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
2023-01-11 05:25:57 +00:00
Brandon Bayer
2703618868
change rpc route basepath includeRPC in monorepos to be one folder up ( #4045 )
...
* 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>
2023-01-11 00:13:11 +00:00
Blitz.js Bot
44ddf5b423
(meta) updated @bravo-kernel contributions
2023-01-10 19:06:15 -05:00
bravo-kernel
bcef81fadc
Add missing MockRouter prop in generated test utils ( #4043 )
...
Co-authored-by: Brandon Bayer <b@bayer.ws >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-01-10 19:06:10 -05:00
Dillon Raphael
7abfb9086a
Redesign the index page for newly generated blitz projects ( #3987 )
...
* redesign index page for full app template
* pnpmlock
* iteration 2
* Add padding around blitz logo
* Fix more padding
* update padding for logo and button container
* increase max-width
* final draft
* address comments
Co-authored-by: Brandon Bayer <b@bayer.ws >
2023-01-11 00:04:54 +00:00
Siddharth Suresh
57101e9adf
internal: fix playwright installation error by fixing version ( #4047 )
2023-01-10 18:57:30 -05:00
Siddharth Suresh
497b87f7fb
internal: Fix playwright install issue ( #4044 )
2023-01-10 00:02:44 +05:30
Tobias
64a98e201d
prisma/field: Guard TS warning ( #4032 )
...
The previous solution did solve the if-statement but not the line below, which still had this TS error:
```
const relationType = Relation[_fieldName]
// ^- const _fieldName: string | undefined
// Type 'undefined' cannot be used as an index type.ts(2538)
```
Co-authored-by: Dillon Raphael <dillon@creatorsneverdie.com >
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com >
2023-01-09 22:08:30 +05:30
Brandon Bayer
8aa22a0b2f
add currentPassword to default masked fields in the logger ( #4042 )
2023-01-06 17:55:07 -05:00
Brandon Bayer
145d5a02b3
fix failed localstorage access to not crash the application ( #4037 )
2023-01-04 18:28:31 -05:00
Siddharth Suresh
9be4d86174
Version Packages (beta) ( #4035 )
...
* Version Packages (beta)
* Version Packages (beta)
* pnpm lock
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@blitzjs/next@2.0.0-beta.21
blitz@2.0.0-beta.21
@blitzjs/auth@2.0.0-beta.21
@blitzjs/codemod@2.0.0-beta.21
@blitzjs/rpc@2.0.0-beta.21
v2.0.0-beta.21
@blitzjs/generator@2.0.0-beta.21
2023-01-04 01:16:55 +05:30