Skip to content

Releases: opensauceryafrica/barf

Jarvis - v1.1.1

09 Dec 13:06

Choose a tag to compare

Summary

This version of Barf includes the following changes

Fix

  • Fixed CORS issue due to missed writer overload caused by barf's special way to managing the http.ResponseWriter

Jarvis - v1.1.0

09 Dec 10:12

Choose a tag to compare

Summary

This version of Barf includes the following changes

Fix

  • Fixed issue with loading default host when host is "" during print to terminal
  • Added barf.Obtain(), a nifty function for returning values with optional defaults

Jarvis - v1.0.9

27 Nov 09:09

Choose a tag to compare

Summary

This version of Barf includes the following changes

Fix

  • Fixed issue with loading env variables containing = token in their value

Jarvis - v1.0.8

02 Sep 15:06

Choose a tag to compare

Summary

This version of Barf includes the following changes

Refactor

  • A much maintainable approach to handling the route call stack essentially making it that all arguments to Barf route methods like barf.Post() etc inherently become a middleware even route handlers are now internally converted into middlewares
  • Barf's request logger is no longer a middleware instead it now uses a channel to receive log notification after the first call to the Write() function has been made. This will make it possible for Barf to allow for custom logger functions in the later future.

v1.0.7

27 Aug 07:07

Choose a tag to compare

Summary

This version of Barf includes the following changes

Fix

  • Issue with Host defaulting to "" rather than localhost
  • Outdated documentation for barf.Env

Features

  • barf.Logger() now exposes f interfaces including barf.Logger().Infof() barf.Logger().Codef() barf.Logger().Errorf() barf.Logger().Debuf() for formatted logs.
  • barf.Logger().Fatal() and barf.Logger().Fatalf() are now also available for exiting errors.

v1.0.6

26 Jun 07:19
ec0b942

Choose a tag to compare

Summary

This version of Barf includes the following changes

Features

  • HTTPS server instance. Check out the example
  • Single Route middleware. Check out the example
  • Custom Barf response writer that implements the default response writer interface and ensures no intentional or unintentional superfluous call to Write() occurs within a Barf server.

v1.0.5

26 Jun 05:28

Choose a tag to compare

Summary

This version of Barf includes the following changes

Fixes

  • Host issue that prevented some PaaS from being able to deploy Barf servers

v1.0.4

21 May 18:58

Choose a tag to compare

Summary

This version of Barf includes the following changes

Features

  • Middleware inheritance after any call to(*barf.SubRoute).RetroFrame()

v1.0.3

21 May 08:22

Choose a tag to compare

Summary

This version of Barf includes the following changes

Fixes

  • Route matching bug caused by trailing slash in frame entry path registration in(*barf.SubRoute).RetroFrame()

v1.0.2

21 May 07:08

Choose a tag to compare

Summary

This version of Barf includes the following changes

Features

  • (*barf.SubRoute).RetroFrame() for recursive retro-framing allow for a new subroute to be created from another subroute.
  • barf.Request().Form() as an unobtrusive interface for interacting with multipart/form-data passed along in a request.