bright-smartphone-11251
Evidence: Update to Latest Version
/ CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
bright-smartphone-11251
Evidence: Update to Latest Version
/ CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
N.B. the layout changes, while not breaking, will significantly update the styling in your project - we think for the better!witty-knife-4541
10/19/2023, 3:51 AMbright-smartphone-11251
bright-smartphone-11251
Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
bright-smartphone-11251
npm install --save @evidence-dev/labs@latest
a. add this line to your evidence.plugins.yaml
file: @evidence-dev/labs: {}
bright-smartphone-11251
Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
(edited)great-boots-39022
bright-smartphone-11251
echartsOptions
for Charts should be particularly exciting for anyone who was missing an option to get their chart "just right", eg Tooltips, Axis labels, Legends etc
• Fine-Control of Evidence Charts: using the new echartsOptions
property to adjust any eCharts options.
• Fuzzy Search for DataTable: so you can search across multiple fields, and similar keywords
• Long Horizontal Charts: are now denser and more consistent
Docs
• Cube.js is now supported: using their Postgres SQL API
Bugs
• Fix visual regressions in DataTable causing links to not be highlighted
• Templated pages now no longer _require_ an index.md page
• Very long charts render correctly
To update
• VSCode: Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
bright-smartphone-11251
where month='${input.selected_month}'
• Dropdown component: allowing end users to pick parameters - the first input component with more coming soon
• Multiple data sources: query and join data from multiple databases, flat files and / or other third party data sources
• Pluggable connectors and components: easily add your own custom sources
Docs & Guides
• New docs site for Universal SQL is live at docs.evidence.dev
• Legacy docs site accessible at legacy.docs.evidence.dev
• Migration guide - to assist with migrating your existing legacy Evidence project, and changing deprecated syntax
• VSCode migration script: to migrate legacy projects to USQL
Use Universal SQL
• Start a new Universal SQL project
• Migrate an existing Evidence projectbright-smartphone-11251
Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
To update (from <24.0.0)
• See the migration guide
<!channel>great-boots-39022
cd
into the Evidence folder
• Fixes
◦ Fixes templated page command for USQL projects
◦ More helpful error messages for NodeJS installation/version issues
◦ Minor updates to migration command
◦ Thanks to @hundreds-planet-70644 for the feedback on these!bright-smartphone-11251
/explore/schema
• Pass Through `read_csv()` Options so you can specify how to import CSV data
• SQL File Queries now Rerun Automatically without hard reloading the page after edits
Bug Fixes
• Allow Postgres to Connect using SSL ‘no-verify’
• Prevent MySQL Closing Prematurely
• Combine Duplicated SankeyDiagram and SankeyChart
• Allow Databricks Connector in USQL
• Allow Trino Connector in USQL
Guides
• Custom Data Source Plugins Template that you can fork to create your own data source
To update (from >=24.0.0)
• VSCode: Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
bright-smartphone-11251
Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
bright-smartphone-11251
npm run preview
• Multi Axis Support in Line and Bar Chart
• DataTable Total Rows and Custom Conditional Formatting which allows you to specify the colour scale
• Grid Layout brought across from Evidence Labs so you can make more dashboardy layouts
• US Map Enhancements to add Hawaii and Alaska, a legend, and custom color palettes
• More Uses Download Names for data and image downloads
Bug Fixes
• Query Viewer Order when Columns have Numeric Titles
• SSL Config for Postgres in Prod
• Type Information Alignment with USQL
• Better Chart Error Messages
• ChartAreaHeight Issue
• Handle Fully Null Boolean Columns
• Sankey Diagram Updated to add Library Features
Docs Updates
• How to `npm run sources` on a Subset of Sources
• Clearer Guidance on Chart Sorting
• Typo: ‘buil-in’ to ‘built-in’ (Thanks @srenatus)
To update (from >=24.0.0)
• VSCode: Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
(+ any source connectors you use)
<!channel>great-boots-39022
Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
(+ any source connectors you use)
<!channel>bright-smartphone-11251
Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
(+ any source connectors you use)
<!channel>great-boots-39022
sidebar_position
in frontmatter
• Dev-mode SQL console: run queries against the data in your app’s cache layer in development mode. Find it in the 3-dot menu at the top right of your project
• More informative dev mode errors: better feedback while developing, eliminating most page-crashing errors
• Improved background fetching and feedback on long running queries: new background loading process and loading notification for queries that take longer than 1 second to execute
• Revamped Accordion component: new design, improved accessibility, ability to open multiple accordion items at once
• Better axis sort control for Heatmap: new xSort
and ySort
options for Heatmap, plus ability to sort by other columns in your dataset. Thanks @millions-thailand-99935 and @able-yak-3257 for suggestions
• Improved support for environment variables: now you can include a .env
file in your Evidence project and any variables prefixed with EVIDENCE_
will be read into your project
• Bug fixes
◦ Fix bug which prevented searching sorted Datatables
◦ Correct sorting on numeric heatmap axis
◦ Fix bug which prevented navigation from the settings page
Breaking changes:
The syntax to access values from a Dropdown component has changed from ${<http://inputs.my|inputs.my>_query}
to ${<http://inputs.my|inputs.my>_query.value}
This also allows you to access the labels of the Dropdown through ${<http://inputs.my|inputs.my>_query.label}
Changelog: https://evidence.dev/changelog
To update
• VSCode: Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
(+ any source connectors you use)
<!channel>crooked-toothbrush-84019
03/12/2024, 1:06 PMsome-carpenter-73115
03/14/2024, 12:53 PMbright-smartphone-11251
${<http://inputs.my|inputs.my>_query.value}
now returns an ARRAY not a LIST, which means you can use where category in ${inputs.category.value}
• Layout fixes
◦ Now supports custom width via maxWidth
as well as fullWidth
◦ Logo has priority over title prop
◦ Mobile sidebar hidden as well (thanks @ancient-art-86905)
<!channel>
To update
• VSCode: Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
(+ any source connectors you use)great-boots-39022
node_modules
folder and package-lock.json
file before upgrading
• VSCode: Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
(+ any source connectors you use)bored-hairdresser-70019
node_modules
folder and package-lock.json
file before upgrading
• VSCode: Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
(+ any source connectors you use)dazzling-telephone-99947
03/29/2024, 7:54 AMgreat-boots-39022
Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
bored-hairdresser-70019
Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
great-boots-39022
defaultValue={['one', 'two']}
)
• HTML contentType for DataTable: now you can create fully custom cell content by using a Column with contentType=html
, including things like text styling (bold, italic, etc.), custom symbols, or conditional display logic
• Allow JSON columns in postgres and duckdb: these will now return a string rather than an object
• Slugified anchors for TOC links: when you click on a link in the table of contents, the URL will show a “slugified” version of the heading rather than a number
• Bug Fixes
◦ Fix to allow comments at end of source queries
◦ Fix echarts options updating
◦ Fix to standardize results in postgres
◦ Maintain correct font sizing when applying styles to headers
Full changelog: https://evidence.dev/changelog
To update
• VSCode: Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest
bright-smartphone-11251
npm info run lz4@0.6.5 install { code: 1, signal: null }
npm ERR! code 1
npm ERR! path /evidence-workspace/node_modules/lz4
npm ERR! command failed
Then this release will resolve it for youbright-account-7131
04/15/2024, 3:06 PMbored-hairdresser-70019
Evidence: Update to Latest Version
• CLI: npm install @evidence-dev/evidence@latest @evidence-dev/core-components@latest