Skip to content

Releases: discoveryjs/discovery

1.0.0-beta.62

14 Oct 14:11
Compare
Choose a tag to compare
  • Fixed code highlighting in source view
  • Added alias jora for discovery-query syntax (used in source and markdown)
  • Added anchor support for headers and anchor option to enable it
  • Added anchor support for headers in markdown view and anchors option to disable it
  • Changed hstack to use flexbox for layout
  • Added image view
  • Changed image-preview to behave as image but with chess background
  • Added lineNum option to the source view
  • Fixed position highlighting in query editor on lexical error

1.0.0-beta.61

01 Apr 11:58
Compare
Choose a tag to compare
  • Fixed preloader's block disability in some cases due to underlaying
  • Fixed hanging on push mode loading when no data is provided (model-free mode build as a single file)
  • Removed style's applying to a container on App init
  • Changed Widget's init to set a container last
  • Exposed navButtons as extensions: indexPage, reportPage, loadData, inspect and darkmodeToggle

1.0.0-beta.60

21 Mar 21:25
Compare
Choose a tag to compare
  • Fixed report page vertical scrolling issue when a pointer over an editor
  • Added data-page attribute on widget's root with current pageId as a value
  • Changed layout to rely on --discovery-page-padding-top/right/bottom/left custom properties

1.0.0-beta.59

11 Mar 01:44
Compare
Choose a tag to compare
  • Fixed view's editor layout on report page when viewport is too narrow

1.0.0-beta.58

05 Mar 17:35
Compare
Choose a tag to compare
  • Fixed source view supported syntaxes to list modes with no mime
  • Fixed editor's hint popup positioning when widget is not fit into the page bounds
  • Added options parameter for loadDataFromUrl() with following options:
    • fetch – is passing as is into fetch() as second argument
    • isResponseOk(response) – a function to check response is ok
    • getContentSize(url, response) - a function to determine a size of decoded content
    • validateData(data) - a function to check payload is valid response data, must throw an error if data is invalid
  • Changed Widget#setContainer() to append only if container is an instance of Node

1.0.0-beta.57

04 Mar 16:52
Compare
Choose a tag to compare
  • Fixed regression in struct view when click events aren't handled
  • Added --discovery-nav-height as compliment for --discovery-nav-width
  • Added Widget#nav.replace() method
  • Exposed (re-export) inspector default exports
  • Added inspector option for Widget to allow disable inspector if needed
  • Added router option for App to allow disable router if needed
  • Added resolveValueLinks() and query() methods to prepare handler API (i.e. discovery.setPrepare((data, { resolveValueLinks, query }) => ...))
  • Added rollbackContainerStyles() util function

1.0.0-beta.56

01 Mar 16:54
Compare
Choose a tag to compare
  • Fixed extra params encoding on report page
  • Added base64 encoding/decoding for extra params when parameter name ends with -b64 on report page

1.0.0-beta.55

17 Feb 18:27
Compare
Choose a tag to compare
  • Added "Views showcase" to header of view editor form on report page
  • Exposed injectStyles() helper
  • Added progress view
  • Removed Shadow DOM usage in progressbar and re-use progress styles
  • Changed preloader to create a container (with Shadow DOM) for its content
  • Added styles option for preloader, the same as for Widget/App constructors
  • Added lib/preloader.css and dist/discovery-preloader.css to the package

1.0.0-beta.54

15 Feb 18:39
Compare
Choose a tag to compare
  • Fixed premature render when Widget#setDataProgress() is used, which resulted in double page rendering
  • Fixed double report page rendering on data load in model-free mode
  • Fixed crash on Chromium when process is running with strict CSP settings, due to false positive detection of localStorage access (local variable localStorage was renamed into something neutral)
  • Fixed extra newline at the ending of code blocks in markdown view

1.0.0-beta.53

05 Feb 17:14
Compare
Choose a tag to compare
  • Reworked to use esbuild for bundling
  • Reworked to use Shadow DOM for style and event isolation
  • Added preloader
  • Removed quick inspection mode for now, due to annoying in various use cases
  • Added JSON parser from json-ext library, that's adds support for JSON greater than 512MB on V8
  • Improved UX when data loading from a file by showing progress bar
  • Added App#loadDataFromStream() and App#loadDataFromFile() methods
  • Added unsubscribe as a second parameter for publisher's subscriber handler
  • Changed source view to highlight using CodeMirror only
  • Enabled source view syntaxes can be observed on #views-showcase:source page
  • Removed Prismjs and related dependencies
  • Moved source view to regular views, dropped complexViews from exports