{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":144101197,"defaultBranch":"master","name":"ntelebot","ownerLogin":"nmlorg","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2018-08-09T04:35:33.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/8744929?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1639015675.1350641","currentOid":""},"activityList":{"items":[{"before":"711ef3384ddcc1c2413fb5b8844cd7d71db00e42","after":"0045680cf9ae407c8b23c1d72333fb61d986d170","ref":"refs/heads/master","pushedAt":"2024-08-20T18:11:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"Reuse a single requests.Session instance per thread.\n\nI am not convinced this is strictly necessary — the underlying urllib3.connectionpool.HTTPConnectionPool is explicitly marked as thread-safe, but lots of pieces along the way seem to have had questions documented online that don't seem to have definitive answers. I might want to sit down and dig through this all myself one day. But, for now, because of the ambiguity and because I am not entirely sure how reusing a connection pool in a situation with potentially more than 10 long-lived connections at a time (one `getUpdates` per bot) might affect things, I think this should gain some benefit without introducing any problems.\n\nI intend for a followup to introduce rate limiting and retries into ntelebot.requests._LOCAL.session (see #9).\n\nI also intend for ntelebot.requests to be more or less a drop-in replacement for the top-level requests module. (You should be able to replace \"import requests\" with \"from ntelebot import requests\" with no other code changes, though for now I'm explicitly changing \"requests.*\" references to \"ntelebot.requests.*\" to avoid ambiguity.)\n\nRelease as 0.4.4.","shortMessageHtmlLink":"Reuse a single requests.Session instance per thread."}},{"before":"99d148a16900995ca23b761bb41ca65729df0fb7","after":"711ef3384ddcc1c2413fb5b8844cd7d71db00e42","ref":"refs/heads/master","pushedAt":"2024-08-13T16:19:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"Differentiate \"message [caption] is too long\" errors (as ntelebot.errors.TooLong).\n\nMake metabot.modules.reminders.PLAIN_TEXT_LIMIT available as ntelebot.limits.message_text_length_max (etc.).\n\nSee nmlorg/metabot#82.","shortMessageHtmlLink":"Differentiate \"message [caption] is too long\" errors (as ntelebot.err…"}},{"before":"aee53cec4d6cfac0cfda2d5c3767100b3476501f","after":"99d148a16900995ca23b761bb41ca65729df0fb7","ref":"refs/heads/master","pushedAt":"2024-08-11T18:45:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"Differentiate \"message is not modified\" errors (as ntelebot.errors.Unmodified).\n\nSend a message to a test chat, modify it, try to modify it with the same text again (verifying ntelebot.errors.Unmodified is raised), then delete it.\n\nSee nmlorg/metabot#108.","shortMessageHtmlLink":"Differentiate \"message is not modified\" errors (as ntelebot.errors.Un…"}},{"before":"ada4d855cf3ed7ba453edd1f16238868ffdc027b","after":"aee53cec4d6cfac0cfda2d5c3767100b3476501f","ref":"refs/heads/master","pushedAt":"2024-08-10T16:28:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"https://core.telegram.org/bots/api#july-31-2024","shortMessageHtmlLink":"https://core.telegram.org/bots/api#july-31-2024"}},{"before":"86fd2be011d1cce27e3b50fec06f4a5c45e1522f","after":"ada4d855cf3ed7ba453edd1f16238868ffdc027b","ref":"refs/heads/master","pushedAt":"2024-06-23T02:51:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"Resync with metabot.","shortMessageHtmlLink":"Resync with metabot."}},{"before":"f3d63ce67c6bcb5e95725a771046e217cb73d0c2","after":"86fd2be011d1cce27e3b50fec06f4a5c45e1522f","ref":"refs/heads/master","pushedAt":"2024-06-18T17:27:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"Include potential future subpackages.","shortMessageHtmlLink":"Include potential future subpackages."}},{"before":"af474c4e228acc6bb6ff5c86448ae6055cd44682","after":"f3d63ce67c6bcb5e95725a771046e217cb73d0c2","ref":"refs/heads/master","pushedAt":"2024-06-18T15:50:34.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"Move requirements-dev.txt into pyproject.toml.\n\n pip install -r requirements-dev.txt\n\nis now:\n\n pip install .[dev]","shortMessageHtmlLink":"Move requirements-dev.txt into pyproject.toml."}},{"before":"986347c57af6bf0600870c0da4138ec98ff09b66","after":"af474c4e228acc6bb6ff5c86448ae6055cd44682","ref":"refs/heads/master","pushedAt":"2024-06-18T02:01:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"Convert setup.py, setup.cfg, and .pylintrc to pyproject.toml.","shortMessageHtmlLink":"Convert setup.py, setup.cfg, and .pylintrc to pyproject.toml."}},{"before":"cf4f389410732af26cc90d767df83e66b86f7df1","after":"986347c57af6bf0600870c0da4138ec98ff09b66","ref":"refs/heads/master","pushedAt":"2024-06-17T23:51:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"See nmlorg/metabot@1515c83.","shortMessageHtmlLink":"See nmlorg/metabot@1515c83."}},{"before":"c73efd7f0e6daec8399862c87621be1aa21ad860","after":"cf4f389410732af26cc90d767df83e66b86f7df1","ref":"refs/heads/master","pushedAt":"2024-04-23T23:21:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"https://core.telegram.org/bots/api#march-31-2024","shortMessageHtmlLink":"https://core.telegram.org/bots/api#march-31-2024"}},{"before":"2c9b8b8786602cba9c44087facb136a34f669822","after":"c73efd7f0e6daec8399862c87621be1aa21ad860","ref":"refs/heads/master","pushedAt":"2024-04-23T20:18:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"Python 3.6 and 3.7 are no longer supported (https://devguide.python.org/versions/).","shortMessageHtmlLink":"Python 3.6 and 3.7 are no longer supported (https://devguide.python.o…"}},{"before":"ac63849f1fa8431c43d276eabe6195c7c1b51cc3","after":"2c9b8b8786602cba9c44087facb136a34f669822","ref":"refs/heads/master","pushedAt":"2023-07-09T17:33:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"See nmlorg/metabot@fd977c0.","shortMessageHtmlLink":"See nmlorg/metabot@fd977c0."}},{"before":"9e422603ae92b104fb62b99cc2fe75f12a88fb0e","after":"ac63849f1fa8431c43d276eabe6195c7c1b51cc3","ref":"refs/heads/master","pushedAt":"2023-07-09T17:28:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"nmlorg","name":"Daniel Reed","path":"/nmlorg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8744929?s=80&v=4"},"commit":{"message":"(Starting to put venvs in a dedicated directory.)","shortMessageHtmlLink":"(Starting to put venvs in a dedicated directory.)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0yMFQxODoxMTozNy4wMDAwMDBazwAAAASfaC7e","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNy0wOVQxNzoyODo1My4wMDAwMDBazwAAAANRxJ8p"}},"title":"Activity · nmlorg/ntelebot"}