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
Ardani Rohman
443dceaeec
improve example fallback translation and add new sample locale for lang id ( #1983 )
2017-05-17 19:41:54 +02:00
Guillermo Rauch
1703ad302c
remove old fly task related to eval-script.js
( #1997 )
2017-05-17 19:40:14 +02:00
Guillermo Rauch
b00525897d
Release 2.4.0
2017-05-17 09:48:40 -07:00
Guillermo Rauch
0926129a86
Release 2.3.2
2017-05-16 12:46:47 -07:00
Arunoda Susiripala
bcb979fdf2
Add some Appveyor customizations ( #1985 )
...
* Allow to test on Node.js v4
* Add appveyor.yml file
* Update appveyor badge to master branch.
2017-05-17 00:34:14 +05:30
Arunoda Susiripala
17cc77f00a
Add appveyor.yml file ( #1984 )
2017-05-16 23:45:08 +05:30
Arunoda Susiripala
650bb7c51b
Fix hmr failing issue. ( #1968 )
2017-05-15 13:47:35 +05:30
Tim Neutkens
b8f336c747
Add custom webpack dev middleware config ( #1931 )
2017-05-13 16:44:21 -07:00
greenkeeper[bot]
3306262bae
chore(package): update jest-cli to version 20.0.1 ( #1941 )
2017-05-13 13:02:15 +02:00
greenkeeper[bot]
85af828048
chore(package): update babel-jest to version 20.0.1 ( #1940 )
2017-05-13 13:02:04 +02:00
Tim Neutkens
bc71b89b45
Remove stage-0 from example ( #1959 )
2017-05-13 13:01:29 +02:00
Tim Neutkens
2ea619658b
Fix react-md example
2017-05-13 00:42:39 +02:00
greenkeeper[bot]
9754395426
chore(package): update cross-env to version 5.0.0 ( #1944 )
2017-05-12 23:52:53 +02:00
greenkeeper[bot]
e53bcdbce3
fix(package): update prop-types to version 15.5.10 ( #1954 )
2017-05-12 23:40:51 +02:00