1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
Commit graph

1475 commits

Author SHA1 Message Date
Arunoda Susiripala 0151d09cf3 3.0.0-beta12 2017-06-09 10:06:35 +05:30
Arunoda Susiripala 0c4362e440 Load chunks in SSR mode only if they exists in the filesystem (#2196)
* Always check with the fs when gettings chunks.

* Add a new set of test cases for dynamic imports in dev.

* Add dynamic import test cases for production.

* Add availableChunks support for static exports.
2017-06-08 19:41:22 +02:00
Henrik 9c1898f2c8 Allow custom head attributes (#2189)
* fix(package): update babel-preset-env to version 1.5.2

* Allow Custom head attributes

This PR allows to add static attributes to the `document/head
2017-06-08 19:27:54 +02:00
Adam Soffer 5d71434121 Remove warning when upvoting a post in apollo examples (#2190)
* Fix apollo warning and error when upvoting post

* Fix apollo warning and error when upvoting post in apollo-redux example as well
2017-06-08 19:26:40 +02:00
greenkeeper[bot] b7de7a5733 chore(package): update cross-env to version 5.0.1 (#2192) 2017-06-08 19:24:51 +02:00
greenkeeper[bot] 7e5af32375 chore(package): update chromedriver to version 2.29.1 (#2191) 2017-06-08 19:18:21 +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
David Corwin ca9146c421 support custom build directory in next export (#2135)
* use custom build directory instead of .next if specified, helpful log messages.

* Remove some unwanted newlines.
2017-06-08 07:09:45 +05:30
greenkeeper[bot] 24439f96ec fix(package): update write-file-webpack-plugin to version 4.1.0 (#2188) 2017-06-07 19:53:18 +02:00
greenkeeper[bot] 669270a20c fix(package): update babel-preset-env to version 1.5.2 (#2187) 2017-06-07 19:53:01 +02:00
Tim Neutkens bf0d7f8b40 Better error message for missing peerDependencies (#2168)
* Add better error reporting (#2087)

* Apply message to all missing dependencies (#2105)

* Use template string instead of escapes
2017-06-07 14:43:49 +05:30
Arunoda Susiripala c9a7a35f78 3.0.0-beta11 2017-06-07 12:09:32 +05:30
Arunoda Susiripala 4504d9f3cd 2.4.3 2017-06-07 12:00:59 +05:30
Arunoda Susiripala 13a51e0a75 Merge master into v3-beta. 2017-06-07 11:43:05 +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 8cb3e89455 Merge master into v3-beta. 2017-06-07 04:24:36 +05:30
Arunoda Susiripala 679e8d3137 Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta 2017-06-07 04:22:37 +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 8a1d49484a update version 2017-06-06 14:22:30 -07:00
Guillermo Rauch fa5dc4293d update lock 2017-06-06 13:36:59 -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 0a2e4aa4e7 3.0.0-beta10 2017-06-06 05:00:51 +05:30
Arunoda Susiripala bd3c60caab Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta 2017-06-06 04:51:38 +05:30
Arunoda Susiripala 0191d2eb1b Merge branch 'master' into v3-beta 2017-06-05 20:39:07 +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 f342624f14 Merge master with v3-beta 2017-06-05 15:19:33 +05:30
greenkeeper[bot] 8eb6ea3c57 chore(package): update node-fetch to version 1.7.1 (#2159) 2017-06-05 11:27:39 +02:00
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
greenkeeper[bot] e74fb7858e fix(package): update styled-jsx to version 1.0.4 (#2162) 2017-06-04 23:18:11 +02:00
Matt Phillips 40290f85c3 Fix readme conflict (#2148) 2017-06-03 09:03:56 +02:00
Guillermo Rauch 62a41605aa Release 3.0.0-beta9 2017-06-02 07:21:36 -07:00
greenkeeper[bot] 7f782e182e chore(package): update nyc to version 11.0.1 (#2138) 2017-06-02 08:06:16 +02:00
Arunoda Susiripala e1a9febe28 Get latest master into v3 (#2139)
* Merge branch 'master' into v3-beta

* Add send back to v3-beta.
2017-06-02 10:35:04 +05:30
Guillermo Rauch fbb242a973 Release 3.0.0-beta8 2017-06-01 18:38:27 -07:00
Guillermo Rauch f4345e79c2 Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta 2017-06-01 18:31:14 -07:00
Guillermo Rauch 850a931e88 Merge branch 'master' into v3-beta 2017-06-01 18:30:57 -07: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
Arunoda Susiripala 0ec33c8ccd fix(package): update styled-jsx to version 1.0.3 (#2122)
Closes #2095
2017-05-31 18:33:58 +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