Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed May 15, 2023
1 parent ca565a5 commit 1b99782
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# Observable Plot - Changelog

## 0.6.7

*Not yet released. These are forthcoming changes in the main branch.*

The new tip mark renders annotations in a floating box attached to a given anchor position in **x** and **y**.

The new pointer interaction dynamically filters a mark such that only the instance closest to the pointer is displayed. This interaction is often paired with the tip mark to reveal more information about the datum closest to the pointer, say when hovering a scatterplot or line chart.

The new **tip** mark option… When the **tip** option is truthy, the **title** channel is no longer applied using an SVG title element; instead it is rendered via the tip mark.

The auto mark sets the **tip** option to true by default.

The new **render** transform mark option.

The new crosshair mark.

Time intervals can now be specified as integer multiples of a base time interval, such as *3 months* or *10 years*.

The new **imageFilter** mark option.

Mark transforms are now passed the plot’s *options* as a third argument. This allows the group, bin, and stack transforms (and other transforms) to check if the scale has a declared **interval** option, and if so, apply that interval before grouping.

The autoSpec method now returns the name of the explicit mark and transform implementations as **markImpl** and **transformImpl** respectively, along with the **markOptions** and **transformOptions** needed to instantiate them.

Ordinal scales are now smarter about choosing a default time format when the **interval** option is a yearly interval: the four-digit year is (YYYY) shown instead of year, month, and day (YYYY-01-01).

The normalize and window transforms now accept two-argument “index-aware” reducers. TODO The map transform should now accept a two-argument map method, too.

Fix a bug where the frame mark would crash if a channel-eligible option such as **fill** were specified as an invalid CSS color string, such as *bluez*. The frame mark now supports channel-eligible options to be specified as abstract values, in which case the abstract values will be encoded using a scale; for example, setting **fill** to *Biscoe* would apply an *ordinal* *color* scale.

Fix a bug when filtering facets and computing facet anchors with non-primitive facet domains, such as dates.

Fix a bug where the position defaults for the rectX, rectY, barX, and barY marks were only applied if the *options* object was strictly undefined; now the position defaults apply if the relevant position options are undefined.

Fix *z*-order across facets. Fix *z*-order of facet axes, which should be drawn below rather than above other marks, as with other axes.

The mapX transform now defaults **x** to identity if none of **x**, **x1**, and **x2** are specified; the mapY transform does the same for **y**.

TODO Change to maybeOptionalZero when **x** is strictly null?

The plot context now exposes the ownerSVGElement.

When faceting, the plot dimensions now includes **facet**.**width** and **facet**.**height** for the plot’s outer dimensions.

Derived channels can now declare **source** and **hint** options which are used by the tip mark.

## 0.6.6

[Released April 26, 2023.](https://github.com/observablehq/plot/releases/tag/v0.6.6)
Expand Down

0 comments on commit 1b99782

Please sign in to comment.