Pooya Parsa
d07aefa5db
feat(vue-renderer): use async fs ( #5186 )
2019-03-08 12:20:03 +00:00
renovate[bot]
2cbddeb142
chore(deps): update all non-major dependencies ( #5174 )
2019-03-07 23:04:30 +03:30
Xin Du (Clark)
cc573a4925
test: unit tests for server module ( #5154 )
2019-03-04 20:12:33 +00:00
Xin Du (Clark)
05299d6738
refactor: improve modern middleware and spa modern rendering ( #5037 )
2019-03-03 11:22:59 +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
d9a0b5f61b
fix: not send Server-Timing header if no timing info
2019-02-14 15:23:25 +00:00
Clark Du
c6d8e8ff66
refactor: isModernBrowser return boolean for avoiding duplicate call
2019-02-14 14:01:30 +00:00
Clark Du
2b4d79c199
refactor: not detect modern browser if modern mode is disabled
2019-02-14 13:21:11 +00:00
renovate[bot]
6d90ec2a50
chore(deps): update dependency consola to ^2.4.1 ( #5012 )
2019-02-12 11:44:29 +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
renovate[bot]
111455f99a
fix(deps): update serve-placeholder and esm ( #4970 )
2019-02-07 11:25:46 +03:30
renovate[bot]
fc604d1733
chore(deps): update all non-major dependencies ( #4970 )
2019-02-07 11:21:51 +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
Xin Du (Clark)
f40f3f92c1
fix: await buildDone hook ( #4955 )
2019-02-06 18:53:14 +03:30
renovate[bot]
76736f8ac7
chore(deps): update all non-major dependencies ( #4954 )
2019-02-06 01:17:01 +03:30
Xin Du (Clark)
5c08db20b4
fix: await buildDone hook ( #4955 )
2019-02-05 13:23:47 +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
Xin Du (Clark)
b23f5c9b4b
feat(server): timing option for Server-Timing
header ( #4800 )
2019-01-19 21:44:54 +03:30
Amos Wong
602cf12216
fix(server): allow listening on number 0 port ( #4781 )
2019-01-19 15:53:18 +03:30
Alexander Lichter
40fbe5ba47
refactor: cleanups and code style improvements ( #4788 )
2019-01-18 00:48:29 +03:30
Pim
9eab5589c0
fix: add iron browser as modern ( #4775 )
2019-01-17 00:15:46 +03:30
renovate[bot]
3ccfcedb65
chore(deps): update all non-major dependencies ( #4692 )
2019-01-06 12:36:24 +03:30
Pooya Parsa
ee0096bf59
feat: nuxt-ts ( #4658 )
...
[release]
2019-01-04 23:00:28 +03:30
renovate[bot]
438b430a2e
chore(deps): update all non-major dependencies ( #4670 )
2019-01-03 01:22:25 +03:30
Dmitry Molotkov
d3b939690c
fix(server): process browser version with non semver versions ( #4673 )
2019-01-03 01:22:09 +03:30
Alexander Lichter
8786ff7317
fix: require serverMiddleware object with path and handler ( #4656 )
2018-12-30 01:04:47 +03:30
Clark Du
35151150fd
fix: wrong devMiddleware in non-modern dev mode
2018-12-28 13:26:46 +00:00
Xin Du (Clark)
df9b32a1c4
fix: hmr in modern mode ( #4623 )
2018-12-24 19:56:39 +03:30
Sébastien Chopin
498c4f11d3
feat: better stack traces for SSR error, show error with correct URL and use eventsource-polyfill ( #4600 )
...
[release]
2018-12-23 12:10:36 +03:30
Xin Du (Clark)
324135df51
refactor: @nuxt/utils ( #4609 )
2018-12-23 00:35:13 +03:30
sh
2f0ed8571f
feat(server): export Listener ( #4577 )
2018-12-18 13:46:41 +00:00
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
Sébastien Chopin
8a200f7e91
fix(server): Cannot read property client of null when webpackHMR & restarting Nuxt
2018-12-11 16:20:59 +01:00
Ryan Lindskog
29c5bb6513
refactor: remove caniuse-lite dependency ( #4419 )
2018-12-11 01:05:04 +03:30
Dmitry Molotkov
c3128eaced
fix(server): allow rendering urls with unicode characters ( #4512 )
2018-12-10 16:48:23 +00:00
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
fe0516978a
fix: improvements for build and dev stability ( #4470 )
2018-12-09 14:12:22 +03:30
Clark Du
e6808c57ef
fest: add build.corssorgin ( #4472 )
2018-12-05 19:51:58 +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
Ricardo Gobbo de Souza
1d78027e2b
fix: offer a new port and listen if already used, use consola on server error ( #4428 )
...
* Use consola on server error
* fix style
* ignore coverage
* use `consola.error(e)`
* formatting server error
* fix style
* offer a new port and listen
* fix style
* simplify return
* Revert "fix style"
This reverts commit 770347adb9
.
* Revert "simplify return"
This reverts commit 26f2588b2f
.
* simplified tests
* remove dependency `get-port`
* using port `0` to assign a random free port
* update `this.port` value with `address.port`
* For production, use `consola.fatal`
* pass options.dev from server to listener constructor
* add dev on constructor
* improve serverErrorHandler and close
* Update listener.js
* improve serverErrorHandler
* improve the way to handle listen errors
* fix missed line
* fully close old server before listening on a random port
* update listen.test
2018-11-30 16:32:15 +01:00
Clark Du
fe492d8363
feat(modern): auto detect modern mode ( #4422 )
2018-11-26 22:49:47 +00:00