All Versions
10
Latest Version
Avg Release Cycle
255 days
Latest Release
1447 days ago
Changelog History
Changelog History
-
v0.7.3 Changes
October 02, 2020- ๐ Allow building with GHC 9.0.
-
v0.7.2 Changes
September 19, 2020- Render Unicode codepoints beyond
0xFFFF
properly.
- Render Unicode codepoints beyond
-
v0.7.1 Changes
January 28, 2020- โ Remove the
wiki-suite
test suite fromblank-canvas.cabal
, as it was never intended to work as a traditional test suite. The functionality ofwiki-suite
has moved to a subdirectory of the upstreamblank-canvas
repository.
- โ Remove the
-
v0.7 Changes
May 05, 2019- Strengthen the
Monad
constraint onreadColourName
toMonadFail
.
- Strengthen the
-
v0.6.3 Changes
April 07, 2018- ๐ Use
base-compat-batteries
.
- ๐ Use
-
v0.6.2 Changes
January 18, 2018โ Additions
- โ Add
Semigroup
instance forCanvas
- โ Add
-
v0.6.1 Changes
September 26, 2017- ๐ Fix building with
aeson-1.2.2.0
.
- ๐ Fix building with
-
v0.6 Changes
December 04, 2015API changes
- The
(#)
function had its type generalized froma -> (a -> Canvas b) -> Canvas b
toa -> (a -> b) -> b
. This allows it to be used with font length units. - Added more type synonyms (
Interval
,Degrees
,Radians
, etc.) to more clearly indicate what functions expect constrained values. showbJS
(formerlyshowJS
) andjsStyle
now return a textBuilder
instead of aString
. This change was introduced as part of a largerblank-canvas
refactoring to increase performance. See theData.Text.Lazy.Builder
module from thetext
package for more details on how to useBuilder
s.
API additions
- A new ADT for
Font
s has been added inGraphics.Blank.Font
that can be used in place ofText
. For example,"30pt Calibri"
is equivalent to(defFont "Calibri") { fontSize = 30 # pt }
. - A generalized
font
function of typeCanvasFont canvasFont => canvasFont -> Canvas ()
was added toGraphics.Blank.Font
that can accept aText
orFont
argument. Thefont
function inGraphics.Blank
remains of typeText -> Canvas ()
. - Added a
cursor
function to change the browser cursor. Also added theGraphics.Blank.Cursor
module containing a generalizedcursor
function that uses aCursor
ADT instead ofText
. - Added
Bounded
,Enum
,Eq
,Ix
,Ord
, andShow
instances for more data types - Added support for more MIME types via the
mime-types
library
โ Additions
- Allowed building with
base-4.8.0.0
Other
- Require
scotty
>= 0.10 andkansas-comet
>= 0.4
- The
-
v0.5 Changes
September 20, 2014API changes
- Using Double rather than Float
- Generalized saveRestore to be polymorphic
API additions
- Added sync for forcing synchronization between the server and client
- Added argument specific variants of drawImage and putImageData.
- Added ADTs for RepeatDirection, Alignment, Baseline, LineEnds, Corner (previous used Text)
- Use of the colour(sic) package (Text is still allowed)
๐ Bug fixes:
- Fixed unicode escapes in strings
โ Additions:
- Allow Images to access client-side filesystem
-
v0.4.0 Changes
June 21, 2014๐ This is the second major release of blank canvas. Now the complete canvas API is provided, including query functions.