Skip to content

Releases: adonisjs/http-server

Fixing the exception handler behavior

09 Sep 13:44
Compare
Choose a tag to compare
  • test: fix breaking test after last commit 919383f
  • fix(exception): always set the error status when handling error f7c1bed

v1.2.7...v1.2.8

Updating underlying dependencies

09 Sep 11:20
Compare
Choose a tag to compare
  • chore(package): update dependencies 53de610

v1.2.6...v1.2.7

Adding hasValidSignature to request to verify signedUrls

09 Sep 08:55
Compare
Choose a tag to compare
  • feat(request): add hasValidSignature to validate signed urls 70c9c33
  • chore(package): update dependencies 713bf2a

v1.2.5...v1.2.6

Adding support for makeUrl and makeSignedUrl in router

09 Sep 06:27
Compare
Choose a tag to compare
  • chore: add peer dependencies 3f1b4f9
  • feat(router): add support makeUrl and makeSignedUrl d6deede

v1.2.4...v1.2.5

Migrating to AdonisJs

08 Sep 15:32
Compare
Choose a tag to compare

Commits:

  • chore: update fold version to latest a2c7654
  • chore(package): update utils packages 24028a8
  • docs(readme): update links to adonisjs instead poppinss c8d34f7
  • feat: adding providers, cleaning up types faa2a76
  • chore(package): update dependencies 9839db8
  • feat: add request and response and get rid of them as dependencies 24cb802
  • feat: adding benchmarks ef3c3d4
  • test: add test around an edge case 865a599
  • refactor: cleaning up server code to be more coupled to it's internals 57cb654
  • refactor: cleaningup types to remove generics a805a98

Commit Range:
v1.2.3...master

Updating underlying dependencies

30 Aug 04:54
Compare
Choose a tag to compare
  • chore(package): update dependencies 2ad3416

v1.2.2...v1.2.3

Upgrading response package

28 Aug 04:23
Compare
Choose a tag to compare
  • chore(package): update dependencies 1942d8a

v1.2.1...v1.2.2

Profiling request and internal actions

17 Aug 08:40
Compare
Choose a tag to compare

The HTTP server now uses the profiler module to profile every HTTP request.

  • chore: move profiler to peerDependencies a5bcf70
  • feat: profile request actions 5412a9f
  • chore(package): update dependencies 58af8e9

v1.2.0...v1.2.1

Making router agnostic about making urls

28 Jul 10:44
Compare
Choose a tag to compare

Earlier the router was generating fully qualified URLS for a given domain. Instead, now it becomes agnostic about it and instead exposes the API to lookup routes and a helper method to make url from the looked up route.

Earlier

router.get('/posts/:id', handler).domain('blog.adonisjs.com')
router.makeUrl('/posts/:id', { params: { id: 1 } })

// returns: //blog.adonisjs.com/posts/1

Now

import { makeUrl } from '@poppinss/http-server'

const route = router.lookup('/posts/:id')
makeUrl(route.pattern, { params: { id: 1 } })

// returns /posts/1

With the newer API you can decide

  • If you want to append a domain or not.
  • Decide which protocol to use

Commits

  • refactor(router): making router agnostic about making urls 0d809f6
  • chore: update request package 358f136
  • refactor: eargerload exception handler 4ecb513
  • chore(package): update dependencies 27b8ec8

v1.1.8...v1.2.0

Fix exception handler to set the status

27 Jul 06:52
Compare
Choose a tag to compare
  • fix: set status from the exception handler b740861
  • chore(package): update dependencies f7dce9e
  • chore(package): add repo link cfc0165

v1.1.7...v1.1.8