changelog/v9.2.0.md
The 9.2 release fixes a number of rendering issues and introduces a few new features. OGC tile sources now support collections selection. Snap events are now more consistent (see below). Type annotations continue to improve, and documentation and examples got a number of updates.
snap event's feature property is now never nullPreviously, listeners for the Snap interaction's snap event received null as value for the feature property when snapped to a segment. Now, the value of the feature property is always set to the snapped feature.
To distinguish between a vertex and a segment snap, look at the snap event's segment property. It will set to null on a vertex snap, and to the snapped segment on a segment snap.
See below for a complete list of features and fixes.