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

611 commits

Author SHA1 Message Date
Tim Neutkens 21f875f3ae Add comma removed by merge 2018-01-13 06:40:37 +01:00
Tim Neutkens 6befb1f889 Release 4.4.0-canary.1 2018-01-13 06:35:28 +01:00
Tim Neutkens bba744d3fa Merge branch 'master' into fix/canary 2018-01-13 06:33:19 +01:00
Arunoda Susiripala 44de0f15c9 Release 4.2.3 2018-01-13 10:41:49 +05:30
Arunoda Susiripala b89b05bc76 Release 4.2.2 2018-01-13 10:38:32 +05:30
Wiktor Tkaczyński 9d059f6007 Add support for Fragments in Head (#3502)
* Add support for Fragments in Head.

* Add test cases

* Check if Component has custom key

* Upgrade to React 16.2.0
2017-12-28 07:12:27 +05:30
Tim Neutkens c23046dc79
Rewrite combine-asset-plugin using correct event (#3486)
* Speed up next build

* Remove comment

* Add comment

* Add comments
2017-12-22 10:25:35 +01:00
Tyll Weiß 702dd5d3f4 Resolve the next.config.js up the tree to avoid it not being loaded when a source dir was specified via the CLI - solves #3379 (#3380) 2017-12-13 18:49:26 -08:00
Harri Hälikkä 1135075513 Update glob-promise to latest 3.3.0 (#3447)
v3.2.0 pulls in 20+ MB worth of devDeps of which some are
deprecated, and these are shown as warnings to the users
of Next.js. Dropping these devDeps is the only change
between 3.2.0 and 3.3.0 (see
https://github.com/ahmadnassri/glob-promise/releases)

Related glob-promise issue:

- https://github.com/ahmadnassri/glob-promise/pull/52
2017-12-13 01:46:37 -08:00
Tim Neutkens 2cbc53f6a1 Release 4.3.0-canary.1 2017-12-08 15:17:23 -08:00
Tim Neutkens 52ccc14059 Merge branch 'canary'
# Conflicts:
#	examples/with-markdown/readme.md
#	lib/page-loader.js
#	package.json
#	server/build/plugins/pages-plugin.js
2017-12-08 15:11:37 -08:00
Tim Neutkens 67643e255a Release 4.2.1 2017-12-08 14:58:21 -08:00
Ramin B 5a5b3b6702 Downgrade strip-ansi to support IE11/Google Fetch (#3403)
A few discussions:
https://github.com/zeit/next.js/issues/2747
https://github.com/zeit/next.js/issues/3126
# Conflicts:
#	package.json
2017-12-08 14:40:17 -08:00
Ramin B 2a6557d6cd Downgrade strip-ansi to support IE11/Google Fetch (#3403)
A few discussions:
https://github.com/zeit/next.js/issues/2747
https://github.com/zeit/next.js/issues/3126
2017-12-08 14:38:28 -08:00
Arunoda Susiripala 03507501cd Release 4.2.0 2017-12-04 15:30:14 -08:00
Giuseppe 5daafa4f87 Upgrade styled-jsx to v2.2.1 (#3358)
* Pulled encoding to top of head (#3214)

* Remove next.d.ts to use @types/next (#3297)

* Add with-mobx-state-tree example (#3179)

* Adapt with-mobx example for with-mobx-state-tree

* Remove unnecessary lastUpdate parameter to show off snapshot

* update readme

* make other.js more closely mimic index.js

* Upgrade styled-jsx to v2.2.1

Includes some bug fixes.

* Fix linting
2017-12-04 08:15:30 -08:00
Arunoda Susiripala f6bd1df6aa
Fix canary tests on CIs (travis, appveyor) (#3375)
* Dump address.

* Use zero as the port.

* Limit test cases.

* throw address.

* Fail a specific error.

* Set a port manually.

* Make sure jest is working properly.

* Set the jest timeout time to 5 min.

* Run the actual test

* Run all production tests on Travis.

* Set the Jest default timeout to 5 min for all integration tests.

* Remove production only testing.

* Remove unwanted console.log

* Remove the addition number from test case

* Set the static export test jest timeout to 5 min.

* Run tests again if they failed once.
2017-12-03 08:12:12 +05:30
Jess Telford 52bf00eda3 Update to uglifyjs-webpack-plugin@1.1.1 (#3329) 2017-11-23 22:25:09 +01:00
Tim Neutkens 03aae1f9fc Release 4.2.0-canary.1 2017-11-15 13:22:41 +01:00
Jess Telford 80a1603189 Use uglify-es for minification (#3150) 2017-11-13 12:19:51 +01:00
Tim Neutkens 18f8ab392a Merge branch 'master' into canary
# Conflicts:
#	examples/with-apollo/lib/initApollo.js
#	examples/with-apollo/package.json
#	examples/with-react-with-styles/package.json
#	examples/with-static-export/package.json
#	package.json
2017-11-05 11:01:59 +01:00
Bu Kinoshita 31ba48ada2 Upgrade styled-jsx to version 2.1.2 (#3231) 2017-11-04 15:04:26 +01:00
Kevin Decker 6e44cdef5f Expose mechanism to monitor render events (#2655)
* Allow custom clientBootstrap entrypoint

This allows for customization of the client global bootstrap.

* Expose render event emitter to client

* Include client entry point in npm package
2017-10-30 16:01:40 +01:00
Tim Neutkens c927c4f1ce Release 4.1.4 2017-10-29 01:00:16 +02:00
Tim Neutkens 436a2ac73b Release 4.1.4-canary.2 2017-10-29 00:58:17 +02:00
Tim Neutkens cd7bfe890d Release 4.1.4-canary.1 2017-10-29 00:58:17 +02:00
Tim Neutkens 2ec397b356 Release 4.1.4-canary.2 2017-10-23 22:15:26 +02:00
Tim Neutkens fe2924c5f4 Release 4.1.4-canary.1 2017-10-23 21:36:17 +02:00
Tim Neutkens 9805231cf9 Release 4.1.3 2017-10-22 11:16:35 +02:00
Tim Neutkens a2a83236f0 Release 4.1.2 2017-10-20 08:06:38 +02:00
Tim Neutkens 586b871a43 Release 4.1.1 2017-10-19 22:18:52 +02:00
Tim Neutkens 43b5626ec6 Use strict version of react-hot-loader (#3112) 2017-10-16 21:51:12 +02:00
Arunoda Susiripala ec3486a702 Release 4.1.0 2017-10-16 10:37:42 +05:30
Tim Neutkens 443b1d1260 Release 4.0.5 2017-10-15 23:20:17 +02:00
Tim Neutkens 7271970629 Upgrade styled-jsx (#3101) 2017-10-15 22:56:40 +02:00
Tim Neutkens e9d14613d4 Make styled-jsx configurable (#3050)
* Make styled-jsx configurable

* Add styled-jsx-plugin-postcss example

* Add styled-jsx 2.1.0 with plugins support

* Move examples around and add description

* Add link to new example
2017-10-15 19:54:57 +02:00
Tim Neutkens db151d250a Release 4.0.4 2017-10-15 01:03:24 +02:00
Tomas Roos 494f416a9f Update exposed package to avoid DoS (#3080)
Running nsp check

```
➜  web git:(master) nsp check
(+) 1 vulnerabilities found
┌───────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│               │ Regular Expression Denial of Service                                                                       │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Name          │ mime                                                                                                       │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ CVSS          │ 7.5 (High)                                                                                                 │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Installed     │ 1.3.4                                                                                                      │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable    │ < 1.4.1 || > 2.0.0 < 2.0.3                                                                                 │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Patched       │ >= 1.4.1 < 2.0.0 || >= 2.0.3                                                                               │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Path          │ web@1.0.0 > next@4.0.1 > send@0.15.6 > mime@1.3.4                                                          │
├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ More Info     │ https://nodesecurity.io/advisories/535                                                                     │
└───────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

```

This is a dependency of send which already upgraded this in order to not be exposed to this known error.
https://github.com/pillarjs/send/blob/master/HISTORY.md
2017-10-14 23:52:15 +02:00
Arunoda Susiripala 10566b7da8 Release 4.0.3 2017-10-11 05:52:33 +05:30
Zach Brown 8873735de3 Upgrade react-hot-loader (add React 16 Support) (#3072) 2017-10-11 05:44:34 +05:30
Tim Neutkens 4de69f8ba4 Bump version (#3070) 2017-10-10 14:04:32 -07:00
Giuseppe 0262845a36 Update styled-jsx to version 2.0.2 (#3069) 2017-10-10 23:01:11 +02:00
Arunoda Susiripala c047378992 Release 4.0.1 2017-10-10 02:00:38 +05:30
Arunoda Susiripala c99c05018b Release 4.0.0 2017-10-09 22:04:51 +05:30
Arunoda Susiripala feff71ecac Update styled-jsx to version 2.0.1 2017-10-09 22:04:20 +05:30
Arunoda Susiripala 7c908633cb Release 4.0.0-beta.6 2017-10-08 15:45:09 +05:30
Giuseppe b0bf03407c Update styled-jsx into 2.0.1-beta.5 (#3052) 2017-10-08 15:43:55 +05:30
Arunoda Susiripala ed5305b537 Release 4.0.0-beta.5 2017-10-08 03:09:48 +05:30
Arunoda Susiripala 1cca97cb5d Update styled-jsx into 2.0.1-beta.4 2017-10-08 03:06:07 +05:30
Arunoda Susiripala a761aa5b97 Release 4.0.0-beta.4 2017-10-07 01:02:35 +05:30
Arunoda Susiripala b6e7691978 Use styled-jsx 2.0.1-beta.3 2017-10-07 00:58:26 +05:30
Tim Neutkens 949296baf1 Upgrade styled-jsx@beta to latest version (#3045) 2017-10-05 15:39:16 -04:00
Arunoda Susiripala af59c9f676 Release 4.0.0-beta.3 2017-10-04 23:53:23 +05:30
Arunoda Susiripala 2eb8b0e983 Add styled-jsx 2.0 beta support. (#3039) 2017-10-04 23:46:06 +05:30
Arunoda Susiripala f2f987f02b Release 4.0.0-beta.2 2017-09-28 22:37:47 +02:00
Tim Neutkens c2d98e2b79 4.0.0-beta.1 2017-09-27 23:01:29 +02:00
Kenny Smith d19cc975f4 React 16 (fiber) (#2996)
* Updating React to v16.0.0

* Updating error handling from ReactReconciler to componentDidCatch

* Using hydrate() instead of render() on client side.

* React 16 is not making `charSet` lowercase but that is in spec.
2017-09-27 21:09:16 +02:00
Tim Neutkens 531d0a3068 Upgrade dependencies (#2998) 2017-09-27 20:11:02 +02:00
Tim Neutkens a44c9e472a Only use strict dependencies (#2929)
Since we use greenkeeper we get PRs when there is an update
2017-09-09 11:37:21 +02:00
Arunoda Susiripala aa09625744 3.2.2 2017-09-08 23:46:18 +05:30
Arunoda Susiripala 03294bb25e 3.2.1 2017-08-31 05:50:45 +05:30
Arunoda Susiripala 99c4798ff1 3.2.0 2017-08-30 19:47:54 +05:30
Arunoda Susiripala 56662b4d84 Add/with router (#2870)
* Add withRoute HOC

Rebased (squashed)
- removed routerToProps
- updated hoist-non-react-statics
- improved propTypes

* Expose the whole Router instead of the route.

* Make the example simple.

* Update examples and the readme.

* Add a test case.
2017-08-30 19:37:12 +05:30
Arunoda Susiripala 4ee0dc90d8 3.1.0 2017-08-30 16:00:23 +05:30
Jan-Philipp Willem 9cce984834 Downgrade strip-ansi to 3.0.1 (#2860)
See: https://github.com/facebookincubator/create-react-app/pull/2692
2017-08-28 18:48:10 +02:00
Tim Neutkens eba9ebef5f Merge v3-beta into master (#2809)
* Add examples/with-redux-code-splitting. (#2721)

* #1757 Relay Modern Example (#2696)

* Add ReasonML example (#2640)

* Add ReasonML example

* Add a gitignore specifically for the reasonml example

* Allow custom className for <Main /> (#2802)

* 3.0.2

* Remove beta information from the README.

* 3.0.3

* Remove unnecessary lookup in example with emotion (#2731)

* Document SCSS/Less (#2742)

* Document SCSS/Less

* Add missing word

* Add docs for examples dir

* Add extra example

* uppercase J

* Add with pkg example (#2751)

* Add custom server micro example (#2750)

* Ease running multiple examples at the same time with process.env.PORT (#2753)

* Add line-height rule for error page h2 (#2761)

* Add support for fetching multiple translation files (#2743)

* Add support for fetching multiple translation files

* Cleanup

* Clear missed interval (#2611)

* clear missed interval

* remove trailing whitespace

* Relay Modern Example (#1757) (#2773)

* Simplification of Relay Modern Example (#1757) (#2776)

* Use deterministic names for dynamic import (#2788)

* Always use the same name for the same dynamic import.

* Add unit tests for the modulePath generation.

* Allow tests to run correctly on Windows.

* Make the chunk name a bit pretty.

* Fix tests to run on Windows.

* 3.0.4

* Revert "Make the chunk name a bit pretty." (#2792)

This reverts commit 0c9e8cf2271955e74ab9f752b5869b98c1dc60f9.

* 3.0.5

* Use _ as the divider for dynamic import name splitter. (#2793)

Using - gives us some weird webpack errors.

* 3.0.6

* next/dynamic Error Message Tweaks (#2798)

* Fixed issue (#2804)

https://github.com/zeit/next.js/issues/2800

* docs(material-ui): move the source code to Material-UI repository (#2808)
2017-08-27 22:13:35 +02:00
Arunoda Susiripala c692101649 3.0.6 2017-08-17 02:26:18 +05:30
Arunoda Susiripala eafa2c676d 3.0.5 2017-08-17 00:29:09 +05:30
Arunoda Susiripala 265296c7dd 3.0.4 2017-08-16 22:45:52 +05:30
Arunoda Susiripala 8f2677e42a 3.0.3 2017-08-09 12:33:55 +05:30
Arunoda Susiripala 42e21288a9 3.0.2 2017-08-09 12:05:16 +05:30
Arunoda Susiripala 6d572ee087 3.0.1-beta.21 2017-08-07 12:38:03 +05:30
Arunoda Susiripala 242739eb0f 3.0.1-beta.20 2017-07-28 11:39:49 +05:30
崔宁 67697afa44 Remove the extra plugin (#2670) 2017-07-28 10:45:04 +05:30
Arunoda Susiripala 37531726c2 3.0.1-beta.19 2017-07-26 22:33:15 +05:30
Arunoda Susiripala f2f5b96ecb 3.0.1-beta.18 2017-07-20 23:50:05 +05:30
Arunoda Susiripala d4eb9455b8 Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta 2017-07-20 23:48:58 +05:30
Arunoda Susiripala 4833e2ffb5 [WIP] Add more HMR test cases (#2599)
Add more HMR test cases
2017-07-20 21:30:45 +05:30
Arunoda Susiripala 3a2fdbec65 3.0.1-beta.17 2017-07-18 13:03:04 +05:30
Arunoda Susiripala dba24dac9d 3.0.1-beta.16 2017-07-17 11:13:54 +05:30
Arunoda Susiripala ed733dc14d 3.0.1-beta.15 2017-07-16 15:50:54 +05:30
greenkeeper[bot] 99dd045d1c Update webpack to the latest version 🚀 (#2569) 2017-07-15 22:04:07 +02:00
Arunoda Susiripala 62a6247753 3.0.1-beta.14 2017-07-15 16:26:25 +05:30
greenkeeper[bot] 20db38e21a Update webpack to the latest version 🚀 (#2537) 2017-07-15 09:32:55 +02:00
greenkeeper[bot] 62f7386808 Update wd to the latest version 🚀 (#2552) 2017-07-14 23:44:46 +02:00
Tim Neutkens ee29abb8d1 Add propType check with validation (#2516) 2017-07-09 18:42:20 +05:30
Arunoda Susiripala 86c283777f 3.0.1-beta.13 2017-07-09 10:21:50 +05:30
Arunoda Susiripala f718bcaa13 3.0.1-beta.12 2017-07-09 10:11:18 +05:30
Arunoda Susiripala e94671bd95 3.0.1-beta.11 2017-07-09 10:07:38 +05:30
Tim Neutkens 874f9a78ef fix(package): update webpack-hot-middleware to version 2.18.2 (#2481)
Closes #2448
2017-07-08 14:10:29 +02:00
greenkeeper[bot] 06dc1e960c Update wd to the latest version 🚀 (#2482) 2017-07-08 14:09:30 +02:00
Arunoda Susiripala 6c8a891d7d 3.0.1-beta.10 2017-07-08 11:12:42 +05:30
greenkeeper[bot] ec9fc46477 fix(package): update webpack to version 3.1.0 (#2485) 2017-07-07 09:34:25 +05:30
Arunoda Susiripala ace1939c4b 3.0.1-beta.9 2017-07-06 12:30:43 +05:30
Arunoda Susiripala 0c7089f856 Remove mitt and use an internal EventEmitter (#2477)
This fixes one of the crucial bug in Next.js
The issue happens when you try to load a page when it's
prefetching.
With mitt, it only fires the first registered event.
2017-07-06 12:19:33 +05:30
greenkeeper[bot] f44d597c29 Update husky to the latest version 🚀 (#2470) 2017-07-05 14:16:38 +02:00
greenkeeper[bot] dc74d5a70f Update babel-preset-env to the latest version 🚀 (#2462) 2017-07-04 20:32:51 +02:00
Leo Lamprecht a941c434ad 3.0.1-beta.8 2017-07-03 17:17:14 +02:00
Leo Lamprecht c050ba46bf Support for Prettier 1.5.x added (styled-jsx) 2017-07-03 17:15:52 +02:00
Arunoda Susiripala e2a8cc411a 3.0.1-beta.7 2017-07-03 11:09:11 +05:30