Skip to content

Releases: NaturalHistoryMuseum/daily-stats

v2.0.0

Choose a tag to compare

@alycejenni alycejenni released this 25 Jul 12:14

v2.0.0 (2025-07-25)

Feature

  • add ssl args to connection
  • add command to test connection
  • represent models as dicts
  • use script name as log file name
  • add a helper method to data models for cleaning dicts
  • use convenience function to add user agent header to requests
  • add logger
  • add session generator function to db utils
  • run cli from script
  • add cli command to call get_alma_data
  • add command to create missing tables for local dev
  • add config object using env vars
  • add core cli

Fix

  • match cli commands to script names
  • add more logging statements
  • correctly name gbif_citations table
  • use sessionmaker and .begin() to ensure commits
  • make columns nullable

Refactor

  • use specific import
  • move stats scripts into package
  • convert portal_images to use config and sqlalchemy
  • convert package_comp to use config and sqlalchemy
  • rearrange alma_contents to put main function at the top
  • convert gbif_citations to use config and sqlalchemy
  • alphabetise gbif_citation fields
  • use clearer alias for date
  • rename main functions to match script name
  • convert dimensions_metrics to use config and sqlalchemy
  • move version command into base group
  • convert alma_contents to use config and sqlalchemy
  • use pyproject.toml and python package
  • remove twitter

Docs

  • add basic readme
  • inline docs for get-config command

CI System(s)

  • remove patch branch from sync action
  • add workflow files
  • add pre-commit config

Chores/Misc

  • rename template env file
  • remove unused file
  • ignore other .env files
  • ignore new msq permissions file

v1.3.1 (2025-07-08)

Fix

  • update error message to contain correct information

v1.3.0 (2025-07-08)

Feature

  • add SSL connection support for the MySQL database

Fix

  • remove extra bracket accidentally added to portal image entry

Build System(s)

  • add certs directory for ssl db connection

Chores/Misc

  • remove unused import

v1.2.0 (2025-07-08)

Feature

  • update dependencies and remove secondary dependencies

Fix

  • ensures the script actually works with the updated twitter lib
  • update the dependencies again to actually work with python 3.8
  • reinstate uncommented sql line (woops)

Build System(s)

  • add a python version file to pin 3.8

Chores/Misc

  • add some other dev paths to gitignore

v1.1.0 (2025-05-22)

Fix

  • make sure the counts are ints
  • use correct key from multi stat response for count
  • use the new vds_multi_stat action to get image stats

v1.0.2 (2021-04-21)

v1.0.1 (2021-04-15)

v1.0.0 (2021-04-08)

[main 41df484] bump: version 1.3.0 → 2.0.0
3 files changed, 120 insertions(+), 2 deletions(-)
create mode 100644 CHANGELOG.md

v1.3.1

Choose a tag to compare

@jrdh jrdh released this 08 Jul 17:32
b1592de

What's Changed

  • Update error message to contain correct information by @jrdh in #15

Full Changelog: v1.3.0...v1.3.1

v1.3.0

Choose a tag to compare

@jrdh jrdh released this 08 Jul 16:09
74a1d5e

What's Changed

  • Remove extra bracket accidentally added to portal image entry by @jrdh in #13
  • Update mysql server to be able to connect to new AWS database by @jrdh in #14

Full Changelog: v1.2.0...v1.3.0

v1.2.0

Choose a tag to compare

@jrdh jrdh released this 08 Jul 12:33
edae1b9

What's Changed

  • Reinstate uncommented sql line (woops) by @jrdh in #10
  • Update dependencies and remove secondary dependencies by @jrdh in #9
  • Add some other dev paths to gitignore by @jrdh in #11
  • Ensures the script actually works with the updated twitter lib by @jrdh in #12

Full Changelog: v1.1.0...v1.2.0

v1.1.0

Choose a tag to compare

@alycejenni alycejenni released this 02 Jul 13:38
33c154c

What's Changed

  • Use the new vds_multi_stat action to get image stats by @jrdh in #7
  • Make sure the counts are ints by @jrdh in #8

New Contributors

  • @jrdh made their first contribution in #7

Full Changelog: v1.0.2...v1.1.0

v1.0.2

Choose a tag to compare

@jrdh jrdh released this 21 Apr 13:32
8fb802e
  • Update gitignore with log dir (8fb802e)
  • Correct run date in alma_contents script (d3fd059)

v1.0.1

Choose a tag to compare

@jrdh jrdh released this 15 Apr 17:28
37ee03c
  • Update gitignore for deployment (38c28d6)
  • Bump urllib3 from 1.26.3 to 1.26.4 (#1)

v1.0.0

Choose a tag to compare

@jrdh jrdh released this 13 Apr 09:15

First release! 🚀