Comments (2)
Didn't know where else to leave it but here's a high-level list of the major changes in 2.0 after looking through the commits:
Major Changes
- React 17 Compatibility - Remove deprecated lifecycle events, transition most components to functional components using hooks
- RoughJS is now optional
-
- You need to import RoughJS (or anything that follows its pattern) and send that as the
sketchyRenderingEngine
prop of a frame for it to honor therenderMode
options that were honored automatically in 1.0
- You need to import RoughJS (or anything that follows its pattern) and send that as the
- Dramatically Improved Build and Tooling
** "Areas" inXYFrame
are now "Summaries" which meansareas
->summaries
,canvasAreas
->canvasSummaries
, etc - Removed download data functionality
Moderate changes
- Canvas progressive rendering is improved
-
- Progressive rendering can be disabled via the
disableProgressiveRendering
prop on a frame
- Progressive rendering can be disabled via the
- Trendline can now show the formula as a decoration via
showSlope: true
in the summary object - Pass raw event to interaction events
- Add IQR viz to violin via
iqr: true
in the type object - Multipart Violin via
subsets: fn => { returns filterAppliedOnViolinData }
on the summaryType allows you to draw more than one violin plot overlapping on the same column - 1.5IQR Outliers for Boxplot via
outliers: true
on the summaryType that pulls all points outside of 1.5 IQR and draws them as individual points outside the whiskers. - Clickable Legend Events
lineBounds
summaryType in XYFrame (to create bounding regions around a line) takesboundingAccessor
(when bounds above and below are the same),topBoundingAccessor
andbottomBoundingAccessor
to let you draw asymmetric bounding regions around a line.filterRenderedNodes
,filterRenderedLines
,filterRenderedPoints
,filterRenderedSummaries
props on NetworkFrame and XYFrame that take a filter function and will apply the filter on the drawn viz after it's been created (useful for filtering Partition layouts and things like that)- frameRenderOrder allows you to change the render order of elements in frames (you can even render them twice if you want them to sandwich another layer of elements) takes an array of any or all (with duplicates) of these values:
["axes-tick-lines", "viz-layer", "matte", "axes-labels", "labels"]
which you can rearrange.
Originally posted by @emeeks in #556 (comment)
from semiotic.
It probably makes sense to use conventional-changelog to auto-regenerate CHANGELOG.md
and have it be a comprehensive history of changes.
To capture these higher level changes, let's create migrate2.mdx
doc to highlight steps to migrate along with key changes in different project areas. #590
from semiotic.
Related Issues (20)
- Use Vercel to deploy developer documentation for latest HOT 2
- Decide whether to consolidate semiotic and semiotic-docs repo HOT 8
- Check if auto-external plugin can warn us about import errors
- Add to contributing doc when to upgrade dependencies.
- Run typescript checks in CI
- Add documentation issues from archived repo
- oSort with connectors causes issues in OrdinalFrame
- Add Migration Guide for 1.0 users
- Replace element-resize-event HOT 5
- Sorting in OrdinalFrame Doesn't Work With Dynamic Column Width
- Frames' space allocation behavior can be generalized
- Bundled size quite large HOT 3
- Canvas Rendering Doesn't Initially Render HOT 3
- Remove redundant attribute [Was: class and className entries] HOT 1
- Transition tooltip position HOT 1
- More position options for the legend HOT 3
- How to use with nteract?
- Ability to specify width in terms of percentage
- Some of the website pages are fully blank
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semiotic.