-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreleases.html
1778 lines (1769 loc) · 96.4 KB
/
releases.html
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Diagrams - Releases</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- Bootstrap -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="./css/bootstrap.min.css" rel="stylesheet" />
<link href="./css/sticky-footer-navbar.css" rel="stylesheet" />
<link href="./css/callout.css" rel="stylesheet" />
<link href="./css/doc.css" rel="stylesheet" />
<link href="./css/bootstrap-docs.css" rel="stylesheet" />
<link href="./css/home.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="./css/syntax.css" />
<link rel="shortcut icon" href="./diagrams.ico" />
<script type="text/javascript" src="https://cdn.rawgit.com/mathjax/MathJax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
</head>
<body>
<div id="wrap">
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="./">diagrams</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav pull-right">
<li><a href="./">Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="./download.html">Installation</a></li>
<li class="divider"></li>
<li><a href="./tutorials.html">Tutorials</a></li>
<li><a href="./doc/manual.html">User manual</a></li>
<li><a href="./haddock/index.html">API reference (Haddocks)</a></li>
<li><a href="./doc/core.html">Core library reference</a></li>
<li class="divider"></li>
<li><a href="http://haskell.org/haskellwiki/Diagrams">Wiki</a></li>
<li><a href="./releases.html">Releases / changelogs</a></li>
</ul>
</li>
<li><a href="./gallery.html">Gallery</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Community <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="http://webchat.freenode.net?channels=diagrams">IRC channel</a></li>
<li><a href="http://groups.google.com/group/diagrams-discuss">Mailing
list</a></li>
<li><a href="https://github.com/diagrams">Github</a></li>
<li><a href="./sightings.html">Sightings</a></li>
<li><a href="./community.html">Get involved</a></li>
</ul>
</li>
<li><a href="./blog/index.html">Blog</a></li>
<li>
<form id="search" class="navbar-form navbar-left" role="search" method="get" action="http://haskell.org/hoogle">
<div class="form-group">
<input id="hoogle" name="hoogle" type="text" class="form-control" placeholder="API Search">
</div>
</form>
</li>
</ul>
</div>
</div>
</div>
<div class="container" style="padding-top: 60px;">
<h1 id="diagrams-1.4-27-october-2016">diagrams 1.4: 27 October, 2016</h1>
<p><a href="http://hackage.haskell.org/package/diagrams-core-1.4">diagrams-core-1.4</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>New <code>eachName</code> traversal, for traversing over parts of a <code>Name</code>
that match a given type</p></li>
<li><p>More documentation explaining <code>HasOrigin</code> and <code>Transformable</code>
instances for <code>Envelope</code></p></li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>Allow <code>lens-4.15</code></li>
<li>Many other upper bounds bumped; see minor release changelogs below.</li>
</ul></li>
<li><p><strong>New instances</strong></p>
<ul>
<li><p><code>Transformable</code> instance for <code>Measured</code></p></li>
<li><p>A bunch more instances for <code>Query</code> (<code>Distributive</code>,
<code>Representable</code>, <code>Profunctor</code>, <code>Coseive</code>, <code>Closed</code>, <code>Costrong</code>,
<code>Corepresentable</code>)</p></li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><p>Move some <code>Query</code>-related functions to <code>diagrams-lib</code> (<code>sample</code>,
<code>value</code>, <code>resetValue</code>, <code>clearValue</code>)</p></li>
<li><p>Remove some redundant constraints in type signatures (should not
actually affect API)</p></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-lib-1.4">diagrams-lib-1.4</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>New <code>mkText'</code> function, which allows making a text primitive
without recommending a fill colour or font size so users can
recommend their own (<em>e.g.</em> using the <code>recommendFontSize</code>
function).</p></li>
<li><p>New functions <code>reflectXY</code> and <code>reflectionXY</code></p></li>
<li><p>New <code>composeAligned</code> combinator for doing composition under an
alignment while leaving the local origin unaffected.</p></li>
<li><p>Add <code>_LocLoop</code> and <code>_LocLine</code> prisms</p></li>
<li><p>New <code>bspline</code> function for creating uniform cubic B-splines</p></li>
<li><p>New 3D features:</p>
<ul>
<li>New <code>Skinned</code> class</li>
<li>Improved handling of 3D primitives</li>
<li>CSG</li>
</ul></li>
<li><p>New standard attributes for separate fill and stroke opacity
(see
<a href="https://github.com/diagrams/diagrams-lib/issues/248">#248</a>).</p></li>
<li><p>New <code>HasQuery</code> class for things which can be spatially queried
for values from some monoid.</p></li>
<li><p>New function <code>inquire</code> for testing whether a given point is
inside a diagram.</p></li>
<li><p>New font weights: <code>bolder</code>, <code>lighter</code>, <code>thinWeight</code>,
<code>ultraLight</code>, <code>light</code>, <code>mediumWeight</code>, <code>heavy</code>, <code>semiBold</code>,
<code>ultraBold</code>. Note that currently only the SVG backend deals
with the new weights.</p></li>
<li><p>Export <code>GetSegmentCodomain</code> and update documentation</p></li>
<li><p>Improved performance of 2D rotations</p></li>
</ul></li>
<li><p><strong>New instances</strong></p>
<ul>
<li><p><code>Alignable</code> instance for <code>Located</code></p></li>
<li><p><code>ToPath</code> instances for lines and loops</p></li>
<li><p><code>Serialize</code> instances for <code>Trail</code>, <code>Path</code>, <code>Located</code>, <code>SegTree</code>,
<code>Segment</code></p></li>
<li><p><code>Generic</code> instances for <code>Path</code>, <code>Located</code></p></li>
<li><p><code>Action</code> instance for <code>Angle</code>: angles act by rotation.</p></li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><code>snugBL</code>, <code>snugBR</code>, <code>snugTR</code> and <code>snugBR</code> are deprecated.
These functions were unintuitive, ad-hoc, and not particularly useful,
especially since e.g. <code>snugL</code> and <code>snugB</code> do not commute. You
can use something like <code>snugB . snugL</code> directly, or use <code>snug</code>
with a direction vector. See
<a href="https://github.com/diagrams/diagrams-lib/issues/250">#250</a> for
more details.</li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>upgrade <code>fsnotify</code> and drop dependency on deprecated
<code>system-filepath</code></li>
<li>Allow <code>lens-4.15</code></li>
<li>Many other bumped upper bounds, see release notes for minor releases
below</li>
</ul></li>
<li><p><strong>Bug fixes</strong></p>
<ul>
<li><p>fix <code>orientPoints</code> function, which was previously generating NaN
values with lists of only one or two
points. (<a href="https://github.com/diagrams/diagrams-lib/issues/210">#210</a>)</p></li>
<li><p>Broken offset joins with non-vertices in loops (<a href="https://github.com/diagrams/diagrams-lib/issues/263">#263</a>)</p></li>
<li><p>Properly transform arrow shaft styles (<a href="https://github.com/diagrams/diagrams-lib/issues/274">#274</a>)</p></li>
<li><p>Fix sign error in <code>reflectionAbout</code></p></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/SVGFonts-1.6.0.0">SVGFonts-1.6</a></p>
<ul>
<li>Performance improvement: port <code>ReadPath</code> to use <code>attoparsec</code></li>
<li>New <code>loadFont'</code> function, to read font data from an <code>XmlSource</code></li>
<li>Export <code>Kern(..)</code> from <code>Graphics.SVGFonts.ReadFont</code></li>
<li>New <code>Serialize</code> instances for <code>FontData</code> and <code>Kern</code></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-contrib-1.4">diagrams-contrib-1.4</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>New modules:</p>
<ul>
<li><p><code>Diagrams.TwoD.Path.LSystem</code>: module for generating L-system
fractals</p></li>
<li><p><code>Diagrams.TwoD.Path.Boolean</code>: boolean operations on paths</p></li>
<li><p><code>Diagrams.Color.XKCD</code>: Common names for the 949 most common
RGB monitor colors, as determined by the xkcd color name
survey.</p></li>
<li><p><code>Diagrams.TwoD.Layout.Constrained</code>: 2D layout via relative
constraint specifications</p></li>
<li><p><code>Diagrams.Anchors</code>: layout via specified anchor points</p></li>
<li><p><code>Diagrams.TwoD.Path.Follow</code>: monoid for trails which matches
tangent vectors at endpoints</p></li>
</ul></li>
<li><p><code>Diagrams.TwoD.Path.IteratedSubset</code> is greatly expanded, with
more tools, examples, and documentation</p></li>
<li><p>New radial layout algorithm for rose trees, <code>radialLayout</code>
function in <code>Diagrams.TwoD.Layout.Tree</code></p></li>
<li><p>Code in <code>Diagrams.TwoD.Apollonian</code> cleaned up and generalized</p></li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><code>Diagrams.TwoD.Path.Turtle</code>: pen width is now a <code>Measure n</code>
instead of <code>n</code></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-cairo-1.4">diagrams-cairo-1.4</a></p>
<p>No changes.</p>
<p><a href="http://hackage.haskell.org/package/diagrams-gtk-1.4">diagrams-gtk-1.4</a></p>
<p>No changes.</p>
<p><a href="http://hackage.haskell.org/package/diagrams-postscript-1.4">diagrams-postscript-1.4</a></p>
<p>No changes.</p>
<p><a href="http://hackage.haskell.org/package/diagrams-rasterific-1.4">diagrams-rasterific-1.4</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>Can now output PDFs.</p></li>
<li><p>Font files are now embedded with <code>file-embed</code>.</p></li>
<li><p>Various functions for better GIF support.</p></li>
<li><p>Support for group opacity.</p></li>
</ul></li>
<li><p><strong>New instances</strong></p>
<ul>
<li><code>ToResult</code> instance for animated GIFs.</li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-svg-1.4.1">diagrams-svg-1.4.1</a></p>
<ul>
<li>Handle wider range of font weight specifications</li>
<li>Changes for <code>svg-builder</code></li>
<li>Deprecate <code>svgId</code> and <code>svgClass</code></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-canvas-1.4">diagrams-canvas-1.4</a></p>
<p>No changes.</p>
<p><a href="http://hackage.haskell.org/package/diagrams-html5-1.4">diagrams-html5-1.4</a></p>
<p>No changes.</p>
<p><a href="http://hackage.haskell.org/package/diagrams-builder-0.8">diagrams-builder-0.8</a></p>
<ul>
<li>Require <code>haskell-src-exts-1.18</code> and <code>haskell-src-exts-simple</code></li>
<li><code>diagrams-builder-pgf</code>: add catch-all case for file extension</li>
<li>Better defaults (<a href="https://github.com/diagrams/diagrams-builder/issues/29">#29</a>):
<ul>
<li>default extension will be chosen based on backend</li>
<li><code>input</code> option automatically selected when using <code>pgf</code> backend</li>
<li><code>diagrams</code> is now default output directory</li>
</ul></li>
<li>Modules <a href="https://github.com/diagrams/diagrams-builder/pull/17">can now be imported qualified</a></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-haddock-0.4">diagrams-haddock-0.4</a></p>
<ul>
<li>Build with <code>ghc-8.0</code></li>
<li>Improved error message when <code>setup-config</code> can’t be read</li>
<li>Replace <code>lucid-svg</code> with <code>svg-builder</code></li>
</ul>
<h1 id="diagrams-1.3-19-april-2015">diagrams 1.3: 19 April, 2015</h1>
<p><a href="http://hackage.haskell.org/package/monoid-extras-0.4.0.0">monoid-extras-0.4.0.0</a></p>
<ul>
<li>add derived instances where possible:
<code>Typeable</code>, <code>Data</code>, <code>Read</code>, <code>Eq</code>, <code>Ord</code>, <code>Functor</code>, <code>Foldable</code>, <code>Traversable</code></li>
<li>allow <code>base-4.8</code></li>
</ul>
<p><a href="http://hackage.haskell.org/package/dual-tree-0.2.0.6">dual-tree-0.2.0.6</a></p>
<ul>
<li>Allow <code>base-4.8</code></li>
<li>Allow <code>monoid-extras-0.4</code></li>
</ul>
<p><a href="http://hackage.haskell.org/package/active-0.2.0.0">active-0.2.0.0</a></p>
<ul>
<li>switch from <code>vector-space</code> to <code>linear</code></li>
<li>allow <code>lens-4.9</code></li>
<li>allow <code>base-4.8</code></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-core-1.3">diagrams-core-1.3</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>Update for ghc-7.10.</p></li>
<li><p>Switch from <code>vector-space</code> to <code>linear</code> for linear algebra.</p></li>
<li><p><code>OpacityGroup</code> annotation for setting the opacity of diagrams as
a group. Opacity groups can be applied with the <code>opacityGroup</code> or
<code>groupOpacity</code> functions.</p></li>
<li><p>Added <code>atAttr</code>, <code>atMAttr</code> and <code>atTAttr</code> lenses onto the attributes
of styles.</p></li>
<li><p><code>InSpace</code> and <code>SameSpace</code> synonyms.</p></li>
<li><p><code>size</code> function for computing the range of an enveloped object in
the basis vectors.</p></li>
<li><p>“Grouping” for transparent things <a href="https://github.com/diagrams/diagrams-core/issues/21">#21</a></p></li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>Allow <code>base-4.8</code></li>
<li>Allow <code>lens-4.9</code></li>
</ul></li>
<li><p><strong>New instances</strong></p>
<ul>
<li><code>Show</code> instances for <code>Attribute</code> and <code>Style</code>.</li>
<li><code>Each</code>, <code>Ixed</code> and <code>At</code> instances for and <code>Style</code>.</li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><p><code>Measure</code> has a new internal representation. <code>Local</code>, <code>Global</code>,
<code>Normalized</code>, and <code>Output</code> have been renamed to <code>local</code>, <code>global</code>,
<code>normalized</code> and <code>output</code> respectively. <code>Measure</code> is now defined in
<code>Diagrams.Core.Measure</code>.</p></li>
<li><p><code>GTAttribute</code> has been removed. <code>MAttribute</code> now holds measured
attributes and no longer requires a <code>Data</code> instance.</p></li>
<li><p><code>V</code> is now a <code>* -> *</code> kind type family.</p></li>
<li><p>New type family <code>N</code> for the number type of an object, <code>Scalar</code>
type family no longer exists.</p></li>
<li><p><code>(|>)</code> has moved to <code>(.>>)</code> to make room for lens’s snoc operator.</p></li>
<li><p><code>Style</code>’s internal representation now uses a hashmap of the
<code>TypeRep</code>.</p></li>
</ul></li>
<li><p><strong>Merged pull requests:</strong></p>
<ul>
<li><p>Pre 1.3 <a href="https://github.com/diagrams/diagrams-core/pull/82">#82</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>update for GHC-7.10, -Wall <a href="https://github.com/diagrams/diagrams-core/pull/81">#81</a> (<a href="https://github.com/bergey">bergey</a>)</p></li>
<li><p>Style lenses <a href="https://github.com/diagrams/diagrams-core/pull/80">#80</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>Add isReflection <a href="https://github.com/diagrams/diagrams-core/pull/79">#79</a> (<a href="https://github.com/byorgey">byorgey</a>)</p></li>
<li><p>Linear update <a href="https://github.com/diagrams/diagrams-core/pull/77">#77</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>Bump lens upper version bounds <a href="https://github.com/diagrams/diagrams-core/pull/74">#74</a> (<a href="https://github.com/RyanGlScott">RyanGlScott</a>)</p></li>
<li><p>Add Diagram B synonym for Diagram b v n <a href="https://github.com/diagrams/diagrams-core/pull/73">#73</a> (<a href="https://github.com/jeffreyrosenbluth">jeffreyrosenbluth</a>)</p></li>
<li><p>New stuff <a href="https://github.com/diagrams/diagrams-core/pull/72">#72</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>Linear <a href="https://github.com/diagrams/diagrams-core/pull/71">#71</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>Bump linear upper version bounds <a href="https://github.com/diagrams/diagrams-core/pull/75">#75</a> (<a href="https://github.com/RyanGlScott">RyanGlScott</a>)</p></li>
<li><p>Change Measure back to not using Scalar v <a href="https://github.com/diagrams/diagrams-core/pull/65">#65</a> (<a href="https://github.com/Mathnerd314">Mathnerd314</a>)</p></li>
<li><p>Remove gratuitous Data constraints <a href="https://github.com/diagrams/diagrams-core/pull/69">#69</a> (<a href="https://github.com/Mathnerd314">Mathnerd314</a>)</p></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-solve-0.1">diagrams-solve-0.1</a></p>
<p><em>Initial release</em></p>
<p><a href="http://hackage.haskell.org/package/diagrams-lib-1.3">diagrams-lib-1.3</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>Native image type that backends can specify.</p></li>
<li><p>Affine maps between spaces for path-like objects. A new
<code>Diagrams.ThreeD.Projections</code> has some helper functions for
orthographic and perspective projections.</p></li>
<li><p>Intersections for path-like objects using Bézier clipping.</p></li>
<li><p>Helper functions in <code>Diagrams.Matrix</code> for converting between
transforms and matrices.</p></li>
<li><p>New <code>Diagrams</code> module that only exports functions defined in
diagrams.</p></li>
<li><p>New <code>Direction</code> type. <code>Direction</code> is a vector that’s forgot it’s
magnitude. Some functions have changed their type from <code>R2</code> to
<code>Direction V2 n</code> to make it clear that magnitude has no effect.</p></li>
<li><p>Use the <a href="https://hackage.haskell.org/package/fsnotify"><code>fsnotify</code></a>
package for command line looping. Command line looping now works
on Windows.</p></li>
<li><p><code>groupOpacity</code> function added for lowering the opacity of a
diagram as a whole.</p></li>
<li><p>New <code>ToPath</code> class for converting path-like things to a <code>Path</code>.</p></li>
</ul></li>
<li><p><strong>New instances</strong></p>
<ul>
<li><p><code>Each</code> instances for <code>BoundingBox</code>, <code>Offset</code>, <code>Segment</code>,
<code>FixedSegment</code> and <code>Path</code>.</p></li>
<li><p><code>Reversing</code> instances for <code>Offset</code>, <code>Segment</code>, <code>FixedSegment</code>,
<code>Trail</code> and <code>Path</code>.</p></li>
<li><p><code>AsEmpty</code> instances for <code>BoundingBox</code>, <code>Trail</code> and <code>Path</code>.</p></li>
<li><p><code>Cons</code> and <code>Snoc</code> instances for <code>Path</code> and <code>Line</code>.</p></li>
<li><p>New <code>Show</code> instances for <code>Angle</code>, <code>Segment</code>, <code>SomeColor</code>, <code>Trail'</code>
and <code>at</code>.</p></li>
<li><p><code>Tangent</code> instance for <code>(FixedSegment v n)</code>.</p></li>
<li><p><code>Ord</code> instances for <code>LineMiterLimit</code>, <code>LineJoin</code> and <code>LineCap</code>.</p></li>
</ul></li>
<li><p><strong>New helper functions</strong></p>
<ul>
<li><p><code>_Line</code> and <code>_Loop</code> prisms.</p></li>
<li><p>Style lenses: <code>_fontSize</code>, <code>_lineWidth</code>, <code>_fillTexture</code>,
<code>_lineTexture</code>, <code>_opacity</code>, <code>_font</code>, <code>_lineCap</code>, <code>_lineJoin</code>
<code>_dashing</code>.</p></li>
<li><p><code>_SomeColor</code> iso and <code>_AC</code> prism onto an <code>AlphaColour</code>.</p></li>
<li><p><code>atPoints</code> function to zip points with diagrams.</p></li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><p><code>Diagram</code> type synonym now only takes a backend token: <code>Diagram B</code></p></li>
<li><p>Types that previously had a <code>v</code> variable now have <code>v</code> and <code>n</code>.</p></li>
<li><p><code>Control.Lens</code> and <code>Data.Default.Class</code> are now exported from from
<code>Diagrams.Prelude</code></p></li>
<li><p><code>Measure</code> has a new internal representation. <code>Local</code>, <code>Global</code>,
<code>Normalized</code>, and <code>Output</code> have been renamed to <code>local</code>, <code>global</code>,
<code>normalized</code> and <code>output</code> respectively.</p></li>
<li><p><code>SizeSpec2D</code> has moved to <code>SizeSpec v n</code> in <code>Diagrams.SizeSpec</code>.
<code>Dims, Height, Width and</code>Absolute<code>have moved to</code>dims2D<code>,</code>mkHeight<code>,</code>mkWidth<code>and</code>absolute` respectively.</p></li>
<li><p><code>Color</code> instances for <code>Colour</code> and <code>AlphaColour</code> are limited to
<code>Double</code> for better type inference.</p></li>
<li><p><code>under</code> has been renamed to <code>underT</code>. New <code>transformed</code>,
<code>translated</code>, <code>movedTo</code>, <code>movedFrom</code> and <code>rotated</code> isomorphisms to
use with lens’s <code>under</code> function.</p></li>
<li><p><code>stroke</code> is now polymorphic. Use <code>strokePath</code> or <code>strokeP</code> to get
old <code>stroke</code> behaviour.</p></li>
<li><p><code>angleBetween</code> now works for any vector space, which means the
angle is always positive. The old behaviour can be retrieved from
<code>signedAngleBetween</code></p></li>
<li><p><code>arc</code> now takes a starting <code>Direction</code> and a sweep <code>Angle</code>.
<code>arcCW</code> and <code>arcCCW</code> take a start and finish <code>Direction</code>.</p></li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>use <code>linear</code> instead of <code>vector-space</code></li>
</ul></li>
<li><p><strong>Closed issues:</strong></p>
<ul>
<li><p>Perspective deformation of square vertices yields extra point <a href="https://github.com/diagrams/diagrams-lib/issues/244">#244</a></p></li>
<li><p>Local fontsize renders inconsistentl on different backends <a href="https://github.com/diagrams/diagrams-lib/issues/243">#243</a></p></li>
<li><p>Factor out Diagrams.Solve into a package? <a href="https://github.com/diagrams/diagrams-lib/issues/235">#235</a></p></li>
</ul></li>
<li><p><strong>Merged pull requests:</strong></p>
<ul>
<li><p>add pathPoints and pathVertices’ functions <a href="https://github.com/diagrams/diagrams-lib/pull/245">#245</a> (<a href="https://github.com/byorgey">byorgey</a>)</p></li>
<li><p>New loop <a href="https://github.com/diagrams/diagrams-lib/pull/242">#242</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>Pre 1.3 <a href="https://github.com/diagrams/diagrams-lib/pull/241">#241</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>Update CubicSpline.hs <a href="https://github.com/diagrams/diagrams-lib/pull/240">#240</a> (<a href="https://github.com/fryguybob">fryguybob</a>)</p></li>
<li><p>updated changes for GHC-7.10 <a href="https://github.com/diagrams/diagrams-lib/pull/239">#239</a> (<a href="https://github.com/bergey">bergey</a>)</p></li>
<li><p>split out new package diagrams-solve <a href="https://github.com/diagrams/diagrams-lib/pull/237">#237</a> (<a href="https://github.com/byorgey">byorgey</a>)</p></li>
<li><p>Lens style <a href="https://github.com/diagrams/diagrams-lib/pull/236">#236</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>Half-dart arrowheads <a href="https://github.com/diagrams/diagrams-lib/pull/234">#234</a> (<a href="https://github.com/byorgey">byorgey</a>)</p></li>
<li><p>TwoD.Points: Needs TypeFamilies <a href="https://github.com/diagrams/diagrams-lib/pull/233">#233</a> (<a href="https://github.com/bgamari">bgamari</a>)</p></li>
<li><p>Projections <a href="https://github.com/diagrams/diagrams-lib/pull/229">#229</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/SVGFonts-1.5.0.0">SVGFonts-1.5.0.0</a></p>
<ul>
<li>Split functionality out of <code>ReadFont</code>, into <code>Fonts</code> (built-in fonts) and
<code>Text</code> (rendering text to Diagrams).</li>
<li><code>textSVG'</code> and <code>textSVG_</code> now have the text as a separate argument,
distinct from <code>TextOptions</code>.</li>
<li><code>ReadFont</code> does not use <code>unsafePerformIO</code> any more. <code>unsafePerformIO</code> is
now only used to load built-in fonts.</li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-contrib-1.3.0">diagrams-contrib-1.3.0</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li>Generalized <code>Diagrams.TwoD.IteratedSubset</code> and added more examples.</li>
<li>New module <code>Diagrams.TwoD.Layout.Grid</code>.</li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><code>Diagrams.Lens</code> has had a lot of its lenses removed because
they’re either invalid lenses or are now in diagrams-lib.</li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>Allow <code>diagrams-core-1.3</code></li>
<li>Allow <code>diarams-lib-1.3</code></li>
<li>use <code>linear</code> instead of <code>vector-space</code></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-cairo-1.3">diagrams-cairo-1.3</a></p>
<ul>
<li><p><strong>Fixed bugs:</strong></p>
<ul>
<li><p>loop when rendering text <a href="https://github.com/diagrams/diagrams-cairo/issues/59">#59</a></p></li>
<li><p>loop disables generating multiple files <a href="https://github.com/diagrams/diagrams-cairo/issues/50">#50</a></p></li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>allow <code>lens-4.9</code></li>
</ul></li>
<li><p><strong>Merged pull requests:</strong></p>
<ul>
<li><p>remove Text module <a href="https://github.com/diagrams/diagrams-cairo/pull/60">#60</a> (<a href="https://github.com/bergey">bergey</a>)</p></li>
<li><p>Bump lens upper version bounds <a href="https://github.com/diagrams/diagrams-cairo/pull/58">#58</a> (<a href="https://github.com/RyanGlScott">RyanGlScott</a>)</p></li>
<li><p>Update for new measure and size spec. <a href="https://github.com/diagrams/diagrams-cairo/pull/57">#57</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>Diagram B <a href="https://github.com/diagrams/diagrams-cairo/pull/56">#56</a> (<a href="https://github.com/jeffreyrosenbluth">jeffreyrosenbluth</a>)</p></li>
<li><p>port to linear instead of vector-space <a href="https://github.com/diagrams/diagrams-cairo/pull/54">#54</a> (<a href="https://github.com/bergey">bergey</a>)</p></li>
<li><p>loop using fsnotify <a href="https://github.com/diagrams/diagrams-cairo/pull/53">#53</a> (<a href="https://github.com/bergey">bergey</a>)</p></li>
</ul></li>
<li><p><strong>Closed issues:</strong></p>
<ul>
<li><p>expose gifRender <a href="https://github.com/diagrams/diagrams-cairo/issues/55">#55</a></p></li>
<li><p>Problems with yellow color in gif animation <a href="https://github.com/diagrams/diagrams-cairo/issues/51">#51</a></p></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-gtk-1.3">diagrams-gtk-1.3</a></p>
<ul>
<li>Updates for diagrams 1.3:
<ul>
<li>allow <code>base-4.8</code></li>
<li>require <code>diagrams-lib-1.3</code></li>
<li>require <code>diagrams-cairo-1.3</code></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-postscript-1.3.0.0">diagrams-postscript-1.3.0.0</a></p>
<ul>
<li>Require <code>diagrams-core-1.3</code> and <code>diagrams-lib-1.3</code></li>
<li>allow <code>lens-4.9</code></li>
<li>Allow <code>semigroups-0.16</code></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-rasterific-1.3.0.0">diagrams-rasterific-1.3.0.0</a></p>
<ul>
<li><p><strong>Merged pull requests:</strong></p>
<ul>
<li><p>Generalise float <a href="https://github.com/diagrams/diagrams-rasterific/pull/26">#26</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>Twinside master <a href="https://github.com/diagrams/diagrams-rasterific/pull/25">#25</a> (<a href="https://github.com/jeffreyrosenbluth">jeffreyrosenbluth</a>)</p></li>
<li><p>Preparing for float text size and PointSize new type in FontyFruity. <a href="https://github.com/diagrams/diagrams-rasterific/pull/24">#24</a> (<a href="https://github.com/Twinside">Twinside</a>)</p></li>
<li><p>Lower bound on hashable. <a href="https://github.com/diagrams/diagrams-rasterific/pull/19">#19</a> (<a href="https://github.com/fryguybob">fryguybob</a>)</p></li>
<li><p>Hashable instance for Options. <a href="https://github.com/diagrams/diagrams-rasterific/pull/18">#18</a> (<a href="https://github.com/acowley">acowley</a>)</p></li>
<li><p>Bump lens upper version bounds <a href="https://github.com/diagrams/diagrams-rasterific/pull/14">#14</a> (<a href="https://github.com/RyanGlScott">RyanGlScott</a>)</p></li>
<li><p>New stuff <a href="https://github.com/diagrams/diagrams-rasterific/pull/13">#13</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>Diagram B <a href="https://github.com/diagrams/diagrams-rasterific/pull/12">#12</a> (<a href="https://github.com/jeffreyrosenbluth">jeffreyrosenbluth</a>)</p></li>
<li><p>Linear <a href="https://github.com/diagrams/diagrams-rasterific/pull/10">#10</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>use defaultLoopRender for looping <a href="https://github.com/diagrams/diagrams-rasterific/pull/9">#9</a> (<a href="https://github.com/bergey">bergey</a>)</p></li>
<li><p>call defaultAnimMainRender with ASetter for loop options <a href="https://github.com/diagrams/diagrams-rasterific/pull/8">#8</a> (<a href="https://github.com/bergey">bergey</a>)</p></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-svg-1.3">diagrams-svg-1.3</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>User settable ID prefixes</p></li>
<li><p>Support opacity group</p></li>
<li><p>Fix clipping bug (Issue #70)</p></li>
</ul></li>
<li><p><strong>Internal Changes</strong></p>
<ul>
<li><p>Switch rendering engine from <code>blaze-svg</code> to <code>lucid-svg</code></p></li>
<li><p>Use <code>fsnotify</code> for looping</p></li>
<li><p>Add defs tags for clips and gradients</p></li>
</ul></li>
<li><p><strong>Bug Fixes</strong></p>
<ul>
<li><p>Clipping broken <a href="https://github.com/diagrams/diagrams-svg/issues/70">#70</a></p></li>
<li><p>Font size not applied properly in composite diagram <a href="https://github.com/diagrams/diagrams-svg/issues/66">#66</a></p></li>
</ul></li>
<li><p><strong>Implemented enhancements</strong></p>
<ul>
<li>Put <code>clip path</code>, <code>gradients</code>, etc in defs tag. <a href="https://github.com/diagrams/diagrams-svg/issues/73">#73</a></li>
</ul></li>
<li><p><strong>Merged pull requests:</strong></p>
<ul>
<li><p>State <a href="https://github.com/diagrams/diagrams-svg/pull/74">#74</a> (<a href="https://github.com/cchalmers">cchalmers</a>)</p></li>
<li><p>Bump base upper bound <a href="https://github.com/diagrams/diagrams-svg/pull/72">#72</a> (<a href="https://github.com/bgamari">bgamari</a>)</p></li>
<li><p>Allow user to set ID prefixes <a href="https://github.com/diagrams/diagrams-svg/pull/71">#71</a> (<a href="https://github.com/mightybyte">mightybyte</a>)</p></li>
<li><p>Lucid <a href="https://github.com/diagrams/diagrams-svg/pull/69">#69</a> (<a href="https://github.com/jeffreyrosenbluth">jeffreyrosenbluth</a>)</p></li>
<li><p>Use fsnotify for looping, via diagrams-lib <a href="https://github.com/diagrams/diagrams-svg/pull/67">#67</a> (<a href="https://github.com/bergey">bergey</a>)</p></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-canvas-1.3">diagrams-canvas-1.3</a></p>
<p><em>Initial (official) release</em></p>
<p><a href="http://hackage.haskell.org/package/diagrams-builder-0.7.0.0">diagrams-builder-0.7.0.0</a></p>
<ul>
<li>Update to <code>diagrams-lib-1.3</code>.</li>
<li>Add <code>diagrams-rasterific</code> support.</li>
<li>Add support for <code>DIAGRAMS_SANDBOX</code> environment variable.</li>
<li>Allow <code>exceptions-0.8</code></li>
<li>Fix <code>diagrams-latex</code> directory creation on Windows</li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-haddock-0.3">diagrams-haddock-0.3</a></p>
<ul>
<li>Allow <code>diagrams-builder-0.7</code>, <code>diagrams-lib-1.3</code>, and <code>diagrams-svg-1.3</code></li>
</ul>
<h1 id="diagrams-1.2-2-june-2014">diagrams 1.2: 2 June 2014</h1>
<p><a href="http://hackage.haskell.org/package/diagrams-core-1.2">diagrams-core-1.2</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>New function <code>matrixHomRep</code> to convert a transformation to a
homogeneous matrix representation.</p></li>
<li><p>New function <code>dropTransl</code> to drop the translation component
from a transformation.</p></li>
<li><p>A mini-DSL for Measures.</p></li>
<li><p>New <code>extent</code> function, used in <code>diameter</code>.</p></li>
<li><p>New <code>dimension</code> function to return the dimension of a vector space.</p></li>
<li><p>New <code>_relative</code> iso between points and vectors.</p></li>
<li><p><code>avgScale</code> function (for computing the average scaling factor of
a transformation) has been moved from <code>diagrams-lib</code> to
<code>diagrams-core</code> and generalized to work over any vector space.</p></li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>Allow <code>semigroups-0.14</code></li>
<li>Allow <code>lens-4.1</code></li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><p>Major refactoring which removes <code>freeze</code> (and hence <code>Split</code> transforms,
etc.) and adds units of <code>Measure</code>.</p></li>
<li><p>Refactoring and simplification of the <code>Backend</code> class.</p></li>
<li><p>Remove <code>Multibackend</code>.</p></li>
<li><p>Remove <code>nullPrim</code>, <code>IsPrim</code> and simplify <code>RPrim</code> so that it does not
carry a transformation.</p></li>
<li><p>Update <code>adjustDia</code> to return a transformation, not just a scale factor.
Add <code>renderDiaT</code> which returns a transformation (for use by end
users, e.g. to convert output coordinates back into local coordinates).</p></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-lib-1.2">diagrams-lib-1.2</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>Several attributes (such as line width, dashing size, arrowhead
size, and font size) that formerly had a value of type <code>Double</code>
now have the more general type <code>Measure R2</code>. This allows the
attributes to be specified relative to one of four measurement
frames: <code>Local</code>, <code>Global</code>, <code>Normalized</code>, and <code>Output</code>.</p></li>
<li><p>New DSL for specifying measurements.</p></li>
<li><p>New synonyms for specifying measurements, <em>e.g.</em> <code>thin</code>,
<code>thick</code>, and <code>medium</code>, <code>large</code>.</p></li>
<li><p>Support for radial and linear gradients for fills and strokes.</p></li>
<li><p>New <code>DImage</code> type that supports both embedded and external images in
Backends that support them.</p></li>
<li><p>New <code>lengths</code> Traversal for setting <code>headLength</code> and <code>tailLength</code>
simultaneously.</p></li>
<li><p><code>Frustrum</code> and <code>Box</code> shapes added to <code>Diagrams.ThreeD.Shapes</code>.</p></li>
<li><p>New function <code>quartForm</code> to find roots of quartic polynomials.</p></li>
<li><p>New Lenses for polar coordinates.</p></li>
<li><p>New trig functions, <code>sinA</code>, <code>atanA</code>, etc. which take <code>Angle</code> as
input or output.</p></li>
</ul></li>
<li><p><strong>New instances</strong></p>
<ul>
<li><code>Transformable</code> instances for <code>LineWidth</code>, <code>Dashing</code>,
<code>LineTexture</code>, and <code>FillTexture</code>.</li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><p><code>FillColor</code> and <code>LineColor</code> attributes have been replaced with
the more general <code>FillTexture</code> and <code>LineTexture</code>. Use the <code>solid</code>
function to convert a color to a texture.</p></li>
<li><p>The size of arrow heads and tails is now specified in terms of
length instead of the radius of their circumcircle.</p></li>
<li><p>Gaps at the ends of arrows are now specified using <code>Measure R2</code>.</p></li>
<li><p>The <code>gap</code> traversal has been replaced by <code>gaps</code> for consistency
in naming, though <code>gap</code> is still provided for backwards compatibility.</p></li>
<li><p><code>fontSize</code> now takes a value of type <code>Measure R2</code>.</p></li>
<li><p>Get rid of (bitrotted) <code>Show</code> backend.</p></li>
<li><p>Functions in <code>TwoD.Adjust</code> now return the adjustment
transformation itself in addition to the resized <code>Diagram</code> and
<code>Options</code> record; this can be used, <em>e.g.</em> to convert screen
coordinates back into diagram coordinates.</p></li>
<li><p>Export <code>pathLocSegments</code>.</p></li>
<li><p>The <code>avgScale</code> function has been moved to <code>Diagrams.Core</code>.</p></li>
<li><p>The <code>Angle</code> definition and related functions (<em>e.g.</em>
<code>angleBetween</code>) have moved to a separate module, <code>Diagrams.Angle</code>.</p></li>
<li><p>A separate <code>Diagrams.TwoD.Attributes</code> module now contains most
of the attributes that require 2D transformation instances.</p></li>
<li><p>The <code>splitColorFills</code> function has been replaced by <code>splitTextureFills</code>.</p></li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>Allow <code>semigroups-0.15</code></li>
<li>Allow <code>optparse-applicative-0.9.0</code></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-cairo-1.2">diagrams-cairo-1.2</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>Much improved text support using the <code>pango</code> library instead of
cairo’s “toy” text API.</p></li>
<li><p>Support for linear and radial gradients on strokes and fills.</p></li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>Allow <code>opt-parse-applicative-0.9</code></li>
<li>Allow <code>lens-4.2</code></li>
<li>Allow <code>mtl-2.2</code></li>
<li>Allow <code>transformers-0.4</code></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-postscript-1.1">diagrams-postscript-1.1</a></p>
<ul>
<li>Changes to reflect <code>Measure</code> refactoring.</li>
<li>Allow <code>diagrams-core-1.2</code> and <code>diagrams-lib-1.2</code></li>
<li>Allow <code>semigroups-0.15</code></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-svg-1.1">diagrams-svg-1.1</a></p>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>Support for radial and linear gradients.</p></li>
<li><p>Support for embedded images in <code>.png</code> format.</p></li>
</ul></li>
<li><p><strong>New instances</strong></p>
<ul>
<li><code>Renderable</code> instances for <code>DImage Embedded</code>.</li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><p>Updates to work with <code>Measure</code> units.</p></li>
<li><p>Substantial refactoring of <code>Backend</code> instance to support changes in
<code>Diagrams.Core</code>.</p></li>
</ul></li>
</ul>
<p><a href="http://hackage.haskell.org/package/diagrams-rasterific-0.1">diagrams-rasterific-0.1</a></p>
<p><em>Initial release</em></p>
<p><a href="http://hackage.haskell.org/package/diagrams-builder-0.5.0.10">diagrams-builder 0.5.0.10</a></p>
<ul>
<li>Module parse error messages now include the error location
(thanks to Yiding Jia)</li>
</ul>
<h1 id="diagrams-1.1-8-march-2014">diagrams 1.1: 8 March 2014</h1>
<h2 id="diagrams-core-1.1"><a href="http://hackage.haskell.org/package/diagrams-core-1.1">diagrams-core-1.1</a></h2>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li>New <code>basis</code> function</li>
<li>New <code>determinant</code> function for computing the determinant of a
<code>Transformation</code></li>
<li>Add <code>Typeable</code> constraint on <code>Prim</code>s, making it possible to
extract things back out of a <code>Prim</code> wrapper using <code>cast</code></li>
<li>Raw <code>Trace</code>s now return a <em>sorted list</em> of intersections,
instead of only the smallest. This is used to implement a new
family of functions <code>rayTraceV</code>, <code>rayTraceP</code>, <code>maxRayTraceV</code>,
<code>maxRayTraceP</code>, which work similarly to the parallel versions
without <code>Ray</code>, but return the first intersection in the
<em>positive</em> direction from the given point, rather than the
smallest in absolute terms.</li>
<li>New <code>Annotation</code> type and corresponding <code>applyAnnotation</code>
function, for attaching uninterpreted annotations at specific
points in a diagram tree. Currently this is used for
hyperlinks; more annotation types will be added in the future.</li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>Require <code>lens-4.0</code></li>
<li>Allow <code>vector-space-points-0.2</code></li>
</ul></li>
<li><p><strong>Bug fixes</strong></p>
<ul>
<li>Looking up a subdiagram by name now results in a diagram which
still has that name (#43)</li>
</ul></li>
</ul>
<h2 id="diagrams-lib-1.1"><a href="http://hackage.haskell.org/package/diagrams-lib-1.1">diagrams-lib-1.1</a></h2>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>Support for <code>Deformation</code>s, arbitrary (non-affine)
transformations on objects such as points, paths, and located
trails (though not on diagrams).</p></li>
<li><p>New functions <code>clipTo</code>, which clips a diagram’s envelope and
trace along with its visual representation, and <code>clipped</code>, which
clips the diagram’s visual representation but replaces its
envelope and trace with those of the clipping path.</p></li>
<li><p>New <code>arrowV</code> function, for creating an arrow with the direction
and magnitude of a given vector.</p></li>
<li><p><code>gap</code> traversal, for setting the head and tail gaps of an arrow
simultaneously.</p></li>
<li><p>Generalized types for <code>centerXY</code> and <code>snugXY</code>, based on new
<code>basis</code> function from `diagrams-core</p></li>
<li><p>New 3D <code>Transform</code>s, alignment, and 3D-specific <code>Prelude</code>.</p></li>
<li><p>New <code>frame</code> function similar to <code>pad</code>, but increases the envelope
of a diagram by an amount specified in local units in every direction
irrespective of the local origin.</p></li>
<li><p>New <code>splitFills</code> function for pushing fill attributes down to
subtrees containing only loops (mostly of relevance only to
backend implementors).</p></li>
</ul></li>
<li><p><strong>New instances</strong></p>
<ul>
<li><code>Typeable</code> instances for all data types that are used as diagram
primitives.</li>
<li><code>Sectionable</code> instance for <code>FixedSegment</code>.</li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><p><code>Angle</code> is now a type, rather than a class. It uses a single
internal representation for angles, and lenses <code>turn</code>, <code>rad,</code>
and <code>deg</code> are supplied for constructing (using <code>@@</code>) and viewing
(using <code>^.</code>) <code>Angle</code>s in various units. In addition, the <code>Num</code>
instance for <code>Angle</code> has been removed, eliminating a class of
errors where a bare number is interpreted in units other than
what you expect.</p></li>
<li><p>Removed <code>Num</code> instance for angles.</p></li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>Require <code>lens >= 4.0</code>.</li>
<li>Allow <code>array-0.5</code>.</li>
<li>Allow <code>hashable-1.1</code>.</li>
<li>Remove <code>NumInstances</code> dependency.</li>
</ul></li>
<li><p><strong>Bug fixes</strong></p>
<ul>
<li>Exclude joins in offsets on close segments (#160).</li>
<li>Exclude extra segment when joining loops in offset (#155).</li>
</ul></li>
<li><p><strong>Performance improvements</strong></p>
<ul>
<li><code>colorToSRGBA</code> function now avoids expensive matrix operations,
offering dramatic speedups in rendering diagrams with many color
attributes.</li>
</ul></li>
</ul>
<h2 id="diagrams-cairo-1.1"><a href="http://hackage.haskell.org/package/diagrams-cairo-1.1">diagrams-cairo-1.1</a></h2>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li>It is now possible to directly output animated GIFs, using the
<code>gifMain</code> function.</li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>allow <code>diagrams-core-1.1</code> and <code>diagrams-lib-1.1</code></li>
<li>allow <code>unix-2.7</code></li>
<li>allow <code>vector-0.10</code></li>
</ul></li>
<li><p><strong>Bug fixes</strong></p>
<ul>
<li>Don’t explicitly draw final segment of a loop if it is straight
(<a href="https://github.com/diagrams/diagrams-cairo/issues/38">#38</a>)</li>
</ul></li>
</ul>
<h2 id="diagrams-gtk-1.0.1"><a href="http://hackage.haskell.org/package/diagrams-gtk-1.0.1">diagrams-gtk-1.0.1</a></h2>
<ul>
<li>Use double buffering.</li>
</ul>
<h2 id="diagrams-postscript-1.0.2"><a href="http://hackage.haskell.org/package/diagrams-postscript-1.0.2">diagrams-postscript-1.0.2</a></h2>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li>Experimental support for raw CMYK colors.</li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>Allow <code>diagrams-core-1.1</code> and <code>diagrams-lib-1.1</code>.</li>
</ul></li>
</ul>
<h2 id="diagrams-svg-1.0.2"><a href="http://hackage.haskell.org/package/diagrams-svg-1.0.2">diagrams-svg-1.0.2</a></h2>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li>Support for including hyperlinks.</li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>Allow <code>diagrams-core-1.1</code> and <code>diagrams-lib-1.1</code></li>
<li>Allow <code>lens-4.0</code></li>
</ul></li>
<li><p><strong>Bug fixes</strong></p>
<ul>
<li><p>Use <code>splitFills</code> to properly render certain diagrams with mixed
lines and filled loops. Previously, in certain situations loops that should
have been filled were not. (<a href="https://github.com/diagrams/diagrams-svg/issues/43">#43</a>)</p></li>
<li><p>Don’t emit last segment of a loop if it is linear.</p>
<p>See <a href="http://github.com/diagrams/diagrams-cairo/issues/38">diagrams-cairo#38</a>. This wasn’t actually causing any
observable problems in the SVG backend output, but this seems a
better/more robust way to do things in any case.</p></li>
</ul></li>
</ul>
<h1 id="diagrams-builder-0.4.2"><a href="http://hackage.haskell.org/package/diagrams-builder-0.4.2">diagrams-builder 0.4.2</a></h1>
<ul>
<li>Build expressions of type <code>Diagram b v</code> <em>or</em> <code>IO (Diagram b v)</code>.
This means that expressions interpreted by <code>diagrams-builder</code> (via
<em>e.g.</em> <code>diagrams-haddock</code> or <code>BlogLiterately-diagrams</code>) can do some
<code>IO</code> to build a diagram.</li>
</ul>
<h1 id="diagrams-1.0-25-november-2013">diagrams 1.0: 25 November 2013</h1>
<h2 id="dual-tree-0.2"><a href="http://hackage.haskell.org/package/dual-tree-0.2">dual-tree 0.2</a></h2>
<ul>
<li>Expose internal d-annotations via <code>foldDUAL</code>.</li>
</ul>
<h2 id="diagrams-core-1.0"><a href="http://hackage.haskell.org/package/diagrams-core-1.0">diagrams-core 1.0</a></h2>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li><p>Delayed subtrees: instead of a primitive, one can now also have
a delayed subtree at a leaf, containing a continuation which
generates a <code>QDiagram</code> when given the accumulated d-annotation
at that point in the tree. Useful for things which need to know
the final transformation applied to them before deciding what
diagram to generate. The prototypical use case is arrows: see
https://github.com/diagrams/diagrams-lib/issues/112 . However,
this may be useful for other things as well: for example,
diagrams which scale normally until hitting some maximum or
minimum size, at which point they refuse to scale any further
(or more generally diagrams which scale as some non-linear
function of the transformation applied to them).</p>
<p>The only downside is that the u-annotation must be fixed ahead
of time—doing otherwise requires a more general solution for
constraint solving.</p></li>
<li><p>New function <code>lookupName</code> for doing a simple lookup of a named
subdiagram</p></li>
<li><p>New module <code>Diagrams.Core.Compile</code>, containing a framework for
compiling <code>QDiagrams</code> into a simpler tree type <code>RTree</code>, which
may be used by backends for rendering.</p></li>
</ul></li>
<li><p><strong>New instances</strong></p>
<ul>
<li><p><code>Qualifiable</code> instances for <code>(,)</code>, <code>(,,)</code>, <code>[]</code>, <code>Set</code>, <code>Map k</code>,
and <code>(->) e</code>.</p></li>
<li><p><code>(->) e</code> instance for <code>Juxtaposable</code> (thanks to Carlos Scheidegger)</p></li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><p>Export <code>pointDiagram</code> function, which creates an otherwise empty
diagram with a point (not empty) envelope</p></li>
<li><p>A bunch of stuff now uses machinery from the <code>lens</code> library.</p>
<ul>
<li><code>envelope</code>, <code>trace</code>, and <code>subMap</code> are now <code>Lens'</code>es</li>
<li><code>Wrapped</code> instances for <code>Trace</code>, <code>TransInv</code>, <code>QDiagram</code>,
<code>SubMap</code>, <code>Envelope</code>, <code>Style</code>, <code>Query</code>, and <code>Name</code> (replaces
<code>Newtype</code> instances)</li>
<li><code>Iso</code>s for <code>Query</code>, <code>Envelope</code>, <code>QDiagram</code>, <code>SubMap</code>, <code>TransInv</code></li>
</ul></li>
</ul></li>
</ul>
<h2 id="diagrams-lib-1.0"><a href="http://hackage.haskell.org/package/diagrams-lib-1.0">diagrams-lib 1.0</a></h2>
<ul>
<li><p><strong>New features</strong></p>
<ul>
<li>New modules <code>Diagrams.TwoD.Arrow</code> and <code>Diagrams.TwoD.Arrowheads</code>
for creating arrows.</li>
<li>New module <code>Diagrams.Backend.CmdLine</code>, providing a flexible
framework for creating command-line-driven diagram rendering executables.</li>
<li>New functions in <code>Diagrams.Offset</code>: <code>offsetTrail</code> and
<code>offsetPath</code> for one-sided offsets of trails and paths;
<code>expandTrail</code> and <code>expandPath</code> for “stroking” trails and paths,
computing a path whose fill corresponds to the stroke of the
given trail or path.</li>
<li>New module <code>Diagrams.Tangent</code> for computing tangent and normal
vectors of segments, trails, and paths.</li>
<li>New functions in <code>Diagrams.Align</code> to allow diagrams to be aligned by <code>Trace</code>
called <code>snug</code>, <code>snugBy</code> and <code>snugCenter</code>
and the ability to define other boundary functions for alignment. Functions
<code>snugL</code>, <code>snugR</code>, etc. are included in <code>TwoD.Align</code>.</li>
<li>Lenses from <code>Control.Lens</code> are now used consistently for record fields
throughout the library.</li>
<li>New function <code>angleRatio</code> for calculating the ratio between two angles.</li>
<li>Restricted identity functions <code>asTurn</code>, <code>asRad</code>, and <code>asDeg</code> for
resolving type ambiguity</li>
<li>New miter limit attribute.</li>
<li>New function <code>annularWedge</code> in <code>TwoD.Arc</code></li>
<li>New <code>avgScale</code> utility in <code>TwoD.Transform</code>, for backends which
cannot fully implement freezing of line width</li>
<li>New function <code>heptagon</code>, a vast improvement over the linguistic
frankenstein <code>septagon</code>.</li>
<li>New function <code>lookupName</code> (re-exported from <code>diagrams-core</code>) for
simple lookups of named subdiagrams</li>
<li>New function <code>angleBetween</code> to calculate the angle between two
vectors.</li>
<li>New function <code>arcBetween</code> to draw an arc between two given
points.</li>
<li>A bunch of new modules containing types, primitives and
utilities for constructing 3D diagrams: <code>Diagrams.ThreeD.Align</code>,
<code>.Camera</code>, <code>.Light</code>, <code>.Shapes</code>, <code>.Transform</code>, <code>.Types</code>, and
<code>.Vector</code>. This is still a “feature preview” (in particular,
appropriate 3D backends are still under construction).</li>
</ul></li>
<li><p><strong>New instances</strong></p>
<ul>
<li><code>AdditiveGroup</code> and <code>VectorSpace</code> instances for <code>Turn</code>, <code>Rad</code>, <code>Deg</code></li>
<li><code>Alignable</code> instance for <code>(->) e</code></li>
<li><code>Default</code> instances for <code>FillRule</code>, <code>FillRuleA</code>, <code>LineJoin</code>,
<code>LineCap</code>, <code>FillColor</code></li>
<li><code>Show</code> instances for <code>FillRule</code>, <code>FillRuleA</code></li>
</ul></li>
<li><p><strong>API changes</strong></p>
<ul>
<li><code>e</code> no longer exported from <code>Diagrams.Prelude</code>.</li>
<li><code>Diagrams.BoundingBox</code> is no longer exported from <code>Diagrams.Prelude</code>.</li>
<li>Re-export <code>Diagrams.Core.pointDiagram</code> from <code>Diagrams.Prelude</code>.</li>
<li>Added <code>fromAlphaColour</code> method to <code>Color</code> class.</li>
<li><code>&</code> renamed to <code>^&</code></li>
<li>Stop re-exporting <code>tan</code>, <code>over</code>, and <code>both</code> from <code>Data.Colour</code>.</li>
<li>New coordinate lenses <code>_x</code>, <code>_y</code>, and <code>_z</code> for <code>R2</code>, <code>P2</code>, <code>R3</code>, <code>P3</code></li>
<li>Export <code>fullTurn</code> from <code>Diagrams.Prelude</code>.</li>
<li><code>Codomain (Located a)</code> is now <code>Point (Codomain a)</code> instead of
<code>Located (Codomain a)</code>.</li>
<li>Export <code>domainBounds</code> from <code>Diagrams.Parametric</code>.</li>
<li>Adjusting functionality moved from <code>Diagrams.Parametric</code> to its
own module, <code>Diagrams.Parametric.Adjust</code>.</li>
<li>Rename <code>strokeT</code> (and primed variant) to <code>strokeTrail</code>; rename
<code>strokeLocT</code> to <code>strokeLocTrail</code>.</li>
<li><code>ScaleInv</code> is now in its own module, <code>Diagrams.TwoD.Transform.ScaleInv</code>.</li>
<li>Re-export <code>Image</code> type (but not constructor) from <code>Diagrams.TwoD</code></li>
<li>Removed <code>Floating</code> and <code>RealFloat</code> instances for <code>Turn</code> and <code>Deg</code></li>
<li><code>offsetSegment</code> now returns a <code>Located</code> instead of a tuple.</li>
<li>Removed <code>Num</code> and <code>Fractional</code> instances for <code>R2</code>.</li>
</ul></li>
<li><p><strong>Dependency/version changes</strong></p>
<ul>
<li>Remove <code>newtype</code> dependency</li>
<li>New dependencies on <code>lens</code>, <code>tagged</code>, <code>optparse-applicative</code>,
<code>filepath</code>, <code>safe</code>, <code>vector-space-points</code>, <code>MemoTrie</code></li>
<li>Depend on <code>intervals >= 0.3 && < 0.5</code>.</li>
</ul></li>
<li><p><strong>Bug fixes</strong></p>
<ul>
<li>Depend on <code>intervals 0.3</code>, which allows diagrams to build on
Windows, by evading a GHCi linker bug which affects the FFI use in
previous versions of intervals (<a href="https://github.com/diagrams/diagrams-contrib/issues/14">diagrams-contrib#14</a>)</li>
<li>Use point envelope at the origin for text objects instead of an