fridays
9cc8d26a68
fix regex for pages that end with index ( #2505 )
2017-07-09 09:50:30 +05:30
Matt Hamlin
0f3fecfe8b
Update emotion examples with new API for SSR and React endpoint ( #2456 )
...
* Update emotion examples with new API for SSR and React endpoint
* Actually fixing tab replacement
2017-07-06 07:44:46 +02:00
Kyle Kelley
5a840cc39e
allow cleaning from non-cwd ( #2451 )
2017-07-05 10:49:35 +05:30
Jayden Seric
ec2b76f83b
Better data fetching error handling for Apollo examples ( #2227 )
...
* Display data fetching errors in Apollo examples.
* Prevent Apollo GraphQL errors from crashing SSR.
Also tidied a few comments in the vicinity.
2017-07-01 23:56:12 +02:00
Jayden Seric
9bbdfeca63
Component display name fixes for Apollo examples ( #2211 )
...
* Fix decorated component display name issues for Apollo examples.
* Fix linting errors and implement #2286
2017-07-01 23:51:20 +02:00
Mitchell Hamilton
31db8dd932
Add with-emotion example ( #2395 )
...
* Add with-emotion example
* Fix linting errors
2017-06-29 07:44:48 +02:00
Arunoda Susiripala
5d797702d1
2.4.6
2017-06-29 00:47:13 +05:30
Arunoda Susiripala
23c2f02f56
Make it easy and meaningful to analyze the bundle. ( #2393 )
2017-06-29 00:46:21 +05:30
Tim Neutkens
12e8b1265d
Document usage of <Link> without <a> ( #2369 )
2017-06-27 10:32:30 +05:30
Arunoda Susiripala
3d162d9d7b
2.4.5
2017-06-26 23:03:36 +05:30
Arunoda Susiripala
7247a36ef8
Update styled-jsx to 1.0.6. ( #2368 )
...
This fixes the styled-jsx HMR not working error
2017-06-26 23:02:27 +05:30
Luke Edwards
ba5b05a276
[Stable] Move from Fly to Taskr ( #2306 )
...
* switch from fly to taskr
* update taskfile
2017-06-22 15:51:49 +02:00
Arunoda Susiripala
a33a01fba5
2.4.4
2017-06-16 21:51:03 +05:30
Zane Milakovic
05f6e3ff11
updates styled-jsx to fix issues and bugs ( #2275 )
2017-06-15 21:49:59 +02:00
Vinay Puppal
7b62184c0b
Add with-react-ga example ( #2225 )
...
* add with-react-ga example
* fix title in Readme
2017-06-09 23:44:26 +02:00
Adrian le Bas
c66cafd362
Remove hardcoded address from ws example. ( #2204 )
...
With a hard coded address on the client, the app no longer works when deploying, which is annoying since there's a handy 'deploy now' button on the readme.
By removing the hard coded address socket.io will connect to the location host automatically so it works both on development and production.
2017-06-08 19:11:08 +02:00
Arunoda Susiripala
4504d9f3cd
2.4.3
2017-06-07 12:00:59 +05:30
Arunoda Susiripala
7cd2bb69ea
Squashed commit of the following:
...
commit ced48c3fcfd1880016b08590e1b50827247b7cfb
Author: Arunoda Susiripala <arunoda.susiripala@gmail.com>
Date: Wed Jun 7 11:28:43 2017 +0530
Make sure XSS fix doesn't break our 404 support.
commit d40c833aa16660d547df785bb52e69ecf9a717f2
Author: Arunoda Susiripala <arunoda.susiripala@gmail.com>
Date: Wed Jun 7 09:08:41 2017 +0530
Prevent url path based XSS attacks.
2017-06-07 11:37:28 +05:30
Arunoda Susiripala
70da357426
Merge branch 'master' of github.com:zeit/next.js
2017-06-07 04:21:56 +05:30
Arunoda Susiripala
937d0e2bb6
[WIP] Reload webpack if needed ( #2076 )
...
* Reload webpack via hot-reloader when needed.
We need to do this specially we removed a previosly
built page from the filesystem.
* Make sure reloading is happen only once
* Reload only if there's a missing page error.
* Remove debug logs.
* 2.4.2
* Refactor the codebase a bit.
* Move some commonly used regexp to a utils module.
* Handle the reloading well when there's a custom error page.
* Add a HMR test case.
* Close the browser in the test case.
2017-06-06 15:32:02 -07:00
Guillermo Rauch
3a36aeec68
update yarn.lock
2017-06-06 13:32:27 -07:00
Arunoda Susiripala
fd414ecc5d
Merge branch 'master' of github.com:zeit/next.js
2017-06-06 18:28:57 +05:30
Arunoda Susiripala
dbb6e995b6
Ignore chrome checksum on appveyor ( #2176 )
...
* 2.4.2
* Appveyor tests no longer breaks due to chrome installation.
See: https://goo.gl/pNe7iu
It failed randomly due to some checksum issues.
Since we don't care about privacy or security in the CI,
we can ignore checking the checksum.
2017-06-06 18:27:58 +05:30
Arunoda Susiripala
19819c4f23
Merge branch 'master' of github.com:zeit/next.js
2017-06-06 14:02:16 +05:30
Arunoda Susiripala
d3120b0a20
2.4.2
2017-06-06 05:18:53 +05:30
Arunoda Susiripala
660aaa624b
2.4.2
2017-06-06 05:04:46 +05:30
Arunoda Susiripala
24f511f343
When detecting changed pages in hot-reloader use only pages. ( #2171 )
2017-06-05 20:37:20 +05:30
Arunoda Susiripala
443abba94a
Fix HMR http request timeout issue under node 8. ( #2166 )
...
The fix is to add a heartbeat less than 5 secs.
2017-06-05 11:02:13 +02:00
Bill Hefty
af7993683b
Add link to example for webpack-bundle-analyzer ( #1130 ) ( #2104 )
2017-06-01 14:51:54 +02:00
Arunoda Susiripala
ed3618f035
Fix test failures ( #2129 )
...
* Fix test failures due to styled-jsx change.
* Update styled-jsx to the latest.
2017-06-01 10:34:21 +05:30
Guillermo Rauch
dd4b4dd9d0
Release 2.4.1
2017-05-31 18:06:48 -07:00
Arunoda Susiripala
02fe7cf63f
Merge branch 'fix-dir-traversal-error'
2017-06-01 06:16:58 +05:30
Arunoda Susiripala
43c447edd0
Implement the fix.
2017-06-01 05:46:32 +05:30
Felix-Antoine Paradis
442c611d49
Add next configuration as an option for custom servers ( #2058 )
...
* Add a configuration parameter to custom server startup
* Adding related documentation
* Do not access filesystem if configuration is supplied
* Make the configuration log clearer
* Make the conf default value to `null`
2017-05-31 13:36:07 +05:30
Dmitry Rybin
e6f3651763
Fix broken link at readme ( #2103 )
...
Fixed broken readme link and make it short by removing unnecessary invitation.
2017-05-31 12:44:34 +05:30
Tim Neutkens
57b2aefe30
Pin styled-jsx dependency
2017-05-31 07:57:46 +02:00
Ademola Adegbuyi
18bb8774c7
Fix with-glamorous example ( #2117 )
...
* Fixed all unsupported style properties
2017-05-31 07:56:50 +02:00
Tim Neutkens
25afe27211
Update styled jsx to 1.x ( #2119 )
2017-05-31 07:43:17 +02:00
偏右
9ce12a03c5
Upgrade deps and fix old usage ( #2084 )
...
Fix https://github.com/zeit/next.js/pull/1817#issuecomment-299738931
2017-05-27 18:02:53 +02:00
George Pantazis
2953a01c43
Make file-system based routes optional for custom servers ( #914 )
2017-05-27 21:10:15 +05:30
Colder Xihk
56cf8ad0a3
Add ant design mobile example ( #1793 )
...
* add antd-mobile example
* update antd-mobile@1.1.2
remove unsupported page
add menu to trick page
2017-05-27 14:22:13 +02:00
偏右
bd96b69049
Add ant design example ( #1817 )
...
* Add ant design example
* Reduce bundle size by importing modularized antd
* lock react version for warning
2017-05-27 14:21:01 +02:00
Victor Nahuel Chaves
5187fcdb80
add postcss after sass compilation to with-external-scoped-css example ( #1640 )
...
* add postcss after sass compilation
* Fix indent
* Fixed mixed tab indent with spaces
2017-05-27 14:18:50 +02:00
Thomas Lindstrøm
0d0ab77db7
Update example with-scoped-stylesheets-and-postcss
( #1606 )
...
Fixes #1191
2017-05-27 14:12:37 +02:00
Arunoda Susiripala
787a110b75
Fix issue related to 404 and no default exports. ( #2063 )
...
Just after a 404 page, if we created a page with
no default exports. It'll throw an error.
And it'll crash internal webpack state.
So, once we have it we need to do a hard reload to recover it.
2017-05-25 18:29:03 +02:00
Arunoda Susiripala
9121a9d22e
Never cache assets and HTML in the dev mode. ( #2045 )
...
* Never cache assets and HTML in the dev mode.
* Move etags test to the production.
Now it won't work in dev because of no-cache settings.
2017-05-25 18:28:08 +02:00
Arunoda Susiripala
3c95f21d8c
Do not try to server unnessesary files in either dev or prod. ( #2048 )
2017-05-23 10:30:14 -07:00
Xuezheng Ma
d36118ab02
Check if _document.js returns a react element before using ( #2013 )
...
* Check if _document.js returns a react element before using
* Use capital letter R in 'React'
2017-05-20 00:02:01 +02:00
Olivier Tassinari
23a480964e
Update layout.js ( #2018 )
2017-05-19 14:02:11 +02:00
Arunoda Susiripala
9346c96b39
Update react-hot-loader to 3.0.0-beta.7 ( #2004 )
2017-05-18 12:00:39 +05:30