@discoveryjs/cli
Advanced tools
Changelog
2.0.0-beta.9 (04-03-2021)
inspector
and router
options in model's view
configprepare
modules handling. Now a prepare
module should export a function instead of calling discovery.setPrepare()
method and no more discovery
(a reference to App
or Widget
instance) injected into module's scope.prepare
function. When modelBaseConfig.prepare
is set it invokes for every model, right before model's prepare
if any.Changelog
2.0.0-beta.8 (01-03-2021)
Changelog
2.0.0-beta.7 (17-02-2021)
runScript
promise remains unresolved, e.g. on unexpected child process termination. This cause to prevent cache updatesChangelog
2.0.0-beta.6 (12-02-2021)
/cachez
--no-check-cache-ttl
option for serverChangelog
2.0.0-beta.5 (11-02-2021)
cacheTtl
can take a cron expression as a valuecacheBgUpdate
can take a boolean (enabled or disabled) and "only"
value. When "only"
is specified, manual cache reset is not availablecacheTtl
settingwarnings
field on model config normalization, which contain all issues around config if any--cleanup
build option into --clean
--cache-check-ttl
option for build and archive commandsmeta
from model's config to model's contextChangelog
2.0.0-beta.4 (08-02-2021)
--tmpdir
option to customise a dir for data cache temp filesChangelog
2.0.0-beta.3 (05-02-2021)
@discoveryjs/discovery
itselfChangelog
2.0.0-beta.2 (05-02-2021)
esbuild
and streaming writing--cors
option for server to disable CORS, i.e. allow data fetching for any origindarkmode
default value for index page when option is not set up in config@keyframes
Changelog
2.0.0-beta.14 (15-02-2022)
fetch()
since Discovery can load stylesheets via <link>
without FOUC<link rel="preload">
) for CSS styles and the main module for a page--model-data-upload
option for --no-model-data-upload
for build
command