pure-http

✨ The simple web framework for Node.js with zero dependencies.

MIT License

Downloads
16.6K
Stars
208
Committers
4

Bot releases are hidden (Show)

pure-http - 4.0.2 Latest Release

Published by htdangkhoa 5 months ago

pure-http - 4.0.1

Published by htdangkhoa 5 months ago

  • Merge pull request #298 from htdangkhoa/feature/types a8cb866
  • feat: add common types c46c776

https://github.com/htdangkhoa/pure-http/compare/v4.0.0...v4.0.1

pure-http - 4.0.0

Published by htdangkhoa 6 months ago

  • Merge pull request #297 from htdangkhoa/develop e2096e9
  • refactor: source and update docs 448069a
  • Merge pull request #296 from htdangkhoa/feature/drop-some-node-versions 07cce3b
  • chore: drop support node version less than 16 43b7f54
  • Merge pull request #295 from htdangkhoa/feature/local-setting f99d382
  • chore: update index.d.ts 0035875
  • Merge pull request #294 from htdangkhoa/feature/local-setting d02d8b9
  • chore: update index.d.ts a8ac6ed
  • feat: allow user set set key value as settings b638686

https://github.com/htdangkhoa/pure-http/compare/v3.3.5...v4.0.0

pure-http - 3.3.5

Published by htdangkhoa 8 months ago

What's Changed

Full Changelog: https://github.com/htdangkhoa/pure-http/compare/v3.3.4...v3.3.5

pure-http - 3.3.4

Published by htdangkhoa 11 months ago

  • fix: #282 Custom error handler not being reached 36f4886

https://github.com/htdangkhoa/pure-http/compare/v3.3.3...v3.3.4

pure-http - 3.3.3

Published by htdangkhoa over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/htdangkhoa/pure-http/compare/v3.3.2...v3.3.3

pure-http - 3.3.2

Published by htdangkhoa over 1 year ago

https://github.com/htdangkhoa/pure-http/compare/v3.3.1...v3.3.2

pure-http - 3.3.1

Published by htdangkhoa about 3 years ago

  • update deps & typescript type 3365b2d
  • Merge pull request #102 from talentlessguy/patch-1 4f0e417
  • fix typo in readme 2b96496

https://github.com/htdangkhoa/pure-http/compare/v3.3.0...v3.3.1

pure-http - 3.3.0

Published by htdangkhoa over 3 years ago

  • support cookie signature secret 9aac3c2

https://github.com/htdangkhoa/pure-http/compare/v3.2.1...v3.3.0

pure-http - 3.2.1

Published by htdangkhoa over 3 years ago

pure-http - 3.2.0

Published by htdangkhoa over 3 years ago

[BREAKING]:

  • Remove location and search in request.

[NEW]:

  • Support regex for router.
  • Add secure property to request (Short-hand for req.protocol === 'https').

[FIX]:

  • Fix cache stale.

[UPDATE]:

  • Improve send function.
  • Update docs.
  • Remove archives docs.

https://github.com/htdangkhoa/pure-http/compare/v3.1.0...v3.2.0

pure-http - 3.1.0

Published by htdangkhoa over 3 years ago

[NEW]:

  • Fully support express middleware.
  • Improve logic lookup router.
  • Improve send function with cache.

[BREAKING]:

[UPDATE]:

  • Update dev deps.
  • Update typed.
  • Update docs.

[FIX]:

  • Fix the issue path not found always go to error middleware.

https://github.com/htdangkhoa/pure-http/compare/3.0.1...v3.1.0

pure-http - 3.0.1

Published by htdangkhoa over 3 years ago

pure-http - 3.0.0

Published by htdangkhoa over 3 years ago

[NEW]:

  • Fully support cookie for response and request.
  • Add new method into response: sendFile.

[BREAKING]:

  • Remove onNotFound option in application, use middleware instead of onNotFound .

  • Remove onError option in application, use middleware instead of onError .

    example:

    // some middleware
    // ...
    
    app.use((req, res, next) => {
      res.send('Not found.');
    });
    
    app.use((error, req, res, next) => {
      res.send('Internal server.');
    });
    
    // ...
    

[OTHERS]:

  • Improve router.
  • Update docs.

https://github.com/htdangkhoa/pure-http/compare/v2.2.2...v3.0.0

pure-http - 2.2.2

Published by htdangkhoa over 3 years ago

  • fix error when set response multiple cookies 45ccecd

https://github.com/htdangkhoa/pure-http/compare/v2.2.1...v2.2.2

pure-http - 2.2.1

Published by htdangkhoa over 3 years ago

  • fix error when set response cookie 3036bd9

https://github.com/htdangkhoa/pure-http/compare/v2.2.0...v2.2.1

pure-http - 2.2.0

Published by htdangkhoa over 3 years ago

pure-http - 2.1.0

Published by htdangkhoa over 3 years ago

  • Fix the method of client is not match with all method.
  • Fix bug with response.status function.

1afe5db

https://github.com/htdangkhoa/pure-http/compare/v2.0.3...v2.1.0

pure-http - 2.0.3

Published by htdangkhoa almost 4 years ago

  • update deps & update types 98a23c2, b20623f
  • update README.md

https://github.com/htdangkhoa/pure-http/compare/v2.0.2...v2.0.3

pure-http - 2.0.2

Published by htdangkhoa almost 4 years ago

https://github.com/htdangkhoa/pure-http/compare/v2.0.1...v2.0.2