Tim Neutkens
cdf44c4f91
7.0.0-canary.9
2018-09-02 19:18:46 +02:00
Tim Neutkens
a0aaa933de
Apply sideEffect at DidMount on the client side ( #5068 )
...
Fixes #5038
The problem with `constructor` is that it doesn't have `context` yet when being called. It's also considered unsafe to add a side-effect on constructor except when server-rendering
2018-09-02 19:18:20 +02:00
Tim Neutkens
33067a5862
Fix inconsistency in dynamic tests ( #5071 )
2018-09-02 17:22:29 +02:00
Tim Neutkens
442ec79369
Travis no longer has to remove yarn.lock
2018-09-02 15:20:19 +02:00
Tim Neutkens
f9cd204c99
Remove yarn.lock
2018-09-02 15:17:37 +02:00
Tim Neutkens
2f2eaf25e4
Add circleci
2018-09-02 15:14:29 +02:00
Tim Neutkens
ff35d2e747
7.0.0-canary.8
2018-09-01 13:01:04 +02:00
Tim Neutkens
3b35e5be14
Upgrade to styled-jsx@canary ( #5067 )
...
This fixes an issue with styles jumping around when using `transition: all`
2018-08-31 21:10:20 +02:00
Henrik Wenz
b30a8b2e7c
WIP: Fix devtoolModuleFilenames for react-error-overlay ( #5055 )
...
## Issue
Currently react-error-overlays launch-editor functionality doesn’t work because the module paths are in the wrong format.
## Todo
- [x] Keep source-maps enabled
## Related
https://github.com/zeit/next.js/pull/4979
2018-08-31 15:45:57 +02:00
Popuguy
4ef3788613
Update dependencies in package.json ( #5066 )
...
Babel loader v8 now for babel v7
other update fix bugs and performance improvements
2018-08-31 10:42:11 +02:00
Vince Picone
d76b850eac
Update .babelrc ( #5063 )
...
Some really nasty Internal Server errors come as a result of not having the correct module name here.
2018-08-30 23:33:08 +02:00
Daniel Reinoso
1924e3d868
Fix with-custom-reverse-proxy example ( #5064 )
...
Fixes #5052 .
Example was using babel 6.
2018-08-30 23:32:19 +02:00
Tim Neutkens
4247a13ff1
7.0.0-canary.7
2018-08-30 15:11:11 +02:00
Tim Neutkens
fbd933bd22
Fix 404 export ( #5061 )
2018-08-30 15:10:18 +02:00
Tim Neutkens
ead5a8bc3c
Split out Loadable.Capture and make NoSSR smaller ( #5060 )
2018-08-30 15:09:53 +02:00
Tim Neutkens
3ede818252
7.0.0-canary.6
2018-08-30 14:07:05 +02:00
Tim Neutkens
e1c544cd75
Fix loading... issue ( #5058 )
...
This fixes intermittent `loading...` on some requests which surfaced on zeit.co when upgrading
2018-08-30 14:02:18 +02:00
Tim Neutkens
18a23b3e4b
Set mode for DLL bundle ( #5059 )
2018-08-30 12:27:22 +02:00
Nikhil Fadnis
48e4c771c2
Send credentials with on-demand-entries-ping ( #5053 )
...
In my use case, the client pings are failing since the requests do not send basic auth credentials right now.
This change was made in https://github.com/zeit/next.js/pull/2509
I am not sure why it was undone as a part of https://github.com/zeit/next.js/pull/3578
Can someone explain why? Thanks.
2018-08-29 14:52:15 +02:00
Tim Neutkens
99c509e449
7.0.0-canary.5
2018-08-28 18:02:29 +02:00
Faris Abusada
015b0a9d22
Fixes dynamic chunks preload links, use href
instead of src
( #5047 )
...
😬 ...
https://w3c.github.io/preload/
2018-08-28 17:56:48 +02:00
Tim Neutkens
d0df0e497b
7.0.0-canary.4
2018-08-28 12:46:21 +02:00
Tim Neutkens
4c891a7e8a
Upgrade to Babel 7 stable ( #5042 ) (major)
...
🎉 https://twitter.com/left_pad/status/1034204330352500736
2018-08-28 12:44:15 +02:00
Tomáš Witek
66ec2061c1
Css example upgrade ( #5039 )
...
It looks like we don't need the `_document.js` file anymore.
Is that correct?
2018-08-27 16:13:02 +02:00
Kyle Holmberg
b7fe234005
404 routing for static export without exportPathMap ( #5036 )
...
Resolves #5035
Thanks a billion to @timneutkens for holding my hand
2018-08-27 12:28:54 +02:00
Tim Neutkens
e0c74948d0
7.0.0-canary.3
2018-08-25 20:41:36 +02:00
Tim Neutkens
dfafad488a
Remove UNSAFE_ lifecycles from tests ( #5031 )
...
* Remove UNSAFE_componentWillMount
* Remove UNSAFE_componentWillReceiveProps from lifecycle
2018-08-25 20:09:20 +02:00
Michael Fix
9532cc1256
Remove old UNSAFE_ lifecycle methods ( #5020 )
...
~I am not sure if this is a valid fix yet, but I was going to let CI run the tests for me. I'll close and look into it if the build fails.~
Let me know if this will cause issues, but I don't think it should. The React docs recommends moving `componentWillMount` logic into the constructor
2018-08-25 17:26:11 +02:00
HaNdTriX
4c6ec18d89
Remove dublicate className from head (followup) ( #5027 )
...
* Add test of default head.
* Remove duplicate next-head (followup #5026 )
2018-08-25 10:00:57 +02:00
HaNdTriX
267cff3b81
Remove dublicate className from head ( #5026 )
...
This PR:
* Removes dublicate `className` in: `<meta charSet="utf-8" class="next-head"/>`
* Refactores head reducer
Special thanks to @udanpe for reporting and @geoffRGWilliams for bringing me on the right tack! 🙌
Closes #4745 , #4802
2018-08-25 00:19:54 +02:00
Tim Neutkens
1babde1026
7.0.0-canary.2
2018-08-24 16:47:33 +02:00
HaNdTriX
11816537c3
Open editor from error-overlay (minor) ( #4979 )
...
This PR adds links to the [react-error-overlay](https://www.npmjs.com/package/react-error-overlay ).
This allows a developer to open a stack trace in its own editor.
![codelinking](https://user-images.githubusercontent.com/1265681/44278860-a63e0a80-a24f-11e8-9c69-c5365c026c58.gif )
Closes #4813
2018-08-24 16:30:41 +02:00
Tim Neutkens
0dd2b2aa74
Add warning for broken popstate ( #5000 )
...
* Add warning for undefined url and as coming from popstate
* Use consistent url
* Fix err.sh link in test
* Rename `inital` => `initial`
2018-08-24 12:30:27 +02:00
Tim Neutkens
d3f8de3306
7.0.0-canary.1
2018-08-24 10:31:24 +02:00
Tim Neutkens
e4a1e3746b
Use same extensions webpack supports, with addition of .jsx ( #4960 )
2018-08-24 10:29:51 +02:00
HaNdTriX
d6676e6e2b
Allow extending transform-runtime without loosing next defaults ( #5022 )
...
**Example:**
https://github.com/zeit/next.js/blob/canary/examples/with-configured-preset-env/.babelrc#L17-L20
2018-08-24 10:27:48 +02:00
Jan Mühlemann
e11d08ae45
Update with react 18next to latest ( #5017 )
...
* update with-react-i18next supporting new _app.js
* update readme to not encourage cloning of repo
2018-08-24 09:49:10 +02:00
HaNdTriX
bb13e941e5
Fix polyfills ( #5013 )
2018-08-24 01:57:04 +02:00
Tim Neutkens
bd5ee26841
Scroll to name when hash is provided ( #5019 )
...
Fixes #5008
Apparently, browser behavior is to scroll to `name="something"` too.
2018-08-23 20:20:45 +02:00
Tim Neutkens
918e0a6e32
Replace uuid with nanoid ( #4987 )
...
* Replace uuid with nanoid
Same functionality in a smaller package:
https://bundlephobia.com/result?p=nanoid@1.2.1
https://bundlephobia.com/result?p=uuid@3.3.2
* Add comment
2018-08-23 17:02:47 +02:00
dengyun
b32763b9e3
fix: SyntaxError @import "./themes/default" ( #5018 )
...
fix: bug 🐞
![image](https://user-images.githubusercontent.com/37728280/44520939-05929380-a704-11e8-9e7e-7acbc08c6d39.png )
2018-08-23 16:48:17 +02:00
HaNdTriX
a4defaa9de
Document global Promise polyfill ( #5006 )
...
Depends on: https://github.com/zeit/next.js/pull/4988
2018-08-22 17:21:16 +02:00
HaNdTriX
24386b93dc
Remove babel-plugin-transform-remove-strict-mode ( #5003 )
...
This plugin wasn’t in use anyway.
Related: https://github.com/zeit/next.js/pull/414
Maybe we can remove the [`"strict_mode"`](https://github.com/zeit/next.js/search?q=%27use+strict%27&type=Code ) statements as well.
2018-08-22 08:32:57 +02:00
HaNdTriX
eb00bc23e5
Remove babel-plugin-istanbul ( #5004 )
...
This plugin is not in use.
https://github.com/zeit/next.js/search?q=istanbul&unscoped_q=istanbul
2018-08-22 08:31:49 +02:00
Faris Abusada
15e6cb8ddf
Fixes dynamic chunks preload ( #4992 )
...
based on [this](https://spectrum.chat/thread/0d24d6cc-96f9-46f0-aa86-515c1b1caac9?m=MTUzNDc2MjA3MzkyMQ== ) conversation
2018-08-20 14:19:36 +02:00
Tim Neutkens
a9a3fc1fca
Warn if a specific page is not found in build manifest ( #4986 )
...
There's an edge case @timothyis is running into, this will show exactly what files are missing.
I currently can't reproduce, so this is a first step at providing better error messages
2018-08-20 13:01:21 +02:00
Leo Lamprecht
e4a94acd96
Moved to ZEIT's AppVeyor ( #4991 )
...
Previously, it was mistakenly located under @arunoda's personal account.
2018-08-20 11:52:00 +02:00
HaNdTriX
5ff7c0742c
Lint examples ( #4985 )
...
* Lint examples/with-apollo-and-redux-saga
* Lint examples/with-apollo-auth
* Lint examples/with-apollo
* Lint exampels/with-google-analytics
* Lint examples/with-higher-order-component
* Lint examples/with-react-i18next
* Lint exampels/with-redux
* Lint exampels/with-relay-modern
* Lint examples/with-universal-configuration-runtime
* Add **/examples/**/lib/** to linter
2018-08-20 08:31:24 +02:00
rouzbeh84
639df91c87
docs: removes npx
info & moves src link up ( #4972 )
...
FIXES : #4970
confirmed rest of instructions work so left them in, even though duplicate of guide over at Material UI. thoughts?
2018-08-19 22:26:50 +02:00
HaNdTriX
0acba737d2
Fix server key warning ( #4973 )
...
The current canary version shows the following warning in development mode:
```log
Warning: Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.
in script
in NextScript
in body
in html
in Document
```
This PR adds proper keys to the devFiles on the server.
Related https://github.com/zeit/next.js/pull/4954
2018-08-17 11:28:48 -07:00