Skip to content

Releases: Flowminder/FlowKit

1.5.1

07 Apr 15:40
73fd3cb

Choose a tag to compare

Added

  • FlowClient now displays a progress bar when waiting for a query to ready, indicating how many parts of that query still need to be run.

1.5.0

06 Apr 21:18
ec25afa

Choose a tag to compare

Added

  • Added a flowclient Query class to represent a FlowKit query #1980.
  • Added method flowclient.Connection.update_token, to replace the API token for an existing connection.

Changed

  • The names of flowclient functions for generating query specifications have been renamed to <previous_name>_spec (e.g. flowclient.modal_location is now flowclient.modal_location_spec).
  • flowclient.get_status now returns "not_running" (instead of raising FileNotFoundError) if a query is not running or completed.
  • Flowclient functions location_event_counts_spec, meaningful_locations_aggregate_spec, meaningful_locations_between_label_od_matrix_spec, meaningful_locations_between_dates_od_matrix_spec, flows_spec, unique_subscriber_counts_spec, location_introversion_spec, total_network_objects_spec, aggregate_network_objects_spec, spatial_aggregate_spec and joined_spatial_aggregate_spec have moved to the flowclient.aggregates submodule.

1.4.0

18 Mar 12:18
b1243a5

Choose a tag to compare

Added

  • FlowAPI can now return results in CSV and GeoJSON format, FlowClient now supports getting GeoJSON formatted results. #2003

1.3.3

17 Mar 10:29
e9b02c2

Choose a tag to compare

Added

  • FlowAPI now reports the proportion of subqueries cached for a query when polling. #1202
  • FlowClient now logs info messages with the proportion of subqueries cached for a query when polling. #1202

Fixed

  • Fixed the display of deeply nested permissions for flows in FlowAuth. #2110

1.3.2

13 Mar 14:01
9eda550

Choose a tag to compare

Fixed

  • Fixed tokens which used the FlowAuth demo data not being accepted by FlowAPI. #2108

1.3.1

10 Mar 16:00
3eeb952

Choose a tag to compare

Changed

  • Flowmachine now uses an enum for interaction direction parameters (but will still accept them as strings). #357

Removed

  • Removed unused aggregates, results and features schemas from FlowDB. #587

1.3.0

04 Mar 11:56

Choose a tag to compare

Added

  • Improved UI for API permissions in FlowAuth.

Changed

  • The format of user claims expected has changed from a dictionary, to string based format. FlowAPI now expects the claims key of any token to contain a list of scope strings.
  • Permissions for joined spatial aggregates can now be set at a finer level in FlowAuth, to allow administrators to grant access only to specific combinations of query types at different aggregation units.
  • FlowAuth no longer requires administrators to manually configure API routes, and will extract them from a FlowAPI server's open api specification.
  • FlowAuth now uses structlog for log messages.
  • FlowAPI no longer mandates a top level aggregation_unit field in query specifications.
  • FlowClient's flows and modal_location functions no longer require an aggregation unit.

Removed

  • The poll type permission has been removed, and is implicitly granted by both read and get_result rights.
  • FlowAuth no longer allows administrators to specify the name of a FlowAPI server, and will instead use the name specified in the server's open api specification.

1.2.1

03 Mar 15:59

Choose a tag to compare

Fixed

  • Queries which have been removed Flowmachine's cache, or cancelled can now be rerun. #1898

1.2.0

02 Mar 12:36

Choose a tag to compare

Added

  • FlowMachine can now use multiple FlowDB backends, redis instances or execution pools via the flowmachine.connections or flowmachine.core.context.context context managers. #391
  • flowmachine.core.connection.Connection now has a conn_id attribute, which is unique per database host. #391
    @ -14,8 +24,6 @@ The format is based on Keep a Changelog.
  • flowmachine.connect no longer returns a Connection object. The connection should be accessed via flowmachine.core.context.get_db(). #391
  • connection, redis, and threadpool are no longer available as attributes of Query, and should be accessed via flowmachine.core.context.get_db(), flowmachine.core.context.get_redis() and flowmachine.core.context.get_executor(). #391

1.1.1

17 Feb 12:41
488b413

Choose a tag to compare

Added

  • Added a worked example to demonstrate using joined spatial aggregate queries. #1938