Releases: discoveryjs/discovery-cli
Releases · discoveryjs/discovery-cli
2.0.0-beta.9
- Added
inspector
androuter
options in model'sview
config - Changed
prepare
modules handling. Now aprepare
module should export a function instead of callingdiscovery.setPrepare()
method and no morediscovery
(a reference toApp
orWidget
instance) injected into module's scope. - Added support for a common
prepare
function. WhenmodelBaseConfig.prepare
is set it invokes for every model, right before model'sprepare
if any. - Added config change detection on server's asset bundling, it eliminates the need to restart the server on config change to get assets according changes
2.0.0-beta.8
- Fixed bundling failure due to changes on absolute path resolving in esbuild 0.8.51
2.0.0-beta.7
- Fixed edge case when
runScript
promise remains unresolved, e.g. on unexpected child process termination. This cause to prevent cache updates - Reworked style processing for preloader
2.0.0-beta.6
- Fixed config processing in model-free mode
- Improved timings info in
/cachez
- Added
--no-check-cache-ttl
option for server
2.0.0-beta.5
- Fixed crash on temporary cache files cleanup and related improvements
- Reworked model data cache settings:
cacheTtl
can take a cron expression as a value, e.g.0 2 * * *
deprecates every day at 02:00 GMTcacheBgUpdate
can take a boolean (enabled or disabled) and"only"
value. When"only"
is specified, manual cache reset is not available- Background updates are scheduling based on
cacheTtl
setting
- Added
warnings
field on model config normalization, which contain all issues around config if any - Renamed
--cleanup
build option into--clean
- Added
--cache-check-ttl
option for build and archive commands - Added passing
meta
from model's config to model's context
2.0.0-beta.4
- Add
--tmpdir
option to customise a dir for data cache temp files
2.0.0-beta.3
- Fix bundling in
@discoveryjs/discovery
itself
2.0.0-beta.2
- Boosted build by using
esbuild
and streaming writing - Improved and simplified serve
- Improved cache subsystem
- Added
--cors
option for server to disable CORS, i.e. allow data fetching for any origin - Fixed
darkmode
default value for index page when option is not set up in config - Fixed selector isolation for rules in
@keyframes
- TBD