Skip to content

Releases: discoveryjs/discovery-cli

2.15.0

Choose a tag to compare

@lahmatiy lahmatiy released this 09 Jul 13:55
  • Added experimental support for bundled source code imports via with, e.g. import code from './path/to/module.js' with { type: 'text', bundle: 'esm' }, which allows importing source code as text to use for Web Workers.
  • Bumped esbuild to ^0.28.1
  • Changed Node.js support for >=18.0.0

2.14.7

Choose a tag to compare

@lahmatiy lahmatiy released this 24 Nov 19:14
  • Fixed data embedding into HTML during build
  • Fixed a rare crash when loading HTML-embedded data with compression enabled
  • Fixed exception handling during data embedding into HTML on build — previously, build failures were silent

2.14.6

Choose a tag to compare

@lahmatiy lahmatiy released this 31 Aug 20:29
  • Fixed JSONXL encoding of data in cache command

2.14.5

Choose a tag to compare

@lahmatiy lahmatiy released this 27 Aug 13:28
  • Fixed multi-model build on Windows

2.14.4

Choose a tag to compare

@lahmatiy lahmatiy released this 27 Aug 13:27
  • Updated JSONXL (--experimental-jsonxl option):
    • Fixed an edge case for signed numbers in the range ±[MAX_SAFE_INTEGER/2 … MAX_SAFE_INTEGER].
    • Removed the limitation that could trigger when the total encoded string length exceeded the maximum string length (~500 MB in V8)

2.14.3

Choose a tag to compare

@lahmatiy lahmatiy released this 02 Aug 17:52
  • Fixed height for main container (.discovery) on mobile devices by using dvh unit instead of vh

2.14.2

Choose a tag to compare

@lahmatiy lahmatiy released this 15 Apr 12:36
  • Fixed issue with loading parse-duration package, since it has no CJS support. The package was removed from dependencies.

2.14.1

Choose a tag to compare

@lahmatiy lahmatiy released this 15 Apr 12:34
  • Bumped dependencies (fixes npm audit warnings)

2.14.0 Introducing script mode build for models

Choose a tag to compare

@lahmatiy lahmatiy released this 22 Mar 01:40
  • Added basic script mode build for models:
    • Added support for script section in config, which enables model's script build
      modelConfig = {
        script: {
          // script.modules is the same as view.assets
          modules: ['path/to/module.js', ...]
        }
      }
    • Added new options for build: --script-names, --script-format and --script-format
  • Bumped esbuild to ^0.25.1

2.13.1

Choose a tag to compare

@lahmatiy lahmatiy released this 20 Jan 13:47
  • Fixed crash on build when model's data is used from a cache file (a regression introduced in 2.13.0)