Skip to content

Latest commit

 

History

History
373 lines (274 loc) · 30.9 KB

changelog.md

File metadata and controls

373 lines (274 loc) · 30.9 KB

0.9.0 (2016-09-22)

Features

  • response: add Authorization as a settable type (d5b9271b)
  • server: expose ListeningServer which can query the socket the server is listening on (da7d5295, breaks #)

Bug Fixes

  • options: obey output_on_listen for HTTPS (f7658fa4)
  • test: fix examples::template::renders_data test on Windows (c3aeb722)

Breaking Changes

  • server: expose ListeningServer which can query the socket the server is listening on (da7d5295, breaks #)

0.8.1 (2016-05-09)

Features

  • options: add an option for thread count (2d91a0a8)
  • urlencoded: add application/x-www-form-urlencoded parser (f3d194a8, closes #329)

Bug Fixes

  • travis: don't fail the build if our min rustc version fails (81a76fab)

0.8.0 (2016-04-01)

Features

  • dependencies: bump hyper, mime and url dependency versions (8d85148d, breaks #)
  • Rust: Upgrade minimum Rust version to 1.5 (7e35f991, breaks #)
  • https:
    • Added an HTTPS example (535ebfb4)
    • Implemented Nickel::listen_https() when ssl is available (cbfcffe6)
  • nickel: add options to Nickel (9c8bf3a1)
  • test: add some testing infrastructure for feature testing examples (848bf7ec)

Breaking Changes

  • dependencies: bump hyper, mime and url dependency versions (8d85148d, breaks #)
  • Rust: Upgrade minimum Rust version to 1.5 (7e35f991, breaks #)

0.7.3 (2015-11-23)

Bug Fixes

  • Cargo: remove wildcard dependency versions (ded09d3b)

0.7.2 (2015-11-18)

Performance

  • hyper: re-enable keep-alive by default (dfcb3baf)

Bug Fixes

  • static_files: deny suspicious paths (bbba1ebf)

0.7.1 (2015-11-02)

Bug Fixes

  • *: add default typeparam for MiddlewareResult (d135b4e9)
  • send_file: don't overwrite the ContentType header if it exists (8eb8c5fd, closes #285)
  • serverdata: extend lifetime of return value of {Request|Response}::server_data (eff2ac7c)

Features

  • request: add extension to get Request::referer (38b21cb4)
  • response:
    • add next_middleware method for convenience (32554795)
    • add extension for simple redirects (d8629ad2)

0.7.0 (2015-09-15)

BREAKING CHANGES

See 8f411c9d, 2dd98e8c, d4a6d815 for more information.

Bug Fixes

  • lifetimes: correct lifetime pattern to separate out server state from mw state (d4a6d815)
  • middleware: satisfy lifetime requirements for RFC 1214 (fc35544c)
  • travis: resume publishing docs (34a08aed)

Features

  • macros: allow hinting the server data type in middleware macro (dda02d65)
  • nickel: Add Mount middleware. (0f258361)
  • render: improve ergonomics of send_file (55d97f4e)
  • response: allow Plugins for Response (ffb5f212)
  • router: add chainable routes (2dd98e8c)
  • server: add some shared data across all requests (8f411c9d)
  • ssl: make Hyper's SSL feature optional (ea2081a7)

0.6.0 (2015-07-16)

Bug Fixes

  • travis allow failures on travis nightly builds (a5a32efc)
  • request request.param(_) now returns an Option (f218ce1a)
  • responder relax required lifetime for responding with string slices (b220a6f3)
  • static_files ignore the querystring during static file lookup (88f9632e)

0.5.0 (2015-05-20)

Features

  • middleware impl Responder for StatusCode (2797359e)
  • response
    • allow Response::set to be used with MediaType (24e218a0)
    • add generic set method (182517b8)
    • add headers to access current Response headers (41b67346)
  • macro
    • add basic nickel_try! macro (a9705ad3)
    • allow _ pattern for request in macro parameters (227d0828)
    • stop ignoring unused macro parameters (d4e2420e)
    • make router! a recursive macro to increase flexibility (ce218afd)
  • Response Response::send can now take anything implementing ResponseFinalizer (62a118b1)
  • hyper update to hyper 0.4 (f35f7f06)
  • router add convenience methods for OPTIONS and PATCH (471dc1bc, closes #202)
  • travis test the README example in travis builds (c5986a11)

v0.4.0 (2015-05-16)

Bug Fixes

  • response
  • server loosen bounds required for listen (1f30e68a)

Features

  • travis test the README example in travis builds (c5986a11)
  • router add convenience methods for OPTIONS and PATCH (471dc1bc, closes #202)

v0.3.0 (2015-05-01)

Bug Fixes

  • query allow multiple query params alive at once (1e453409)
  • json return descriptive errors on failures in json_as (b4309bec)
  • nightly add nightly feature flag (4bcd44aa)
  • macros allow middleware! to bind response mutably (136d4557)
  • server ensure panic on invalid listen addr (e218287c)
  • travis update for breaking change to travis-cargo (7cb48149)
  • middleware fix the default handler so that custom error handlers are used (45036f75)

Features

  • unboxed_closures allow unboxed closures via middleware macro (c635813a)
  • travis test beta and nightly on travis (efcb1604)

0.2.1 (2015-04-13)

Bug Fixes

  • docs fix doc generation script (cee6a43a)
  • rustup adjust for splitn change (9a4bd5fe)
  • macros remove nickel_macros crate (60ad3e2f)

0.2.0 (2015-04-12)

Bug Fixes

  • server adjust to upstream changes (f97f6f43)
  • query_string
    • Update to work with latest rust-plugin. (b07efe94)
    • improve error message for missing querystore (8bef3153)
  • send_file dont deadlock when send_file has a bad path (68bf0c41)
  • middleware_handler use from_usize instead of from_uint (fc30f617)
  • example
    • return proper 404 for unmatched routes (37a851b9)
    • use real example path for static files (9cca213a)
    • remove binary file (1f9174d9)
  • Cargo Temporarily switch to Simons fork of rust-mustache. (012bfbbd)
  • Readme.md
    • remove left over comment (fdedb4f7)
    • remove left over comment from original source ;-) (cee94ac8)
  • response
    • set content-type to text/html if unset (75357b4c)
    • use feature std_misc for Entry::{Occupied, Vacant} (f0d1e2b2)
    • Remove warning by not shadowing lifetime. (197573e8)
    • Solve deadlock (15ae83f6)
    • adjust to new lifetime rules (1c7b20f1)
  • Copy Copy is now opt-in (f766b9d1)
  • BytesContainer introduce AsBytes to replace BytesContainer (8ccfec01)
  • TreeMap fix TreeMap path (d2b3d199)
  • macros remove warnings from lint name change (1b0f5dff)
  • url parse_str(s) is now parse(s.as_bytes()) (1afabe59)
  • floor.rs fixes typo (8c2b387b)
  • routes allow custom :format variable in route (add8301f)
  • SendStr MaybeOwned is depreciated in favor of Cow pointers (a8481f59)
  • clone Copy now requires Clone (81af6d79)
  • HashMap
  • slicing_syntax allow slicing_syntax. fixes #95 (c1bb3e17)
  • docs
  • Makefile
    • remove Makefile in favor of Cargo (a771ed8f)
    • update the run target (780b991c)
    • adjust to path changes in rust-http (5afcea33)
  • mustache temporally switch to fork (c5a7cc4b)
  • doctest compile doctest for listen but dont run it (f811ff78)
  • plugin update plugin syntax (8c2e6a9b)
  • json_body_parser
    • Update to work with latest rust-plugin. (2fe55fad)
    • make request body parsing work with the latest rust-http (a37f5806)
  • lib.rs
  • beta remove final unstable code (fcc84c65)
  • nickel
    • handle inference bug (17c42a27)
    • don't force default_router to be last middleware (0037d54f)
  • RequestUri adjust for upstream namespacing changes (9ab86848)
  • router
  • rusthttp temporary upstream repo change (9e3da438)

  • fix depreciated code (bdae4e7e)
  • std::path is now std::old_path (2a8777d5)
  • FromStr now returns a Result, not an Option. (ce33ef2b)
  • Show is deprecated in favor of Debug (b758c514)
  • IO module was renamed. (41787233)
  • change according to latest rust (ae2c49e6)
  • don't force StaticFileHandler to be last middleware (448a8ec1, closes #61)
  • change according to latest rust update (759b8467)
  • HttpDate mismatch types, from time::Tm to HttpDate (c6bc3f45)
  • readme
    • simple parameter access in feature list (75e88467)
    • use nickel.rs as the website link (7cf57fbf)
  • mimes
    • adjust for enum namespacing changes (f335216b)
    • Correct Hal mime type (c2c304ea)
  • enums Add pub use/namespacing where required (ed2a3a31)
  • mime set Content-Type header when appropriate (dc525433)
  • Readme
  • request_handler replace fail! with panic! (e032380c)
  • examples AtomicUint is deprecated in favor of AtomicUsize (03d7fa14)
  • main.rs kill unused import (445bbbdf)
  • Cargo.toml remove invalid keyword (f810f54e)
  • rustup
    • Coherence and Error changes (dc4d943a)
    • remove warnings from trivial_casts for fn pointers (268bcadd)
    • forced feature gates and generic conversions landed (aa36bd67)
    • range is depreciated (8fb6bf31)
    • some depreciations and hyper changes (a0e65e98)
  • anymap
    • remove anymap from Cargo.toml (e95b0a9d)
    • temporary switch to unofficial anymap (8d4cc07e, closes #66)
  • middleware
    • add explicit static lifetimes (fb208eea)
    • use rev() rather than shifting handlers (14be6308)
  • StaticFilesHandler don't try to send dirs (6eda5d9c)
  • tests make compiler happy about unused variables (8023571c)

Features

  • Readme.me added basic notes (7691dc6d)
  • routes add implicit optional format param to routes (153179d5)
  • Cargo.toml adjust for crates.io live go (c8e8519c)
  • macros add convenience macro for establishing routes (2ac2587d)

  • Allow usage of default router (466d512d, closes #59)
  • make router a middleware (c5ca1b40)
  • adds error handling support (7183cbcf, closes #48)
  • added cargo support (57067243)
  • travis
    • use container builds for faster travis tests (d4cc3128)
    • add integration (87d9ec85)
  • response
  • Readme.md explain more detailed what the project is (737bf965)
  • router
  • urlencoded add query string middleware (6de1d279)
  • nickel
    • Added a println of IP:Port when the server starts listening for requests. (b0d6011c)
    • Support for sharing data between requests per route basis (5b1fbba9)
  • ResponseFinalizer add default mimetypes (07e602c6)
  • docs add documentation generation (655351cb)
  • favicon add support for favicons (c00b329a)
  • middleware
    • lazy querystring and json parsers (b8bb31d0)
    • introduce concept of middleware (8a4f6831, closes #14)
  • static-files add basic support (2bb6f833)
  • Readme
  • Router implemented routes with variables (6d0a3758)
  • json_body_parser add json support (fec76019)
  • tests add test command to Makefile (0c1b8d2c)
  • hyper use hyper instead of rust-http (5c6ff040)