Skip to content

Releases: discoveryjs/discovery-cli

2.0.0-beta.9

04 Mar 16:46
Compare
Choose a tag to compare
  • Added inspector and router options in model's view config
  • Changed prepare 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.
  • Added support for a common prepare function. When modelBaseConfig.prepare is set it invokes for every model, right before model's prepare 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

01 Mar 21:27
Compare
Choose a tag to compare
  • Fixed bundling failure due to changes on absolute path resolving in esbuild 0.8.51

2.0.0-beta.7

17 Feb 18:24
Compare
Choose a tag to compare
  • 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

12 Feb 16:42
Compare
Choose a tag to compare
  • 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

11 Feb 15:46
Compare
Choose a tag to compare
  • 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 GMT
    • cacheBgUpdate 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

08 Feb 16:46
Compare
Choose a tag to compare
  • Add --tmpdir option to customise a dir for data cache temp files

2.0.0-beta.3

08 Feb 16:44
Compare
Choose a tag to compare
  • Fix bundling in @discoveryjs/discovery itself

2.0.0-beta.2

08 Feb 16:43
Compare
Choose a tag to compare
  • 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

1.15.0

11 Nov 21:57
Compare
Choose a tag to compare
  • Added --no-bg-update option for server
  • Fixed issue with broken Custom Properties in CSS

1.14.3

04 Nov 10:56
Compare
Choose a tag to compare
  • Replaced local patched version of css-tree for release version 1.0.0