File: CHANGELOG.md

package info (click to toggle)
haskell-lucid 2.11.20230408-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 156 kB
  • sloc: haskell: 1,384; makefile: 4
file content (103 lines) | stat: -rw-r--r-- 2,211 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
## Upcoming

## 2.11.20230408

* Don't expect Control.Monad to be re-exported from mtl anymore

## 2.11.1

* Use explicit imports for mtl, avoids the mtl-2.3 issue
* Added `minlength` attribute.
* Added `loading` attribute.

## 2.11.0

* Change internal attributes to `Seq Attribute`. This preserves
  ordering. Attributes are merged in a left-biased way, preserving the
  key order as first encountered.

## 2.10.0

* Change internal attributes representation from HashMap to Map. This
  introduces stable ordering, at a negligible performance cost for
  realistic element sizes. This may affect some test suites.
* doctype no longer accepts attributes. You can use `with` with
  `doctypeHtml` now, if needed.

## 2.9.12.1

* Allow different orderings of attributes in test-suite

## 2.9.12

* Add MonadFix instance

## 2.9.11

* Add GHC-8.6 support
* row-fluid and container-fluid instead of camelCase

## 2.9.10

* Drop GHC-7.8 and older (pre-AMP) support
* Generalise type-signatures to require only `Applicative` or `Functor`,
  when that's enough

## 2.9.9

* Add `commuteHtmlT` to commute `HtmlT m a` into `m (HtmlT n a)`.
* Add `MonadError e m => MonadError e (HtmlT m)` and
  `MonadWriter w m => MonadWriter w (HtmlT m)` instances

## 2.9.8.1

* Improve performance by adding `INLINE` pragmas to `Monad` etc. combinators.

## 2.9.8

* Add `integrity_`, `crossorigin_` attributes
* Add `classes_` smart attribute constructor
* Add `ToHtml (HtmlT m a)` instance

## 2.9.7

* Add `Semigroup (HtmlT m a)` instance
* Add `MonadState` and `MonadReader` instances

## 2.9.6

* Fix compilation of benchmarks
* Add @athanclark's version of `relaxHtmlT`
* Add a utility to generalize the underlying monad from Identity: `relaxHtmlT`

## 2.9.5

* Add ToHtml instance for ByteString (both)
* Add `MFunctor HtmlT` instance, i.e. `hoist` from @mmorph@.

## 2.9.1

* Small performance tweaks.
* Make svg_ an element.

## 2.6

* Restrict monoid instance's a to ~ () (means you can use mempty
  without inference errors)

## 2.2

* Export renderToFile from top-level Lucid module.

## 2.1

* Add some extra HTML tags.

## 2.0

* Use variadic HTML terms.
* Add lazy Text instance for ToHtml.

## 1.0

* Initial version.