packages feed

salvia

Modular web application framework.

view on Hackage

Salvia is a feature rich modular web server and web application framework that can be used to write dynamic websites in Haskell. From the lower level protocol code up to the high level application code, everything is written as a Salvia handler. This approach makes the server extremely extensible. To see a demo of a Salvia website, please see the /salvia-demo/ package. All the low level protocol code can be found in the /salvia-protocol/ package, which exposes the datatypes, parsers and pretty-printers for the URI, HTTP, Cookie and MIME protocols. This Salvia package itself can be separated into three different parts: the interface, the handlers and the implementation. The /interface/ module defines a number of type classes that the user can build the web application against. Reading the request object, writing to the response, or gaining direct access to the socket, all of these actions are reflected using one type class aspect in the interface. The /handlers/ are self contained modules that implement a single aspect of the Salvia web server. The handlers expose their interface requirements in their type context. Salvia can have multiple /implementations/ which can be switched by using different instances for the interface type classes. This package has only one implementation, a simple accepting socket loop server. The /salvia-extras/ package has two additional implementations. Keeping a clear distinction between the abstract server aspects and the actual implementation makes it very easy to migrate existing web application to different back-ends.
versionuploadeduploaderchanges
1.0.02010-03-21 15:55 UTCSebastiaanVisser+1829/−4164 lines, 56 filesdep +MaybeT-transformersdep +monads-fddep +safedep −bimapdep −encodingdep −filepathdep ~basedep ~containersdep ~fclabels
0.1.22009-04-01 11:17 UTCSebastiaanVisser+21/−20 lines, 2 filesdep ~basedep ~bimapdep ~bytestring
0.1.12009-03-23 19:56 UTCSebastiaanVisser+14/−5 lines, 2 filesdep ~encoding
0.12009-03-22 20:38 UTCSebastiaanVisser+2639/−2000 lines, 73 filesdep +fclabelsdep +pureMD5dep −clevercssdep −hscolourdep −nano-md5dep ~parsec
0.0.52009-01-25 00:08 UTCSebastiaanVisser+652/−573 lines, 39 filesdep +nano-md5dep +template-haskell
0.0.42008-12-31 16:01 UTCSebastiaanVisser+3906/−0 lines, 42 filesdep +basedep +bimapdep +bytestringsetup-changed

Dependencies of salvia-1.0.0

MaybeT-transformers >=0.1 && <0.2 0.1 → 0.2 newer than bounds
2010-06-28 20:25 UTC0.2 newer than bounds+3/−3 lines, 1 filesdep ~monads-fddep ~transformersnew-uploaderPVP ok
2010-03-20 11:58 UTC0.1+228/−0 lines, 4 filesdep +basedep +monads-fddep +transformerssetup-changed
base >=4 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

bytestring >=0.9 && <0.10 0.9.2.1 → 0.12.2.0 newer than bounds
2024-12-06 21:41 UTC0.12.2.0 newer than bounds+538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok
2024-02-16 03:27 UTC0.12.1.0 newer than bounds+3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested
2023-08-16 01:53 UTC0.12.0.2 newer than bounds+16/−2 lines, 3 files
2023-08-05 00:03 UTC0.12.0.1 newer than bounds+47/−9 lines, 3 files
2023-07-07 01:45 UTC0.12.0.0 newer than bounds+1459/−520 lines, 21 filesdep +data-array-bytePVP ok

showing 5 of 49 versions

containers >=0.2 && <0.4 0.3.0.0 → 0.8.1 newer than bounds
2026-10-04 06:08 UTC0.8.1 newer than bounds+8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested
2025-03-01 13:03 UTC0.8 newer than bounds+8447/−7031 lines, 37 filesnew-uploaderPVP ok
2023-09-27 12:15 UTC0.7 newer than bounds+76/−33 lines, 3 filesPVP ok
2023-09-28 04:21 UTC0.6.8 newer than bounds+644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested
2023-02-01 03:11 UTC0.6.7 newer than bounds+783/−229 lines, 20 filesPVP: major bump suggested

showing 5 of 43 versions

directory >=1.0 && <1.1 1.0.1.2 → 1.3.11.0 newer than bounds
2026-05-27 05:59 UTC1.3.11.0 newer than bounds+4560/−4504 lines, 25 filesdep ~file-iodep ~filepathdep ~os-stringPVP ok
2026-01-05 11:08 UTC1.3.10.1 newer than bounds+4989/−4830 lines, 43 filesPVP: major bump suggested
2025-12-24 02:55 UTC1.3.10.0 newer than bounds+90/−39 lines, 7 filesdep ~Win32dep ~basePVP: major bump suggested
2024-10-11 10:43 UTC1.3.9.0 newer than bounds+235/−158 lines, 14 filesdep +file-iodep ~basedep ~timePVP: major bump suggested
2024-05-20 06:52 UTC1.3.8.5 newer than bounds+15/−13 lines, 7 filesdep ~basePVP ok

showing 5 of 55 versions

fclabels >=0.4 && <0.5 0.4.2.1 → 2.0.5.1 newer than bounds
2021-05-27 18:41 UTC2.0.5.1 newer than bounds+69/−23 lines, 3 filesdep ~basedep ~base-orphansdep ~criterionPVP ok
2020-05-22 09:42 UTC2.0.5 newer than bounds+19/−12 lines, 3 filesdep ~basedep ~template-haskellPVP ok
2020-01-28 20:23 UTC2.0.4 newer than bounds+19/−32 lines, 3 filesdep +base-orphansPVP: major bump suggested
2018-02-13 06:09 UTC2.0.3.3 newer than bounds+12/−7 lines, 2 filesdep ~basedep ~criteriondep ~mtlPVP: major bump suggested
2016-11-24 13:23 UTC2.0.3.2 newer than bounds+7/−5 lines, 2 filesdep ~HUnitdep ~basedep ~criterionPVP ok

showing 5 of 55 versions

monads-fd >=0.0 && <0.1 0.0.0.1 → 0.2.0.0 newer than bounds
2010-11-07 15:08 UTC0.2.0.0 newer than bounds+15/−560 lines, 7 filesdep +mtldep ~basePVP ok
2010-11-07 15:10 UTC0.1.0.4 newer than bounds+560/−15 lines, 7 filesdep −mtldep ~basePVP: major bump suggested
2010-11-02 21:20 UTC0.1.0.3 newer than bounds+19/−562 lines, 7 filesdep +mtldep ~basePVP: major bump suggested
2010-09-10 22:10 UTC0.1.0.2 newer than bounds+45/−44 lines, 22 filesdep ~transformersPVP: major bump suggested
2010-05-03 00:26 UTC0.1.0.1 newer than bounds+25/−6 lines, 5 filesPVP: minor bump suggested

showing 5 of 8 versions

network >=2.2.1.7 && <2.3 2.2.3.1 → 3.2.16.0 newer than bounds
2026-11-23 03:48 UTC3.2.16.0 newer than bounds+24/−4 lines, 5 filesPVP ok
2026-11-22 04:23 UTC3.2.15.0 newer than bounds+71/−3 lines, 6 filesPVP ok
2026-11-15 10:59 UTC3.2.14.0 newer than bounds+74/−33 lines, 10 filesPVP ok
2026-11-13 00:50 UTC3.2.13.0 newer than bounds+75/−68 lines, 7 filesPVP ok
2026-11-05 05:55 UTC3.2.12.0 newer than bounds+1133/−106 lines, 21 filesPVP: major bump suggested

showing 5 of 101 versions

old-locale >=1.0 && <1.1 1.0.0.6 → 1.0.0.7
2014-11-21 11:00 UTC1.0.0.7+11/−11 lines, 2 filesdep ~basePVP ok
2014-03-22 08:55 UTC1.0.0.6+74/−29 lines, 3 filesdep ~basenew-uploaderPVP ok
2012-09-06 18:08 UTC1.0.0.5+10/−10 lines, 1 filesPVP ok
2012-02-02 23:16 UTC1.0.0.4+5/−1 lines, 2 filesPVP: major bump suggested
2011-08-25 12:29 UTC1.0.0.3+3/−3 lines, 1 filesPVP ok

showing 5 of 8 versions

process >=1.0 && <1.1 1.0.1.5 → 1.6.30.0 newer than bounds
2026-06-11 10:14 UTC1.6.30.0 newer than bounds+19/−1 lines, 2 filesPVP ok
2026-05-24 11:03 UTC1.6.29.0 newer than bounds+5282/−4831 lines, 7 filesdep ~basePVP ok
2026-04-18 12:18 UTC1.6.28.0 newer than bounds+70/−33 lines, 3 filesPVP ok
2026-03-08 19:39 UTC1.6.27.0 newer than bounds+3/−2 lines, 2 filesPVP ok
2026-03-07 13:46 UTC1.6.26.2 newer than bounds+4852/−5346 lines, 7 filesPVP ok

showing 5 of 57 versions

pureMD5 >=1.0 && <1.1 1.0.0.3 → 2.1.4 newer than bounds
2021-10-14 01:51 UTC2.1.4 newer than bounds+12/−12 lines, 3 filesPVP: major bump suggested
2016-05-09 17:45 UTC2.1.3 newer than bounds+142/−58 lines, 3 filesdep +QuickCheckdep +crypto-api-testsdep +pretty-hexdep ~basedep ~binarydep ~bytestringPVP: major bump suggested
2012-09-06 16:05 UTC2.1.2.1 newer than bounds+2/−2 lines, 1 filesdep ~basedep ~bytestringPVP ok
2012-09-06 01:08 UTC2.1.2 newer than bounds+7/−27 lines, 3 filesdep −QuickCheckdep ~basedep ~binarydep ~bytestringPVP ok
2010-11-07 01:29 UTC2.1.0.3 newer than bounds+2/−2 lines, 1 filesdep ~crypto-apiPVP: major bump suggested

showing 5 of 22 versions

random >=1.0 && <1.1 1.0.1.3 → 1.3.1 newer than bounds
2025-04-04 14:25 UTC1.3.1 newer than bounds+15/−6 lines, 3 filesPVP ok
2025-01-06 04:03 UTC1.3.0 newer than bounds+2410/−538 lines, 16 filesdep +data-array-bytedep ~basedep ~transformersPVP ok
2024-12-14 20:31 UTC1.2.1.3 newer than bounds+22/−37 lines, 3 filesdep −doctestdep −mwc-randomdep −unliftiodep ~basedep ~containersdep ~primitivePVP ok
2024-02-04 16:26 UTC1.2.1.2 newer than bounds+17/−12 lines, 2 filesdep ~doctestdep ~tastyPVP: major bump suggested
2022-05-09 02:32 UTC1.2.1.1 newer than bounds+8/−9 lines, 3 filesdep −ghc-byteorderdep ~bytestringdep ~doctestdep ~mtlPVP ok

showing 5 of 15 versions

safe >=0.2 && <0.3 0.2 → 0.3.21 newer than bounds
2024-01-18 16:51 UTC0.3.21 newer than bounds+5/−3 lines, 3 filesdep ~basePVP: major bump suggested
2024-01-14 10:19 UTC0.3.20 newer than bounds+40/−13 lines, 6 filesPVP ok
2020-05-24 20:21 UTC0.3.19 newer than bounds+37/−30 lines, 5 filesPVP ok
2019-12-04 10:51 UTC0.3.18 newer than bounds+136/−55 lines, 7 filesdep ~basePVP ok
2018-03-09 17:20 UTC0.3.17 newer than bounds+81/−62 lines, 6 filesPVP: major bump suggested

showing 5 of 23 versions

salvia-protocol >=1.0 && <1.1 1.0.0 → 1.0.1
2010-03-21 11:13 UTC1.0.1+11/−3 lines, 1 filesPVP ok
2010-03-21 10:39 UTC1.0.0+2548/−0 lines, 20 filesdep +basedep +bimapdep +bytestringsetup-changed
split >=0.1 && <0.2 0.1.4.3 → 0.2.5.1 newer than bounds
2026-08-28 19:55 UTC0.2.5.1 newer than bounds+20/−3 lines, 3 filesPVP ok
2024-01-11 16:34 UTC0.2.5 newer than bounds+25/−2 lines, 4 filesPVP ok
2023-10-09 18:34 UTC0.2.4 newer than bounds+614/−514 lines, 7 filesdep ~QuickCheckPVP ok
2022-08-11 16:02 UTC0.2.3.5 newer than bounds+30/−5 lines, 4 filesdep ~basePVP ok
2020-02-22 21:57 UTC0.2.3.4 newer than bounds+15/−3 lines, 2 filesdep ~basePVP ok

showing 5 of 26 versions

stm >=2.1 && <2.2 2.1.2.2 → 2.5.3.1 newer than bounds
2024-04-12 15:34 UTC2.5.3.1 newer than bounds+7/−3 lines, 3 filesdep ~basePVP: major bump suggested
2023-11-17 23:47 UTC2.5.3.0 newer than bounds+222/−123 lines, 6 filesPVP: major bump suggested
2023-10-06 15:16 UTC2.5.2.1 newer than bounds+11/−5 lines, 3 filesPVP ok
2023-10-05 21:19 UTC2.5.2.0 newer than bounds+258/−270 lines, 9 filesdep ~basePVP: major bump suggested
2022-08-04 22:51 UTC2.5.1.0 newer than bounds+42/−5 lines, 5 filesdep +semigroupsdep ~basePVP ok

showing 5 of 24 versions

text >=0.5 && <0.8 0.7.2.1 → 2.1.5 newer than bounds
2026-11-27 23:30 UTC2.1.5 newer than bounds+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4 newer than bounds+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3 newer than bounds+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2 newer than bounds+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1 newer than bounds+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

threadmanager ==0.1.3 0.1.3 → 0.1.7 newer than bounds
2013-07-06 02:29 UTC0.1.7 newer than bounds+26/−15 lines, 3 filesdep ~basedep ~containersPVP ok
2013-06-29 06:40 UTC0.1.6 newer than bounds+40/−31 lines, 3 filesdep ~basedep ~containerssetup-changedPVP ok
2012-08-17 17:04 UTC0.1.5 newer than bounds+15/−7 lines, 2 filesdep ~basedep ~containersPVP ok
2011-03-13 19:31 UTC0.1.4 newer than bounds+2/−2 lines, 1 filesdep ~containersPVP ok
2010-01-03 09:34 UTC0.1.3+2/−2 lines, 1 filesdep ~containersPVP ok

showing 5 of 8 versions

time >=1.1 && <1.2 1.1.4 → 1.16.0.1 newer than bounds
2026-07-20 21:55 UTC1.16.0.1 newer than bounds+1203/−148 lines, 25 filesPVP ok
2026-05-03 08:43 UTC1.16 newer than bounds+353/−64 lines, 29 filesdep +template-haskell-liftdep ~template-haskellPVP ok
2025-08-04 16:22 UTC1.15 newer than bounds+1407/−743 lines, 56 filesdep ~basedep ~deepseqdep ~template-haskellPVP ok
2024-03-10 22:18 UTC1.14 newer than bounds+6594/−5536 lines, 73 filesdep +template-haskelldep ~basePVP ok
2021-10-18 05:36 UTC1.13 newer than bounds+1279/−1589 lines, 59 filesdep ~basePVP ok

showing 5 of 48 versions

transformers >=0.1 && <0.2 0.1.4.0 → 0.6.3.0 newer than bounds
2026-01-12 12:42 UTC0.6.3.0 newer than bounds+28/−1 lines, 4 filesPVP: major bump suggested
2025-04-06 22:39 UTC0.6.2.0 newer than bounds+41/−42 lines, 8 filesdep ~ghc-primPVP: major bump suggested
2024-09-25 11:37 UTC0.6.1.2 newer than bounds+70/−21 lines, 19 filesPVP: minor bump suggested
2023-08-01 19:13 UTC0.6.1.1 newer than bounds+281/−42 lines, 11 filesPVP ok
2023-02-04 08:15 UTC0.6.1.0 newer than bounds+64/−4 lines, 8 filesPVP ok

showing 5 of 42 versions

unix >=2.3 && <2.5 2.4.2.0 → 2.8.8.0 newer than bounds
2025-09-23 08:10 UTC2.8.8.0 newer than bounds+161/−207 lines, 6 filesdep ~basedep ~timePVP ok
2025-05-10 14:12 UTC2.8.7.0 newer than bounds+8400/−7941 lines, 12 filesdep ~basedep ~timePVP ok
2024-11-19 15:41 UTC2.8.6.0 newer than bounds+1133/−333 lines, 14 filesdep ~basedep ~timePVP: major bump suggested
2024-04-08 19:21 UTC2.8.5.1 newer than bounds+7507/−6738 lines, 5 filesdep ~basedep ~filepathdep ~os-stringPVP: major bump suggested
2023-12-01 00:53 UTC2.8.5.0 newer than bounds+55/−9 lines, 7 filesdep +os-stringdep ~filepathdep ~timePVP ok

showing 5 of 34 versions

utf8-string >=0.3 && <0.4 0.3.8 → 1.0.2 newer than bounds
2021-01-03 18:33 UTC1.0.2 newer than bounds+286/−46 lines, 8 filesdep +HUnitdep +utf8-stringdep ~basePVP: major bump suggested
2015-08-23 16:19 UTC1.0.1.1 newer than bounds+12/−2 lines, 3 filesdep ~basePVP ok
2015-08-21 22:38 UTC1.0.1 newer than bounds+71/−3 lines, 3 filesdep ~basePVP: major bump suggested
2015-01-23 01:51 UTC1 newer than bounds+17/−194 lines, 5 filesdep ~basePVP ok
2014-05-19 08:05 UTC0.3.8+50/−7 lines, 9 filesdep ~basePVP ok

showing 5 of 16 versions

Reverse dependencies

7 packages depend on salvia; 2 have bounds that exclude 1.0.0

orchid 0.0.8 requires salvia >=0.1 && <0.2 excludes current (upper bound)
orchid-demo 0.0.6 requires salvia >=0.1 && <0.2 excludes current (upper bound)
haskoon-salvia 0.4.0.2 requires salvia >=0
salvia-demo 1.0.0 requires salvia >=1.0 && <1.1
salvia-extras 1.0.0 requires salvia >=1.0 && <1.1
salvia-sessions 1.0.0 requires salvia >=1.0 && <1.1
salvia-websocket 1.0.0 requires salvia >=1.0 && <1.1