Releases: connorslade/afire
Releases · connorslade/afire
v0.4.0
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
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
Changelog
- Remove Debug Print Left in...
- Small changes to features
- This is mostly about the Debug Print
v0.2.1
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
toerror_handler
- Rename
set_socket_timeout
tosocket_timeout
- Update Serve Static Example to use Middleware
- Allow for Manually setting the reason phrase
- Support URL encoded cookies
- Rename
add_default_header
todefault_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
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
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
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
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
You can now respond with bytes and not just text.
So serving images is now possible. : )
v0.1.0
First Release :3
We are now on crates.io :P