Commit Graph

285 Commits

Author SHA1 Message Date
Josh Deltener
1d4421ef1d chore: inverse wording of error message (#5990) 2019-06-26 16:20:43 +01:00
Ricardo Gobbo de Souza
43a43bc924 fix: downgrade fs-extra to v7 for fixing jest crashing (#5977) 2019-06-25 15:58:20 +01:00
renovate[bot]
99176aa261 chore(deps): update all non-major dependencies (#5955) 2019-06-24 10:00:31 +01:00
renovate[bot]
7d08ff1f4a chore(deps): update dependency consola to ^2.8.0 (#5953) 2019-06-18 17:41:23 +04:30
pooya parsa
2fabea9402 v2.8.1 2019-06-05 00:55:47 +04:30
Pooya Parsa
31f5729828
fix(vue-renderer): prevent can't set headers after they are sent (#5863) 2019-06-04 19:19:18 +04:30
pooya parsa
7622d66866 v2.8.0 2019-05-30 21:37:38 +04:30
renovate[bot]
1f74362d38 Update dependency consola to ^2.7.1 (#5809) 2019-05-26 14:44:05 +04:30
renovate[bot]
f00f02171f Update all non-major dependencies (#5808) 2019-05-26 14:28:57 +04:30
Pooya Parsa
7e50fe744f
fix(vue-renderer): add vary header for ‍user-agent‍ in modern server mode (#5807) 2019-05-26 00:24:00 +04:30
aidou
0fc8ee41d1 feat(vue-renderer): render.injectScripts option (#5745) 2019-05-25 22:49:10 +04:30
Xin Du (Clark)
21aaef3b48 feat(vue-renderer): support render.ssrLog for controlling SSR logs (#5784) 2019-05-23 14:19:16 +04:30
pooya parsa
ffb1844646 update args logging 2019-05-20 20:35:17 +04:30
Xin Du (Clark)
106836f806 fix(vue-app): wrong index and string in ssr log (#5771) 2019-05-20 18:39:35 +04:30
Pooya Parsa
38fc721f50
fix(vue-renderer): safe format ssr logs (#5764) 2019-05-19 23:19:24 +04:30
renovate[bot]
c2c2945f05 chore(deps): update all non-major dependencies (#5735) 2019-05-15 15:56:07 +04:30
pooya parsa
0f609dfb37 v2.7.1 2019-05-14 23:24:56 +04:30
pooya parsa
5a98230ec6 v2.7.0 2019-05-14 17:05:38 +04:30
renovate[bot]
017d3a490a chore(deps): update all non-major dependencies (#5715) 2019-05-14 12:36:07 +04:30
renovate[bot]
8019c9c7db chore(deps): update dependency fs-extra to v8 (#5702) 2019-05-11 21:12:55 +04:30
renovate[bot]
d3256331f6 Update all non-major dependencies (#5679) 2019-05-09 12:49:49 +04:30
pooya parsa
0548df636c Merge branch '2.x' into dev 2019-05-09 11:42:19 +04:30
Sébastien Chopin
4b11dcc9ad feat(vue-renderer/vue-app): report SSR console logs to the browser with consola (#5673) 2019-05-09 11:36:17 +04:30
renovate[bot]
2fd05e0fe3 chore(deps): update dependency consola to ^2.6.1 (#5674) 2019-05-08 21:36:11 +04:30
Xin Du (Clark)
56d5c0c548 fix(vue-renderer): await on spa:templateParams hook (#5619)
fixes #5601
2019-04-29 13:05:33 +04:30
Xin Du (Clark)
b7284e1b4a refactor(vue-renderer): remove chalk in renderer (#5609) 2019-04-26 16:24:37 +04:30
pooya parsa
a5cf705ed8 v2.6.3 2019-04-25 13:13:50 +04:30
pooya parsa
2108cd669c v2.6.3 2019-04-25 13:05:37 +04:30
Xin Du (Clark)
31a15559e5 refactor: move modern detection from server to utils (#5584) 2019-04-23 13:46:56 +04:30
Xin Du (Clark)
f5bbc585ee
refactor(vue-renderer): split renderer into ssr, spa and modern (#5559) 2019-04-20 13:02:51 +01:00
pooya parsa
6cee89324f v2.6.2 2019-04-15 20:45:03 +04:30
Pooya Parsa
ff340abe6f
v2.6.2 (#5523) 2019-04-15 20:43:27 +04:30
pooya parsa
c0776eb2d7 v2.6.1 2019-04-04 22:28:06 +04:30
pooya parsa
0e51676731 v2.6.0 2019-04-04 21:36:17 +04:30
James George
b978a3761d feat(vue-renderer): add csp meta tags (#5354) 2019-04-02 00:29:58 +04:30
Pooya Parsa
8b9969599d
fix(renderer): retry render if renderer is in loading or created state (#5417) 2019-03-30 23:35:15 +04:30
renovate[bot]
82bde15622 chore(deps): update dependency consola to ^2.5.8 (#5416) 2019-03-29 23:01:21 +04:30
Sam Bowler
97db6a4b41 fix(vue-renderer): add the csp hash if unsafe-inline hasn't been specified (#5387) 2019-03-29 20:39:53 +04:30
renovate[bot]
7ce30935fa chore(deps): update all non-major dependencies (#5402) 2019-03-29 18:36:03 +04:30
Pooya Parsa
535327c4f1
refactor(vue-renderer): improve ready status error (#5339) 2019-03-23 11:33:08 +04:30
Pooya Parsa
caf5198430
fix(builder): await for renderer to load resources (#5341) 2019-03-23 11:32:55 +04:30
pooya parsa
5d7757bf29 v2.5.1 2019-03-22 02:18:39 +04:30
pooya parsa
e2c296321b v2.5.0 2019-03-21 16:37:34 +03:30
Sébastien Chopin
ef41e205e6 feat: loading screen (#5251)
[release]
2019-03-20 12:47:53 +03:30
renovate[bot]
fae8fb0df8 chore(deps): update all non-major dependencies (#5288) 2019-03-20 10:41:58 +03:30
renovate[bot]
f8ff8b5d62 chore(deps): update dependency consola to ^2.5.7 (#5283) 2019-03-19 21:09:36 +03:30
renovate[bot]
5f6f12eea7 chore(deps): update dependency @nuxt/devalue to ^1.2.2 (#5240) 2019-03-14 13:01:52 +00:00
renovate[bot]
b22d97ea3a chore(deps): update all non-major dependencies to ^2.6.9 (#5234) 2019-03-14 13:29:47 +03:30
Xin Du (Clark)
648062c308
fix: correct public path in generation and start (#5202) 2019-03-12 15:52:15 +00:00
Pooya Parsa
13cb0f73d9 refactor: remove builder coupling from server (#5157) 2019-03-08 20:43:23 +00:00
Pooya Parsa
d07aefa5db feat(vue-renderer): use async fs (#5186) 2019-03-08 12:20:03 +00:00
Clark Du
a188f07f19 chore: remove unnecessary checks 2019-03-05 17:07:05 +00:00
Xin Du (Clark)
05299d6738 refactor: improve modern middleware and spa modern rendering (#5037) 2019-03-03 11:22:59 +03:30
renovate[bot]
4b9ea2919d chore(deps): update all non-major dependencies (#5122) 2019-03-02 22:41:23 +03:30
pooya parsa
83db959506 v2.4.5 2019-02-26 14:20:41 +03:30
pooya parsa
0ad13e04d2 v2.4.5 2019-02-26 14:01:42 +03:30
pooya parsa
85c7869641 v2.4.4 2019-02-26 13:56:12 +03:30
renovate[bot]
e2bdaa3880 chore(deps): update dependency consola to ^2.5.6 (#5107) 2019-02-25 22:10:29 +03:30
renovate[bot]
27a201ca54 chore(deps): update dependency consola to ^2.5.5 (#5106) 2019-02-25 21:24:39 +03:30
renovate[bot]
e789a8e727 chore(deps): update all non-major dependencies (#5098) 2019-02-25 21:07:28 +03:30
renovate[bot]
21b1b865ee chore(deps): update all non-major dependencies (#5088) 2019-02-22 16:28:14 +03:30
Clark Du
5f9b1044ff Merge remote-tracking branch 'origin/2.x' into dev 2019-02-15 13:18:09 +00:00
Xin Du (Clark)
3516580701
fix(hotfix): preload modern resource in spa modern mode (#5043) 2019-02-15 13:08:27 +00:00
renovate[bot]
6d90ec2a50 chore(deps): update dependency consola to ^2.4.1 (#5012) 2019-02-12 11:44:29 +03:30
renovate[bot]
960f8cab5c chore(deps): update all non-major dependencies (#5009) 2019-02-12 10:48:11 +03:30
renovate[bot]
8106523311 chore(deps): update all non-major dependencies (#5000) 2019-02-11 12:10:42 +03:30
renovate[bot]
e083c38f8f chore(deps): update all non-major dependencies (#4992) 2019-02-09 13:32:50 +03:30
Alexander Lichter
69dfd848d7 refactor: some small stuff (#4979)
* refactor: flatten ifs

* refactor: unnecessary curly brackets

* refactor: unnecessary else

* refactor: promise.all instead of for-await

* refactor: apply changes suggested by @clarkdo

* chore: fix typo

* refactor: early return

* refactor: add removal TODOs

* refactor: more descriptive variable name

* refactor: prefer template string

* refactor: one-line

* refactor: early returns

* refactor: early return

* refactor: parallel promises

* refactor: early return and no else

* refactor: spread operator

* refactor: spread operator and early return

* fix: remove error and throw string instead

* fix: always return true

* refactor: clear multiline ternary

* refactor: err stack assignment

* refactor: early return and async/await

* refactor: one line

* refactor: early return

* refactor: early return

* refactor: promise.all

* refactor: args spread
2019-02-08 17:25:11 +01:00
Pooya Parsa
29297160a1
feat(vue-renderer): improvements (#4722) 2019-02-08 13:35:01 +03:30
renovate[bot]
995911d994 chore(deps): upgrade vue to ^2.6.3 (#4968) 2019-02-07 01:42:22 +03:30
pooya parsa
4e30bda44e v2.4.3 2019-02-06 19:37:24 +03:30
pooya parsa
13e494c0f0 v2.4.3 2019-02-06 19:26:54 +03:30
renovate[bot]
76736f8ac7 chore(deps): update all non-major dependencies (#4954) 2019-02-06 01:17:01 +03:30
Pooya Parsa
93089543be
feat: upgrade vue to 2.6 (#4953) 2019-02-05 14:00:57 +03:30
Clark Du
32b0f155c9 v2.4.2 2019-01-30 15:15:05 +00:00
Clark Du
ade4bbe486 v2.4.1 2019-01-30 14:07:33 +00:00
Clark Du
5f221b4b7e v2.4.0 2019-01-28 17:41:28 +00:00
Alexander Lichter
40fbe5ba47 refactor: cleanups and code style improvements (#4788) 2019-01-18 00:48:29 +03:30
renovate[bot]
dbf2711f0a chore(deps): update all non-major dependencies (#4742) 2019-01-13 00:08:21 +03:30
Clark Du
0a21d4b34c fix: undefined script in modern mode 2019-01-10 11:17:28 +00:00
renovate[bot]
3ccfcedb65 chore(deps): update all non-major dependencies (#4692) 2019-01-06 12:36:24 +03:30
renovate[bot]
438b430a2e chore(deps): update all non-major dependencies (#4670) 2019-01-03 01:22:25 +03:30
Xin Du (Clark)
df9b32a1c4 fix: hmr in modern mode (#4623) 2018-12-24 19:56:39 +03:30
Xin Du (Clark)
324135df51 refactor: @nuxt/utils (#4609) 2018-12-23 00:35:13 +03:30
Pooya Parsa
8b366fd216
chore: use @nuxt for all core dependencies (#4596)
[skip release]
2018-12-20 14:45:12 +03:30
renovate[bot]
46f0eee83d chore(deps): update dependency @nuxtjs/devalue to ^1.2.0 (#4595) 2018-12-20 14:33:57 +03:30
renovate[bot]
186b3cb233 chore(deps): update all non-major dependencies (#4581)
[skip release]
2018-12-18 20:32:05 +03:30
Ricardo Gobbo de Souza
99614535b5 feat(vue-app, vue-renderer): support meta headAttrs (#4536) 2018-12-14 17:36:26 +03:30
Alexander Lichter
c60b1945e8 chore: cleanup (#4529) 2018-12-12 10:01:49 +03:30
William Chong
683dbba4f7 fix: csp SHA hashes accumulate when using custom script-src rules (#4519)
[skip ci]
2018-12-12 09:59:28 +03:30
renovate[bot]
13c7b6d671 chore(deps): vue v2.5.21 (#4523) 2018-12-12 09:57:26 +03:30
renovate[bot]
b07c27a843 chore(deps): update all non-major dependencies to ^2.5.20 (#4514) 2018-12-10 22:09:04 +03:30
Pooya Parsa
f0cb654a5d fix(vue-renderer): improve ready handling (#4511) 2018-12-10 12:16:05 +00:00
renovate[bot]
6d8aeec81c chore(deps): update vue to v2.5.19 (#4509) 2018-12-10 01:47:40 +03:30
Jonas Galvez
655f11cefd chore: update code to meet new curly-all rule (#4505)
[skip ci]
2018-12-10 01:30:48 +03:30
Pooya Parsa
1162f2ddc1 feat: use runInNewContext: true for nuxt dev (#4508) 2018-12-09 21:37:36 +00:00
Pooya Parsa
fe0516978a
fix: improvements for build and dev stability (#4470) 2018-12-09 14:12:22 +03:30
renovate[bot]
7c820d9262 chore(deps): update all non-major dependencies (#4497)
* chore(deps): update all non-major dependencies

* pin vue to 2.5.17
2018-12-09 12:28:49 +03:30
Clark Du
e6808c57ef fest: add build.corssorgin (#4472) 2018-12-05 19:51:58 +03:30
Clark Du
14fe6792ae feat: check modern build file in modern mode (#4467)
[skip release]
2018-12-04 15:41:18 +03:30
Pooya Parsa
4b643b9528 fix(renderer): ignore invalid sourcemaps 2018-12-01 14:21:10 +03:30
Pooya Parsa
c0721c0174 fix(vue-renderer): parse JSON values before passing to bundle-renderer
prevent error that occuers in rare cases: TypeError: Cannot read property 'sections' of undefined

Related to #4439
2018-12-01 14:11:10 +03:30
Pooya Parsa
0f104aa588
feat: improve SSR bundle (#4439)
- Better insights and inspection for server bundle
- Remove all vue related dependencies from vue-renderer package as much as possible to reduce install size of nuxt-start
- Support for single file distributions (serverless)
- Remove server-bundle.json and use the standard .js files for dist/server
- Mitigate CALL_AND_RETRY_LAST Allocation failed errors. Most of the cases happen on JSON.parse() the part when loading bundle. (#4225, #3465, #1728, #1601, #1481)
- Reduce server dist size by removing escape characters caused by JSON serialize
- Faster dev reloads and production start by removing extra JSON.serialize/JSON.parse time
- Less memory usage
- General performance improvements and refactors
2018-12-01 13:43:28 +03:30
Clark Du
fe492d8363
feat(modern): auto detect modern mode (#4422) 2018-11-26 22:49:47 +00:00
Pooya Parsa
8cc954d48e merge 2.x changes into dev
commit 0f28f9cdb6
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:23:55 2018 +0330

    add simple release script

commit 16c5b892fa
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:20:03 2018 +0330

    v2.3.4

commit e4a02a51ac
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:17:40 2018 +0330

    whitelist CHANGELOG files

commit c96e9f4996
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:14:29 2018 +0330

    lerna auto tag

commit be126bd962
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:12:22 2018 +0330

    remove extra gitHead

commit eefa13033f
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 21:09:31 2018 +0330

    hotfix: build on prepublish hook

commit d0af6a4736
Author: Sébastien Chopin <seb@chopin.io>
Date:   Mon Nov 26 18:37:12 2018 +0100

    bump: Bump to v2.3.3

commit 2e90166f2a
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 20:32:11 2018 +0330

    update @nuxtjs/opencollective to 0.2.0

commit f10c9829a8
Author: renovate[bot] <renovate[bot]@users.noreply.github.com>
Date:   Mon Nov 26 20:24:49 2018 +0330

    chore(deps): update dependency vue-meta to ^1.5.6 (#4427)

commit b7285fe8f3
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 20:05:18 2018 +0330

    remove build with devtools tests as feature is not merged yet

commit b582e706fc
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 19:58:34 2018 +0330

    update patch-only dependencies

commit 289d30f836
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Mon Nov 26 19:55:51 2018 +0330

    remove typings

commit 7e1beed9b8
Author: Dmitry Molotkov <aldarund@gmail.com>
Date:   Sun Nov 25 17:48:13 2018 +0300

    perf(pkg): remove lodash dependency from packages (#4411)

commit 4a85c0311f
Author: Pooya Parsa <pyapar@gmail.com>
Date:   Sun Nov 25 22:46:19 2018 +0330

    fix(pkg): move opencollective dependency nuxt and nuxt-legacy (#4415)

commit d1877935a3
Author: Dmitry Molotkov <aldarund@gmail.com>
Date:   Sun Nov 25 17:52:37 2018 +0300

    fix(server, vue-app): allow unicode page names (#4402)

commit e1c1240b8d
Author: Alexander Lichter <manniL@gmx.net>
Date:   Sun Nov 25 14:51:32 2018 +0000

    fix(server, jsdom): fix timeout error message (#4412)

    [skip release]

commit 0c6c69b011
Author: Alexander Lichter <manniL@gmx.net>
Date:   Sat Nov 24 21:35:43 2018 +0000

    fix(scrollBehavior): emit triggerScroll event after changing layer (#4399)

    resolves: #4080

commit 8030ca1a3d
Author: Alexander Lichter <manniL@gmx.net>
Date:   Sat Nov 24 18:30:28 2018 +0000

    fix(progress-bar): allow 0 for values and remove duplicate defaults (#4397)

commit 54d273720c
Author: Clark Du <clark.duxin@gmail.com>
Date:   Sat Nov 24 00:02:13 2018 +0000

    fix: router Expected "0" to be defined (#4394)

commit 47f02ae5ca
Author: Clark Du <clark.duxin@gmail.com>
Date:   Fri Nov 23 22:34:05 2018 +0000

    fix: empty error message in dev mode

commit ff7c083dda
Author: Clark Du <clark.duxin@gmail.com>
Date:   Thu Nov 22 15:48:26 2018 +0000

    fix: modern=true or false not work as expected (#4378)
2018-11-26 21:32:10 +03:30
renovate[bot]
a24bb08746 chore(deps): update dependency vue-meta to ^1.5.6 (#4427) 2018-11-26 20:24:49 +03:30
Clark Du
6990efc1bc fix: correct renderer.noSSR name 2018-11-26 13:01:00 +00:00
Clark Du
701190d796
feat: preload and push modern resources in modern mode (#4362) 2018-11-26 12:09:30 +00:00
Clark Du
52a92fbc48 refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
renovate[bot]
744f4025f5 chore(deps): update all non-major dependencies (#4393) 2018-11-23 23:30:43 +00:00
Clark Du
ccbe6c3b1f chore: upgrade lru-cache to v5 (#4380) 2018-11-21 17:02:13 +03:30
Clark Du
70f0dc3825 refactor: spa renderer (#4316) 2018-11-21 16:38:03 +03:30
Sébastien Chopin
205c9d3815 bump: Bump to v2.3.2 2018-11-20 21:48:46 +01:00
renovate[bot]
a7a52b03b2 fix(deps): update dependency vue-no-ssr to ^1.1.0 (#4372)
[skip ci]
2018-11-20 22:58:24 +03:30
renovate[bot]
991e191c12 fix(deps): update all non-major dependencies (#4358)
[skip ci]
2018-11-20 22:58:20 +03:30
Pooya Parsa
b472e47466 [skip ci] remove changelogs 2018-11-20 22:56:45 +03:30
Pooya Parsa
c3318644c1 [skip ci] use dependent versioning 2018-11-20 22:56:45 +03:30
Sébastien Chopin
2f7ba13084 fix: Bump to v2.3.1 2018-11-16 09:30:11 -05:00
Sébastien Chopin
fcea3ebbc6 bump: Nuxt v2.3.0 2018-11-16 09:15:00 -05:00
Pooya Parsa
ca5d53850b fix(pkg): stick @nuxt dependency versions (#4339) 2018-11-15 21:32:51 +00:00
renovate[bot]
bfb6d6a22a fix(deps): update all non-major dependencies (#4310) 2018-11-14 23:58:17 +03:30
Pooya Parsa
68523b95bc
feat(server): fallback option (#4323) 2018-11-14 23:02:07 +03:30
renovate[bot]
16c8237f1c chore(deps): update all non-major dependencies (#4298)
[skip ci]
2018-11-09 01:18:29 +03:30
renovate[bot]
b290c078f2 fix(deps): update dependency consola to ^2.2.3 (#4293) 2018-11-08 15:20:55 +03:30
Pooya Parsa
7c4e77ffb9
feat: dx improvements (#4259) 2018-11-08 12:45:56 +03:30
Clark Du
64839313a9 refactor: use modernMode instead of isModernBrowser for more semantic 2018-11-07 23:50:33 +00:00
Clark Du
2a36dbad22
feat: client mode modern and support dev/generate (#4264) 2018-11-07 23:37:06 +00:00
renovate[bot]
dd114ff74f fix(deps): update all non-major dependencies (#4271) 2018-11-08 02:09:37 +03:30
renovate[bot]
1a154e8188 fix(deps): update all non-major dependencies (#4270) 2018-11-05 02:29:06 +03:30
renovate[bot]
47f67cc26a fix(deps): update dependency consola to ^2.2.0 (#4269) 2018-11-04 22:18:39 +03:30
Clark Du
7d34f2ef26
refactor: persist isModernBrowser on http connection (#4268) 2018-11-04 14:47:56 +00:00
renovate[bot]
f10f860292 fix(deps): update all non-major dependencies (#4253) 2018-11-03 22:16:58 +03:30
Pooya Parsa
1dd32d0d21 feat: update to consola 2 (#4247)
* add ~> addReporter

* remove badge

* withScope ~> withTag

* update to consola 2

* update build tests
2018-11-01 04:50:07 +01:00
Clark Du
bed0714fad
feat: modern build (#4231)
* feat: modern build

* refactor: use single module import for lodash

* refactor: add credit comment for modern plugin

* feat: ssr modern build

* fix: not null check for request

* fix: not null check for request.headers

* feat: add modern argument on build command

* refactor: simpilfy filenames for modern

* refactor: use packages/webpack src instead of dist in test

* test: add feature test for modern build
2018-10-31 15:52:35 +00:00
Pooya Parsa
39b558f59c
refactor core into sub-packages (#4202) 2018-10-31 00:12:53 +03:30