Skip to content

Releases: roc-lang/basic-webserver

0.9.0

31 Aug 13:33
0.9.0
b59126f
Compare
Choose a tag to compare

⚠️ This release requires a version of Roc released on August 31 2024 or later.

examples

Roc syntax to use this platform:

app [main] { pf: platform "https://github.com/roc-lang/basic-webserver/releases/download/0.9.0/taU2jQuBf-wB8EJb0hAkrYLYOGacUU5Y9reiHG45IY4.tar.br" }

What's Changed

  • Use builtin Task #58
  • added multipart/form-data parsing #70

Full Changelog: 0.8.0...0.9.0

Upgrade Notes

Task is now builtin in Roc, to upgrade to this release you probably just need to remove Task imports like this one:

import pf.Task exposing [Task]

0.8.0

23 Aug 15:56
0.8.0
63e3b7a
Compare
Choose a tag to compare

⚠️ This release requires a version of Roc released on August 23 and August 31 2024.

examples

Roc syntax to use this platform:

app [Model, server] {
     pf: platform "https://github.com/roc-lang/basic-webserver/releases/download/0.8.0/jz2EfGAtz_y06nN7f8tU9AvmzhKK-jnluXQQGa9rZoQ.tar.br"
}

What's Changed

  • Replaced deprecated backpassing #69

Full Changelog: 0.7.0...0.8.0

0.7.0

12 Aug 17:18
0.7.0
e84f792
Compare
Choose a tag to compare

What's Changed

  • Refactor host files into crates in #54
  • Change platform API to include init and respond #64

Full Changelog: 0.6.0...0.7.0

0.6.0

27 Jul 18:52
0.6.0
ed8ba5f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.5.0...0.6.0

0.5.0

07 May 11:48
8b2a4cc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.4.0...0.5.0

0.4.0

15 Apr 10:13
39b3999
Compare
Choose a tag to compare

⚠️ This release requires a version of Roc released on April 15 2024 or later.

⚠️ On linux, it's now necessary to use --linker=legacy when using this platform. For example: roc webApp.roc --linker=legacy. See roc-lang/roc#3609 for more info.

Breaking changes

  • New record decoding signature (#45)

Misc changes

  • flake lock update (#44)

Full Changelog: 0.3.0...0.4.0

0.3.0

21 Feb 16:07
4d5ae53
Compare
Choose a tag to compare

⚠️ On linux, it's now necessary to use --linker=legacy when using this platform. For example: roc webApp.roc --linker=legacy. See roc-lang/roc#3609 for more info.

Roc syntax to use this platform:

packages { pf: "https://github.com/roc-lang/basic-webserver/releases/download/0.3.0/gJOTXTeR3CD4zCbRqK7olo4edxQvW5u3xGL-8SSxDcY.tar.br" }

What's Changed

  • Integrated Sqlite into platform #35
  • Added ROC_BASIC_WEBSERVER_HOST and ROC_BASIC_WEBSERVER_PORT variables #15
  • Simplified Request body, added parseFormUrlEncoded #41
  • Added Nix Flake #33
  • Several Utc functions now use I128 instead of U128 to be able to represent dates before 1970 #31
  • Nat was replaced by U64 #42

Bugfixes

  • Fix Utc.toMillisSinceEpoch function #20
  • Fix Utc.toIso8601Str #25 #28

New Contributors

Full Changelog: 0.2.0...0.3.0

0.2.0

01 Dec 11:53
355625c
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release
Merge pull request #13 from roc-lang/add-dbg

add roc_dbg

0.1.0

20 Nov 11:00
186c49e
Compare
Choose a tag to compare

To use this release:

app "webapp"
    packages { pf: "https://github.com/roc-lang/basic-webserver/releases/download/0.1/dCL3KsovvV-8A5D_W_0X_abynkcRcoAngsgF0xtvQsk.tar.br" }
    imports []
    provides [main] to pf
    
# ...

Examples