Skip to content

chore(release): 9.9.0, deleted accounts keep their name and show as deleted - #640

Merged
GeiserX merged 1 commit into
mainfrom
chore/release-9.9.0
Nov 23, 2026
Merged

GeiserX merged 1 commit into
mainfrom
chore/release-9.9.0

Conversation

@GeiserX

@GeiserX GeiserX commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Three changes are merged and not released. A contact who deletes their Telegram account keeps the name the archive had, and the viewer marks the account as deleted. Chat search finds a full name or an @handle. The thumbnail path checks now use a form CodeQL recognises.

This releases them as 9.9.0. It bumps every version pin, dates the changelog and adds the upgrading row. It also corrects the /api/chats search line in the API reference, which still said "title, name or username".

Summary

Type of Change

  • New feature (non-breaking change that adds functionality)

Database Changes

  • Migration 043, idempotent, adds two nullable columns

Testing

  • tests/test_release_pins.py passes with every pin at 9.9.0
  • main at b8703c9 is green: Tests, Lint, CodeQL, Docs, Package and the viewer image

Deployment Notes

  • After the merge, the tag v9.9.0 publishes the images and the PyPI package.

Summary by CodeRabbit

  • New Features
    • Chat search now matches titles, first and last names, full names, and usernames with or without @.
    • Deleted Telegram account names are preserved and displayed.
  • Improvements
    • The viewer API now includes account-deletion timestamps for chats and message senders. A database update runs automatically on startup; no manual action is required.
  • Documentation
    • Updated release and Docker examples to version 9.9.0.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Release metadata and the project version change to 9.9.0. Docker configuration and examples use 9.9.0 image tags. The release and API documentation describes deleted-account fields, migration 043, and expanded chat search matching.

Changes: 9.9.0 Release Updates

Layer / File(s) Summary
Release version declarations
CITATION.cff, pyproject.toml, telegram_archive/__init__.py
The citation metadata and project version declarations change from 9.8.0 to 9.9.0.
Docker image references
README.md, docker-compose.yml, docs/configuration/database.md, docs/getting-started/docker.md, docs/operations/upgrading.md, docs/viewer/access.md, scripts/migrate-sqlite-to-postgres.py
Docker configuration, examples, and migration commands use image version 9.9.0.
Release and API documentation
docs/CHANGELOG.md, docs/reference/api.md, docs/operations/upgrading.md
The changelog and reference documentation describe release notes, migration and API fields, and chat search matching.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Merge Risk: Minimal · up to 692d4 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names a release (9.9.0) and the two user-visible changes: deleted accounts keep their name and show as deleted. The changeset bumps version pins across files and adds the account-deletion ha…
Description check Passed The description covers the purpose, the summary of the three changes with PR references, the database migration, the API impact, the checked Type of Change and Database Changes boxes, testing, and dep…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names a release (9.9.0) and the two user-visible changes: deleted accounts keep their name and show as deleted. The changeset bumps version pins across files and adds the account-deletion handling, so the title covers the main change. The 'chore(release)' prefix is accurate, and the title is 75 characters, which is acceptable. It omits the chat search change and the CodeQL fix, which is expected for a short title.

Full details: Description check

Explanation

The description covers the purpose, the summary of the three changes with PR references, the database migration, the API impact, the checked Type of Change and Database Changes boxes, testing, and deployment notes. It follows the template's section structure. Several template sections are missing: the Data Consistency Checklist, the Security Checklist, and the Testing items for pytest, ruff check, ruff format, and manual testing. The description also does not confirm the Data Consistency items, even though the migration touches database code. The Summary bullet is also longer than the template's 1-2 bullet guidance. These gaps are non-critical for a release PR, so the description is mostly complete.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b8703c9 and 692d4e4.

Files ignored due to path filters: 1

  • uv.lock is excluded by !**/*.lock
Files selected for processing: 12

  • CITATION.cff
  • README.md
  • docker-compose.yml
  • docs/CHANGELOG.md
  • docs/configuration/database.md
  • docs/getting-started/docker.md
  • docs/operations/upgrading.md
  • docs/reference/api.md
  • docs/viewer/access.md
  • pyproject.toml
  • scripts/migrate-sqlite-to-postgres.py
  • telegram_archive/__init__.py

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

@github-actions

Copy link
Copy Markdown

🐳 Dev images published!

  • drumsergio/telegram-archive:dev
  • drumsergio/telegram-archive-viewer:dev

The dev/test instance will pick up these changes automatically (Portainer GitOps).

To test locally:

docker pull drumsergio/telegram-archive:dev
docker pull drumsergio/telegram-archive-viewer:dev

@GeiserX
GeiserX merged commit d8a0dda into main Nov 23, 2026
12 checks passed
@GeiserX
GeiserX deleted the chore/release-9.9.0 branch November 23, 2026 20:15
@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.96%. Comparing base (b8703c9) to head (692d4e4).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #640   +/-   ##
=======================================
  Coverage   94.96%   94.96%           
=======================================
  Files          90       90           
  Lines       22758    22758           
=======================================
  Hits        21612    21612           
  Misses       1146     1146           
Files with missing lines Coverage Δ
telegram_archive/__init__.py 71.42% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant