Skip to content

Releases: connorslade/afire

v0.4.0

19 Feb 22:51
9488df9
Compare
Choose a tag to compare

Changelog

  • Make serve static types public
  • Fix File Uploading stuff
  • Add a Prelude for afire essentials
  • Optimize HTTP parser (saving nanoseconds!)
  • More unit tests
  • Middleware Error Handling!
  • Make Route and Error Handler functions take closures
  • Remove deprecated .all function (deprecated in 0.3.0)
  • Remove deprecated .ip_string function (deprecated in 0.3.0)
  • Finally remove deprecated .any function (deprecated in 0.1.5)
  • Route take AsRef instead of any Displayable Type
  • Now .header takes in a key and value rather than a Header struct

Full Changelog: 0.3.0...0.4.0

v0.3.0

25 Jan 18:03
e945f47
Compare
Choose a tag to compare

Changelog

  • Add content types
  • Update Logger syntax
  • Allow changing socket buffer size
  • Switch Server to more of a Builder
  • Add Path parameters
  • Redo Path Handling
  • Update README Example
  • Deprecate .all routes, Use .route(Method::Any, "*", ...)
  • Make content_type a built-in (not an extension)
  • Rename 'path pram' to Path Parameters
  • Update Data Example with Path Parameters
  • Remove Threading Example
  • Update Rate limit to be a Builder
  • Update Rate limit Example
  • Remove thread pool from project (for now)
  • Make Custom Content Type use &str not String
  • Make VERSION Public
  • Add External Unit Tests
  • Use the built-in IpAddr enum for server Ip
  • Remove .ip_string() for .ip.to_string()
  • Add Response.close() for closing a stream with no response
  • Completely Redo Middleware, Now it can modify Requests / Responses
  • Removed Server.middleware()
  • Export Internal Functions
  • Supply the Request to the Middleware Post Function

Full Changelog: 0.2.2...0.3.0

v0.2.2

05 Dec 04:14
e35c736
Compare
Choose a tag to compare

Changelog

  • Remove Debug Print Left in...
  • Small changes to features
  • This is mostly about the Debug Print

v0.2.1

04 Dec 19:59
6b47364
Compare
Choose a tag to compare

Changelog

  • Only Build common::remove_address_port if logger or rate-limiter are enabled
  • Make Header name / value Public
  • Serve Static Middleware
  • Make Routes use Closures
  • Remove Threadpool (for now)
  • Make Error handler use a closure
  • Rename set_error_handler to error_handler
  • Rename set_socket_timeout to socket_timeout
  • Update Serve Static Example to use Middleware
  • Allow for Manually setting the reason phrase
  • Support URL encoded cookies
  • Rename add_default_header to default_header
  • Store Raw Request data and Request body as Vec<u8>
  • Fix Panic Handler feature compile problems
  • Dont use an Option for Vec of default headers
  • Fix Header Parseing
  • Add a header method on Request to get headers

v0.2.0

04 Nov 19:30
dd318f9
Compare
Choose a tag to compare

Changelog

  • Response Overhaul, Now more like a Response Builder
  • Update every example with new syntax...
  • Small improvement to Query parsing
  • Update SetCookie Function Names
  • Update Cookie Example
  • Add a Build Script to write the Readme from the docstring in lib.rs
  • Use Generics for more functions that take &str / Strings to just impl Display
  • Rename .every to .middleware
  • Update Readme in /examples
  • Add a dynamic buffer resize feature
  • Update Logger Middleware to be a builder
  • Add Path Pram Example in 04_data

Full Changelog: 0.1.7...0.2.0

v0.1.7

28 Oct 00:22
53a30c9
Compare
Choose a tag to compare

Changelog

  • Add Panic Message to Error Handel
  • Add http.rs to move raw http parseing out of server.rs
  • Start / Start Threaded returns Option
  • Add .unwrap to all server.starts in examples
  • Add http.rs to move raw http parsing out of server.rs
  • Dont give up on cookie parsing if cookie header is malformed
  • Add optinal Socket Timeout
  • Add Socket Timeout Docs

v0.1.6

21 Oct 02:31
6334c9e
Compare
Choose a tag to compare

Changelog

  • Add Example for Logging
  • Add Example for Rate Limiter
  • Improve Rate limiter
  • Add More Function Docs
  • Show Query data in Info Logger
  • Ignore extra slashes in path
  • Remove nose.txt... don't know how that got there :P
  • Don't unwrap stream.read, ignore errors like a good programmer
  • Fix Routeing Issue
  • Ignore Case in Method String
  • Add different Reason Phrase for the status codes
  • Update Server Header to add Version
  • Cleanup Raw HTTP Parsing
  • Fix / Update some examples
  • Update Logger Middleware

v0.1.5

18 Sep 02:29
44223c4
Compare
Choose a tag to compare

Changelog

  • Add a route error handler
  • Add set_error_handler fn to set the error handler
  • Implement clone for more structs
  • Add More Examples
  • Put default headers after route headers
  • Auto decode url encoded Querys
  • Update Readme
  • Proper Spelling In Description
  • Add support for Request Cookies
  • Add Cookies to a Feature
  • Add Support for Response Cookies
  • Deprecate .any routes
  • Make Built in middleware less garbage

v0.1.4

05 Sep 16:12
28a100a
Compare
Choose a tag to compare

You can now respond with bytes and not just text.
So serving images is now possible. : )

v0.1.0

22 Aug 03:32
420a684
Compare
Choose a tag to compare

First Release :3
We are now on crates.io :P