Skip to content

Releases: gramiojs/files

v0.4.0

15 Mar 00:59
09a0cc2

Choose a tag to compare

before each Telegram API call.

middleware that detects file uploads and converts Blob/File params to FormData

feat: add filesMiddleware for wrappergram middleware chainExports filesMiddleware from @gramio/files/middleware — a ready-to-use

Merge branch 'main' of https://github.com/gramiojs/files
Full Changelog: v0.3.1...v0.4.0

v0.3.2

01 Mar 11:32

Choose a tag to compare

chore: bump dependencies and version to 0.3.2
Full Changelog: v0.3.1...v0.3.2

v0.3.1

28 Feb 20:40
d5e730a

Choose a tag to compare

chore: skip undefined values in form data conversion

chore: ensure proper buffer conversion to Uint8Array for File constructor
Full Changelog: v0.3.0...v0.3.1

v0.3.0

13 Apr 15:08
4cd2d19

Choose a tag to compare

chore: isEmpty

feat: media upload support for v9 Telegram Bot API

Full Changelog: v0.2.0...v0.3.0

v0.2.0

18 Mar 12:17
0e78d0b

Choose a tag to compare

feat: implement extractFilesToFormData

chore: bump

Full Changelog: v0.1.3...v0.2.0

v0.1.3

08 Mar 15:22
c5d14d7

Choose a tag to compare

chore: write a better tests for MediaUpload class and utils

chore: improve test for readable stream

chore: add deprecation notice about Promise

chore: improve test and types

chore: bump and use text lockfile

Full Changelog: v0.1.2...v0.1.3

v0.1.2

21 Dec 12:36

Choose a tag to compare

chore: use "@gramio/types": "*"

chore: bumps

chore: add npm downloads badge

Full Changelog: v0.1.0...v0.1.2

v0.1.0

22 Sep 15:51
5a54cf1

Choose a tag to compare

feat: allow more data types and use more better methods

chore: bumps

Full Changelog: v0.0.12...v0.1.0

v0.0.12

18 Jul 13:03

Choose a tag to compare

chore: add LICENSE

chore: ship ESM

chore: remove throw when method not for file upload

chore: remove crypto random

chore: ship ESM & CJS

Full Changelog: v0.0.11...v0.0.12

v0.0.11

07 Jul 13:05

Choose a tag to compare

feat: pass change isFile guard to isBlob

chore: bump

Full Changelog: v0.0.10...v0.0.11