Releases: guzba/mummy
0.2.1
This release adds Webby as a dependency. Webby has been created to be the home for many common data structures and HTTP functionality that is needed in Mummy and also needed other projects like Puppy and more in the works.
Instead of every project having its own incompatible types and frustrating name collisions or inconsistencies, they'll all just have the same "stuff" soon.
This should be an invisible change to anyone using Mummy.
What's Changed
- small fixes by @guzba in #14
- add database example by @guzba in #15
- Fix typo by @enthus1ast in #17
- webby for headers by @guzba in #18
New Contributors
- @enthus1ast made their first contribution in #17
Full Changelog: 0.2.0...0.2.1
0.2.0
This release adds the optional mummy/routers
import. Using a Router makes setting up request routing and default handlers for 404 etc very easy.
As I started using Mummy for real stuff I quickly realized having an easy way to set up some routing would be very helpful.
I've updated the examples such as examples/basic_router.nim and added the tests/test_routers.nim file which can also be used to see how to make more advanced use of the new router.
I also have some comments in routers.nim that would be good to know if you decide to try out using a router.
What's Changed
Full Changelog: 0.1.1...0.2.0
0.1.1
Not a major update, just some little things.
One small API change here is I removed .port and .address from Server. I want the server to be able to serve multiple ports so this had to go. Using them wasn't shown in any examples or anything so probably harmless.
What's Changed
- sleepAsync to fdSleep, update benchmarks by @guzba in #4
- update benchmarks by @guzba in #5
- fix nim doc by @guzba in #6
- websocket chat server example by @guzba in #7
- little stuff by @guzba in #9
Full Changelog: 0.1.0...0.1.1