Query renames and a new template for custom specs
Apr 1, 2022
- Morphware and DIVA Polygon query names changed — Two query types were renamed this week, which means existing integrations need to update how they identify them. Morphware now replaces `AwsSpotPrice`, and DIVA Polygon now uses `DIVAProtocolPolygon` with an updated JSON format.
- New template for creating custom query types — A new query type template was added to make it easier to define custom data specs. It walks through required parameters, response formats, examples, and how query data and query IDs should be structured.
Breaking Changes
- Renamed the AWS spot price query to Morphware, including a new version parameter and array-based response format.
- Renamed the DIVA Polygon query to DIVAProtocolPolygon and updated its JSON structure.
- Replaced legacy query descriptor guidance with the newer query data and query ID format.
New Features
- Added a reusable template for defining new query types, with clear guidance on parameters, response format, examples, and query ID setup.
Documentation
- Improved the main Tellor DataSpecs guide with clearer paths for users, reporters, and contributors.
- Updated links and wording throughout the README, including community links, setup resources, and reporter instructions.
- Refreshed query documentation for Morphware, SpotPrice, Snapshot, and Tellor price data to make examples and labels easier to follow.
- Clarified how to request price data or custom data, and how to find whether a query already exists before creating a new one.
Improvements
- Adjusted README layout and heading sizes for a cleaner reading experience.
- Standardized documentation filenames and wording for consistency.