All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added
DataExportService
andImageDownloadService
to enable graph image downloads from Temperate.
- Added new
...IndicatorDistanceQueryParams
types for providing an optionaldistance: number
parameter for Lat/Lon climate data queries.
- IndicatorQueryOpts no longer contains the
city: City
property - IndicatorService.getData method signature is now
(city: City, options: IndicatorQueryOpts)
. This was done to simplify types and maintain consistency with the new IndicatorService method for lat/lon requests.
IndicatorService.getDataForLatLon(point: Point, options: IndicatorQueryOpts)
. This method supports querying via the new API endpoint added for lat/lon requests.
- Make line graph data scrubber compatible for evergreen browsers
- Export cache service for public use
- Export ModelModalComponent for direct use outside of this library
- Rework ModelModalComponent filtering and hiding behavior to avoid triggering updates when parent chart has been removed from DOM
- Use scenario alias as toggle button label
- Switched to using peerDependencies for Angular & Angular libraries
- Fix broken build caused by Travis regression
- Initialize model modal with empty list
- Re-add removed ModelModalComponent.modalShow method to fix stale model list on modal open
DEPRECATED: Use 0.2.8 instead, this build introduces a regression in ModelModalComponent
- Removed ModelModalComponent.modalShow() method in template breaking AOT build
DEPRECATED: Use 0.2.8 instead, this build will fail to AOT compile
- IndicatorService.getData no longer passes an empty
models
query parameter - ModelModalComponent no longer unnecessarily requests data when opening modal
- Made ModelModalComponent.modalOptions public to fix AOT builds
- Removed imports with side effects that could lead to a bug in type checking observables in the caching service implemented in 0.2.3
- The following services now use an in-memory cache for their
list()
methods to reduce network traffic:- ClimateModelService
- DatasetService
- HistoricRangeService
- IndicatorService
- ScenarioService
- A BsModalOptions configuration can now be passed to ModelModalComponent via the
[config]
binding
- HistoricPercentile extra param now limited to a list of dropdown choices: 1, 5, 95, 99
- PercentileHistoricComponent and HistoricComponent now automatically choose a sensible dropdown default for the historic baseline parameter
- Extreme Cold Events is now properly classified as both a historic and percentile Indicator
- PercentileHistoricComponent, which controls both historic range and percentile extra parameters
- Precipitation threshold units, which are now rates in the API
- ChartsModule, which exports components useful for creating time series charts via the Climate API
- CHANGELOG
- Initial Release
- ApiModule, which exports a public interface for using the Climate API in Angular