JJ Kasper
2b116cea29
Ensure module not found error is shown with jsconfig paths ( #11889 )
...
* Ensure correct module not found error is shown with jsconfig paths
* bump
2020-04-15 02:33:05 -04:00
Scott Parker
67e6cae448
Correct Global and Local CSS Loading Order in Dev ( #11901 )
...
* Global styles now load before local in dev
* fix lint
* Adjust tests
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-15 02:32:25 -04:00
JJ Kasper
2b488ab1e1
Fix NEXT_PUBLIC env values not being inlined ( #11896 )
...
* Clean up env tests a bit
* Fix NEXT_PUBLIC env values not being inlined
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-15 02:32:03 -04:00
Gonzalo D'Elia
6202a7f3bd
Fix: Update shallow routing docs ( #11894 )
2020-04-15 02:21:06 -04:00
Vincent Voyer
7d2ee3b015
docs(Link): precise how prefetch works ( #11792 )
...
* docs(Link): precise how prefetch works
After this discussion: https://twitter.com/timneutkens/status/1243572726998188036
This might not be the exact good wording though. Let me know!
* Update docs/api-reference/next/link.md
Co-Authored-By: Luis Alvarez D. <luis@zeit.co>
Co-authored-by: Luis Alvarez D. <luis@zeit.co>
2020-04-15 02:03:15 -04:00
Vincent Voyer
90ffdcc33b
docs(auth): add with-iron-session to the alternatives list ( #11903 )
...
Following https://github.com/zeit/next.js/pull/11865#issuecomment-613663718
2020-04-15 02:01:40 -04:00
Joe Haddad
c0724cac82
v9.3.5
2020-04-14 23:24:53 -04:00
Joe Haddad
df1e54877c
v9.3.5-canary.13
2020-04-14 19:39:12 -04:00
Matt Carlotta
ffa4089b18
Update with-redux-thunk example to include HMR ( #11816 )
...
* Update with-redux-thunk example to include HMR
* Update README
* Fix clock component
* Fix example component
* Fix README
2020-04-14 18:36:50 -05:00
Joe Haddad
682120b732
v9.3.5-canary.12
2020-04-14 19:16:15 -04:00
Fonger
5248e182fe
fix(export): fallback to empty string for basePath ( #11880 )
...
* fix(next-server): fallback to empty string for basePath
* Revert extra change and add unit test
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-04-14 19:12:02 -04:00
JJ Kasper
ab18c7929e
Add support for params in header key/values ( #10324 )
...
* Add support for params in header key/values
* Update todo
* Update with handling for named patterns
* Use compiled package
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-14 11:47:53 -05:00
Joe Haddad
b1aa594a80
Handle Potential Promise Rejection in Serverless ( #11882 )
2020-04-14 11:43:46 -04:00
Joe Haddad
d1b987f524
v9.3.5-canary.11
2020-04-14 10:49:42 -04:00
Joe Haddad
841cd6c4d7
Fix Situation Where Build Can Hang Indefinitely ( #11881 )
2020-04-14 10:25:24 -04:00
Tim Neutkens
4e6d6d206c
Remove unused import ( #11875 )
2020-04-14 13:31:15 +02:00
Luis Alvarez D
4094dfeff9
Remove with-cookie-auth ( #11865 )
2020-04-14 11:58:26 +02:00
Tim Neutkens
5713bcbb6c
v9.3.5-canary.10
2020-04-14 11:35:38 +02:00
Tim Neutkens
f0422f2119
Revert "minor change in hello-world/package.json" ( #11874 )
...
This reverts commit 287961ed91
.
2020-04-14 10:11:15 +02:00
JJ Kasper
d3e308a79f
Add basePath in link component and add/remove it consistently ( #9988 )
...
* Add basePath in link component and add/remove it consistently
* Update to not use regex for delBasePath
* Expose addBasePath as router method
* Revert "Expose addBasePath as router method"
This reverts commit 40fed596195c6affabf837e42d472452768e13a3.
* Expose basePath as router field
* Apply suggestion
* Expose basePath as router field
* remove un-used vars
* Update externals
* Apply lint fix
* Update size-limit test
* Update prefetch
2020-04-14 09:50:39 +02:00
JJ Kasper
0b51b2340a
Add stats config for load tests ( #11868 )
2020-04-13 22:00:12 -04:00
Luis Alvarez D
2b1f959b7d
Update shallow routing docs ( #11616 )
...
* Updated shallow routing docs
* Include getStaticProps
2020-04-13 20:22:07 -05:00
Luis Alvarez D
20f6429643
Replaced express with next-connect ( #11747 )
2020-04-13 18:11:41 -05:00
Hoang Vo
ee372f472f
feat(example): add CRUD example with next-connect and passport ( #11359 )
...
* Add with-next-connect example
* Update README
* Fix code and lint
* Fix typo
* Run prettier
* Include username
* Rename example
* Match with-passport styling
* Add comments in code
* Run prettier
* Rewrite example
* Add some comments
* Update README.md
* keys -> secret
* Updated package.json and readme
* UX changes
* Securely encrypt cookie with @hapi/iron
* Update README
* Abstract db related actions and update README
* security: add note on password hashing
* remove unused dep
* Updated readme
Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-04-13 18:07:54 -05:00
Yuki Takemoto
65335155d1
chore(example): Update styled-components to v5 in with-typescript-styled-components ( #11766 )
2020-04-13 17:30:17 -05:00
Joe Haddad
39c068e1f0
Update Serverless Note in Docs ( #11861 )
2020-04-13 17:11:14 -04:00
Joe Haddad
9fdd6ed2e4
Fix Lockfile
2020-04-13 14:48:23 -04:00
matamatanot
7dbdf1d89e
Remove update-check.d.ts ( #11858 )
...
Co-authored-by: matamatanot <matamatanot@gmail.com>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-13 14:47:01 -04:00
Houssein Djirdeh
04ceba4309
Adds first input delay performance metric ( #8884 )
...
* measures fid
* updates typings, fixes logic, updates per review comments
* update to es5
* separate clearMeasures
* use relayer
* creates fid polyfll render helper + simplifies measure
* switch to dynamic import
* creates fid experimental flag
* removes unecessary time-to-first-input metric
* removes hydration measure removes
* default flag to false
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-04-13 14:46:46 -04:00
a14m
0ccce7271d
Update sentry example ( #11701 )
...
* Fix the with-sentry-simple example configuration code
This fixes the following issues:
- https://github.com/zeit/next.js/issues/8873
- https://github.com/zeit/next.js/issues/11642
* Update the README with the info about uploading to sentry configurations
* Fix the typo in SENTRY_DNS -> SENTRY_DSN
2020-04-13 14:08:56 -04:00
Fabian Mastenbroek
9e75162a27
[examples/with-react-intl] Fix issues with Intl.js polyfill ( #11806 )
...
* Add workaround for Intl.js RegEx issue
This change adds a workaround for an issue with the Intl.js polyfill
library where it instantiates an invalid regular expression.
Relevant issues:
https://github.com/andyearnshaw/Intl.js/issues/270
https://github.com/andyearnshaw/Intl.js/issues/256
https://github.com/andyearnshaw/Intl.js/issues/306
Until this issue is fixed upstream, we use a workaround in the example.
Fixes : #11777
* Do not load Intl.js polyfill by default on Node
This change updates the `with-react-intl` example to prevent it from
polyfilling `Intl` in a Node environment when it is not needed.
2020-04-13 13:55:30 -04:00
matamatanot
e686545c0d
Update @types in create-next-app ( #11815 )
...
* remove self made types
* add types
Co-authored-by: matamatanot <matamatanot@gmail.com>
2020-04-13 13:06:19 -04:00
JJ Kasper
2594bb93ab
v9.3.5-canary.9
2020-04-13 11:26:11 -05:00
MicrochipQ
ccefab76dd
[examples/custom-server-fastify] Fix ts(2341) ( #11844 )
...
* Fix ts(2341)
Property 'handleRequest' is private and only accessible within class 'Server'.ts(2341)
* Update server.js
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-04-13 13:41:38 +02:00
JJ Kasper
dcb0a656f5
Add gip identifiers to NEXT_DATA ( #11835 )
...
* Add gip identifiers to NEXT_DATA
* Update test a bit
2020-04-13 11:59:49 +02:00
Dave Cardwell
cbcb10b922
Add displayName property to React Context objects ( #11829 )
...
https://reactjs.org/docs/context.html#contextdisplayname
Use the .displayName property to show distinct component names in React
DevTools. For example, “DocumentContext.Provider” instead of just
“Context.Provider”.
2020-04-13 11:55:42 +02:00
Minh Nguyen
ec76d9265c
Rename functional component
-> function component
( #11850 )
...
See the following for context:
- https://reactjs.org/docs/components-and-props.html#function-and-class-components
- https://overreacted.io/how-are-function-components-different-from-classes/
- https://twitter.com/dan_abramov/status/1057625147216220162
- https://twitter.com/kentcdodds/status/1136274289965928448
2020-04-13 11:33:06 +02:00
liulanz
287961ed91
minor change in hello-world/package.json ( #11830 )
2020-04-11 23:19:53 +02:00
liulanz
f1e561b889
Update dependencies ( #11833 )
...
* updated npm dependencies
* updated npm dependencies
* updated npm dependencies
2020-04-11 23:18:40 +02:00
JJ Kasper
37c98faa01
Make sure to pass through query values for custom routes ( #11812 )
2020-04-11 12:57:52 +02:00
Tim Neutkens
099ea8b932
v9.3.5-canary.8
2020-04-11 12:45:39 +02:00
Joe Haddad
1199c235b1
Externalize next-server
from Server Builds ( #11819 )
...
* Externalize from Server Builds
* Windows Compatibility for Plugins
* Only check for windows path on windows
* add comments
2020-04-11 12:36:06 +02:00
JJ Kasper
46ecb00112
v9.3.5-canary.7
2020-04-10 18:12:02 -05:00
JJ Kasper
cd1a2a5949
Handle more invalid CSS class characters ( #11809 )
...
* Handle more invalid CSS class characters
* Remove old comment
2020-04-10 10:37:24 -05:00
Abdul Rauf
bbe7a52bd2
update dev script in examples/using-preact ( #11805 )
2020-04-10 13:59:17 +02:00
Tim Neutkens
c59d24055d
Add Prismic Example ( #10897 )
...
* Add Prismic Example
* Update package.json
* Update constants
* Remove react-datocms
* Add Preview Mode for Prismic
* Add support for Preview Mode
* Delete author.jpg
* Delete image.jpg
* Fixes and readme updates
* Fixed issues with preview mode
* Updated preview mode steps
* Added more posts
* Updated readme
* Updated readme
* Added demo URL
* Added related examples links
* Added example to docs
Co-authored-by: Shu Uesugi <shu@chibicode.com>
Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-04-10 12:41:09 +02:00
JJ Kasper
ab4ba0418c
Replace brackets in CSS classes for dynamic routes ( #11795 )
2020-04-10 12:32:55 +02:00
JJ Kasper
0648c35508
Update auto export opt-out warning and err.sh ( #11801 )
2020-04-10 12:31:19 +02:00
JJ Kasper
7d6fbe7fd6
Add Node.js version to Bug template ( #11781 )
2020-04-10 12:30:44 +02:00
JJ Kasper
982e880f9a
Update CNA tests on windows for further investigating ( #11779 )
2020-04-09 13:57:59 -04:00