Telegraf Session Local Versions Save

Telegraf local sessions middleware with multiple supported storage types (Memory/FileSync/FileAsync/...) using lowdb

v2.1.1

4 months ago

NPM Version / 2023-01-29 / GitHub tag checks state / GitHub Repo stars

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

πŸ“ˆ 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 package telegraf-session-* with better maintainability than others outdated packages. Or just leave a deprecation notice with advice on moving to grammY

https://github.com/RealSpeaker/telegraf-session-local/compare/v2.1.0...v2.1.1

v2.1.0

2 years ago

NPM Version / 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

https://github.com/RealSpeaker/telegraf-session-local/compare/v2.0.0...v2.1.0

v2.0.0

2 years ago

NPM Version / 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 using telegraf-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

https://github.com/RealSpeaker/telegraf-session-local/compare/v1.0.3...v2.0.0

v1.0.3

2 years ago

NPM Version / 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

https://github.com/RealSpeaker/telegraf-session-local/compare/v1.0.2...v1.0.3

v1.0.2

3 years ago

NPM Version / 2019-07-30

πŸ› Bug Fixes

  • ❗️ fix(package): include all lib files in package 6062706 (thanks to @EdJoPaTo)

https://github.com/RealSpeaker/telegraf-session-local/compare/v1.0.1...v1.0.2

v1.0.1

3 years ago

NPM Version / 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

  • πŸ“¦ chore(package): update eslint to version 6.1.0 (#43) 3582c71   └─ πŸ”’ Fixed lodash < 4.17.12 CVE-2019-10744 (Snyk)
  • πŸ“¦ chore(package): update eslint-plugin-import to version 2.18.2 (#42) 79afbd5
  • πŸ“¦ chore(package): update mocha to version 6.2.0 (#41) b86a75d

https://github.com/RealSpeaker/telegraf-session-local/compare/v1.0.0...v1.0.1

v1.0.0

3 years ago

NPM Version / 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 of telegraf-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

https://github.com/RealSpeaker/telegraf-session-local/compare/v0.0.7...v1.0.0

v0.0.7

4 years ago

⚑️ Improvements

  • πŸ“¦ Updated dependencies (+security) 4345bed 5bfe0d3 ca34aff
  • πŸ“ Updated README and examples 9c061b5 bd18848
  • πŸ‘· Enabled Node.js v12 for Travis CI 0fbf9f2