Skip to content

Releases: DronRathore/goexpress

v2.0.1

28 Mar 14:34
Compare
Choose a tag to compare

Added

  • Flattened hierarchy of import statements
  • New feature of Shutdown hooks & shutdown timeout for server
  • Go template rendering support
  • New goroutine based file streaming
  • Sample examples for features

Fixes

  • Bug in router regex for capturing groups of params fixed.

Major Bug Fixes and Features

09 Jul 18:08
Compare
Choose a tag to compare

Stable v1.0.2 🎉🎉

Major bugs are been fixed and few features are added.

  • [Major] 324ebb1 Allow params at arbitrary location in route strings i.e. /slug-:username-:secondaryId, user will get username and secondaryId in the request.Params field.
  • [Major] e55f59d ExpressInterface has been added to the express package, now you can use this to pass around the express instance in your code.
  • [Feature] cd29893 The CompileRegex function of router package is now been made public so that users can generate express like route's regexes and manually operate on them for the purpose of extending feature of router.
  • [Minor] 27f8028 Set default charset to UTF-8 for text/html response.
  • [Minor] #17 : Concat value of multiple headers with same name into one

This is a first thoroughly tested stable version of goexpress in production environment

Bug Fixes

21 Jun 13:44
Compare
Choose a tag to compare

Request Package

There was a bug in the Request package where calling GetRaw will always return nil

Cookie Package

New method GetAll to fetch all the cookies, this method returns a map of map[string]*http.Cookie

First Release 🎉

16 Jun 17:45
Compare
Choose a tag to compare

This is the first pre-release of goexpress, it includes full support of the following:

  • Express like middlewares and routers
  • Support for Headers/Cookies/Files parsing and manipulation
  • Extensible API for middlewares