Skip to content

Latest commit

 

History

History
174 lines (91 loc) · 5.4 KB

CHANGELOG.md

File metadata and controls

174 lines (91 loc) · 5.4 KB

1.0.16 (2022-05-23)

Bug Fixes

  • fix extracting params from routes with wildcard and named params (2741aad)

Features

1.0.15 (2022-05-08)

Bug Fixes

  • call method not allowed handler once (37425b7)

1.0.14 (2022-04-14)

Bug Fixes

  • use httpsnoop to wrap response writer (3d86932)

1.0.13 (2022-03-22)

Bug Fixes

  • dedup middlewares applied on the method not allowed handler (2659f03)

Features

  • accept multiple middlewares in Use(fn1, fn2, fn3) (1486279)

1.0.12 (2022-01-19)

Bug Fixes

  • use RawPath when available (9859bc7)

1.0.11 (2022-01-18)

Features

  • add basicauth middleware (363da1a)
  • Added Use function which is an alias for WithMiddleware.

  • Updated docs to use cleaner version of the API. Instead of:

router.NewGroup("/some/prefix",
	 bunrouter.WithMiddleware(middleware1),
	 bunrouter.WithMiddleware(middleware2),
	 bunrouter.WithGroup(func(group *bunrouter.Group) {}),
)

You can use:

router.Use(middleware1).
    Use(middleware2).
    WithGroup("/some/prefix", func(group *bunrouter.Group) {})

1.0.10 (2022-01-08)

  • harden redir checks

1.0.9 (2021-12-23)

Bug Fixes

  • properly handle wildcard node without a slash (88b4d3e)

Features

  • add Router.ServeHTTPError that returns the error from the handler (9add167)

1.0.8 (2021-11-16)

Bug Fixes

  • properly handle empty root node (b37ad45)

1.0.7 (2021-11-12)

Bug Fixes

  • don't panic on path that matches routes common prefix (d89dc38)

1.0.6 (2021-11-09)

Bug Fixes

  • propagate error in HTTP compat handlers (5ed4d41)

1.0.5 (2021-11-08)

Bug Fixes

  • fallback to context when params can't be found (ee2eb33)

Features

  • apply middleware to method not allowed handler (8e295d0)

1.0.4 (2021-11-07)

Features

  • reqlog: support http.Flusher (938d70a)

1.0.3 (2021-10-21)

Bug Fixes

  • make routes with only colon nodes work (fffd754)

1.0.2 (2021-10-19)

Features

  • make redirects work for wildcard routes (04cb9f3)

1.0.1 (2021-10-15)

Bug Fixes

  • change WithContext to preserve route params (2ca195a)

1.0.0 (2021-10-14)

Bug Fixes

  • make Slice and Map work on empty request (609c7a3)

Features

  • allow configuring reqlog from env variables (486ec10)

1.0.0-rc.2 (2021-10-04)