← Back to changelog

gp-grid v0.16.0

·GitHub release

This release renames the data source fetch method to query. The old name misled security tooling into flagging the grid for network connectivity it does not have, so the method is now called what it actually does.

Breaking changes

DataSource.fetch has been removed in favour of DataSource.query. The signature is unchanged — only the name differs.

Migration guide

Rename the method on any custom data source implementation:

// Before (v0.15.x)
const dataSource = {
  fetch: async (params) => loadRows(params),
};

// After (v0.16.0)
const dataSource = {
  query: async (params) => loadRows(params),
};

If you call the method directly, update the call sites the same way. No other API changed in this release.

For the complete list of changes, see the GitHub release.