yesod-core

Creation of type-safe, RESTful web applications. http://www.yesodweb.com/

Latest on Hackage:1.6.18@rev:1

See all snapshots yesod-core appears in

MIT licensed and maintained by Michael Snoyman

Module documentation for 1.4.18.1

This version can be pinned in stack with:yesod-core-1.4.18.1@sha256:65df7c8be44b5c4b1a85c35337811aa98c34b8676a5d0ae0d09e455561a1a1e7,6869

yesod-core

This is the main package for Yesod, providing all core functionality on which other packages can be built. It provides dispatch, handler functions, widgets, etc.

Yesod is well documented on its website.

Changes

1.4.18

  • Add hook to apply arbitrary function to all handlers #1122

1.4.17

  • Add getApprootText

1.4.16

  • Add guessApproot and guessApprootOr

1.4.15.1

  • bugfix neverExpires leaked threads

1.4.15

  • mkYesod avoids using reify when it isn’t necessary. This avoids needing to define the site type below the call to mkYesod.

1.4.14

  • Add CSRF protection functions and middleware based on HTTP cookies and headers #1017
  • Add mkYesodWith, which allows creating sites with polymorphic type parameters #1055
  • Do not define the site type below a call to mkYesod (or any variant), as it will be required at splicing time for reification. This was allowed before because reification was not in use. Reification was introduced to allow parametrized types to be used by mkYesod (and variants), with potentially polymorphic variables.

1.4.13

  • Add getsYesod function #1042
  • Add IsString instance for WidgetT site m () #1038

1.4.12

  • Don’t show source location for logs that don’t have that information #1027

1.4.11

  • Expose stripHandlerT and subHelper

1.4.10

  • Export log formatting #1001

1.4.9.1

  • Deal better with multiple cookie headers

1.4.9

  • Add simple authentication helpers #962

1.4.8.3

  • Use 307 redirect for cleaning paths and non-GET requests #951

1.4.8.2

  • Allow blaze-builder 0.4

1.4.8.1

  • Bump upper bound on path-pieces

1.4.8

  • Add a bunch of Semigroup instances

1.4.7.3

  • Remove defunct reference to SpecialResponse #925

1.4.7

SSL-only session security #894

1.4.6.2

monad-control 1.0

1.4.6

Added the Yesod.Core.Unsafe module.

1.4.5

  • envClientSessionBackend
  • Add MonadLoggerIO instances (conditional on monad-logger 0.3.10 being used).

1.4.4.5

Support time 1.5

1.4.4.2

neverExpires uses dates one year in the future (instead of in 2037).

1.4.4.1

Improvements to etag/if-none-match support #868 #869

1.4.4

Add the notModified and setEtag functions.

1.4.3

Switch to mwc-random for token generation.