Skip to content

Latest commit

 

History

History
175 lines (144 loc) · 4.34 KB

File metadata and controls

175 lines (144 loc) · 4.34 KB

Changelog

[Unreleased]

Changed

  • upgrade dependencies
  • upgrade black to 26.x

[0.9.2] 2025-10-15

Changed

  • migrate to serverless 4
  • set serverless to python 3.12
  • migrate pyproject.toml to PEP508
  • ensureCI/CD workflows use minimum install footprints
  • less logging verbosityd
  • update to latest nzhms-common, nzshm-model, solvis libs

[0.9.1] 2025-10-07

Changed

  • python 3.12 for AWS deployment only
  • AWS deployment now uses the docker ECR container
  • update advisories (from dependabot/safety)
  • node serverless package updates
  • poetry package update
  • move to graphql-server project for GraphQLView
  • fix for new schema error - default_value cannot be mutable type;
  • migrate to solvis@v1.1.0

Added

  • safety vulnerablity scanner (use requires reg/login)
  • docs for use of audit tools
  • more test coverage
  • new cli_ab_test script for comparing live API outputs. This uses sgql and deepdiff libraries.
  • new client package contains API clients built using sgqlc

Removed

  • solvis_store dependency
  • unused sort argument on parent_fault_names()
  • unused workflow release.yml
  • mkdocs and related plugins

[0.9.0] - 2024-07-22

Changed

  • Composite archive now loaded from data_store package (reduces deployment footprint)
  • data_store package provides the PynamoDB model BinaryLargeObject and a wrapper that class that provides manages the blob storage with S3.
  • AWS runtime is now python3.10

Added

  • a cli script for uploading CompositeSolution archives

[0.8.7] - 2024-07-04

Changed

  • updated dependencies -solvis=0.12.3
    • solvis_store=2.0.4
    • nzshm-model = ">=0.6.0"
    • nzshm-common = ">=0.7.0"
  • using new wrapped solvis functions / enums
  • fixed test bug with clear_cache()

[0.8.6] - 2024-06-12

Added

  • More type hinting for composite_solution/cached.py
  • Testing against Python 3.10, 3.11

Changed

  • Update to use solvis 0.11.1
  • Update to use solvis-store 2.0.3
  • Update to use nzshm-model 0.4.0

Removed

  • Testing against Python 3.7, 3.8

Fixed

  • parent_fault_names passes through sorting parameter

[0.8.5] - 2023-08-02

Changed

  • solvis-store == v2.0.2
  • added pynamoDB / solvis store test cover
  • fix get_rupture_ids_for_location_radius_stored logic

[0.8.4] - 2023-07-19

Added

  • version config for package.json

[0.8.3] - 2023-07-19

Added

  • new filter_set_options argument
  • sane defaults for location_radius & fault_name set ops
  • using solvis-store cache for fault_name filtering

Changed

  • updated upstream solvis libs
  • removed monkeypatching for solvis/solvis-store

[0.8.2] - 2023-07-04

Changed

  • added list support for corupture queries

[0.8.1] - 2023-07-03

Changed

  • remove alpha from hexrgb color strings to improve geojson portability

[0.8.0] - 2023-06-28

Added

  • optional filter argument for co-rupture analysis.
  • new resolver get_parent_fault_names

[0.7.2] - 2023-05-09

Changed

  • fix color scale for all puy

[0.7.1] - 2023-05-09

Changed

  • new mfd_histogram resolver (to solvis method)

[0.7.0] - 2023-05-08

Changed

  • new mfd_histogram resolver uses rate_weighted_mean.sum instead of .mean

Added

  • more test coverage

[0.6.0] - 2023-05-05

Added

  • composite_rupture_sections resolver
  • mfd_histogram resolver
  • color_scale resolver

Changed

  • now using zipped dependencies for AWS
  • update werkzeug>=2.3 to fix watchdog[inotify] spurious reloads

[0.5.2] - 2023-04-28

Changed

  • update solvis 0.7.0
  • replace embedded solution file
  • handle fill style properly
  • remove rounding on rupture rate attributes

[0.5.1] - 2023-04-25

Added

  • add version to about resolver
  • added solvis-store
  • use solvis-store for rupture-ids (TEST env only)

Changed

  • updated serverless npm modules
  • updated nzshm-common, nzshm-model, solvis

[0.5.0] - 2023-04-13

Added

  • location_by_id root query

Changed

  • location_code -> location_id
  • code -> location_id

[0.4.0] - 2023-04-12

Added

  • filter_ruptures query
  • sorting for filter_ruptures

[0.3.0] - 2023-04-06

Added

  • CompositeSolution model
  • CompositeRuptureDetail models
  • relay pagination
  • style option on fault_surfaces

[0.2.0] - 2022-??-??

Added

  • InversionSolutoin

[0.0.1] - 2022-??-??

Initial release of the NZ NSHM 2022 revision