- #1884
f148deb
Thanks @Irere123! - fix: remove deprecated push command in drizzle package.json scripts (… )
- #1821
4de1927
Thanks @kakeWasTaken! - change default font from Inter to Geist Sans
-
#1867
304a67f
Thanks @xelacast! - Parsed --dbprovider flag correctly and added related error message -
#1860
b5ced34
Thanks @victor-falcon! - Load PORT in start-database script -
#1871
f29a69f
Thanks @xelacast! - Fixed project creation of . bug in ./start-database.sh -
#1858
29348b6
Thanks @lcabraja! - Added drizzle's db.sqlite location to .gitignore
-
#1842
088a773
Thanks @nick22985! - Infers tRPC input & output types to the client for app router -
#1841
41bd524
Thanks @juliusmarminge! - mark app router as stable
- #1838
ff886b3
Thanks @juliusmarminge! - bump zod and t3-env
- #1830
3257d0a
Thanks @juliusmarminge! - feat: replace better-sqlite3 with libsql
-
ab5fa95
Thanks @juliusmarminge! - chore: pin zod version -
#1835
f66e30a
Thanks @Inshiku-Han! - Only install @trpc/next when router style is page router
-
#1817
d49300a
Thanks @kxzazz! - fix:start-database.sh
is marked optional -
#1823
f5c5db9
Thanks @t3dotgg! - chore: update next to 14.2.1
-
#1802
41380d1
Thanks @c-ehrlich! - fix: non planetscale env.js refers to YOUR_MYSQL_URL_HERE -
#1808
fedd7b3
Thanks @thecmdrunner! - Apply drizzle-orm lint rules fordb
keyword only
- #1741
5de586d
Thanks @juliusmarminge! - feat: use trpc 11
-
#1785
57dc6ab
Thanks @thecmdrunner! - Include ESLlint rules fordrizzle-orm
. -
#1794
3cca996
Thanks @thecmdrunner! - Use portable shebangs in scripts for nix systems
- #1777
640a0e0
Thanks @limegorilla! - Warning about planetscale's serverless driver now only shown if using mySQL
-
#1778
01badfb
Thanks @DerTimonius! - fix: add missing default font in pagesDir -
#1766
d7695df
Thanks @fuegoio! - fix: cache database connection during development to preventToo many connections
due to HMR
- #1773
8f29eb9
Thanks @juliusmarminge! - feat(prisma): support correct typings when using.extends()
-
#1774
0418663
Thanks @juliusmarminge! - chore: update drizzle-orm -
#1763
836fccf
Thanks @skullface! - fix: correct casing of “PlanetScale” -
#1764
79e361c
Thanks @vlxm! - fix: fix password substitution in start-database scripts -
#1769
c944c49
Thanks @jhamill34! - fix: generated comments in env file -
#1772
c3c4710
Thanks @mladenovic-13! - fix: use singleton pattern for client-side QueryClient to supportuseSuspenseQuery
when there is no parent<Suspense>
-element -
#1748
17c2a5e
Thanks @aaronmallen! - add missingpg
dev dependency when using postgres drizzle option, required fordrizzle-studio
-
#1723
c116281
Thanks @juliusmarminge! - fix: don't pass cookies to CC -
#1728
06ec5b3
Thanks @Nsttt! - fix missuse of binary expressions
-
#1713
e34b082
Thanks @daikiejp! - remove unused @types/inquirer -
#1703
b6ccded
Thanks @c-ehrlich! - update eslint setup for next 14.0.4 -
#1714
ba352ef
Thanks @juliusmarminge! - chore: update drizzle dep to remove invalid expo peerDep -
#1707
26efe48
Thanks @esize! - chore: update drizzle-orm and drizzle-kit
- #1702
62fa8dc
Thanks @c-ehrlich! - update drizzle-kit and change connectionString to uri
- #1690
6efb99a
Thanks @c-ehrlich! - fix typo in env.mjs
- #1673
b80188e
Thanks @ahkhanjani! - fix: Use the correct types forprettier-plugin-tailwindcss
- #1670
32e0747
Thanks @juliusmarminge! - feat: trpc server caller without http
-
#1661
ef8f99f
Thanks @c-ehrlich! - update sharp -
#1667
43cc10b
Thanks @juliusmarminge! - chore: bump some deps -
#1666
3317a41
Thanks @juliusmarminge! - refactor: usetype: module
for more modern setup -
#1664
66213b0
Thanks @piousdeer! - chore: replace a2
with"error"
in eslint config
- #1651
4834ec3
Thanks @mattpocock! - tidy up and modernize tsconfig
- #1644
e6649f1
Thanks @juliusmarminge! - fix: only forward required cookie header
- #1628
57a82d2
Thanks @CarlosZiegler! - Update Next to use last version (14.0.0)
-
#1567
e71bedd
Thanks @juliusmarminge! - feat: add app router option -
#1595
d7824e0
Thanks @c-ehrlich! - show callout when scaffolding with app router
- #1584
9614d84
Thanks @juliusmarminge! - bump deps and addemptyStringAsUndefined
option fort3-env
- #1564
58ee08e
Thanks @juliusmarminge! - fix: block drizzle apps when the example database url hasn't been changed yet
-
#1461
8034db0
Thanks @juliusmarminge! - feat: add drizzleThis release adds a new option to use
drizzle-orm
as an alternative to Prisma.To make the different ORM options as similar as possible, some minor changes has also been made to the Prisma installer:
- a new script
db:push
has been added and is included in both ORM options. - the prisma client has been renamed to
db
in the trpc context - you now access your database client likeexamples: publicProcedure.query((opts) => { // prisma opts.ctx.db.example.findMany() // drizzle opts.ctx.db.query.example.findMany() }),
You cannot choose the two options in the same app.
- a new script
- #1461
8034db0
Thanks @juliusmarminge! - refactor: swap inquirer for clack
-
#1532
941a0fc
Thanks @spicybackend! - chore(deps): upgrade Prisma to v5.1.1, bump patch versions of other dependencies -
#1507
fe5755c
Thanks @LevinUncu! - If the project is not in a Git repo, the next steps will show git init instead of git commit -m "initial commit".
- #1523
c441a9e
Thanks @JoshuaKGoldberg! - reduced stylistic linting
-
#1476
f3fd50f
Thanks @JoshuaKGoldberg! - Upgraded typescript-eslint to v6, with reworked ESLint configurations -
#1508
e9c862e
Thanks @Sn0wye! - chore(deps): bump prisma to v5.0.0
- #1484
23a9d60
Thanks @c-ehrlich! - reminder to git commit after creating an application with the CLI
- #1493
a230d9f
Thanks @dcottr! - Remove trailing newlines in generated app that aren't allowed by the generated prettier config
- #1479
bb7324c
Thanks @c-ehrlich! - use custom error class for IsTTYError
- #1466
e8b68d9
Thanks @brunoeduardodev! - Ignore trailing slashes when prompting the app name.
- #1469
547f504
Thanks @ericshively! - Replace React.FC with basic function syntax
-
#1436
b0facee
Thanks @harrismcc! - When using NextAuth but not Prisma, the session user's id is now set totoken.sub
instead ofuser.id
becauseuser
is undefined when not using database sessions. -
#1433
7fbe991
Thanks @FinnDore! - fix: SKIP_ENV_VALIDATION not skipping env validation
-
#1397
be9a834
Thanks @brieyla1! - feat: Added JsonProtocol as the Default Prisma Engine for Serverless speedupsmodified:
- cli/template/extras/prisma/schema/base.prisma - cli/template/extras/prisma/schema/with-auth.prisma
Description: This pull request proposes the enabling of the JsonProtocol by default. The rationale for this change is based on the performance improvements provided by the JsonProtocol without compromising stability, even though it is still a preview feature. Empirical evidence gathered from large-scale projects, with 100+ Prisma calls, demonstrates the significant time reductions enabled by this optimization, particularly in serverless environments such as Vercel. Another point worth adding is that most projects using nextJS create-t3-app will be deployed on serverless platforms such as vercel, where the real impact is.
- #1404
48dd89a
Thanks @michalbundyra! - update nextjs dependency to ^13.4.1
- #1401
b1a35dd
Thanks @c-ehrlich! - temporarily pin next to fix vercel build error
-
#1377
00018ff
Thanks @juliusmarminge! - move env validation logic out to a separate package -
#1385
ac12abb
Thanks @iAverages! - Fixed issue with creating git repository with git versions below 2.28 Fixed bug with check to use --inital-branch set in git v2.28
- #1370
18bc6a7
Thanks @chungweileong94! - EnforceNEXT_PUBLIC_
env key on client
-
#1358
1a8a97e
Thanks @juliusmarminge! - improve boolean coercion ofSKIP_ENV_VALIDATION
environment variableIf defined, "0" and "false" are now considered falsey values, all other values are considered truthy.
- #1330
85997e0
Thanks @juliusmarminge! - fix: create a new object for the session callback
-
#1329
5429989
Thanks @c-ehrlich! - temporarily pin next-auth version -
#1321
7fcb41c
Thanks @JingLi1998! - Update the type for global prisma instance
- #1295
d0a8143
Thanks @iAverages! - Replace Git Bash check with Mintty check
- #1304
2cb41e6
Thanks @PiotrekPKP! - fix: replace trpc links
- #1284
a2af1a2
Thanks @michalbundyra! - chore: bump typescript - 5.0.2
- #1273
10a5e0b
Thanks @juliusmarminge! - feat: add errorformatter for zod errors
-
#1263
8dc6e33
Thanks @mkreuzmayr! - search for tsconfig relative to eslintrc -
#1279
ae5cd40
Thanks @arielconti10! - fix: remove //@ts-check comment in next.config
- #1268
db394ed
Thanks @c-ehrlich! - ignore unused vars that begin with underscore
- #1252
d8be181
Thanks @ggrochow! - Rename _eslint.cjs before intializing git repo to ensure .eslint.cjs is added by default
- #1249
2432d76
Thanks @juliusmarminge! - chore: bump nextjs
- #1232
9c82f86
Thanks @juliusmarminge! - fix: bind configs to variables before exporting to make sure typeerrors are reported
- #1222
7baa339
Thanks @juliusmarminge! - fix: detect and handle git bash environment
-
#1218
4f8d41a
Thanks @bai! - feat: change eslint config to use.cjs
format and typecheck it -
#1217
55c87af
Thanks @juliusmarminge! - fix: add autofix to eslint type rule
- #1213
ab3c7cb
Thanks @michalbundyra! - fix: update comment regarding schema definition of env vars
- #1187
e111fb5
Thanks @c-ehrlich! - remove old env files
- #1092
aa44574
Thanks @juliusmarminge! - single env file
- #1171
efe8b7f
Thanks @esotuvaka! - fix: swap@ts-check
comments tocheckJs: true
in scaffolded app's tsconfig
- #1155
90955a5
Thanks @christopher-kapic! - Change unstable_getServerSession to match the updated getServerSession from next-auth (introduced in next-auth 4.19.0)
-
#1136
715f6e8
Thanks @juliusmarminge! - feat: colocate auth config/dts/session-getter into a single file -
#1134
4cb2e4e
Thanks @PiotrekPKP! - feat: added package installation progress
-
#1131
ab0790e
Thanks @bastibuck! - fix: fix types of serverEnv and clientEnv -
#1140
fc445bf
Thanks @Zamiell! - chore: add descriptive comments and format .env prettier
- #1097
2ed36cd
Thanks @juliusmarminge! - chore: bump nextjs and add a note about appDir+i18n being incompat
- #1084
7490a34
Thanks @c-ehrlich! - fix: undo env changes
- #1071
34d6c5b
Thanks @ JacobADevore! - feat: automatically destructure env objects
- #1060
a8cc106
Thanks @juliusmarminge! - fix: cleanup context type ininitTRPC
- #1036
c5ca65e
Thanks @JoshuaKGoldberg! - use typescript-eslint's recommended-required-type-checking
- #1056
c6704fb
Thanks @prashantrahul141! - fix: updatepackage.json->name
before installing dependencies.
- #1043
6fe7e1e
Thanks @juliusmarminge! - fix(cli): exit with error code when aborting installation fix(cli): don't log when scaffolding in current directory and it's empty
-
#934
c20ec70
Thanks @juliusmarminge! - feat!: implement new folder structurecreate-t3-app has decided to switch out the folder structure of the generated t3-app to, what is to us, a more minimal, logical and easier to understand structure.
- #1031
61ba991
Thanks @complexengine! - The CLI now stages the files on project initialization.
- #1024
fcf59b0
Thanks @juliusmarminge! - fix: allow dot name in name prompt
- #1010
9eddbab
Thanks @maxmellen! - chore(create-t3-app): add @types/prettier package to tailwind installer and bump prettier versions
- #981
ac32b6d
Thanks @balazsorban44! - fix(cli): prompt TS first
-
#939
77cfb4b
Thanks @c-ehrlich! - use next-auth 4.18.3 and undo hotfix -
#932
c04a35a
Thanks @c-ehrlich! - fix next-auth error
- #917
eb55d19
Thanks @sharkby7e! - feat: add blank target to base template
- #914
1037d14
Thanks @c-ehrlich! - temporarily pin next-auth
- #901
9b6ae5c
Thanks @c-ehrlich! - include env files in all apps
-
#895
91362db
Thanks @Mvmo! - When initializing a new git repo the git config value 'init.defaultBranch' will be used as the branch name -
#897
272b954
Thanks @AyanavaKarmakar! - fix(cli): fix wrong prompt when setting up project name
-
#869
cd93b98
Thanks @meech-ward! - docs: add notes about env vars -
#878
9abaf80
Thanks @AyanavaKarmakar! - feat: update scaffolded README.md -
#845
c387187
Thanks @GabrielPedroza! - fix: typo in env-schema comments
- #834
3ace6c8
Thanks @juliusmarminge! - use trpc 10.0.0
-
#784
f10ce0e
Thanks @AyanavaKarmakar! - fix(t3-app): fix broken links -
#786
4d70f04
Thanks @skuridin! - Add next-env.d.ts to .gitignore -
#800
d5d5a2f
Thanks @HatulaPro! - fix: removing redundant optional chaining in templates
- #711
da760c7
Thanks @c-ehrlich! - create new index pages
- #754
b6cdcb3
Thanks @juliusmarminge! - fix: rename example env file
- #727
57cb2b5
Thanks @juliusmarminge! - feat: add warning message when not using latest
-
#717
7f8e706
Thanks @robotkutya! - feat: update NEXTAUTH_SECRET validator and set a default -
#719
b359802
Thanks @AyanavaKarmakar! - fix: update NEXTAUTH_SECRET validator to be optional in dev
- #673
44a107b
Thanks @c-ehrlich! - remove node 18 and next 13 checks
- #684
a707c4b
Thanks @juliusmarminge! - chore: version bumps
-
#667
fde5b76
Thanks @Pegasust! - Add documentation on how to generate NEXTAUTH_SECRET in .env file for clarity -
#675
5d20745
Thanks @c-ehrlich! - only try to get secret message if there is a user
-
#654
3dfc27d
Thanks @nexxeln! - Make experimental flags booleans and not require the name to be "double passed"
- #657
f1673eb
Thanks @juliusmarminge! - feat: update dependency Next.js to 13
- #649
6a21032
Thanks @juliusmarminge! - chore: version bumps
- #642
9639419
Thanks @c-ehrlich! - get next-auth to work with node 18
- #623
cf99211
Thanks @c-ehrlich! - consistent cli text color
-
#619
1122720
Thanks @nexxeln! - AddedcreatedAt
andupdatedAt
fields to the Example model in the Prisma schema. -
#621
1cc6735
Thanks @c-ehrlich! - fix git spinner
- #613
135ee5b
Thanks @juliusmarminge! - add inference helper for v10
- #606
7f73518
Thanks @c-ehrlich! - rename index.ts to _app.ts
- #602
9f86e39
Thanks @nexxeln! - feat(template): add prettier.Config type to prettier config and resolve prettier-plugin-tailwindcss import
- #581
dd0e172
Thanks @juliusmarminge! - export helper procedures for trpc instead of thet
-object
- #591
c90a695
Thanks @juliusmarminge! - bump next-auth dependency to ^4.12
-
#582
e562ee8
Thanks @juliusmarminge! - move prettier from base to tailwind installer -
#587
8c0267f
Thanks @c-ehrlich! - Add .env-example to scaffolded app
- #578
befc7f4
Thanks @juliusmarminge! - upgrade trpc to beta.15 and typescript to 4.8.4
- #575
75fcb49
Thanks @juliusmarminge! - upgrades trpc to v10 and improves cli performance by making it synchronous
- #575
75fcb49
Thanks @juliusmarminge! - enable vercel_url to pass default env-schema
- #533
a3a168a
Thanks @juliusmarminge! - Tailor .env to only include relevant keys
- #517
2b434bb
Thanks @gabrielelpidio! - Add prettier and prettier-plugin-tailwindcss
- #506
f371ef8
Thanks @c-ehrlich! - temp fix for next-auth peer deps issue
- #446
6f63ec6
Thanks @c-ehrlich! - feat: better cli text when scaffolding in '.'
- #430
306777a
Thanks @benmarg! - feat: direct developer to add schema from .env to schema.mjs for zod validation
- #416
14b6d4a
Thanks @xpressivecode! - fix(template): missing ctx when using ssr with trpc
- #396
30f3db6
Thanks @rhenriquez28! - fixing ssr by forwarding client's headers
- #388
86d053c
Thanks @c-ehrlich! - feat: non-tw index.tsx with styling
- #381
773b27e
Thanks @c-ehrlich! - feat: include all cards on all index.tsx files
- #383
e05bc3d
Thanks @juliusmarminge! - add safeguards for overwriting git repos
-
#375
296c79b
Thanks @c-ehrlich! - feat: add option to continue and overwrite on existing directoryfor reference see: #230
- #394
52e9db7
Thanks @nadilas! - Extending the warning message for invalid client environment variables by including the reason
- #366
1f43f83
Thanks @juliusmarminge! - Thanks @hnqg for the initial PR. add wrapper function for unstable_getServerSession
- #357
b032074
Thanks @virtuoushub! - chore: Sort package.json when in noInstallMode
- #365
b3ce004
Thanks @juliusmarminge! - revert prisma cleint teardown from #353
- #345
8ee2ea0
Thanks @juliusmarminge! - Includecjs
andmjs
files in tsconfig. Thanks @timfee for reporting!
- #335
5745ad7
Thanks @julianread! - Fix invalid typeof window comparison to undefined
- #334
a107f14
Thanks @c-ehrlich! - fix: build fails on trpc, trpc+next
- #324
fb5498c
Thanks @juliusmarminge! - feat: wrap createContext with helper function to make it independent of req/res
- 7a76c95: feat(app): add lint config for typescript
5.6.0 (2022-08-11)
- change ! reversion to equality in env validation (#293) (7822c43)
- parse path returned from process.cwd() before using it (#303) (b55f196)
5.5.0 (2022-08-07)
5.4.0 (2022-08-02)
- add deployment strategy to generated README (#258) (c7d4dce)
- set appName to directory on 'npx create-t3-app .' (#273) (2179f2d)
- height on small screens (#256) (fe86915)
- missing next-auth types (#255) (ed42629), closes #254
- prisma: make db changes for next-auth on mysql obvious (#275) (e9507c8)
5.3.0 (2022-07-25)
- add typesafe client side env variables (#209) (d4cf879)
- improved logo typography (#238) (48c6720)
- updating tailwind and postcss config's to use .cjs (#242) (5b97367)
- added JSDoc type to clientEnv in all env-schema (#240) (9cb5ebb)
- clarify some comments and rename some files in env (#245) (2048783)
- remove semicolon in _app.tsx with next-auth to avoid early return (1be7713)
- title being offset when using yarn/pnpm (c881f00)
5.2.1 (2022-07-19)
- update url in auth prisma schema (97c9e27)
5.2.0 (2022-07-19)
- handle pkg with version in noInstall mode (#220) (5737beb)
- missing DATABASE_URL (#222) (b6164d8)
- typo - rename 'varibles' to 'variables' (#223) (fc6519f)
- typo in readme (9390400)
5.1.1 (2022-07-18)
- add missing trpc import (37b6283)
5.1.0 (2022-07-18)
- add check for yarn 3 (#173) (cd846e1)
- add ci for pull requests (0e7cdc8)
- add commitlint (#126) (3672aa3)
- add CONTRIBUTING.md for newcomers (99f8220)
- add db.sqlite to gitignore (#201) (90371c7)
- add environment variables validation (#147) (0f0b56d)
- add git prompt (#130) (e5be271)
- add inferQueryResponse helper for tRPC (748800f)
- add main as initial branch (7b94005)
- add next-auth config to env-example #108 (c3ab997)
- add noInstall flag and prompt (#133) (7ff0fca)
- add standard-version (#125) (0fc6b47)
- add tRPC inference helper docs commment on utils (3e784cb)
- added windows build support (29acbf8)
- better ui for templates (e2e8c7e)
- better validation and add path support (#135) (e50cb8a)
- check if dir is empty (71bbdba)
- make the ui symmetric (19df71e)
- add newline at the end of the file (64eee1c)
- add scripts for CI (539f3fd)
- add semantic elements and update tw classes on tw pages (#151) (61d6819)
- bumped package.json for beta-release (3fe35f1)
- change comment in .env to discord (d992713)
- cli: use correct spelling, fix short choices (7776aa9)
- conditionally run envVars installer (#196) (f5f4f62)
- docs wrong format (3d2dbb0)
- dont prompt for typesafe env-vars (2faee56)
- eslint warning (import/no-anonymous-default-export) (a1cce55)
- fixed some typos (#131) (a86466e)
- format contributing.md (4111476)
- handle git projects correctly (3ed897f)
- incompatible git version (#127) (34f44f8)
- invalid pnpm action version (2a1f6e3)
- language prompt short answer should both be ts (#142) (5e4f80d)
- markup: multiple h1 replaced to h2 (6bf9040)
- prompts: show correct package manager in prompts (#153) (fe66ae9)
- properly display the welcome title when installing with Yarn (#160) (a5b9d53)
- provide cwd inside git init exec call (9679492)
- reapply style fixes on tw pages (#189) (af1067b), closes #178
- remove changeset from repo (#134) (d58b380)
- remove duplicated types (#138) (e4c8e33)
- remove unncesary import on auth router (abdc61f)
- run prettier (9961645)
- standardize log messages (83a13b9)
- template: converting to use tech props and remove tw from template (#183) (b2d542a)
- templates: h1 restored (e51e03d)
- type entrire app and not just the props (908630e)
- typo in "Javascript" (#136) (6873a7a)
- update templates (4418f1d)
- use components for the tech within the splash screen (#178) (c436382)
- with-tw removed unused styles and added motion saftey (#148) (598ed0e)
- changed ui for template
- improve ui examples of template app
- add warning for old git versions
- improve template styling
- Add description for packages in the template
- Redesign pages
- added Next-Auth protected routes when using tRPC
- upgrade next to 12.2.0
- modified the title to print a colorful ascii art
- add warning about next-auth when using Node 18
- fix resolved path to package root
- diable version flag
- fix esm issues
- trying to fix esm error
- a548f22: added cli args, esm support
- Updated package to full ESM support
-
Create-t3-app now accepts args!
When calling create-t3-app, you can specify the app name and directory directly from the cli.
Additonal options are visable by passing -h or --help into the command line
- added loading spinners
- added tsup as build tool
- Added dev tooling.