Skip to content

3.1.0#155

Merged
mahtoid merged 11 commits intomasterfrom
3.1.0
May 2, 2026
Merged

3.1.0#155
mahtoid merged 11 commits intomasterfrom
3.1.0

Conversation

@mahtoid
Copy link
Copy Markdown
Owner

@mahtoid mahtoid commented Mar 22, 2026

DiscordChatExporterPy Release - v3.1.0

Introduces AST-based markdown and mention parsing, replacing the previous regex-based logic for improved reliability and maintainability. Alongside this, added some sanity for contributors with automated test and lint workflows which can be expanded over-time, but should strengthen code quality going forward.

Additionally contains small fixes around CSS and (hopefully) minor performance improvements.

Huge thank you to @LuigiLP for helping with testing this release, especially with the changes to AST and Images and some edge-case fallouts it caused.

Fixed/Changed

  • CSS around Embeds and Buttons
  • Updated bug report template to include a reproduce section
  • Various minor improvements aimed for better performance
  • CSS and display of 'Forwarded' messages
  • Changed from .proxy_url to .url (seems more appropriate to use .cdn. than .media.)

Added

  • AST-based markdown and mention parsing
  • Test workflow (AST and Integration tests)
  • Lint workflow (Ruff)
  • Image Grids (better display of multiple-images, matching Discord)

Removed

  • Former markdown and mention regex-hell logic

Known Issues:

  • If you spot any other issues, please let me know via Discord or open a Github Issue

💜

…ound embeds and buttons. Test and Lint workflows. Minor improvements
@mahtoid mahtoid requested a review from doluk as a code owner March 22, 2026 11:56
Comment thread chat_exporter/construct/assets/attachment.py Outdated
Copy link
Copy Markdown
Collaborator

@doluk doluk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when the lint action passes, we are good to merge

@FroostySnoowman
Copy link
Copy Markdown
Contributor

Looks good to me too

doluk
doluk previously approved these changes Mar 30, 2026
Copy link
Copy Markdown
Collaborator

@doluk doluk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's ignore the lint action for now

@holymode
Copy link
Copy Markdown

base.html seems to be using < !--Timestamps: Tooltips-- > instead of <!-- Scroll to Message (References) -->, which causes the js to malfunction. There are more such cases as this.
Popup dont work and so on.

image

mahtoid and others added 2 commits April 25, 2026 12:27
* Create python-publish.yml

* Adjust workflow

---------

Co-authored-by: mahtoid <git@mahto.id>
@mahtoid mahtoid requested a review from doluk April 25, 2026 13:18
@mahtoid mahtoid merged commit b221a7f into master May 2, 2026
3 checks passed
@mahtoid mahtoid deleted the 3.1.0 branch May 2, 2026 20:47
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.

5 participants