Skip to content

Latest commit

 

History

History
593 lines (522 loc) · 49 KB

CHANGELOG.md

File metadata and controls

593 lines (522 loc) · 49 KB

Changelog

All notable changes to the AUDITOR project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Breaking changes

  • AUDITOR client: rename function does_not_contains to does_not_contain

Security

Added

  • CI: Add checks for import sorting and formatting to python linting workflow (@dirksammel)

Changed

  • Dependencies: Update sqlx from 0.7.4 to 0.8.2 (@raghuvar-vijay)
  • Dependencies: Update black from 24.4.2 to 24.10.0 (@dirksammel)
  • Dependencies: Update build from 1.2.1 to 1.2.2.post1 (@dirksammel)
  • Dependencies: Update crate-ci/typos from 1.23.3 to 1.26.8 (@dirksammel)
  • Dependencies: Update cryptography from 43.0.0 to 43.0.3 (@dirksammel)
  • Dependencies: Update EmbarkStudios/cargo-deny-action from 1 to 2 (@dirksammel)
  • Dependencies: Update mypy from 1.11.0 to 1.13.0 (@dirksammel)
  • Dependencies: Update pydantic from 2.8.2 to 2.9.2 (@dirksammel)
  • Dependencies: Update pytest from 8.3.1 to 8.3.3 (@dirksammel)
  • Dependencies: Update pyyaml from 6.0.1 to 6.0.2 (@dirksammel)
  • Dependencies: Update regex from 1.10.5 to 1.11.1 (@raghuvar-vijay)
  • Dependencies: Update ruff from 0.5.4 to 0.7.1 (@dirksammel)
  • Dependencies: Update rustsec/audit-check from 1 to 2 (@dirksammel)
  • Dependencies: Update serde_json from 1.0.121 to 1.0.132 (@raghuvar-vijay)
  • Dependencies: Update setuptools from 71.1.0 to 75.3.0 (@dirksammel)
  • Dependencies: Update shalzz/zola-deploy-action from 0.19.1 to 0.19.2 (@dirksammel)
  • Dependencies: Update tarides/changelog-check-action from 2 to 3 (@dirksammel)
  • Dependencies: Update types-pyyaml from 6.0.12.20240311 to 6.0.12.20240917 (@dirksammel)
  • Dependencies: Update types-requests from 2.32.0.20240712 to 2.32.0.20241016 (@dirksammel)
  • HTCondor collector: Fix bug that the machine score was stored as an integer, not as a float (@mschnepf)
  • Docs: Typo fixes in query documentation (@dirksammel)
  • Docker files: Linting (@dirksammel)

Removed

0.6.2 - 2024-07-29

Breaking changes

  • AUDITOR: Run sqlx migrate run to migrate to new schema for AUDITOR accounting db. (@raghuvar-vijay)
  • Apel plugin: Use class structure for config and messages (@dirksammel)
  • Apel plugin: Change month and year parameters of republish script to begin_date and end_date (@dirksammel)
  • Apel plugin: Logging of APEL messages moved from DEBUG to TRACE level (@dirksammel)

Security

Added

  • AUDITOR: Migrate to jsonb type for meta and component fields for AUDITOR postgresql. (#736) (@raghuvar-vijay)
  • Client: Added a QueuedAuditorClient that queues records to be sent in a local SQLite database (@rkleinem)
  • Apel plugin: Add option to send individual job messages (@dirksammel)
  • CI: Add mypy workflow for type checking (@dirksammel)
  • CI: Add integration test for db migration (@raghuvar-vijay)
  • Docs: Add contribution guidelines (@QuantumDancer)

Changed

  • Apel plugin: Use common logger in the code base (@dirksammel)
  • Apel plugin: Add TRACE level for logging (@dirksammel)
  • Apel plugin: Re-use records fetched for sync message for individual jobs reporting (@dirksammel)
  • Auditor: Use workspace dependencies (@dirksammel)
  • Auditor & auditor-client: Resolve circular dependency with auditor and auditor-client (@raghuvar-vijay)
  • Auditor: Refactor auditor database table to auditor_accounting (@raghuvar-vijay)
  • Auditor & auditor-client: Add test to check query metadata & add missing sqlx query metadata (@raghuvar-vijay)
  • Benchmark: Add num_of_records and sample size config fields for benchmark script (@raghuvar-vijay)
  • Dependencies: Update actix-web from 4.6.0 to 4.8.0 (@dirksammel), (@raghuvar-vijay)
  • Dependencies: Update anyhow from 1.0.82 to 1.0.86 (@dirksammel)
  • Slurm collector: Remove fields collector_addr and collector_port in settings struct (@raghuvar-vijay)
  • Dependencies: Update black from 24.2.0 to 24.4.2 (@dirksammel)
  • Dependencies: Update crate-ci/typos from 1.20.7 to 1.23.3 (@dirksammel)
  • Dependencies: Update criterion-macro from 0.3.4 to 0.4.0 (@dirksammel)
  • Dependencies: Update cryptography from 42.0.5 to 43.0.0 (@dirksammel)
  • Dependencies: Update docker/build-push-action from 5 to 6 (@raghuvar-vijay)
  • Dependencies: Update itertools from 0.12.1 to 0.13.0 (@dirksammel)
  • Dependencies: Update mypy from 1.9.0 to 1.11.0 (@dirksammel)
  • Dependencies: Update num-traits from 0.2.18 to 0.2.19 (@QuantumDancer)
  • Dependencies: Update opentelemetry from 0.22.0 to 0.23.0 (@dirksammel)
  • Dependencies: Update opentelemetry-prometheus from 0.15.0 to 0.16.0 (@dirksammel)
  • Dependencies: Update opentelemetry_sdk from 0.22.1 to 0.23.0 (@dirksammel)
  • Dependencies: Update pydantic from 2.6.4 to 2.8.2 (@dirksammel)
  • Dependencies: Update regex from 1.10.4 to 1.10.5 (@raghuvar-vijay)
  • Dependencies: Update pytest from 8.1.1 to 8.3.1 (@dirksammel)
  • Dependencies: Update requests from 2.31.0 to 2.32.3 (@raghuvar-vijay, @dirksammel)
  • Dependencies: Update ruff from 0.3.2 to 0.5.4 (@dirksammel)
  • Dependencies: Update serde from 1.0.203 to 1.0.204 (@QuantumDancer, @dirksammel), (@raghuvar-vijay)
  • Dependencies: Update serde_json from 1.0.117 to 1.0.120 (@dirksammel), (@raghuvar-vijay)
  • Dependencies: Update serde_with from 3.7.0 to 3.8.1 (@QuantumDancer)
  • Dependencies: Update setuptools from 69.2.0 to 71.1.0 (@dirksammel)
  • Dependencies: Update shalzz/zola-deploy-action from 0.18.0 to 0.19.1 (@dirksammel)
  • Dependencies: Update thiserror from from 1.0.61 to 1.0.63 (@raghuvar-vijay)
  • Dependencies: Update tracing-actix-web from 0.7.10 to 0.7.11 (@raghuvar-vijay)
  • Dependencies: Update types-requests from 2.31.0.20240406 to 2.32.0.20240712 (@dirksammel)
  • Dependencies: Update requests from 2.31.0 to 2.32.2 in /plugins/apel (@raghuvar-vijay)
  • Dependencies: Update reqwest from 0.12.4 to 0.12.5 (@raghuvar-vijay)
  • Dependencies: Update prometheus from 0.13.3 to 0.13.4 (@raghuvar-vijay)
  • Dependencies: Update uuid from 1.9.1 to 1.10.0 (@raghuvar-vijay)
  • CI: Switch to stable toolchain for clippy job (#793) (@QuantumDancer)
  • Client: Moved the client to a dedicated package auditor-client due to limitations of sqlx (@rkleinem)
  • Docs: Fix clippy issues for indentation (@raghuvar-vijay)

Removed

0.5.0 - 2024-04-23

Breaking changes

  • Apel plugin: change config parameter time_db_path to time_json_path (@dirksammel)
  • Apel plugin: change config format from INI to YAML (@dirksammel)
  • AUDITOR: Database migrations can now be run using the Docker container (#765) (@QuantumDancer)

Security

  • [RUSTSEC-2024-0019]: Update mio from 0.8.10 to 0.8.11 (@QuantumDancer)
  • [RUSTSEC-2024-0020]: Update whoami from 1.4.1 to 1.5.0 (@QuantumDancer)
  • [RUSTSEC-2024-0021]: Update eyre from 0.6.11 to 0.6.12 (@QuantumDancer)
  • [RUSTSEC-2024-0332]: Update h2 from 0.3.24 to 0.3.26 (@QuantumDancer)
  • [RUSTSEC-2024-0332]: Update h2 from 0.4.2 to 0.4.4 (@QuantumDancer)
  • [CVE-2024-32650]: Update rustls from 0.21.10 to 0.21.11 (@QuantumDancer)
  • [RUSTSEC-2024-0336]: Update rustls from 0.22.2 to 0.22.4 (@QuantumDancer)

Added

  • AUDITOR: Add benchmark to measure db performance (#736) (@raghuvar-vijay)
  • AUDITOR: Add health check to docker container (@QuantumDancer)
  • API: The health check (GET /health_check) now fails with an 500 INTERNAL SERVER ERROR if no connection can be made to the database (#622) (@QuantumDancer)
  • CI: Add workflow for testing the pyaudtitor source distribution (@dirksammel)
  • CI: Add workflow for building the Rust documentation (@dirksammel)

Changed

  • Apel plugin: Reduce unnecessary high number of records for sync messages (@dirksammel)
  • Apel plugin: Send separate summary messages per site (@dirksammel)
  • Apel plugin: Include data of complete month in summary messages (@dirksammel)
  • Client: Reduce logging information in info mode (#680) (@QuantumDancer)
  • Slurm collector: Reduce logging information in info mode (#680) (@QuantumDancer)
  • Dependencies: Update actix-web from 4.4.1 to 4.5.1 (@QuantumDancer)
  • Dependencies: Update actix-web-opentelemetry 0.16.0 to 0.17.0 (@QuantumDancer)
  • Dependencies: Update anyhow from 1.0.79 to 1.0.82 (@QuantumDancer)
  • Dependencies: Update build from 1.0.3 to 1.2.1 (@dirksammel)
  • Dependencies: Update chrono from 0.4.33 to 0.4.38 (@QuantumDancer)
  • Dependencies: Update color-eyre from 0.6.2 to 0.6.3 (@QuantumDancer)
  • Dependencies: Update crate-ci/typos from 1.20.4 to 1.20.7 (@dirksammel)
  • Dependencies: Update cryptography from 42.0.2 to 42.0.5 (@dirksammel)
  • Dependencies: Update iana-time-zone from 0.1.59 to 0.1.60 (@QuantumDancer)
  • Dependencies: Update num-traits from 0.2.17 to 0.2.18 (@QuantumDancer)
  • Dependencies: Update opentelemetry from 0.21.0 to 0.22.0 (@QuantumDancer)
  • Dependencies: Update opentelemetry-prometheus from 0.14.1 to 0.15.0 (@QuantumDancer)
  • Dependencies: Update opentelemetry_sdk from 0.21.2 to 0.22.1 (@QuantumDancer)
  • Dependencies: Update pyo3 from 0.19.2 to 0.20.3 (@dirksammel, @QuantumDancer)
  • Dependencies: Update pyo3-asyncio from 0.19 to 0.20 (@dirksammel)
  • Dependencies: Update pytest from 8.0.0 to 8.1.1 (@dirksammel)
  • Dependencies: Update pytest-cov from 4.1.0 to 5.0.0 (@dirksammel)
  • Dependencies: Update regex from 1.10.3 to 1.10.4 (@QuantumDancer)
  • Dependencies: Update reqwest from 0.11.24 to 0.12.4 (@QuantumDancer)
  • Dependencies: Update serde from 1.0.196 to 1.0.198 (@QuantumDancer)
  • Dependencies: Update serde-aux from 4.4.0 to 4.5.0 (@QuantumDancer)
  • Dependencies: Update serde_json from 1.0.113 to 1.0.116 (@QuantumDancer)
  • Dependencies: Update serde_qs from 0.12.0 to 0.13.0 (@QuantumDancer)
  • Dependencies: Update serde_with from 3.6.0 to 3.7.0 (@QuantumDancer)
  • Dependencies: Update setuptools from 69.0.3 to 69.2.0 (@dirksammel)
  • Dependencies: Update softprops/action-gh-release from 1 to 2 (@dirksammel)
  • Dependencies: Update sqlx from 0.7.3 to 0.7.4 (@QuantumDancer)
  • Dependencies: Update thiserror from 1.0.56 to 1.0.58 (@QuantumDancer)
  • Dependencies: Update tokio from 1.35.1 to 1.37.0 (@QuantumDancer)
  • Dependencies: Update tracing-actix-web from 0.7.9 to 0.7.10 (@QuantumDancer)
  • Dependencies: Update unicode-segmentation from 1.10.1 to 1.11.0 (@QuantumDancer)
  • Dependencies: Update uuid from 1.7.0 to 1.8.0 (@QuantumDancer)
  • Dependencies: Update wiremock from 0.5.22 to 0.6.0 (@QuantumDancer)
  • CI: Remove deprecated options from cargo.deny (#709) (@QuantumDancer)
  • CI: Switch to stable toolchain for coverage job (@QuantumDancer)
  • CI: Update htcondor docker image from 10.9.0 to 23.5.2 (@QuantumDancer)
  • CI: Use specific version for actions (@dirksammel)

Removed

0.4.0 - 2024-01-31

Breaking changes

  • API: Deprecate get_[started/stopped]_since endpoint (#525) (@raghuvar-vijay)
  • Apel plugin: Remove site_name_mapping config parameter and change structure of sites_to_report config parameter (@dirksammel)

Security

  • [RUSTSEC-2023-0071]: Ignored, because vulnerable code is not actually used by us (@QuantumDancer)
  • [RUSTSEC-2023-0074]: Update zerocopy from 0.7.26 to 0.7.31 (@QuantumDancer)

Added

  • Auditor+pyauditor: Added advanced filtering when querying records (#466) (@raghuvar-vijay)
  • Auditor+pyauditor: Added bulk_insert option to insert list of records using auditor client and pyauditor (#580) (@raghuvar-vijay)
  • Auditor: Incorrect query string returns an error (#598) (@raghuvar-vijay)
  • Auditor: Return correct status code for errors during querying of records (#620) (@raghuvar-vijay)
  • Auditor: Remove get_since.rs and clean up dead code (#624) (@raghuvar-vijay)
  • pyauditor: Add string representation to python Record Object (#596) (@raghuvar-vijay)
  • CI: Added new workflow to define reusable parameters for other workflows (@dirksammel)
  • Docs: Add versioning of GitHub Pages and pyauditor docs (#551) (@QuantumDancer)
  • Docs: Add overview of API endpoints (#597) (@QuantumDancer)
  • Apel plugin: Add optional config setting for style of summary message (@dirksammel)

Changed

  • Auditor+pyauditor: Deprecate get_started_since() and get_stopped_since() functions (@raghuvar-vijay)
  • Auditor: Restructure /record endpoint to handle single record operations and /records endpoint to handle multiple records operations (#629) (@raghuvar-vijay)
  • Auditor: Incorrect meta and component query returns an empty vector and implement more edge case testing for advanced queries (#638) (@raghuvar-vijay)
  • Auditor: Implement prepared SQL queries using push_bind for advanced filtering (#637) (@raghuvar-vijay)
  • Auditor container: Update Rust from 1.68 to 1.75 and Debian from 11 (Bullseye) to 12 (Bookworm) (@QuantumDancer)
  • Dependencies: Update actions/setup-python from 4 to 5 (@dirksammel)
  • Dependencies: Update actions/download-artifact from 3 to 4 (@dirksammel)
  • Dependencies: Update actions/upload-artifact from 3 to 4 (@dirksammel)
  • Dependencies: Update actix-web from 4.4.0 to 4.4.1 (@QuantumDancer)
  • Dependencies: Update anyhow from 1.0.75 to 1.0.79 (@QuantumDancer)
  • Dependencies: Update chrono from 0.4.31 to 0.4.33 (@QuantumDancer)
  • Dependencies: Update cryptography from 41.0.5 to 42.0.2 (@dirksammel, @QuantumDancer)
  • Dependencies: Update fake from 2.9.1 to 2.9.2 (@QuantumDancer)
  • Dependencies: Update h2 from 0.3.22 to 0.3.24 (@raghuvar-vijay)
  • Dependencies: Update itertools from 0.12.0 to 0.12.1 (@QuantumDancer)
  • Dependencies: Update once_cell from 1.18.0 to 1.19.0 (@QuantumDancer)
  • Dependencies: Update opentelemetry_sdk from 0.21.1 to 0.21.2 (@QuantumDancer)
  • Dependencies: Update pytest from 7.4.3 to 8.0.0 (@dirksammel)
  • Dependencies: Update regex from 1.10.2 to 1.10.3 (@QuantumDancer)
  • Dependencies: Update reqwest from 0.11.22 to 0.11.24 (@QuantumDancer)
  • Dependencies: Update serde from 1.0.193 to 1.0.196 (@QuantumDancer)
  • Dependencies: Update serde-aux from 4.2.0 to 4.4.0 (@QuantumDancer)
  • Dependencies: Update serde_json from 1.0.108 to 1.0.113 (@QuantumDancer)
  • Dependencies: Update serde_qs from 0.11.0 to 0.12.0 (@QuantumDancer
  • Dependencies: Update serde_with from 3.4.0 to 3.6.0 (@QuantumDancer)
  • Dependencies: Update setuptools from 69.0.2 to 69.0.3 (@dirksammel)
  • Dependencies: Update sqlx from 0.7.2 to 0.7.3 (@QuantumDancer)
  • Dependencies: Update thiserror from 1.0.50 to 1.0.56 (@QuantumDancer)
  • Dependencies: Update tokio from 1.34.0 to 1.35.1 (@QuantumDancer)
  • Dependencies: Update uuid from 1.6.1 to 1.7.0 (@QuantumDancer)
  • Dependencies: Update wiremock from 0.5.21 to 0.5.22 (@QuantumDancer)
  • CI: Replace unmaintained actions-rs/audit-check action with maintained one from rustsec (@QuantumDancer)
  • CI: Introduce dependency between pyauditor release and release of python packages (@dirksammel)
  • CI: Add extra workflow for building the pyaudtitor source distribution (@dirksammel)
  • CI: Fix setting symlink to latest pyauditor tag (@QuantumDancer)
  • CI: Split webpage building and symlink creation into two jobs (@QuantumDancer)
  • CI: Use tagged version instead of master branch for zola deploy action (@QuantumDancer)
  • Apel plugin: Replace all URL encodings in meta fields with single-character equivalent (@dirksammel)
  • Apel plugin: Use advanced querying for filtering records (@dirksammel)
  • Apel plugin: Rename summary record field Infrastructure to InfrastructureType (@dirksammel)
  • Docs: Pyauditor- Fix pyauditor tutorial for creating new records (#631) (@raghuvar-vijay)

Removed

0.3.1 - 2023-11-24

Breaking changes

Security

Added

Changed

Removed

0.3.0 - 2023-11-17

Breaking changes

  • Auditor: Standardize REST APIs. Routes have changed to single endpoint '/record' with methods such as 'GET', 'PUT', 'POST' (#465) (@raghuvar-vijay)
  • Priority plugin: 'auditor' configuration has to be present in the config file. 'prometheus' configuration is optional (#456) (@raghuvar-vijay)
  • Slurm collector: New filter options to filter slurm jobs are added. The job_status key in the config is moved to the job_filter section and is renamed to status (#472) (@QuantumDancer)

Security

Added

  • Auditor: Add records_handler module to routes to handle record queries (#465) (@raghuvar-vijay)
  • Docs: Add instructions for developers for building the Rust and Python documentation locally (@QuantumDancer)
  • Priority plugin: Add prometheus data exporter (#456) (@raghuvar-vijay)
  • Slurm collector: Add default_value option for component configuration (#510) (@QuantumDancer)
  • Dependencies: Add urlencoding 2.1.3 (to parse datetime while querying records) (#465) (@raghuvar-vijay)

Changed

  • Slurm collector: Fix ambiguous local time in database.rs after switching from CEST to CET (#518) (@raghuvar-vijay)
  • Slurm collector: Fix panic during component construction when job info is missing data for component (#510) (@QuantumDancer)
  • Dependencies: Update actix-web-opentelemetry 0.15.0 to 0.16.0 (@raghuvar-vijay)
  • Dependencies: Update cargo-get from 0.3.3 to 1.0.0 (@dirksammel)
  • Dependencies: Update cryptography from 41.0.4 to 41.0.5 (@dirksammel)
  • Dependencies: Update fake from 2.8.0 to 2.9.1 (@QuantumDancer)
  • Dependencies: Update itertools from 0.11.0 to 0.12.0 (@QuantumDancer)
  • Dependencies: Update num-traits from 0.2.16 to 0.2.17 (@QuantumDancer)
  • Dependencies: Update opentelemetry from 0.20.0 to 0.21.0 (@raghuvar-vijay)
  • Dependencies: Update opentelemetry-prometheus from 0.13.0 to 0.14.1 (@raghuvar-vijay, @QuantumDancer)
  • Dependencies: Update opentelemetry_sdk from 0.20.0 to 0.21.1 (@raghuvar-vijay, @QuantumDancer)
  • Dependencies: Update regex from 1.9.5 to 1.10.2 (@QuantumDancer)
  • Dependencies: Update reqwest from 0.11.20 to 0.11.22 (@QuantumDancer)
  • Dependencies: Update rustix from 0.38.14 to 0.38.20 (@QuantumDancer)
  • Dependencies: Update serde from 1.0.188 to 1.0.192 (@QuantumDancer)
  • Dependencies: Update serde_json from 1.0.107 to 1.0.108 (@QuantumDancer)
  • Dependencies: Update serde_with from 3.3.0 to 3.4.0 (@QuantumDancer)
  • Dependencies: Update sqlx from 0.7.1 to 0.7.2 (@QuantumDancer)
  • Dependencies: Update thiserror from 1.0.48 to 1.0.50 (@QuantumDancer)
  • Dependencies: Update time from 0.3.28 to 0.3.29 (@QuantumDancer)
  • Dependencies: Update tokio from 1.32.0 to 1.34.0 (@QuantumDancer)
  • Dependencies: Update tracing from 0.1.37 to 0.1.40 (@QuantumDancer)
  • Dependencies: Update tracing-actix-web from 0.7.6 to 0.7.9 (@QuantumDancer)
  • Dependencies: Update tracing-log from 0.1.3 to 0.2.0 (@QuantumDancer)
  • Dependencies: Update tracing-subscriber from 0.3.16 to 0.3.17 (@QuantumDancer)
  • Dependencies: Update uuid from 1.4.1 to 1.5.0 (@QuantumDancer)
  • Dependencies: Update wiremock from 0.5.19 to 0.5.21 (@QuantumDancer)
  • CI: Build pyauditor and Auditor Docker image from source for HTCondor collector test (@dirksammel)
  • CI: Build pyauditor with maturin for Python unit tests (@dirksammel)
  • CI: New workflow structure (@dirksammel)

Removed

0.2.0 - 2023-09-21

Breaking changes

  • pyauditor + Apel plugin + HTCondor collector: Support for Python 3.6 and 3.7 has been dropped (@QuantumDancer)
  • Apel plugin: cpu_time_unit has to be present in the config file. See Documentation (@dirksammel)
  • Auditor: Updating a non-existent record now returns an HTTP 404 error instead of HTTP 400 error (@QuantumDancer)
  • Docker containers: The main tag was replaced with the edge tag (@QuantumDancer)
  • Dependencies: Update pyo3 from 0.15.2 to 0.19 and pyo3-asyncio from 0.15 to 0.19 (@QuantumDancer)
    • When creating a record with pyauditor, the timezone of the datetime object now needs to be converted to datetime.timezone.utc instead of pytz.utc

Security

  • [RUSTSEC-2023-0052]: Update webpki from 0.22.0 to 0.22.1 (@dirksammel)
  • [CVE-2022-35737]: Update libsqlite3-sys from 0.24.2 to 0.26.0 (@dirksammel)

Added

Changed

Removed

0.1.0 - 2023-04-19

Added

  • pyauditor: Added to_json method to records (@stefan-k)
  • pyauditor: Runtime can now be set for record either directly or by adding a stop_time (@stefan-k)
  • Slurm collector: Added JSON parsing for meta fields (@stefan-k)
  • Slurm collector: Added VOMS proxy info to meta (@stefan-k)
  • Auditor + pyauditor: Added blocking client (@stefan-k)
  • Auditor: Added implementation for From trait to ClientError (@QuantumDancer)

Changed

  • Slurm collector: Bugfixes for parsing slurm output (@stefan-k)
  • Slurm collector: Ignores subjobs (@stefan-k)
  • Slurm collector: Use safer defaults (@rkleinem)
  • Dependencies: Updated actix-web from 4.3.0 to 4.3.1 (@stefan-k)
  • Dependencies: Updated anyhow from 1.0.69 to 1.0.70 (@stefan-k)
  • Dependencies: Updated chrono from 0.4.23 to 0.4.24 (@stefan-k)
  • Dependencies: Updated once_cell from 1.17.0 to 1.17.1 (@stefan-k)
  • Dependencies: Updated regex from 1.7.1 to 1.7.3 (@stefan-k)
  • Dependencies: Updated reqwest from 0.11.14 to 0.11.16 (@stefan-k)
  • Dependencies: Updated serde from 1.0.152 to 1.0.160 (@stefan-k)
  • Dependencies: Updated serde-aux from 4.1.2 to 4.2.0 (@stefan-k)
  • Dependencies: Updated serde_json from 1.0.93 to 1.0.96 (@stefan-k)
  • Dependencies: Updated serde_with from 2.2.0 to 2.3.2 (@stefan-k)
  • Dependencies: Updated sqlx from 0.6.2 to 0.6.3 (@stefan-k)
  • Dependencies: Updated thiserror from 1.0.38 to 1.0.40 (@stefan-k)
  • Dependencies: Updated tokio from 1.25.0 to 1.27.0 (@stefan-k)
  • Dependencies: Updated tracing-actix-web from 0.7.2 to 0.7.4 (@stefan-k)
  • Dependencies: Updated tracing-bunyan-formatter from 0.3.6 to 0.3.7 (@stefan-k)
  • Dependencies: Updated uuid from 1.3.0 to 1.3.1 (@stefan-k)
  • Dependencies: Updated wiremock from 0.5.17 to 0.5.18 (@stefan-k)

Removed

  • Auditor: Removed constructors for auditor client (both async and blocking) (@QuantumDancer)

0.0.7 - 2023-02-13

Added

Changed

  • All collectors and plugins are now dedicated crates (@stefan-k)
  • Renamed Score "factor" to "value" (@stefan-k)
  • Added meta field which stores key-value pairs of the form String -> Vec<string> (@stefan-k)
  • Auditor crate now has server and client features. This allows one to avoid pulling in server code when only client code is needed. Server code requires a live database to compile (because of sqlx). (@stefan-k)
  • Support for building python 3.11 pyauditor modules (@stefan-k)
  • Improvements in CI (@stefan-k)
  • Replaced cargo-spellcheck with typos (@stefan-k)
  • Updated Postgres instances in CI to version 15 (@stefan-k)
  • Use claims instead of unmaintained claim (@stefan-k)
  • Removed dependency on time 0.1 as much as possible. Potential vulnerability does not affect us though. (@stefan-k)
  • Updated tokio from 1.22.0 to 1.25.0 (@stefan-k)
  • Updated prometheus from 0.13.1 to 0.13.3 (@stefan-k)
  • Updated serde_with from 2.0.0 to 2.2.0 (@stefan-k)
  • Updated actix-web from 4.1.0 to 4.3.0 (@stefan-k)
  • Updated anyhow from 1.0.64 to 1.0.69 (@stefan-k)
  • Updated thiserror from 1.0.34 to 1.0.37 (@stefan-k)
  • Updated unicode-segmentation from 1.9.0 to 1.10.1 (@stefan-k)
  • Updated reqwest from 0.11.11 to 0.11.14 (@stefan-k)
  • Updated tracing-actix-web from 0.6.0 to 0.7.1 (@stefan-k)
  • Updated once_cell from 1.14.0 to 1.17.0 (@stefan-k)
  • Updated sqlx from 0.6.1 to 0.6.2 (@stefan-k)
  • Updated serde from 1.0.144 to 1.0.152 (@stefan-k)
  • Updated tracing-subscriber from 0.3.15 to 0.3.16 (@stefan-k)
  • Updated tracing-bunyan-formatter from 0.3.3 to 0.3.6 (@stefan-k)
  • Updated uuid from 1.1.2 to 1.3.0 (@stefan-k)
  • Updated wiremock from 0.5.14 to 0.5.17 (@stefan-k)
  • Updated config from 0.13.2 to 0.13.3 (@stefan-k)
  • Updated regex from 1.7.0 to 1.7.1 (@stefan-k)

Removed

  • Removed old python client (@stefan-k)
  • Removed user_id, site_id and group_id from Record (@stefan-k)

0.0.6 - 2022-09-06

Added

Changed

  • Any get endpoint now returns a list of records sorted by stop_time (@stefan-k).
  • Updated anyhow from 1.0.63 to 1.0.64 (@stefan-k).
  • Updated thiserror from 1.0.33 to 1.0.34 (@stefan-k).
  • Updated serde-aux from 3.1.0 to 4.0.0 (@stefan-k).
  • Updated once-cell from 1.13.1 to 1.14.0 (@stefan-k).
  • Updated sqlx from 0.5.7 to 0.6.1 (@stefan-k).

Fixed

  • Fixed Slurm Epilog Collector to correctly send UTC timestamps (@stefan-k).

Deprecated

  • Old python client written in python is deprecated (@stefan-k).

0.0.5 - 2022-08-25

Added

  • Database metrics in Prometheus exporter (@stefan-k).
  • Added cargo-deny to CI (@stefan-k).

Changed

  • Better errors, error handling, error logging and exposing errors to users (@stefan-k).
  • Using a SQL transaction for updating records (@stefan-k).
  • pyauditor wheels now also have support for python 3.6 (for TARDIS). This required downgrading the pyo3 libraries (@stefan-k).
  • Restructured and simplified test suite (@stefan-k).
  • AuditorClient now properly errors on server errors (@stefan-k).
  • Updated once-cell from 1.13.0 to 1.13.1 (@stefan-k).
  • Updated anyhow from 1.0.61 to 1.0.62 (@stefan-k).
  • Updated serde from 1.0.143 to 1.0.144 (@stefan-k).

Fixed

  • Fixed broken website build in CI (@stefan-k).
  • Removed duplicate configuration directory (@stefan-k).

0.0.4 - 2022-08-16

Added

  • Sphinx documentation for pyauditor module (@stefan-k).
  • Tutorial for pyauditor module (@stefan-k).
  • Automatic deployment of pyauditor documentation (@stefan-k).

Changed

  • Updated chrono from 0.4.21 to 0.4.22 (@stefan-k).

Fixed

  • Correct badges for pyauditor Readme (@stefan-k).
  • Moved sqlx-data.json to auditor folder to fix docs.rs build (@stefan-k).

0.0.3 - 2022-08-11

Added

  • Python interface exported from Rust code (pyauditor) including test harness (@stefan-k).
  • Logging spans with unique id for priority plugin and slurm epilog collector (helps differentiate different runs in logs) (@stefan-k).
  • Export of HTTP metrics on /metrics endpoint for prometheus (Auditor) (@stefan-k).
  • Builder pattern for AuditorClient (AuditorClientBuilder) (@stefan-k).
  • Unit tests for client code (@stefan-k).
  • Build pipeline for python wheels on Linux, Windows and MacOS for python versions 3.7-3.10 (@stefan-k).
  • Added python package description (@stefan-k).
  • Added pyauditor readme (@stefan-k).

Changed

  • add and update methods of AuditorClient now take references to Record (@stefan-k).
  • Updated config from 0.13.1 to 0.13.2 (@stefan-k).
  • Updated serde from 1.0.141 to 1.0.143 (@stefan-k).
  • Updated chrono from 0.4.19 to 0.4.21 (@stefan-k).
  • Updated wiremock from 0.5.13 to 0.5.14 (@stefan-k).
  • Updated anyhow from 1.0.60 to 1.0.61 (@stefan-k).
  • Introduced workspaces (as preparation for the python client written in Rust) (@stefan-k).
  • Better error handling in Auditor client code (@stefan-k).
  • Improved API of Component type (@stefan-k).
  • CI: Moved clippy pipeline to beta channel (@stefan-k).
  • Changed some of the interfaces in domain module to better fit pyauditor (@stefan-k).

Fixed

  • Pointed auditor Cargo.toml to correct readme (@stefan-k).

0.0.2 - 2022-08-01

Added

  • Documentation of priority plugin on website (@stefan-k).

Changed

  • CI: Run clippy for all targets (@stefan-k).
  • Build docker containers when pushing a version tag (@stefan-k).
  • Updated tracing from 1.0.35 to 1.0.36 (@stefan-k).

Fixed

  • Correctly parse scontrol output in slurm epilog collector (Thanks to Raphael Kleinemuehl for the hint!) (@stefan-k).
  • Fixed building of docs on docs.rs by activating sqlx offline mode (@stefan-k).

0.0.1 - 2022-07-26

Added