In this update, we’ve introduced a new endpoint, updated glazing carbon intensities, and refactored the unit conversion approach to reduce rounding artifacts.
New GET Version Endpoint
We added a new
GET /api/version
endpoint that provides the latest version and deployment time. This endpoint is not counted against a token.
Carbon Intensities Updates
The carbon intensities for framing materials in glazing assemblies have been updated. In a peer review process with an API user, they identified that we were undercounting steel used in these assemblies as we were excluding the brackets, connectors, and misc. hardware required to attach the glazing back to the building. This change is highest for steel-framed glazing units, and may be higher than 10% in some geographies.
Backend Refactors
We re-factored the unit conversion process to mitigate rounding errors associated with
ingress_unit_system
. Previously, the need to perform unit conversions with the data model would lead to annoying rounding errors, where an request value of 100.0 might appear in the response object as 100.00000000001. We re-factored the unit conversion process so that input units are explicitly declared within the calculation, providing both "unit safety" and preventing some of these bummer rounding artifacts.