All Versions
Latest Version
Avg Release Cycle
14 days
Latest Release
920 days ago

Changelog History
Page 1

  • v1.0.0 Changes

    November 24, 2020

    ๐Ÿš€ Finally, after months of hard work, different implementation decisions, collaborations with contributors I'm thrilled to announce the first stable release of tinyhttp!

    Express API implementation

    ๐Ÿ—„ 100% ready. The only method that isn't implemented is app.param, which was deprecated in Express 4.11.


    Catching errors in async handlers

    errors thrown in async handlers are now catched and passed to next, e.g. if an error is throwed in a handler it won't crash and will keep working.


    import { App } from '@tinyhttp/app'const app = new App()app.use(async (\_req, \_res) =\> {throw `error`})app.listen(3000)

    The app will return the error and send 500 status:

    $ curl localhost:3000

    Custom middleware extensions

    ๐ŸŽ WIth the new applyExtensions parameter you can define your own req / res extensions, or disable all tinyhttp's extensions to achieve the best performance.

    import { App } from '@tinyhttp/app'import { send } from '@tinyhttp/send'const app = new App({applyExtensions: (req, res, next) =\> {// now tinyhttp only has a `res.send` extensionres.send = send(req, res)}})

    Other changes

    • โœ… Test coverage is increased to 92%
    • ๐Ÿ“ฆ The majority of tinyhttp's modules have more flexible types now which don't require the full implementation of IncomingMessage and ServerResponse objects but only the properties which are used inside the module. This will let developers use these packages inside their own projects and not only in Node.js runtime.
    • ๐Ÿ“„ Docs are updated with the current status of the project.
  • v0.5.0 Changes

    October 16, 2020

    โœ… During hacktoberfest, lots of folks helped the project by submitting examples, writing tests and creating new middlewares. Thanks to everyone who contributed to the project!

    ๐Ÿš€ Release details

    Express API implementation progress

    ~96% of API is ready. Only a few methods left.

    • res.append
    • req.path

    ๐Ÿ†• New middleware

    ๐Ÿ†• New examples

    • Prisma REST API
    • Prisma GraphQL
    • PostgreSQL
    • Sapper (Svelte SSR)
    • React SSR
    • rate limiting
    • auth (session)
    • search engine

    Other minor changes

    Coverage increase from 60% to 71%

    @tinyhttp/markdown's recursive prop works properly now

  • v0.4 Changes

    September 22, 2020

    In 0.4.X a lot of new req / res extensions are being added, new app setting bindAppToReqRes.

    Here's a list of new req / res extensions taken from Express:

    Request / Response extensions



    • req.subdomains


    • req.acceptsCharsets
    • req.acceptsEncodings
    • req.acceptsLanguages



    • res.locals


    • res.type
    • res.format
    • ๐Ÿฑ res.redirect ๐ŸŽ‰


    App now has 2 new settings:

    • ๐Ÿ”ง subdomainOffset - configuration of req.subdomains domain offset
    • bindAppToReqRes - access and

    ๐Ÿ“ฆ Packages

    ๐Ÿ“ฆ Created new package - @tinyhttp/type-is

  • v0.3 Changes

    September 18, 2020

    This is the first proper github minor release with lots of fixes and changes, all were made during a few months of hard work. Also, during this period, tinyhttp gained quite a good starting audience, people already start using it and I feel excited for what cool things can be built with tinyhttp!

    ๐Ÿš€ Anyways, here's the release notes (I will probably automate it later):

    • โž• add template engine support
    • โž• add sendFile function (most recent addition) and a lot of other Express methods
    • ๐Ÿ“„ finish writing the docs
    • โž• add "common tasks" and "advanced topics" sections to docs
    • ๐Ÿ“ฆ split @tinyhttp/app by 4 separate framework-agnostic packages
    • ๐Ÿ‘• setup husky and commitlint
    • โž• add 25 examples
    • โž• add 10 middlewares, including @tinyhttp/session, @tinyhttp/ip-filter and more
  • v0.1.10

    June 19, 2020
  • v0.1.9

    June 19, 2020
  • v0.1.8

    June 19, 2020
  • v0.1.7

    June 18, 2020
  • v0.1.6

    June 18, 2020
  • v0.1.5

    June 18, 2020