Repository navigation
v0.6.0 (2024-12-21)
Bug Fixes
-
Compatibility with python 3.9 (
f3c0468) -
Config is no longer erased when it fails to save. Also, the config is saved synchronously now (
df539a3) -
Consistent colors in setup across all terminals (
faa625b) -
Ctx.is_manual_output is fixed (
2e591f5) -
Deleting message no longer produces an error (
ef317d9) -
Don't stop on unhandled errors. They may happen when, for example, a module uses asyncio.create_task (
3584f22) -
Fix IndentationError appearing for some non-code messages (
599c84f) -
Handle entities properly when editing "//" message (
6d989dc) -
Ignore error when running code deletes the message itself (
d022450) -
Initial setup can now be interrupted with ctrl+c (
e6253c7) -
Initial setup prompts now work properly (
8713dff) -
Keep 'cancel' message when replying to other user (fixes tm-a-t#21) (
057231d) -
Message editing bug (
3d1d566) -
Parse_tgpy_message no longer returns positive result for
TGPy error>messages (818e47d) -
Restart now works correctly when tgpy is not in PYTHONPATH (e.g. in a container) (
16d3830) -
Restart() now edits message properly (
60afa44) -
Sending
cancelin comments and topics now works correctly. Fixcancelthrowing error when the message is not a TGPy message (1d3ba1a) -
Specify parse_mode in error handler to support markdown global parse mode (
60cd81b) -
Strip device model (
a775cc5) -
Tgpy error when editing MessageService, e.g. when deleting all messages in pm or beating your high score in games (
5d6fb5e) -
The correct data directory is now used when TGPY_DATA is set to a relative path and restart is called (
f483d6c) -
Try to fix session termination issue by setting device_model and system_version to real values from the system (
44e1c3d) -
Update command saying "Already up to date" while in fact updating correctly (
9b25fe6) -
Update from older versions (
df11e8b) -
Update telethon (fix draft constructor), update all dependencies (
a2b6064) -
Use cryptg-anyos again, because there are no official cp312-aarch64 binaries (
50ca341) -
Use message.raw_text instead of message.text to detect // (
a85b1c8) -
Use official cryptg (prebuilt wheels for Python 3.12), bump telethon (fixes usage of Draft), set minimum python version to 3.10 (
9e49739) -
docker: Add /venv/bin to path (
00be149) -
docker: Fix restart() failing to start tgpy in docker (
5fcd14c) -
Telethon: New layer fix (
8145bd3)
Build System
-
Build docker image on python 3.12 (
eec91a9) -
Update deps (telethon layer 151 and markup parsing/unparsing fixes) (
d06f47e) -
Update telethon (layer 150) (
b1379fc) -
Use cryptg-anyos, which provides prebuilt wheels for musllinux (
7d85c71) -
Use python-slim image instead of python-alpine (
a34bd20)
Chores
-
Add workflow_dispatch event to main workflow (
7812289) -
Fix changelog (
87438a4) -
Fix readme (
769b903) -
Fix version (
c783bfa) -
release: V0.10.0 [skip ci] (
b44a3cc) -
release: V0.11.0 [skip ci] (
0fcbbe6) -
release: V0.12.0 [skip ci] (
75cbfa9) -
release: V0.12.1 [skip ci] (
000dda1) -
release: V0.13.0 [skip ci] (
2613a75) -
release: V0.13.1 [skip ci] (
ff2f8f0) -
release: V0.13.2 [skip ci] (
212069c) -
release: V0.14.0 [skip ci] (
0b9d488) -
release: V0.14.1 [skip ci] (
81aeb16) -
release: V0.15.0 [skip ci] (
36f9a64) -
release: V0.15.1 [skip ci] (
55b555f) -
release: V0.16.0 [skip ci] (
2a99f05) -
release: V0.5.1 [skip ci] (
9371260) -
release: V0.6.0 [skip ci] (
e0a31a8) -
release: V0.6.0 [skip ci] (
eb5ec9e) -
release: V0.6.0 [skip ci] (
0b59dcc) -
release: V0.6.0 [skip ci] (
ffbc4bd) -
release: V0.6.1 [skip ci] (
e3a3a20) -
release: V0.6.2 [skip ci] (
6934c6c) -
release: V0.7.0 [skip ci] (
53269f8) -
release: V0.8.0 [skip ci] (
c1915aa) -
release: V0.9.0 [skip ci] (
287f2e1) -
release: V0.9.1 [skip ci] (
f95640d) -
release: V0.9.2 [skip ci] (
c1ac624) -
release: V0.9.3 [skip ci] (
ac07b46) -
release: V0.9.4 [skip ci] (
1794a21) -
release: V0.9.5 [skip ci] (
0ccf228) -
release: V0.9.6 [skip ci] (
77bed85) -
release: V0.9.7 [skip ci] (
4bb459a)
Code Style
-
Reformat [skip ci] (
2b09fb3) -
Reformat [skip ci] (
d33b9f4) -
Reformat [skip ci] (
9d76376) -
Reformat [skip ci] (
a542441) -
Reformat [skip ci] (
bcf54a4) -
Reformat [skip ci] (
9853be4)
Continuous Integration
-
Build docker image with proper tgpy version (
d0f4969) -
Fix manual release workflow trigger (
f44d8a3) -
Release hotfix (
8572721) -
Tag docker images by release versions (
f8710c7) -
guide: Add guide dependencies to pyproject.toml, build guide using nix (
8686aa0)
Documentation
-
Describe loading of API secrets from env in guide (
eb2a023) -
Document new features (
f10b340) -
Fix transformer example (
8007b25)
Fix shell commands example in documentation (tm-a-t#35)
Co-authored-by: Artyom Ivanov tmat.ivanov@gmail.com
-
Non-flickery buttons on the index page (
a783e1f) -
Recipes and new homepage (
28e8eba) -
Reset page scale back to normal (
20ec126)
Bigger scale was rather an experimental change and I'm tired of how it looks :)
-
Revert narrowing container (
bb0bff9) -
Update changelog (
21abcf0) -
Update pages (
1a696e3) -
Update pages (
937dc35) -
Update readme (
e446344) -
Update readme (
a321bbf) -
add links to badges
-
change introduction
-
Update readme intro (
c334669)
Features
-
Cd to DATA_DIR/workdir on tgpy start (
f51dc84) -
Change in-message url to tgpy.tmat.me (
8737ca9) -
Move tokenize_string and untokenize_to_string to tgpy.api (
7d8c3b2) -
Real time progress feedback (
8e85d7a)
When stdout.flush() or stderr.flush() is called, the current output will be displayed in the message that is being evaluated. The message with be updated at most once per 3 seconds.
-
Stop running message execution on
cancel, addstopcommand to only stop execution without blacklisting the message (547c1c6) -
Support proxy (
cd6bc90) -
Telegram API ID and hash now can be loaded from environment (
9c22347) -
Update dependencies (layer 152) (
234dc86) -
Update telethon (new markdown parser, html parser fixes) (
43dd76f) -
Use MessageEntityPre with language set to 'python' to enable syntax highlighting on supported clients (e.g. WebZ). Closes tm-a-t#24 (
5de6ded) -
Wrap sys.stdout instead of print to capture output + properly use contextvars (
7aa2015) -
docker: Run specified commands on container creation. This feature can be used for example to persist installed packages between updates (
456f503) -
Telethon: Fixes for the new layer and many more fixes from upstream (
800fcd5) -
Telethon: Layer 164 (
2d0c186) -
Telethon: Layer 179 (
010f4ef) -
Telethon: Update to layer 166 (
a18dc0d)
Refactoring
Detailed Changes: v0.5.0...v0.6.0