Changelog¶
2024-09-25¶
Added¶
contracts_summary.total_implementation_transactionsrelease_summary.total_planning_milestonesrelease_summary.total_tender_tenderersrelease_summary.total_tender_milestonesrelease_summary.total_tender_itemsrelease_summary.total_contract_implementation_transactions
Fixed¶
If the OCDS data has
parties.rolesas a string, convert it to an array.
2023-06-01¶
Added¶
Add a
--filter-sql-json-pathoption to the add command.
Changed¶
Change schema prefix from
view_data_tosummary_.Upgrade to Python 3.10 and PostgreSQL 15.
2023-05-27¶
Added¶
KINGFISHER_SUMMARIZE_LOGGING_JSONenvironment variabledev hash-md5command
2021-12-21¶
Changed¶
The
field_listcolumn is now a JSONB object in which keys are paths and values are numbers of occurrences (instead ofNULL).
2021-11-24¶
Added¶
Add a
--filteroption to the add command.
2021-11-02¶
Added¶
Add a
relatedprocesses_summarytable.
2021-09-15¶
Changed¶
Replace the
selected_collectionstable in individual schema with aselected_collectionstable in thesummariesschema.
2021-08-10¶
Fixed¶
Fix support for release types of “embedded_release” and “record”.
2021-07-29¶
Changed¶
Replace similar tables with templated queries. This does not affect behavior.
2021-07-16¶
Added¶
Add a
namecolumn to theparties_summary,procuringentity_summary,tenderers_summaryandaward_suppliers_summarytables.
Changed¶
Rename
parties_idcolumns to:parties_summary.party_idbuyer_summary.buyer_idprocuringentity_summary.procuringentity_idtenderers_summary.tenderer_id
Rename document
documentTypecounts:documenttype_countstodocument_documenttype_countsplanning_documenttype_countstoplanning_document_documenttype_countstender_documenttype_countstotender_document_documenttype_countsaward_documenttype_countstoaward_document_documenttype_countscontract_documenttype_countstocontract_document_documenttype_countscontract_implementation_documenttype_countstocontract_implementation_document_documenttype_countsimplementation_documenttype_countstoimplementation_document_documenttype_counts
Rename milestone
typecounts:milestonetype_countstomilestone_type_countscontract_milestonetype_countstocontract_milestone_type_countscontract_implementation_milestonetype_countstocontract_implementation_milestone_type_countsimplementation_milestonetype_countstoimplementation_milestone_type_counts
2021-07-08¶
Changed¶
Rename
total_documenttype_countstodocumenttype_counts.Rename
additionalidentifiers_idstoadditionalclassifications_idson*_items_summarytables
Fixed¶
unique_identifier_attemptuses party fields instead of deprecated fields.
2021-06-30¶
Changed¶
Columns are renamed for consistency.
2021-05-21¶
Added¶
dev stalecommand--quietoption
2021-02-25¶
Changed¶
Move
docs-table-refcommand underdevgroup.addcommand:--skipdeveloper’s option to skip SQL files.
2021-02-01¶
Changed¶
addcommand: Errors if--namevalue contains uppercase characters.Fix typo in
contract_implemetation_documenttype_countscolumn (missing “n”).
2021-01-06¶
Changed¶
Remove
installcommandRemove
correct-user-permissionscommandRemove
viewsschema, includingviews.read_only_userandviews.mapping_sheetstablesRemove
flatten_with_valuesSQL function
2020-12-11¶
Changed¶
The
field_listcolumn is now a JSONB object in which keys are paths and values areNULL
2020-12-09¶
Added¶
addcommand:--field-listsoption to add afield_listcolumn to all summary tables. Thefield-listcolumn is an array of all fields in the data.planning_summarytable: AplanningJSONB column for the planning object.contract_implementation_transactions_summarytable: AtransactionJSONB column for the transaction object.
2020-11-11¶
Changed¶
Rename
ocdskingfisher-views-clitomanage.py.Rename commands:
list-viewstoindexadd-viewtoadddelete-viewtoremove
Configure the database connection using a
KINGFISHER_SUMMARIZE_DATABASE_URLenvironment variable or.envfile, instead of aKINGFISHER_VIEWS_DB_URIenvironment variable orconfig.inifile.
2020-11-05¶
Added¶
add-viewcommand: Add--no-field-countsoption.
Changed¶
add-viewcommand: Remove--threadsoption.Remove
refresh-viewscommand.Remove
field-countscommand.Improve performance.