v.1.21.0 Exposition Blvd
Vision Zero Database
- Add trigger to set austin_full_purpose (#1007) @mateoclarke
- Resolve comprehensive cost sum for locations (#1004) @frankhereford
- Re-write get_location_totals() (#1003) @frankhereford
- get_locations_totals() received a signature change during this release; one no longer specifies the comprehensive cost of a non-CR3 crash in its invocation; it will find the correct value out of
atd_txdot__est_comp_cost_crash_based
.
- get_locations_totals() received a signature change during this release; one no longer specifies the comprehensive cost of a non-CR3 crash in its invocation; it will find the correct value out of
- Address issue in get_location_totals() function (#1002) @frankhereford
Vision Zero Editor
- Update VZD and VZE to compute, track and display crash based comprehensive costs (#1011) @frankhereford
- Allow searching for crashes outside AFP / city_id 22 (#1014) @frankhereford
- New dashboard widget with comp cost update notice (#1012) @frankhereford
- Change formatting for comp-cost and economic-cost to currency (#1005) @frankhereford
- Adds user last login & login count to Users table (#983) @mateoclarke
Vision Zero Events
- Update to lambda function to associate SVRD, directional crashes to polygons (#1013) @frankhereford
Vision Zero Viewer
- Make list order of travel modes consistent (#1001) @jgabitto
- Modify VZD export for Socrata to exclude private drive crashes (#1006) @frankhereford
- Change link in data section of footer in VZV (#1000) @jgabitto
- Enhancements to crash info popup (#999) @jgabitto
Library version maintenance
- Bump urllib3 from 1.25.9 to 1.26.5 in /atd-events/crash_update_location (#996) @dependabot
- Bump urllib3 from 1.25.8 to 1.26.5 in /atd-cr3-api (#995) @dependabot
- Bump rsa from 4.0 to 4.7 in /atd-cr3-api (#985) @dependabot
- Bump jinja2 from 2.11.1 to 2.11.3 in /atd-cr3-api (#979) @dependabot
- Bump pyyaml from 5.3 to 5.4 in /atd-cr3-api (#981) @dependabot
- Bump flask-cors from 3.0.8 to 3.0.9 in /atd-cr3-api (#987) @dependabot
- Bump ua-parser-js from 0.7.19 to 0.7.28 in /atd-vze (#988) @dependabot
- Bump elliptic from 6.5.3 to 6.5.4 in /atd-vze (#977) @dependabot
- Bump y18n from 3.2.1 to 3.2.2 in /atd-vze (#982) @dependabot
- Bump ssri from 6.0.1 to 6.0.2 in /atd-vze (#984) @dependabot
- Bump handlebars from 4.5.3 to 4.7.7 in /atd-vze (#989) @dependabot
- Bump url-parse from 1.4.7 to 1.5.1 in /atd-vze (#990) @dependabot
- Bump lodash from 4.17.19 to 4.17.21 in /atd-vze (#991) @dependabot
- Bump hosted-git-info from 2.7.1 to 2.8.9 in /atd-vze (#992) @dependabot
- Bump chart.js from 2.8.0 to 2.9.4 in /atd-vze (#993) @dependabot
- Bump dns-packet from 1.3.1 to 1.3.4 in /atd-vze (#994) @dependabot
- Bump merge-deep from 3.0.2 to 3.0.3 in /atd-vze (#997) @dependabot
- Bump postcss from 7.0.16 to 7.0.36 in /atd-vze (#998) @dependabot
Deployment Notes
Changes to the database
- Add new column to atd_txdot_blueform (SQL)
- Grant
editor
INSERT, SELECT & UPDATE in Hasura for new field. - Grant
readonly
SELECT on new field.
- Grant
- Add new column to atd_txdot_crashes (SQL)
- Grant
editor
INSERT, SELECT & UPDATE in Hasura for new field. - Grant
readonly
SELECT on new field.
- Grant
- Create and populate
atd_txdot__est_comp_cost_crash_based
(SQL)- Track this in Hasura and grant SELECT to
editor
andreadonly
- Track this in Hasura and grant SELECT to
- Update the atd_txdot_crashes_updates_audit_log() function (SQL)
- We had discussed the need to drop and recreate the trigger that invokes this function, but the
CREATE AND REPLACE
syntax avoids this requirement.
- We had discussed the need to drop and recreate the trigger that invokes this function, but the
- Cause the audit log function to be invoked on every crash in the database.
- Most easily, this query will do this task, but consideration should be taken with regards to load on the database at the time of the operation. Based on testing in the staging database, a 20 minute execution time should not be unexpected.
update atd_txdot_crashes set est_comp_cost_crash_based = 1;
- Update the
view_location_injry_count_cost_summary
view (SQL) - Update the
view_location_crashes_global
view (SQL) - Update the
get_location_totals()
function. This will need to be untracked in Hasura, dropped, and recreated due to the signature change resulting from the removal of one of this functions arguments. (SQL) - Create
cr3_nonproper_crashes_on_mainlane
(SQL)- Track this view in Hasura and grant SELECT permission to EDITOR and READONLY