Releases: discoveryjs/discovery
Releases · discoveryjs/discovery
1.0.0-beta.61
- 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
anddarkmodeToggle
1.0.0-beta.60
- Fixed report page vertical scrolling issue when a pointer over an editor
- Added
data-page
attribute on widget's root with currentpageId
as a value - Changed layout to rely on
--discovery-page-padding-top/right/bottom/left
custom properties
1.0.0-beta.59
- Fixed view's editor layout on report page when viewport is too narrow
1.0.0-beta.58
- 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 forloadDataFromUrl()
with following options:fetch
– is passing as is intofetch()
as second argumentisResponseOk(response)
– a function to check response is okgetContentSize(url, response)
- a function to determine a size of decoded contentvalidateData(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 ofNode
1.0.0-beta.57
- 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 forWidget
to allow disable inspector if needed - Added
router
option forApp
to allow disable router if needed - Added
resolveValueLinks()
andquery()
methods to prepare handler API (i.e.discovery.setPrepare((data, { resolveValueLinks, query }) => ...)
) - Added
rollbackContainerStyles()
util function
1.0.0-beta.56
- Fixed extra params encoding on
report
page - Added base64 encoding/decoding for extra params when parameter name ends with
-b64
onreport
page
1.0.0-beta.55
- 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-useprogress
styles - Changed preloader to create a container (with Shadow DOM) for its content
- Added
styles
option for preloader, the same as forWidget
/App
constructors - Added
lib/preloader.css
anddist/discovery-preloader.css
to the package
1.0.0-beta.54
- 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 variablelocalStorage
was renamed into something neutral) - Fixed extra newline at the ending of code blocks in
markdown
view
1.0.0-beta.53
- 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()
andApp#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, droppedcomplexViews
from exports
1.0.0-beta.52
- Added experimental
proxy
option forcontext
view - Changed
page-header
view to passonInit
andonChange
through to children - Various style fixes