Luis Alvarez D
39020c432d
Improve user errors for invalid pageExtensions
( #10178 )
...
* Added validation for pageExtensions and tests
* Removed log
* Test for undefined
2020-01-20 17:19:33 -05:00
MH Rohman Masyhar
275a65555a
Add with-stencil
example ( #10125 )
...
* feat(example): add with-stencil
* feat(docs): add build stencil component
* fix: disable eslint config for h render
* Update README.md
* Delete .editorconfig
* Update index.js
* Fix linting
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-20 16:45:03 -05:00
JJ Kasper
5f5c5e4e9e
Add support for catch-all routes with SSG ( #10175 )
...
* Add support for catchall routes with SSG
* Add test for invalid catchall param in getStaticPaths
2020-01-20 16:44:50 -05:00
JJ Kasper
0d0f21899c
v9.2.1-canary.4
2020-01-20 15:42:03 -06:00
Thibault
71e29cd80a
Update Relay Modern example ( #10150 )
...
* chore(npm): update dependencies
* fix(relay): move GraphQL query outside pages folder
* refactor(react): destructure props
* refactor(react): remove unused key and simplify syntax
2020-01-20 16:31:45 -05:00
Aziz Khambati
b72b8e225d
[with-emotion-10,11] Update emotion examples to v10 & v11 ( #9646 )
...
* Update emotion to v10, use @emotion/core, @emotion/styled
* Add with-emotion-11 and make review changes
* Fix package names and run prettier
* fix readmes
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-20 16:26:22 -05:00
Vitaliy
7a728d69db
Serve public/
folder when page routes are disabled ( #10169 )
...
Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-20 16:13:47 -05:00
Afzal Sayed
b95214e2cd
feat(examples:tailwind): add postcss-preset-env ( #10160 )
...
* feat(examples:tailwind): add postcss-preset-env
* fix: prettier
* Review changes
* Update README.md
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-20 16:13:18 -05:00
Michael Stramel
ea0d916b50
example: Convert _app.js to functional components ( #10115 )
...
Fix formatting
2020-01-20 16:13:04 -05:00
Kevin Jennison
34f1aefa4a
Add example: with-firebase-authentication-serverless ( #10078 )
...
* Start from existing example
* Upgrade some dependencies
* Use dotenv
* Remove custom server
* Add serverless Firebase auth
* Add TODOs
* Update project name
* Fix build script
* Remove server middleware from client JS bundle
* Add logout functionality
* Redirect to auth page on logout
* Remove TODO
* Add comments about the cookie-session approach
* Remove the sessions folder
* Add comments for eslint
* Remove unused files
* Clarify comment
* Update README.md
* Rename variable for clarity
* Update README.md
* Change some comments
* Add more to gitignore
* Remove the bundle analyzer
* Move server-side auth user logic from _app.js to a HOC to support static HTML rendering
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-20 16:12:48 -05:00
JJ Kasper
04f1dd52b9
Delay hydration until after page is visible in development ( #10164 )
...
* Delay hydration until after page is visible in development
* Tweak dead-code elimination
2020-01-20 21:41:41 +01:00
Sebastian Silbermann
6b87b2b541
feat(build): Transpile assuming higher version of runtime ( #9511 )
...
* feat(build): Transpile assuming higher version of runtime
* Use runtime version from manifest
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-20 21:40:59 +01:00
Luis Alvarez D
7fc850e28a
[docs] Added related links to next.config.js ( #10174 )
...
* Added related links
* Added missing dots
2020-01-20 21:40:20 +01:00
JJ Kasper
a21a8fcc4d
Add error for invalid distDir value ( #10177 )
...
* Add error for invalid distDir value
* Add check for null/undefined distDir
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-20 14:35:29 -06:00
Joe Haddad
eb38d223e6
Test Query String Behavior ( #10102 )
...
* Test Query String Behavior
* Test Query String with %
* Test Query String With LF
* Update test
* Consolidate
* Consolidate
2020-01-20 15:16:18 -05:00
Joe Haddad
2e668e6b31
Remove native-url
( #10176 )
...
* Remove `native-url`
* Increase sizes
2020-01-20 14:47:42 -05:00
Shane Kunz
ec658fc998
sends Google Analytics correct url path on fresh page load ( #10146 )
2020-01-20 11:29:35 -05:00
Tim Neutkens
acca2c0a5d
v9.2.1-canary.3
2020-01-20 15:57:03 +01:00
Luis Alvarez D
7f021546d3
Remove @zeit/next-css from docs ( #10168 )
...
* Removed next-css from docs
* Added mention for next-stylus
2020-01-20 15:41:04 +01:00
JJ Kasper
e04e5a5c15
Add initial support for static 404 page ( #10113 )
...
* Add initial support for static 404 page
* Apply suggestions from code review
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Simplify custom error page check
* Add comment explaining reason for custom app check
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-01-20 15:10:24 +01:00
Naggar
71c2354ecd
fix broken link in error page ( #10159 )
...
This commit updates the link for Automatic Static Optimization page in the Documentation
2020-01-19 16:02:44 +01:00
Richard Scotten
33b22796c7
Add option arg to changeState when onlyAHashChange ( #10003 )
...
* added option to changeState when onlyAHashChange
* added integration tests
* segregated tests because they caused other tests to fail
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-01-18 20:35:12 -06:00
Ev Haus
bbf19cd99e
Minor update for the "with-react-ga" example ( #10156 )
2020-01-18 19:03:12 -05:00
Orta
0444cb97ba
Update static-html-export.md ( #10155 )
2020-01-18 16:24:29 -05:00
Sang Song
9352392f4f
chore(examples): Update firebase version ( #10145 )
2020-01-17 23:06:58 +01:00
Zhe Zhang
0b1217e79e
Update with-tailwindcss example ( #10141 )
...
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-17 16:02:38 -05:00
JJ Kasper
15cffd0059
v9.2.1-canary.2
2020-01-17 14:14:52 -06:00
JJ Kasper
5a9a478cc8
Fix hydration with custom _app and granular chunks ( #10144 )
...
* Add failing hydration test
* Add importing of next/router to _app
* Fix type
* Update _app check for windows
* Remove babel fix
* Update to use webpack to require next/router
2020-01-17 14:13:51 -06:00
Oleg Filonchuk
aa6991f206
update readme.md ( #10136 )
...
fixed a little typo
2020-01-17 14:22:40 -05:00
Joe Haddad
2fe7435814
v9.2.1-canary.1
2020-01-17 13:20:32 -05:00
Joe Haddad
08f241fc3f
Switch from defer
to async
( #10143 )
2020-01-17 12:20:13 -06:00
Joe Haddad
53d5bd89ce
v9.2.1-canary.0
2020-01-17 11:54:28 -05:00
JJ Kasper
51420c7241
Fix SSG data request failing with trailing slash ( #10140 )
...
* Fix SSG data request failing with trailing slash
* Update to re-use toRoute method
2020-01-17 11:54:00 -05:00
JJ Kasper
ee0761255a
Error on query values in exportPathMap for auto export page ( #9908 )
...
* Add warning when providing query values in exportPathMap for auto-export page
* Update test for SSG page also
* Update to error instead of warn
* Update warn -> Error and check exit code
2020-01-16 21:39:00 -05:00
JJ Kasper
22e015f7b6
Support unnamed parameters in custom-routes correctly ( #9920 )
...
* Support unnamed parameters in custom-routes correctly
* Update unnamed params checking to be strict
* Removed un-used regexKeys
* Update test routes
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-16 17:38:38 -05:00
Shu Uesugi
6804039e94
Make example READMEs more consistent ( #10124 )
...
* npx create → npm init
* Fix inconsistent instructions
* Update amp-first
* Update with-graphql-react
* with-firebase-cloud-messaging
* Update with-higher-order-component
* change create-next-app url
* Update create-next-app instruction
* Update instructions to use npm instead of npx
* Move "the idea behind the example" to top
* Rename
* Rename
* Update contributing.md with a README template
2020-01-16 23:23:56 +01:00
Tim Neutkens
1044b124a5
Remove outdated readme ( #10123 )
2020-01-16 10:45:45 +01:00
Lucio Villa
31597bbd18
added amp-img example with fallback attribute ( #10122 )
2020-01-16 10:09:13 +01:00
Josh Larson
80ed74bcae
Add specific warning for require() PostCSS plugin ( #10121 )
2020-01-16 00:09:56 -05:00
Joe Haddad
57ec121d48
Rename Build SPR to SSG ( #10114 )
2020-01-15 15:57:07 -05:00
JJ Kasper
563f3c084c
Honor exportTrailingSlash for default 404 ( #10109 )
2020-01-15 14:18:31 -06:00
Victor Mota
d6721676ca
Add an example for Fauna using cookie based auth (round 2) ( #9986 )
...
* Add an example for Fauna using cookie based auth.
* Update example to use more secure method of non-js cookie and all authed access via backend api calls.
* Updated README
* Updated files and added prettier
* Remove unused import to fix lint issue.
* Improve documentation on how to setup fauna. Remove client key to simplify setup.
* Remove semicolons
* Lint fix
* Updated readme instructions and deployment
* Fixed client side redirect issue with /profile
* Simplified login code
* Simplified signup code
* Removed isomorphic-unfetch
* Simplified logout
* Removed get-host file
* Removed the custom getInitialProps from withAuthSync
* Removed user email from localStorage
Co-authored-by: Luis Alvarez D. <luis@zeit.co>
2020-01-15 12:08:42 -05:00
Joe Haddad
b595dd6af1
v9.2.0
2020-01-15 11:38:15 -05:00
Joe Haddad
6b21b45edf
v9.1.8-canary.17
2020-01-15 11:20:38 -05:00
Luis Alvarez D
a15ccbc0fe
Update readme to link to the new docs ( #10096 )
...
* Updated next readme
* Delete README_old.md
* Update README.md
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-01-15 11:25:18 +01:00
Prateek Bhatnagar
552f3b4302
fixing observing paint types in safari bug ( #10076 )
...
* fixing observing paint types in safari bug
* using try catch for performanceObserver fallback
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-14 23:16:38 -05:00
Joe Haddad
3aa6edb618
v9.1.8-canary.16
2020-01-14 23:03:19 -05:00
Joe Haddad
41195b69e1
Fix Legacy CSS with Granular Chunks ( #10101 )
2020-01-14 23:02:49 -05:00
JJ Kasper
fff897d766
Apply some renames for SSG related code ( #10099 )
...
* Rename some spr related stuff to ssg
* Update packages/next/lib/constants.ts
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-14 20:22:15 -05:00
Joe Haddad
a2ea7a4962
Add Test for PR #10037 ( #10093 )
2020-01-14 15:38:31 -05:00