Skip to content

Latest commit

 

History

History
2685 lines (1683 loc) · 115 KB

CHANGELOG.md

File metadata and controls

2685 lines (1683 loc) · 115 KB

CHANGELOG

v4.18.0 (2025-01-21)

v4.18.0-rc.7 (2025-01-21)

Chores

  • Bandit rule 101 fix (3c36dbf)

  • Update snapy package version to 4.18.0rc6 (87a6aae)

Continuous Integration

  • Add mypy check back to tests workflow (38fd632)

  • Comment out sensitive environment variables in pyproject.toml (bd92b31)

  • Remove mypy check from tests workflow in prep for pyright/pylance (3e37b5b)

Documentation

Features

  • Add peek-python and its dependencies to project configuration (b9a6dfc)

Refactoring

  • Add environment variables for S3 static files, throttling, and caching settings (b7283f3)

  • Convert URLs and image URLs to strings in article, blog, and report creation (ae83f92)

  • Remove pytest-env dependency from project configuration (c12f6a1)

  • Remove unused Redis service from tests workflow (19f9455)

  • Update test_get_single_report to use named argument for clarity (ca2bd2e)

  • Update throttling and caching settings for DEBUG mode (63f31da)

v4.18.0-rc.6 (2025-01-16)

Chores

  • Cleanup env variables (292ff7d)

  • Package maintenance (b82f28d)

  • Register Socials model in admin panel (adcf83e)

Features

  • Add fields for bluesky, linkedin, and mastodon to socials model (6bcc545)

  • Add linkedin, mastodon, and bluesky fields to socials serializer (d6a49c1)

  • Add name field to socials model and update migration (062f111)

  • Add X_FRAME_OPTIONS setting for enhanced security (6df602e)

Testing

  • Remove benchmark markers from article, info, and reports endpoint tests (d227551)

v4.18.0-rc.5 (2024-12-24)

Chores

  • Enable DEBUG mode in GitHub Actions workflow (f119885)

  • Merge branch 'main' into add-authors (f2e0736)

  • Remove the static version during testing (bfed4cd)

  • Use DEBUG when testing (8366f98)

  • deps: Bump astral-sh/setup-uv from 4 to 5 (dc46b81)

Bumps astral-sh/setup-uv from 4 to 5. - Release notes - Commits

--- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-type: direct:production

update-type: version-update:semver-major

...

Signed-off-by: dependabot[bot] [email protected]

Features

  • Add author and their socials (6838bfb)

  • Add authors from the import to the article models (af0c110)

  • Add VSCode settings for pytest configuration (6d0d03e)

  • Disable request throttling during testing (c4dd2b6)

  • Only use cache when not in DEBUG (f5668f3)

  • Update version assertion in test_info_endpoint to use dynamic version retrieval (5517022)

  • admin: Untested attempt at adding thumbnails and authors to the NewsItem admin lists (03680e6)

Testing

  • Skip failing version test during testing phase (41134d5)

v4.17.2 (2024-12-17)

Bug Fixes

  • Correct debug toolbar URL (92bf69c)

  • Update harvester for correct url quotation (9f8fae6)

Features

  • Add authors to the news items (3b6cec7)

v4.18.0-rc.4 (2024-12-13)

Features

  • Conditionally include debug toolbar middleware and URLs in development mode (3fc5178)

v4.18.0-rc.3 (2024-12-13)

Features

  • Conditionally add debug toolbar to installed apps in development mode (2338cc7)

v4.18.0-rc.2 (2024-12-13)

Features

  • Add debug toolbar to installed apps in development mode (217d83b)

v4.18.0-rc.1 (2024-12-13)

Features

  • Add cache health check to startup probe (18abba4)

  • Add django-debug-toolbar for improved debugging support (eeeda3c)

  • Add GraphQL support information to API description (d63137d)

  • Add launch configuration for debugging Django app in VSCode (1379a8d)

  • Add throttling configuration for API requests (9d71be1)

  • Update API throttling settings to limit anonymous requests to 5 per second (58a4761)

v4.17.1 (2024-12-05)

Bug Fixes

  • Add order_by to queryset (e96ca9b)

Features

feat: add caching to the api

  • Add Redis support and middleware configuration (a139e06)

v4.17.0 (2024-12-03)

Chores

  • Set the default ordering for graphql (66f61db)

  • Url cleanup (241e0d1)

Features

  • Move admin to non-v4 url (f1e931f)

  • Move admin to non-v4 url (1e3959c)

v4.17.0-rc.1 (2024-12-02)

Chores

  • feat: add graphql (#3632)

  • feat: add GraphQL support with schema and queries for articles, blogs, and reports

  • feat: extend GraphQL schema to include Launch and Event types with new queries for articles and blogs by news site, launch, and event

  • refactor: remove logging configuration from settings.py

  • feat: add NewsSite type to GraphQL schema and fix typo in LaunchType fields

  • feat: implement GraphQL types and queries for Article, Blog, Report, Launch, Event, and NewsSite

  • feat: update GraphQL types to use custom filter classes for Article, Blog, and Report

  • feat: enhance article and blog queries with ordering by published date

  • fix: remove ordering from all_articles query in GraphQL schema

  • chore: sync pyproject

  • chore: ignore type beceause it's not available

  • build: 4.17.0-rc.1

Automatically generated by python-semantic-release

  • chore: update harvester to 0.10.0

  • fix: update commit message format for semantic release

  • build: 4.17.0-rc.2

  • chore: remove unused pika-stubs

  • feat: generate the label dynamically

  • feat(#3630): add django admin dark theme (#3633)

  • feat(#3630): django admin dark theme

  • fix: update STATIC_ROOT and add STATICFILES_DIRS for improved static file handling


Co-authored-by: Derk Weijers [email protected]

  • chore: package updates

Co-authored-by: semantic-release

Co-authored-by: Arnaud Muller [email protected]

  • deps: Bump astral-sh/setup-uv from 3 to 4 (#3636, 1e4de33)

Bumps astral-sh/setup-uv from 3 to 4. - Release notes - Commits

--- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-type: direct:production

update-type: version-update:semver-major

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump WyriHaximus/github-action-helm3 from 4.0.1 to 4.0.2 (#3635, eb57250)

Bumps WyriHaximus/github-action-helm3 from 4.0.1 to 4.0.2. - Release notes - Commits

--- updated-dependencies: - dependency-name: WyriHaximus/github-action-helm3 dependency-type: direct:production

update-type: version-update:semver-patch

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Features

  • feat: added commitizen

  • feat: added config for commitizen

  • feat: added psr config

  • feat: add GitHub Actions workflow for semantic release

v4.16.4 (2024-11-22)

Chores

  • Update harvester dependency version to 0.9.0 in pyproject.toml and uv.lock (83150a0)

v4.16.3 (2024-11-21)

Chores

v4.16.2 (2024-11-20)

Refactoring

  • Simplify existence checks for articles, blogs, and reports by removing title filter (05748a6)

v4.16.1 (2024-11-19)

Chores

  • Remove AMQP configuration from .env.example and update Dockerfile to use apt-get upgrade (82bb1b3)

  • Revert "feat: update Dockerfile to install Google Chrome and wget (#3623)" (#3624, d455fef)

This reverts commit dcd179dee3aaaded83a25777b44c9c0e5c103d8d.

  • Update harvester dependency version to 0.7.0 in pyproject.toml and uv.lock (49c2f98)

Features

  • Update Dockerfile to install Google Chrome and wget (#3623, dcd179d)
  • feat: update Dockerfile to install Google Chrome and wget

  • chore: update harvester dependency to version 0.5.0 in pyproject.toml and uv.lock

Refactoring

  • Change log level from info to debug for existing blog and report checks (#3622, 2ac68b8)
  • refactor: change log level from info to debug for existing blog and report checks

  • chore: package updates

v4.16.0 (2024-11-18)

Bug Fixes

  • feat: add repository credentials as inputs for build-image action

  • feat: optimize Dockerfile by adding multi-stage build for improved image size

Chores

  • Add UV_INDEX_TSD credentials to GitHub workflows for enhanced security (a013715)

  • deps: Bump mikepenz/action-junit-report from 4 to 5 (#3618, 28a0543)

Features

  • chore: remove deprecated importer

  • feat: add the new importer app

  • feat: add uv variables for private packages

  • feat: new importer app with the harvester lib

  • feat: add logging configuration to settings

  • chore: update pre-commit hooks to latest versions

  • feat: implement news processing commands with logging

  • feat: add harvester dependency and configure uv sources

  • feat: enhance news processing with blog and report handling, improve logging

  • refactor: optimize news site retrieval by caching news_sites query

  • refactor: remove Celery integration and add ll commands

  • refactor: remove timeout from client options and set it directly in httpx.Client

  • refactor: remove timeout from client options to comply with security guidelines

  • chore: add UV_INDEX_TSD credentials to GitHub workflows for enhanced security

  • refactor: remove Makefile as it is no longer needed

  • chore: add UV_INDEX_TSD credentials to setup-python action for enhanced security

  • chore: add registry credentials inputs to setup-python action for improved security

  • chore: Revert "chore: add registry credentials inputs to setup-python action for improved security"

This reverts commit 18c5a670450606fbe0c65cbc770f9f0a1f9010bf.

  • chore: Revert "chore: add UV_INDEX_TSD credentials to setup-python action for enhanced security"

This reverts commit 47769de0472e5927c4b0ad1a99bd4d640745c098.

  • chore: update setup-python action for improved security and credential management

  • chore: update UV version and action reference in setup-python action

  • chore: remove unused AMQP settings from configuration

  • Add repository credentials as inputs for build-image action (#3620, cc14fe4)

v4.15.1 (2024-11-03)

Chores

v4.14.1 (2024-10-11)

Bug Fixes

  • Revert "chore: move to file based version (#3612)" (#3613, 8f547f1)

This reverts commit efe115308501d033e8738495f3af82ea9b9504ea.

Chores

  • chore: Update project configuration and dependencies
  • Remove unused build-system configuration - Add version.py file to store project version - Update usage of importlib.metadata to use version from version.py - Update uv.lock to use virtual source for snapy package
  • chore: Update version in src/version.py

  • chore: Update test workflow and mypy configuration

  • chore: Update pytest configuration and add pythonpath to pyproject.toml

  • feat: add profiles to docker-compose services

Add the "profiles" configuration to the docker-compose services for consuming, beat, and worker. This allows for better management and customization of the services.

Refactor the docker-compose.yml file to include the "profiles" option with the value "all" for each service.

Closes #<issue_number>

  • feat: going to a src layout

  • chore: making life a bit easier

  • refactor: update exclude path for ruff linting

  • refactor: update Dockerfile to include src directory

  • refactor: remove unnecessary VSCode configuration files

  • refactor: remove CodSpeed benchmark workflow

Features

  • feat: start using uv

  • chore: update workflows to use uv

  • chore: update project name to "spaceflightnewsapi"

  • chore: update project name to "snapy"

  • chore: Update Dockerfile to use uv for project dependencies

  • chore: Update workflows to use uv for dependency management

  • chore: Update Python version in production and staging workflows

  • chore: Update version in pyproject.toml using inputs.version

v4.14.0 (2024-09-16)

Chores

  • deps: Bump the package-updates group with 3 updates (#3605, 5f78229)

Bumps the package-updates group with 3 updates: boto3, logfire and ruff.

Updates boto3 from 1.35.18 to 1.35.19 - Release notes - Commits

Updates logfire from 0.51.0 to 0.52.0 - Release notes - Changelog - Commits

Updates ruff from 0.6.4 to 0.6.5 - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production

update-type: version-update:semver-patch

dependency-group: package-updates

  • dependency-name: logfire dependency-type: direct:production

update-type: version-update:semver-minor

  • dependency-name: ruff dependency-type: direct:development

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Features

  • Add environment variable for Sentry environment (#3604, 86ab9e2)

v4.13.0 (2024-09-13)

Chores

  • deps: Bump the package-updates group with 4 updates (#3601, af0346b)

Bumps the package-updates group with 4 updates: django-celery-beat, boto3, logfire and ruff.

Updates django-celery-beat from 2.6.0 to 2.7.0 - Release notes - Changelog - Commits

Updates boto3 from 1.35.0 to 1.35.5 - Release notes - Commits

Updates logfire from 0.50.1 to 0.51.0 - Release notes - Changelog - Commits

Updates ruff from 0.6.1 to 0.6.2 - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: django-celery-beat dependency-type: direct:production

update-type: version-update:semver-minor

dependency-group: package-updates

  • dependency-name: boto3 dependency-type: direct:production

update-type: version-update:semver-patch

  • dependency-name: logfire dependency-type: direct:production

  • dependency-name: ruff dependency-type: direct:development

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump the package-updates group with 4 updates (#3602, b08ab11)

  • deps: Bump the package-updates group with 6 updates (#3603, d3530d6)

  • deps: Update logfire to version 0.51.0 (24023bc)

Features

  • feat: add health checks

  • chore: Remove unused psycopg2_binary packages

  • chore(deps): bump the package-updates group with 4 updates (#3602)

  • chore(deps): bump the package-updates group with 6 updates (#3603)

  • refactor: Optimize code for better performance


Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v4.12.3 (2024-08-23)

Chores

  • deps: Bump the package-updates group with 4 updates (#3600, 3e74c91)

Bumps the package-updates group with 4 updates: markdown, sentry-sdk, boto3 and ruff.

Updates markdown from 3.6 to 3.7 - Release notes - Changelog - Commits

Updates sentry-sdk from 2.12.0 to 2.13.0 - Release notes - Changelog - Commits

Updates boto3 from 1.34.158 to 1.35.0 - Release notes - Commits

Updates ruff from 0.5.7 to 0.6.1 - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: markdown dependency-type: direct:production

update-type: version-update:semver-minor

dependency-group: package-updates

  • dependency-name: sentry-sdk dependency-type: direct:production

  • dependency-name: boto3 dependency-type: direct:production

  • dependency-name: ruff dependency-type: direct:development

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Derk Weijers [email protected]

v4.12.2 (2024-08-18)

Features

v4.12.1 (2024-08-16)

Chores

v4.12.0 (2024-08-16)

Chores

Bumps django from 4.2.14 to 4.2.15. - Commits

--- updated-dependencies: - dependency-name: django dependency-type: direct:production

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump the package-updates group with 6 updates (#3596, 86f0b94)

Bumps the package-updates group with 6 updates:

| Package | From | To | | --- | --- | --- | | django | 4.2.14 | 4.2.15 | | pyyaml | 6.0.1 | 6.0.2 | | gunicorn | 22.0.0 | 23.0.0 | | boto3 | 1.34.153 | 1.34.158 | | logfire | 0.48.1 | 0.50.1 | | ruff | 0.5.6 | 0.5.7 |

Updates django from 4.2.14 to 4.2.15 - Commits

Updates pyyaml from 6.0.1 to 6.0.2 - Release notes - Changelog - Commits

Updates gunicorn from 22.0.0 to 23.0.0 - Release notes - Commits

Updates boto3 from 1.34.153 to 1.34.158 - Release notes

Updates logfire from 0.48.1 to 0.50.1 - Release notes - Changelog - Commits

Updates ruff from 0.5.6 to 0.5.7 - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: django dependency-type: direct:production

update-type: version-update:semver-patch

dependency-group: package-updates

  • dependency-name: pyyaml dependency-type: direct:production

  • dependency-name: gunicorn dependency-type: direct:production

update-type: version-update:semver-major

  • dependency-name: boto3 dependency-type: direct:production

  • dependency-name: logfire dependency-type: direct:production

update-type: version-update:semver-minor

  • dependency-name: ruff dependency-type: direct:development

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Derk Weijers [email protected]

v4.11.0 (2024-08-05)

Chores

  • deps: Bump CodSpeedHQ/action from 2 to 3 (#3592, 3b01de5)

  • deps: Bump the package-updates group with 6 updates (#3591, 14ad9c5)

  • deps: Bump the package-updates group with 6 updates (#3594, fefc21a)

Bumps the package-updates group with 6 updates:

| Package | From | To | | --- | --- | --- | | django-filter | 24.2 | 24.3 | | sentry-sdk | 2.11.0 | 2.12.0 | | boto3 | 1.34.149 | 1.34.153 | | logfire | 0.48.0 | 0.48.1 | | coverage | 7.6.0 | 7.6.1 | | ruff | 0.5.5 | 0.5.6 |

Updates django-filter from 24.2 to 24.3 - Release notes - Changelog - Commits

Updates sentry-sdk from 2.11.0 to 2.12.0 - Release notes - Changelog - Commits

Updates boto3 from 1.34.149 to 1.34.153 - Release notes

Updates logfire from 0.48.0 to 0.48.1 - Release notes - Changelog - Commits

Updates coverage from 7.6.0 to 7.6.1 - Release notes - Changelog - Commits

Updates ruff from 0.5.5 to 0.5.6 - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: django-filter dependency-type: direct:production

update-type: version-update:semver-minor

dependency-group: package-updates

  • dependency-name: sentry-sdk dependency-type: direct:production

  • dependency-name: boto3 dependency-type: direct:production

update-type: version-update:semver-patch

  • dependency-name: logfire dependency-type: direct:production

  • dependency-name: coverage dependency-type: direct:development

  • dependency-name: ruff dependency-type: direct:development

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Features

v4.10.0 (2024-07-24)

Chores

  • chore: Add pytest-codspeed for benchmarking (#3585)

  • chore: Add benchmarking with pytest-codspeed for info and reports endpoints

  • chore: Add CSRF_TRUSTED_ORIGINS=localhost to pyproject.toml

  • chore: Update environment variables in codspeed.yml and pyproject.toml

  • fix: correct pytest command

  • chore: update the name

  • chore: clean-up

  • deps: Bump the package-updates group with 5 updates (#3587, 67457bc)

Bumps the package-updates group with 5 updates:

| Package | From | To | | --- | --- | --- | | sentry-sdk | 2.7.1 | 2.9.0 | | django-storages | 1.14.3 | 1.14.4 | | boto3 | 1.34.140 | 1.34.144 | | coverage | 7.5.4 | 7.6.0 | | ruff | 0.5.1 | 0.5.2 |

Updates sentry-sdk from 2.7.1 to 2.9.0 - Release notes - Changelog - Commits

Updates django-storages from 1.14.3 to 1.14.4 - Changelog - Commits

Updates boto3 from 1.34.140 to 1.34.144 - Release notes

Updates coverage from 7.5.4 to 7.6.0 - Release notes - Changelog - Commits

Updates ruff from 0.5.1 to 0.5.2 - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production

update-type: version-update:semver-minor

dependency-group: package-updates

  • dependency-name: django-storages dependency-type: direct:production

update-type: version-update:semver-patch

  • dependency-name: boto3 dependency-type: direct:production

  • dependency-name: coverage dependency-type: direct:development

  • dependency-name: ruff dependency-type: direct:development

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump the package-updates group with 5 updates (#3588, 3c1704e)

Bumps the package-updates group with 5 updates:

| Package | From | To | | --- | --- | --- | | sentry-sdk | 2.9.0 | 2.10.0 | | boto3 | 1.34.144 | 1.34.145 | | logfire | 0.46.1 | 0.47.0 | | pytest | 8.2.2 | 8.3.1 | | ruff | 0.5.2 | 0.5.4 |

Updates sentry-sdk from 2.9.0 to 2.10.0 - Release notes - Changelog - Commits

Updates boto3 from 1.34.144 to 1.34.145 - Release notes

Updates logfire from 0.46.1 to 0.47.0 - Release notes - Changelog - Commits

Updates pytest from 8.2.2 to 8.3.1 - Release notes - Changelog - Commits

Updates ruff from 0.5.2 to 0.5.4 - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production

update-type: version-update:semver-minor

dependency-group: package-updates

  • dependency-name: boto3 dependency-type: direct:production

update-type: version-update:semver-patch

  • dependency-name: logfire dependency-type: direct:production

  • dependency-name: pytest dependency-type: direct:development

  • dependency-name: ruff dependency-type: direct:development

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Derk Weijers [email protected]

Features

  • feat(#3589): optimize admin querysets

  • chore: add docstrings and cleanup


Co-authored-by: Derk Weijers [email protected]

v4.9.1 (2024-07-11)

Chores

  • Update deployment workflows to use GITHUB_TOKEN instead of CR_PAT (ebc38e7)

v4.9.0 (2024-07-11)

Bug Fixes

  • chore: Add write permissions to delete_runs job in cleanup workflow

  • chore: Remove token from cleanup workflow

Remove the token from the cleanup workflow to ensure that it is not exposed in the repository. The token was previously used for authentication but is no longer necessary. This change improves the security of the repository.

  • chore: Schedule cleanup tasks to run daily at midnight

To automate the cleanup tasks, the cleanup workflow has been updated to include a schedule that runs the workflow daily at midnight. This change ensures that the cleanup tasks are executed regularly, improving the maintenance of the repository.

Chores

  • Add logfire library for Django logging (#3583, dc0db25)

  • Update deployment workflows to use GITHUB_TOKEN instead of CR_PAT (#3584, 0dbfba1)

  • Update Python and Poetry setup in tests workflow (#3578, 7ed7fcf)

  • chore: Update Python and Poetry setup in tests workflow

  • chore: Update linters and set SECRET_KEY in tests workflow

  • chore: Update tests workflow with environment variables

  • chore: Update tests workflow with secrets and environment variables

  • chore: Update tests workflow with CSRF_TRUSTED_ORIGIN environment variable

  • fix: fix version that's being tested

  • chore: Update tests workflow to install project in editable mode

  • chore: Update tests workflow to include CELERY_BROKER_URL environment variable

  • chore: Update LL_URL with default value in settings.py

  • chore: Update tests workflow to include project installation in editable mode

  • chore: Update tests workflow to include SENTRY_DSN environment variable

  • deps: Bump certifi from 2024.6.2 to 2024.7.4 (#3579, 430463d)

Bumps certifi from 2024.6.2 to 2024.7.4. - Commits

--- updated-dependencies: - dependency-name: certifi dependency-type: indirect

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump django from 4.2.13 to 4.2.14 (#3581, 4e002c2)

  • deps: Bump the package-updates group with 2 updates (#3580, a078bc1)

Bumps the package-updates group with 2 updates: boto3 and ruff.

Updates boto3 from 1.34.136 to 1.34.140 - Release notes

Updates ruff from 0.5.0 to 0.5.1 - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production

update-type: version-update:semver-patch

dependency-group: package-updates

  • dependency-name: ruff dependency-type: direct:development

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Derk Weijers [email protected]

v4.8.3 (2024-07-02)

Chores

  • Refactor Dockerfile for improved file copying and project installation (#3577, 38a5392)

  • Update workflow name to reflect deployment to staging environment (a2ed519)

v4.8.2 (2024-07-02)

Chores

  • Also commit so it gets picked up by the build context (00d2ba5)

  • Bump version to ${{ inputs.version }} (e93ac33)

  • Commit through an action (3f21753)

  • Copy files to temporary directory for build context (b3faf29)

  • Load all (d96d21f)

  • Refactor Dockerfile for improved file copying and project installation (b070e27)

v4.8.1 (2024-07-02)

Chores

  • Remove unused files and configurations from repository (66d8d0f)

  • Update Dockerfile to include manage.py in file copying (cf10c86)

  • Update Dockerfile to include README.md in file copying (9f83d32)

  • Update Dockerfile to use COPY instead of ADD for file copying (9f30a2d)

v4.8.0 (2024-07-01)

Bug Fixes

Build System

  • Added github workflow logic (b00a238)

  • deps: Bump django-cors-headers from 4.2.0 to 4.3.0 (#3346, 7525e8f)

Bumps django-cors-headers from 4.2.0 to 4.3.0.

--- updated-dependencies: - dependency-name: django-cors-headers dependency-type: direct:production

update-type: version-update:semver-minor

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Derk Weijers [email protected]

  • build(deps): bump markdown from 3.4.4 to 3.5

Bumps markdown from 3.4.4 to 3.5. - Changelog - Commits

--- updated-dependencies: - dependency-name: markdown dependency-type: direct:production

update-type: version-update:semver-minor

...

Signed-off-by: dependabot[bot] [email protected]

  • chore: updated lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Derk Weijers [email protected]

Co-authored-by: Derk Weijers [email protected]

  • deps: Bump sentry-sdk from 1.23.1 to 1.25.0 (#524, d0edd21)

Bumps sentry-sdk from 1.23.1 to 1.25.0. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production

update-type: version-update:semver-minor

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump sentry-sdk from 1.31.0 to 1.32.0 (#3348, 7c4f328)

Bumps sentry-sdk from 1.31.0 to 1.32.0. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production

update-type: version-update:semver-minor

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Derk Weijers [email protected]

Bumps urllib3 from 2.0.5 to 2.0.6. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: urllib3 dependency-type: indirect

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bumps urllib3 from 2.0.6 to 2.0.7. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: urllib3 dependency-type: indirect

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Derk Weijers [email protected]

  • deps-dev: Bump black from 23.9.1 to 23.10.0 (#3355, 0e08352)

Bumps black from 23.9.1 to 23.10.0. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: black dependency-type: direct:development

update-type: version-update:semver-minor

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps-dev: Bump django-stubs from 4.2.4 to 4.2.5 (#3350, 643d5e8)

Bumps django-stubs from 4.2.4 to 4.2.5. - Release notes - Commits

--- updated-dependencies: - dependency-name: django-stubs dependency-type: direct:development

update-type: version-update:semver-patch

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Derk Weijers [email protected]

  • deps-dev: Bump djangorestframework-stubs from 3.14.3 to 3.14.4 (#3356, 9432e7c)

Bumps djangorestframework-stubs from 3.14.3 to 3.14.4. - Release notes - Commits

--- updated-dependencies: - dependency-name: djangorestframework-stubs dependency-type: direct:development

update-type: version-update:semver-patch

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps-dev: Bump pytest-django from 4.5.2 to 4.6.0 (#3368, 71ab66d)

Bumps pytest-django from 4.5.2 to 4.6.0. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: pytest-django dependency-type: direct:development

update-type: version-update:semver-minor

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps-dev: Bump pytest-env from 1.1.0 to 1.1.1 (#3369, 215d9ad)

Bumps pytest-env from 1.1.0 to 1.1.1. - Release notes - Commits

--- updated-dependencies: - dependency-name: pytest-env dependency-type: direct:development

update-type: version-update:semver-patch

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Derk Weijers [email protected]

Bumps ruff from 0.1.2 to 0.1.3. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: ruff dependency-type: direct:development

update-type: version-update:semver-patch

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Chores

  • fix: set the max limit to 500. fixes #857

  • chore: package updates

  • chore: reformat test

  • fix: add env variables

  • chore: more envs

  • chore: add services to the right job

  • chore: cleanup

  • Remove unused services from docker-compose files (8872873)

  • Remove unused variables (fba77e5)

  • Restart db when needed (70243eb)

  • Some cleanup (11d6db7)

  • Speedup health check (d421280)

  • Switch from using attributes to a decorator for custom admin stuff (9c8a016)

  • Switch to ruff format (2fc5869)

  • Track performance (#3370, 02322b7)

  • Type checking is done with mypy (ad6d79b)

  • Update all deps (e07556f)

  • Update all packages (#3427, e5913b8)

  • Update all references to python 3.12 (4c82e43)

  • Update Django and Sentry configurations (78ac827)

  • Update Dockerfile to include image source label (d8b8278)

  • Update Dockerfile to include project installation in final image (eb83bbc)

  • Update permissions in staging workflow for k8s deployment (521fd57)

  • Update Python and Poetry setup in staging workflow (c47f92f)

  • Update staging workflow for k8s deployment (4b6b550)

  • Update staging workflow for k8s deployment (bd3a36f)

  • Update staging workflow for k8s deployment (631311e)

  • Update staging workflow for k8s deployment (c1a7825)

  • Update staging workflow for k8s deployment (d14681b)

  • Update staging workflow for k8s deployment (b64085e)

  • Update staging workflow for k8s deployment (4ba87a1)

  • Update staging workflow for k8s deployment (22fcd46)

  • Update staging workflow for k8s deployment (df21117)

  • Update staging workflow for k8s deployment (0d5fa54)

  • Update staging workflow for k8s deployment (da518c8)

  • Update staging workflow for k8s deployment (8247fde)

  • Update staging workflow for k8s deployment (76b8a6d)

  • Update staging workflow for k8s deployment (6764bd8)

  • Update staging workflow for k8s deployment (9d5f2ac)

  • Update staging workflow for k8s deployment (df1ac65)

  • Update staging workflow for k8s deployment (221bc42)

  • Updated docker config (45600e6)

  • Updated variables (defa92f)

  • Updates (81bba08)

  • Updates (#2389, b4d86ac)

  • Updates (#2990, cfd52e9)

  • Updates (#3306, 8f17f94)

  • chore: updates

  • chore: renaming some things

  • chore: group dependabot update

  • chore: update django-stubs to version 4.2

  • chore: update pre-commit hooks and dependencies

  • deps: Bump boto3 from 1.34.99 to 1.34.108 (#3555, 13ff9a8)

Bumps boto3 from 1.34.99 to 1.34.108. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production

update-type: version-update:semver-patch

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump boto3 in the package-updates group (#3576, fc4e92e)

Bumps the package-updates group with 1 update: boto3.

Updates boto3 from 1.34.135 to 1.34.136 - Release notes

--- updated-dependencies: - dependency-name: boto3 dependency-type: direct:production

update-type: version-update:semver-patch

dependency-group: package-updates

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Derk Weijers [email protected]

  • deps: Bump django from 4.2.12 to 4.2.13 (#3553, 1bb1318)

  • deps: Bump django-filter from 23.5 to 24.2 (59dc7fc)

Bumps django-filter from 23.5 to 24.2. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: django-filter dependency-type: direct:production

update-type: version-update:semver-major

...

Signed-off-by: dependabot[bot] [email protected]

  • deps: Bump docker/build-push-action from 5 to 6 (#3573, 2b09363)

Bumps docker/build-push-action from 5 to 6. - Release notes - Commits

--- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production

update-type: version-update:semver-major

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump sentry-sdk from 1.45.0 to 2.1.1 (#3549, c614b08)

Bumps sentry-sdk from 1.45.0 to 2.1.1. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production

update-type: version-update:semver-major

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump sentry-sdk from 2.1.1 to 2.5.1 (#3562, 7578dcb)

  • deps: Lock file maintenance (bf3694d)

  • deps: Lock file maintenance (626bd30)

  • deps: Update actions/checkout action to v4 (#3376, 27ac760)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update actions/setup-python action to v5 (#3424, 2bf7e1b)

  • deps: Update codacy/codacy-analysis-cli-action digest to 240c610 (#3372, 14588cb)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency bandit to v1.7.7 (c5f76d0)

  • deps: Update dependency bandit to v1.7.8 (970c1fc)

  • deps: Update dependency black to v23.11.0 (#3391, e2c19b1)

  • deps: Update dependency black to v23.12.0 (#3421, 810c5d5)

  • deps: Update dependency black to v23.12.1 (#3433, 735bcf0)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency black to v24 (7673d60)

  • deps: Update dependency boto3 to v1.34.61 (822f7f7)

  • deps: Update dependency boto3 to v1.34.63 (e03baa8)

  • deps: Update dependency boto3 to v1.34.64 (d46698e)

  • deps: Update dependency boto3 to v1.34.65 (be9935e)

  • deps: Update dependency boto3 to v1.34.67 (b6d056a)

  • deps: Update dependency boto3 to v1.34.68 (a294fb7)

  • deps: Update dependency boto3 to v1.34.69 (164dbee)

  • deps: Update dependency boto3 to v1.34.70 (6cfdb4d)

  • deps: Update dependency boto3 to v1.34.71 (3b695e5)

  • deps: Update dependency boto3 to v1.34.76 (3aa4415)

  • deps: Update dependency boto3 to v1.34.77 (7500f54)

  • deps: Update dependency boto3 to v1.34.78 (b5be966)

  • deps: Update dependency boto3 to v1.34.79 (66ea6bb)

  • deps: Update dependency boto3 to v1.34.80 (c95ea4e)

  • deps: Update dependency boto3 to v1.34.81 (ae2e1e4)

  • deps: Update dependency boto3 to v1.34.82 (fc487f9)

  • deps: Update dependency boto3 to v1.34.83 (ea93795)

  • deps: Update dependency boto3 to v1.34.84 (065a707)

  • deps: Update dependency boto3 to v1.34.86 (f748a57)

  • deps: Update dependency boto3 to v1.34.87 (ff5e0a7)

  • deps: Update dependency boto3 to v1.34.88 (cc22bd4)

  • deps: Update dependency celery to v5.3.5 (#3395, df59cd2)

  • deps: Update dependency celery to v5.3.6 (#3405, 0b1e6d3)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency celery to v5.4.0 (90d2023)

  • deps: Update dependency coverage to v7.3.3 (#3419, d99000e)

  • deps: Update dependency coverage to v7.4.0 (#3431, 9396fc7)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency coverage to v7.4.1 (75c32fd)

  • deps: Update dependency coverage to v7.4.3 (526a1c8)

  • deps: Update dependency coverage to v7.4.4 (170a9be)

  • deps: Update dependency django to v4.2.10 (05f0c04)

  • deps: Update dependency django to v4.2.11 (e1e04db)

  • deps: Update dependency django to v4.2.7 (#3386, e3a6ae9)

Co-authored-by: Renovate Bot [email protected]

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency django to v4.2.9 (#3435, 86bd906)

  • deps: Update dependency django-celery-beat to v2.6.0 (9693676)

  • deps: Update dependency django-cors-headers to v4.3.1 (#3401, 319b280)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency django-filter to v23.4 (#3403, a2c452b)

  • deps: Update dependency django-filter to v23.5 (#3414, 59777dc)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency django-filter to v24 (4cb6c9f)

  • deps: Update dependency django-filter to v24 (504b11d)

  • deps: Update dependency django-stubs to v4.2.7 (#3415, 473ee90)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency django-stubs-ext to v4.2.7 (#3416, e09d66c)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency djangorestframework to v3.15.0 (447bef0)

  • deps: Update dependency djangorestframework to v3.15.1 (d9c4876)

  • deps: Update dependency djangorestframework-stubs to v3.14.5 (#3420, 0282148)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency drf-spectacular to ^0.27.0 (#3422, 28ab126)

  • deps: Update dependency drf-spectacular to v0.27.1 (d67a124)

  • deps: Update dependency drf-spectacular to v0.27.1 (7f8d25a)

  • deps: Update dependency drf-spectacular to v0.27.2 (f4fbf2f)

  • deps: Update dependency environs to v10 (#3429, 26b4fa9)

  • deps: Update dependency environs to v10.2.0 (#3441, c308453)

  • deps: Update dependency environs to v10.3.0 (5e23da8)

  • deps: Update dependency environs to v10.3.0 (#3444, be73d7b)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency environs to v11 (9ed4acc)

  • deps: Update dependency gunicorn to v22 (6f0ddf2)

  • deps: Update dependency httpx to ^0.26.0 (#3430, 45ff865)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency httpx to ^0.27.0 (529c5d2)

  • deps: Update dependency httpx to v0.25.1 (#3389, 78bbdb0)

Co-authored-by: Renovate Bot [email protected]

Co-authored-by: Renovate Bot [email protected]

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency markdown to v3.5.2 (#3443, 4215382)

  • deps: Update dependency markdown to v3.6 (e614e61)

  • deps: Update dependency mypy to v1.7.0 (#3396, cc33e19)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency mypy to v1.8.0 (58221a5)

  • deps: Update dependency pytest to v7.4.4 (#3434, d49843d)

  • deps: Update dependency pytest to v8 (f47a323)

  • deps: Update dependency pytest to v8.0.2 (d947253)

  • deps: Update dependency pytest to v8.1.1 (15d62ec)

  • deps: Update dependency pytest-cov to v5 (6d90415)

  • deps: Update dependency pytest-django to v4.7.0 (#3392, 82ccd3a)

  • deps: Update dependency pytest-django to v4.8.0 (1d84e86)

  • deps: Update dependency pytest-env to v1.1.3 (#3408, ef05628)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency pyupgrade to v3.15.1 (0e8a4e6)

  • deps: Update dependency pyupgrade to v3.15.2 (22dc193)

  • deps: Update dependency ruff to ^0.2.0 (e63a99f)

  • deps: Update dependency ruff to ^0.3.0 (13b1e26)

  • deps: Update dependency ruff to ^0.4.0 (0d62e29)

  • deps: Update dependency ruff to v0.1.10 (#3437, 51cd8b2)

  • deps: Update dependency ruff to v0.1.11 (#3438, ad38a44)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency ruff to v0.1.13 (54744cf)

  • deps: Update dependency ruff to v0.1.4 (#3390, 8de9ecd)

Co-authored-by: Renovate Bot [email protected]

Co-authored-by: Renovate Bot [email protected]

Co-authored-by: Renovate Bot [email protected]

Co-authored-by: Renovate Bot [email protected]

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency ruff to v0.2.1 (1779225)

  • deps: Update dependency ruff to v0.2.2 (6f5a6bf)

  • deps: Update dependency ruff to v0.3.2 (ffa60b0)

  • deps: Update dependency ruff to v0.3.3 (d7ee70f)

  • deps: Update dependency ruff to v0.3.4 (aae52b1)

  • deps: Update dependency ruff to v0.3.5 (b49df92)

  • deps: Update dependency ruff to v0.3.7 (949b9ed)

  • deps: Update dependency sentry-sdk to v1.33.0 (#3379, 5dbc1fc)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency sentry-sdk to v1.33.1 (#3383, fec0c89)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency sentry-sdk to v1.34.0 (#3388, 6f134d7)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency sentry-sdk to v1.35.0 (#3398, d351f03)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency sentry-sdk to v1.36.0 (#3404, 5e7ac80)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dependency sentry-sdk to v1.39.2 (#3442, bb28e8b)

  • deps: Update dependency sentry-sdk to v1.40.3 (447584e)

  • deps: Update dependency sentry-sdk to v1.40.5 (5a6aae3)

  • deps: Update dependency sentry-sdk to v1.41.0 (c7042ee)

  • deps: Update dependency sentry-sdk to v1.42.0 (e0de6fb)

  • deps: Update dependency sentry-sdk to v1.43.0 (2dd4261)

  • deps: Update dependency sentry-sdk to v1.44.0 (a0764af)

  • deps: Update dependency sentry-sdk to v1.44.1 (4fb6741)

  • deps: Update dependency sentry-sdk to v1.45.0 (0e45d86)

  • deps: Update dmvict/clean-workflow-runs action to v1.2.1 (#3373, 0cff04c)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update dmvict/clean-workflow-runs action to v1.2.2 (618cdee)

  • deps: Update docker/build-push-action action to v5 (#3377, 3c60043)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update docker/login-action action to v3 (#3378, 51e0cb3)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update docker/metadata-action action to v5 (#3380, f5dc759)

Co-authored-by: Renovate Bot [email protected]

  • deps: Update docker/setup-buildx-action action to v3 (#3381, 67c6bf1)

Co-authored-by: Renovate Bot [email protected]

Bumps the package-updates group with 1 update in the / directory: ruff.

Updates ruff from 0.4.10 to 0.5.0 - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: ruff dependency-type: direct:development

update-type: version-update:semver-minor

dependency-group: package-updates

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Code Style

Documentation

Closes #160

Features

Closes #163

  • Added docker config (a5cb628)

  • Added filters to the Articles, Blogs and Reports endpoints (4b2f5b3)

Closes #154

  • feat: added ruff and pre-commit config

  • feat: ruff

  • Added tasks to migrate blogs and reports (28da950)

Closes #162

  • Added tests for the consumer (88492e1)

  • Clean and lean (e3719e2)

  • Clean and lean (#217, 15aa1b1)

  • Exclude news sites (#3426, da7b350)

  • Extend autocomplete fields (11d415d)

  • Hooking up django to the importer queues (dbcd70c)

  • Made it configurable (a66e78c)

  • Main logic implemented (a0462c3)

  • Making sure the queues exist (a05121c)

  • Move to do s3 for statics (ff3a981)

  • Moved consumer stuff to its own app (6e95245)

  • Moved to match/case (361cf1f)

  • Run bandit with pre-commit (#3332, 52a81dd)

  • Scraper logic (69f742f)

  • Switched to drf_spectacular for openapi generation (837a977)

  • Tests for amqp stuff (d70bf4e)

  • Use a non-root user to run the app (#216, b4d96df)

  • admin,#3492: Big overhaul of the SNAPI admin panel (ef3b1b4)

  • api/admin.py: Added sorting on the published_at column (b3d7434)

Closes #157

Refactoring