Jonathan Gray
maxalbert
James Harrison
Thingus
dependabot-support
Bhavin Panchal
Dan Williams
OwlHute
flowstef
Guilherme Zagatti
Christopher J Brooks
The Gitter Badger
2023-01-11
1.18.0
Added
<ul>
<li>Added views <code>etl.ingested_state</code>, <code>etl.available_dates</code> and <code>etl.deduped_post_etl_queries</code> in FlowDB, for convenient extraction of relevant information from the ETL tables. <a href="https://github.com/Flowminder/FlowKit/issues/5641">#5641</a></li>
<li>Added <code>MajorityLocationWithUnlocatable</code> query class and <code>majority_location</code> function. <a href="https://github.com/Flowminder/FlowKit/issues/5720">#5720</a></li>
</ul>
Changed
<ul>
<li><em>Important</em>; tokens issued by previous versions of Flowauth are not compatible with this version. Users will need to regenerate tokens using the updated Flowauth.</li>
<li>Move from <code>groups</code> to <code>roles</code> in flowauth; see <a href="https://github.com/Flowminder/FlowKit/pull/5163#issuecomment-1216480419">here</a> for full details. <a href="https://github.com/Flowminder/FlowKit/pull/5163">#5613</a></li>
<li>Changed <code>AIRFLOW__CORE__SQL_ALCHEMY_CONN</code> env var to <code>AIRFLOW__DATABASE__SQL_ALCHEMY_CONN</code></li>
<li>RoleScopePicker component redesigned and reimplemented.</li>
<li>Docs now recommend creating a separate bind mount for airflow scheduler logs, and include this in the secrets quickstart. <a href="https://github.com/Flowminder/FlowKit/issues/3622">#3622</a></li>
<li><code>jwt</code> tokens now use <code>sub</code> instead of <code>identity</code> for <code>JWT_IDENTITY_CLAIM</code>.</li>
<li>A <code>majority_location</code> query with <code>include_unlocatable=True</code> will now include rows for all subscribers in the <code>subscriber_location_weights</code> sub-query, including those for whom all weights are negative (previously subscribers with only negative weights were excluded).</li>
</ul>
Fixed
<ul>
<li>Fixed a potential deadlock when using a small connection pool and <code>store</code>-ing queries</li>
<li>AutoFlow can now be run in a docker container with non-default user. <a href="https://github.com/Flowminder/FlowKit/issues/5574">#5574</a></li>
<li>Passing an empty list of events tables when creating a query now raises <code>ValueError: Empty tables list.</code> instead of a <code>MissingDateError</code>. <a href="https://github.com/Flowminder/FlowKit/issues/436">#436</a></li>
<li>Flowmachine now looks at only the most recent state (per CDR type per CDR date) in <code>etl.etl_records</code> to determine available dates. <a href="https://github.com/Flowminder/FlowKit/issues/5641">#5641</a></li>
<li>It is now possible to run API queries that include multiple different aggregation units (e.g. <code>joined_spatial_aggregate</code> with <code>displacement</code> metric). <a href="https://github.com/Flowminder/FlowKit/issues/4649">#4649</a></li>
<li>Demo roles can now be used in <code>worked_examples</code>. <a href="https://github.com/Flowminder/FlowKit/issues/5735">#5735</a></li>
</ul>
Removed
<ul>
<li>Removed the <code>include_unlocatable</code> parameter from <code>MajorityLocation</code> class (the <code>majority_location</code> function should be used instead if <code>include_unlocatable</code> is required). <a href="https://github.com/Flowminder/FlowKit/issues/5720">#5720</a></li>
</ul>
https://doi.org/10.5281/zenodo.7524976
oai:zenodo.org:7524976
Zenodo
https://github.com/Flowminder/FlowKit/tree/1.18.0
https://zenodo.org/communities/covid-19
https://doi.org/10.5281/zenodo.3695726
info:eu-repo/semantics/openAccess
Other (Open)
Flowminder/FlowKit: 1.18.0
info:eu-repo/semantics/other