All Versions
8
Latest Version
Avg Release Cycle
103 days
Latest Release
1203 days ago

Changelog History

  • v0.4.1

    July 02, 2018
  • v0.4.0 Changes

    February 02, 2017

    If App is an instance of Toro, then you can start the server
    by calling App.run. You can pass any options you would use with
    the HTTP::Server constructor from the standard library.

    For example, you can start the server on port 80:

    App.run(80)
    

    ๐Ÿ”ง Or you can further configure server by using a block. The following
    ๐Ÿ”ง example shows how to configure SSL certificates:

    App.run(443) do |server| ssl = OpenSSL::SSL::Context::Server.new ssl.private\_key = "path/to/private\_key" ssl.certificate\_chain = "path/to/certificate\_chain" server.tls = sslend
    

    ๐Ÿ“š Refer to Crystal's documentation for more options.

  • v0.3.3

    November 03, 2016
  • v0.3.2

    July 16, 2016
  • v0.3.1

    July 14, 2016
  • v0.3.0 Changes

    July 14, 2016

    Toro gains a json helper. If you require "json" from the standard library, you can use the json helper with any generic Crystal object. Thanks @raydf for this feature!

  • v0.2.0 Changes

    July 14, 2016

    ๐Ÿš€ I felt Toro was fast, but then I got a pull request from @raydf where he got rid of the workflow around raising the Halt exception, something Toro was using for stopping the execution once a match was found. Instead, he added a flag (the @halt instance variable) to keep track if a match had occurred. The result was an increase in performance of around 40%. The final version doesn't need the flag, as we were able to replace part of the API with a set of macros and the behavior is more in line with that of the first release. Huge thanks to @raydf for his awesome work :-)

  • v0.1.0

    July 12, 2016