Releases: RealSpeaker/telegraf-session-local
Releases · RealSpeaker/telegraf-session-local
v2.1.1
/ 2023-01-29 / /
You can support us by simply starring this repo and/or by giving us feedback via GitHub Discussions
🎉 Improvements
- 📝 Improved code-examples / Updated: README & LICENSE, docs 2f8e2d6
- 📝 Better readme and
extra.js
example fix f5e3bdf - ⚒️ Added
types
field (package.json) pointing to .d.ts file f7d20ef - ⬆️ Update dev dependencies a99db2a
🕳 Chore
- 👷 Enable GitHub Actions as CI for tests & coverage reports 27ceabb
- 👷 Add CodeQL workflow for GitHub code scanning (#215) 11fb25c
- 👷 Update GitHub Actions workflow file f244a27
- 📦️ Create Dependabot config file (#130) 9ea4f8f
🧐 Known Major Issues
- Unproper TypeScript types:
error TS2309: An export assignment cannot be used in a module with other exported elements.
└─ Issue: #117
└─ As temporary fix please add this to yourtsconfig.json
:"skipLibCheck": true
#117 (comment)
📈 Our plans for future v3.x
- Leave a deprecation notice with advice on moving to grammY
— OR —
- Rewrite to TypeScript
- Upgrade to latest
lowdb
- Implement TTL (expire for sessions)
- Better docs, examples, tests
- Maybe we can create a hybrid storage for sessions (which will includes
mysql
,redis
,mongo
, etc. as peer dependencies) to make All In One packagetelegraf-session-*
with better maintainability than others outdated packages. Or just leave a deprecation notice with advice on moving to grammY
v2.1.0
/ 2021-02-06
You can support us by simply starring this repo and/or by giving us feedback via GitHub Discussions or Telegram 👍
Minor changes
- ⚡️ This version adapted to use with Telegraf v4 - thanks to @EdJoPaTo, @wojpawlik
- ⚡️ Because Telegraf's minimal Nodejs version is 12, we also now fit with Nodejs >= 12
👌 Notable changes
- ♻️ refactor: adapt for telegraf v4.0 and v3.38 (#107) aeb2d62
- ⬆️ bump nodejs version 8 -> 12 6cded41
- 🎨 bettercode: initial value is unused, since it is always overwritten 4d20400
- 🔨 fix: package.json: run dependencies' binaries via npx 9b39e2b
- ⚰️ Remove deprecated
eslint-plugin-standard
package e6208a9
🕳 Chore
- 📦️ Update eslint requirement from ^7.4.0 to to ^7.19.0 (#111) 9e70abf, 4acd94c, 7b3c469, a2ae010, a59aafa, 12971d3, f774ba2, 41a1da4, 0de45f6, ace3152, 250300b
- 📦️ Update jsdoc requirement from ^3.6.4 to ^3.6.6 (#85) 380b68f, e1419a6
- 📦️ Update mocha requirement from ^8.0.1 to ^8.2.1 (#90) d482ecb, 2c01adb, 2eb0e6e, 4c0e88a, 76f08f9, c8a37da
- 📦️ Update eslint-plugin-mocha from 7.0.1 to 8.0.0 (#77) f691614
- 📦️ Update eslint-config-standard from 14.1.1 to ^4.1.0 (#97) e86b2e4, be03032, df41abe, 0416d18
- 📦️ Update eslint-plugin-import requirement from ^2.22.0 to ^2.22.1 (#88) cc08fcf
- 🎨 applied eslint fixes e578593
v2.0.0
/ 2020-07-08
You can support us by simply starring this repo and/or by giving us feedback via GitHub Discussions or Telegram 👍
This version suitable for Telegraf < 4.x
💥 Breaking Changes
- 💥 Moved to Telegraf
^3.38.0
as peer dependency, to be in sync with Typescript typings b8338e1
└─ 💬 Tip: JS users may relax and continue usingtelegraf-session-local
just as before, without needing to upgrade Telegraf - 💥 [DEV] Removed node 8 & 9 from Travis CI build, because of [email protected] failing tests (introduced here) eb9c196
⚡️ Improvements
- fix(typings): adapt to typing changes of telegraf 3.38 (#61) b8338e1
- fix(typings): fix export (#64) 24a80f8
🕳 Chore
- 👷 [travisci] Removed node 8 & 9 because of mocha 8.x.x failing tests eb9c196
- 📦 Bump mocha from 7.2.0 to 8.0.1 (#67) bdf74a3
- 📦 Update eslint requirement from ^7.2.0 to ^7.4.0 (#68, #69, #71) eaa8fef 3d515d4 87e5bbb
- 📦 Update eslint-plugin-import requirement from ^2.20.2 to ^2.22.0 (#66, #70) d6efec9 53a9463
v1.0.3
/ 2020-06-06
🎉 Improvements
- typescript: basic typings added (#59) 3159ebe
└─ ✨ Yay! Now we have basic Typescript typings, credits to @h0tw4t3r @EdJoPaTo - ♻️ refactor: import per line and all on top a4a627f
- ♻️ refactor: use async await 410b740
🕳 Chore
- 📝Update readme fdfad4c
- 📄 Update license 284d053
- ⬆️ Updated dev deps e5129c8
- 📦 Bump mocha from 6.2.2 to 7.0.0 (#57) d567b8a
- 📦 Bump eslint-plugin-node from 10.0.0 to 11.0.0 (#56) da4ecde
- 📦 Bump nyc from 14.1.1 to 15.0.0 (#55) 96d7707
- 📦 Update eslint-config-standard requirement from ^13.0.1 to ^14.1.0 (#52) f6ae5e9
- 📦 Update eslint-plugin-node requirement from ^9.1.0 to ^10.0.0 (#53) de3e3e4
v1.0.2
v1.0.1
/ 2019-07-24
⚡️ Improvements
- 📝 Updated badges / Removed Greenkeeper in favor of Dependabot c260255
- ⚒️ Improved resolving ranges of dependencies versions 8f55c6d
- 🐛 Fixed problem in specific environments when requiring lodash-id 5348b11
🕳 Chore
v1.0.0
/ 2019-07-18
Wow, first major release v1.0.0 🎉
The main improvement - is package size & install time reduce.
Before v1.0.0 telegraf-session-local
had 3 dependencies, but now only one (lowdb
)
⬆️ How to upgrade
- Run in your project's directory (where
package.json
located):npm i -S telegraf-session-local
✔️ Great, now your bot has latest version oftelegraf-session-local
. No need any changes in sources.
💥 Breaking Changes
- 💥 Drop Node.js 6 support because of End-of-Life 8d68cf1
- 💥 Move
debug
from required dependencies to peerDependencies 8de439b - 💥 Drop
lodash-id
from dependencies and import it into source itself 29abaf8
🕳 Chore
- ⚒️ Applied ESLint rules / Tiny text fixes f47f6a5
- ⬆️ Updated dev deps 38cc581
- 📦 chore(package): update eslint-config-standard to version 13.0.1 (#38) 1f1c4e4
- 📦 chore(package): update eslint-plugin-import to version 2.18.0 (#36) 0f60012
- 📦 chore(package): update eslint to version 6.0.0 (#35) 818a617
- 📦 chore(package): update eslint-plugin-import to version 2.17.3 (#33) f9a75af