Skip to content

Commit

Permalink
chore(release): v0.2.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release authored and actions-user committed Dec 25, 2021
1 parent fe52467 commit 09d4c60
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 2 deletions.
61 changes: 61 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Changelog

<!--next-version-placeholder-->

## v0.2.0 (2021-12-25)
### Feature
* Show 'tgpy' package version if it's installed ([`d9fbf77`](https://github.com/tm-a-t/TGPy/commit/d9fbf77e6e7bc3eaf2f2e591286dacd96601c6ab))
* Pretty cli setup and logs ([`f440ea4`](https://github.com/tm-a-t/TGPy/commit/f440ea42e2e98a16442f6c5b563f5d37ad11e771))
* App object and config loading ([`ae9bd17`](https://github.com/tm-a-t/TGPy/commit/ae9bd176e33b9f325beb8949685a1f07b64095b3))
* Preparing for PyPI publication & single command configuration ([`2e7e3ca`](https://github.com/tm-a-t/TGPy/commit/2e7e3ca82bbc7778cbe3a347c7c79c559200e99f))
* Save hook datetime, run hooks in order of addition ([`e6d2cea`](https://github.com/tm-a-t/TGPy/commit/e6d2cea9b8f13356b109e3a12472f53cb312421d))
* Changes of custom hook functions ([`3ed8822`](https://github.com/tm-a-t/TGPy/commit/3ed882290fb358a2b1415aa81e89b0e43b430d98))
* User hooks addition and removal ([`0abb062`](https://github.com/tm-a-t/TGPy/commit/0abb0628d08e02bd7a93a93aa35c38b91b18fc98))
* Docstrings for app/run_code/parse_code.py ([`b6d283a`](https://github.com/tm-a-t/TGPy/commit/b6d283aed3e6a714ca70d44a93f46087a6bd450b))
* Make code detection less strict ([`c86d842`](https://github.com/tm-a-t/TGPy/commit/c86d842eb5759b0e4c7ea92f8dc5bd2e86edc6a3))
* Pretty logging ([`f7d1b60`](https://github.com/tm-a-t/TGPy/commit/f7d1b605c3022bcb96423c2d3d2ad615b6018a56))
* Update command ([`a87a803`](https://github.com/tm-a-t/TGPy/commit/a87a8030cd27d2d7122d7562478a363279077f13))
* Run using aiorun ([`28e95b5`](https://github.com/tm-a-t/TGPy/commit/28e95b5430097f4cb93fd561dbc616431054fd6d))
* If message with code is deleted, ignore error on the result editing ([`7872678`](https://github.com/tm-a-t/TGPy/commit/78726786fcf2ba6288752e6ab0fd7eff5e54c8b4))
* Show username and hostname in ping() ([`df7722c`](https://github.com/tm-a-t/TGPy/commit/df7722c2a202df65de6e3905d639ffe9789ab16b))
* __repr__ of Context, ping() function ([`a1a1443`](https://github.com/tm-a-t/TGPy/commit/a1a1443a5a266457e77506a7d19b1564687393d5))
* Ctx variable ([`80503a8`](https://github.com/tm-a-t/TGPy/commit/80503a866510b74222b9dd2cb9cde3c84056de7d))
* Exception formatting ([`1417583`](https://github.com/tm-a-t/TGPy/commit/141758336a2f7354f4a3e795f793c187725d3458))
* If result is None, show output instead of result ([`bc8f1ce`](https://github.com/tm-a-t/TGPy/commit/bc8f1ce865acd87032cc4bc43df9659c1c930cee))
* Cancel without reply ([`2c77e6f`](https://github.com/tm-a-t/TGPy/commit/2c77e6f5907937e9ad91b5bfc5ac24d10e80e85e))

### Fix
* Convert old config ([`10e0285`](https://github.com/tm-a-t/TGPy/commit/10e028596f45fb67fac70f7a23fa34a9003884c0))
* Move session file to data dir ([`b7db892`](https://github.com/tm-a-t/TGPy/commit/b7db8929be793e75dd77ca67006e89c56d1cc7c6))
* Disable reevaluation of edited messages in broadcast channels ([`62c3006`](https://github.com/tm-a-t/TGPy/commit/62c30060b510cd8c149da6507b9e4b5938fecc57))
* Make cancel command case-insensitive ([`b938ea3`](https://github.com/tm-a-t/TGPy/commit/b938ea3621caca4279e52788ea828cf42d212dd0))
* Edit message after restart ([`44b5d07`](https://github.com/tm-a-t/TGPy/commit/44b5d0755cb812a6651620a2470384c2a7f2833d))
* MessageEmptyError on '//', closes #13 ([`a2d8883`](https://github.com/tm-a-t/TGPy/commit/a2d8883768f2ccbf0db915902830d801edcbd7c3))
* App.run_code.parse_code: attr.attr.attr was a false positive ([`5cb7e28`](https://github.com/tm-a-t/TGPy/commit/5cb7e2819a1c4a3e22df5c1a414fe2e04ed1d961))
* Code like *"constant", *name or *attr.ibute is ignored ([`739c80e`](https://github.com/tm-a-t/TGPy/commit/739c80e56c87042e6e1803d51fe5d22d840bc891))
* Tgpy will no longer crash if returned coroutine crashes ([`a4303f3`](https://github.com/tm-a-t/TGPy/commit/a4303f32b624f7ae77d8f9099178b222b078ae21))
* Meval.shallow_walk - ignore async function definitions too ([`5e5f04e`](https://github.com/tm-a-t/TGPy/commit/5e5f04ebea285da3db688d566be6feb403cb8b72))
* Editting message caused error ([`b171036`](https://github.com/tm-a-t/TGPy/commit/b171036b2d107469f5bbf5a1226206843815604c))
* Tuples of constants are not evaluated ([`ecec598`](https://github.com/tm-a-t/TGPy/commit/ecec598eca5be5130a264861938a1db423f6cb21))
* Code detection ([`b668329`](https://github.com/tm-a-t/TGPy/commit/b6683292239bcd9c66c92c16f98ec301c135ee41))
* Get rid of for ... in range(len(root.body)) ([`ceff1de`](https://github.com/tm-a-t/TGPy/commit/ceff1de8a43054b6a03b7f9ae114f45a0863de86))
* False positive code detections (closes #4) ([`c8f25d4`](https://github.com/tm-a-t/TGPy/commit/c8f25d4899f51d07cc47de2ddcc0c3c5ec22d0b8))
* Use getpass.getpass to get 2FA password (fixes #7) ([#8](https://github.com/tm-a-t/TGPy/issues/8)) ([`858e721`](https://github.com/tm-a-t/TGPy/commit/858e7212082e9b7061d0219403e144224cf7f573))
* Don't count -1 as code ([`eab27f6`](https://github.com/tm-a-t/TGPy/commit/eab27f60103a0db9ecb76a9c6c7e9e7280edf5c6))
* 'msg' stands for Message instead of events.NewMessage ([`428b08b`](https://github.com/tm-a-t/TGPy/commit/428b08b48131c24274a33329dbed7d3ffd3f6ce8))
* Show commit info in ping message and after update ([`26c63d4`](https://github.com/tm-a-t/TGPy/commit/26c63d492993784aaa8cca316053be1d040d930b))
* Make update sync ([`73f96a1`](https://github.com/tm-a-t/TGPy/commit/73f96a1e4b1125107ee7ced4d524e12b802b2732))
* Update ([`846c98b`](https://github.com/tm-a-t/TGPy/commit/846c98b9d57bf9ff19bdc39b24025c6d6f607b22))
* Disable link preview when editing ([`703ea27`](https://github.com/tm-a-t/TGPy/commit/703ea273387269c33d01d6307364aecb56af2c37))
* Remove buggy ctx.orig ([`f5f31ac`](https://github.com/tm-a-t/TGPy/commit/f5f31ac64887a8f6f984f633a87533af2afbdd31))
* Empty return ([`cab3635`](https://github.com/tm-a-t/TGPy/commit/cab3635e85b9151aa22211ca887c9ca40318a530))
* Str instead of repr for Context ([`3c51b72`](https://github.com/tm-a-t/TGPy/commit/3c51b7205d60e0f87b63164d13d386efea0e15d6))
* Save formatting when prevent evaluation ([`1f3b3dd`](https://github.com/tm-a-t/TGPy/commit/1f3b3dd587dc5a4938b58a360479cfbbd8d41b6e))
* No link preview in TGPy error notifications ([`3af06cd`](https://github.com/tm-a-t/TGPy/commit/3af06cdb625e4db2c8a672cc26e9094771c4ec54))
* Change return value only if it's not inside other function ([`553f864`](https://github.com/tm-a-t/TGPy/commit/553f8646fca74ddfdc447ff93d63d628de74898b))
* Check for forward, via and out in all handlers ([`d189c08`](https://github.com/tm-a-t/TGPy/commit/d189c0838cddad15a633f489429acafd6b9bdb24))
* Do not stringify TLObjects in iterable eval results ([`fdec6d4`](https://github.com/tm-a-t/TGPy/commit/fdec6d47a3fe61080a3c7fc61dabf08705a003bf))
* Using orig var after message edit ([`7f3108f`](https://github.com/tm-a-t/TGPy/commit/7f3108fc9776330bbe374c1c421ff1cca0162200))

### Documentation
* Copied readme to index.md ([`50e7879`](https://github.com/tm-a-t/TGPy/commit/50e7879812695d983a1c08ea824afb75073a739f))
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tgpy"
version = "0.1.0"
version = "0.2.0"
description = "Run Python code right in your Telegram messages"
authors = ["tmat <[email protected]>", "vanutp <[email protected]>", "ntonee <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion tgpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from tgpy.console import console


__version__ = "0.1.0"
__version__ = "0.2.0"

logging.basicConfig(level=logging.INFO, format='%(message)s', datefmt="[%X]", handlers=[RichHandler()])

Expand Down

0 comments on commit 09d4c60

Please sign in to comment.