forked from PerlDancer/Dancer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
2149 lines (1751 loc) · 74.6 KB
/
CHANGES
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
Revision history for Dancer
1.3120 24.12.2013
[ ENHANCEMENTS ]
* GH #974: Make plugins play nicely with mro 'c3'. (Fabrice Gabolde)
[ DOCUMENTATION ]
* GH #972: Correction of a truckload of typos. (David Steinbrunner)
* GH #971: Stress that the request's 'env()' method is prefered over
accessing '%ENV' directly. (isync)
* GH #968: Fix 'ScriptAlias' example in Deployment docs. (reported
by tednolan)
* GH #976: Document and trap limitation in Dancer::Test. (Tom Hukins)
* GH #976: Improve references to related modules. (Tom Hukins)
1.3119 26.10.2013
[ ENHANCEMENTS ]
* GH #965: Serializer also serialize content for DELETE.
(reported by Achim Adam)
[ BUG FIXES ]
* GH #959: hash randomization could cause .pl MIME to vary and test
to fail. (Olof Johansson)
* GH #961: fix bug in require_environment's logic. (reported by
sapphirecat)
[ DOCUMENTATION ]
* GH #962: Improvements of the Dancer::Test docs. (Tom Hukins)
* GH #970: Small documentation edit. (Matthew Horsfall)
1.3118 01.09.2013
[ ENHANCEMENTS ]
* GH #946: new 'require_environment' setting. (Jesse van Herk)
* GH #952: don't set defaults for Template subclasses for
Dancer::Template::TemplateToolkit. (Rick Myers)
* GH #945: add function 'template_or_serialize' to
Dancer::Serializer::Mutable. (Yanick Champoux)
[ BUG FIXES ]
* GH #655: clarify logger error message. (Yanick Champoux,
reported by Gabor Szabo)
* GH #951: fix quoting of TemplateToolkit start_tag/stop_tag.
(Rick Myers)
* GH #940: carry over the session when we forward().
(Yanick Champoux, reported by sciurius)
* GH #954: don't die on autoflush for older perls.
(Yanick Champoux, reported by metateck and David Golden)
* GH #950: Dancer::Test functions now populate REQUEST_URI.
(Yanick Champoux, reported by Sören Kornetzki)
[ DOCUMENTATION ]
* GH #942: simpilify the Apache deployment docs for cgi/fcgi.
(bug report by Scott Penrose)
[ MISC ]
* GH #949: fixes a few errors in the serializer testsuite.
(Franck Cuny)
1.3117 31.07.2013
[ ENHANCEMENTS ]
* GH #836: Provide more information when an engine fails to load.
(Yanick Champoux, reported by Daniel Perrett)
[ BUG FIXES ]
* GH #794: Upload data was not kept for forwarded requests.
(reported by William Wolf)
* GH #898: calling halt() doesn't discard set headers anymore.
(Yanick Champoux, reported by Nicolas Franck)
* GH #842: embedded 'prefix' now properly localized.
(Yanick Champoux, reported by Jashank Jeremy)
[ DOCUMENTATION ]
* GH #938: fix doc typos in Dancer::Serializer. (Fabrice Gabolde)
* GH #712: add all status codes known to Dancer to Dancer::HTTP.
(Yanick Champoux, reported by Brian J Miller)
* Add warning that 'forward' doesn't preserver the session. (Alberto Simões)
* GH #941: minor correction to code snippets in documentation.
(Grzegorz Rożniecki)
* GH #929: add warning on the use of Corona as underlying web server.
(issue reported by berekuk)
* GH #943: remove mention to 'Dancer::Plugin::Validation',
clean 'dancer -a' sample output. (Grzegorz Rożniecki)
1.3116 03.07.2013
[ ENHANCEMENTS ]
* GH #767: forwarded_for_address() now looks for HTTP_X_FORWARDED_FOR if
X_FORWARDED_FOR is not there. (Jakob Voss)
* GH #936: Add file locking to file logger. (David Golden)
* GH #937: Add details to tutorial. (Craig Treptow)
1.3115 09.06.2013
[ BUG FIXES ]
* GH #605: pass'ed megasplat with no further routes cause 404, not 500.
(vlyon)
[ DOCUMENTATION ]
* GH #934: Added example of HAProxy deployment. (Anton Gerasimov)
[ MISC ]
* Tests now require Test::TCP v1.30+ (previous version had too short a
timeout and tests were failing). (Yanick Champoux)
1.3114 02.06.2013
[ ENHANCEMENTS ]
* GH #919: 'dancer' script exits with code 255 if application
name is invalid. (ppisar)
* GH #871: now recognize HTTP_X_FORWARDED_PROTO. (mlbarrow)
* GH #926: make messages from fatal warnings show up in the logs.
(Max Maischein)
* GH #930: speed improvement. (ichesnokov)
* GH #859: strip illegal characters from cookie name. (Colin Keith)
* GH #924: non-'/' apps behind proxies now possible using 'request-base'
header. (Mikolaj Kucharski)
[ BUG FIXES ]
* GH #724: app.pl obeys --confdir. (Yanick Champoux)
* GH #927: logging format using 'h' now play nicely if no header present.
(ironcamel)
[ DOCUMENTATION ]
* GH #922: Add example of request parameters. (Gabor Szabo)
* Add scheme line for ngnix config in D::Deployment.
1.3113 08.05.2013
[ ENHANCEMENTS ]
* GH #869: leave body parameters alone if deserialization failed
(brianphillips).
* GH #912: send_file was returning 500 instead of 404 for non-existent
files. (Fabrice Gabolde)
* GH #914: add link to melezhik's psgi chef cookbook.
* GH #923: implement lazy session flushing. (David Golden)
[ BUG FIXES ]
* GH #920: fix pod for Dancer::Development. (ppisar)
[ DOCUMENTATION ]
* GH #915: add warning about behaviour of hooks with multiple packages
loaded by load_app (racke).
* GH #918: Fix headers syntax in Dancer::Response perldoc
(Vyacheslav Matyukhin).
1.3112 10.04.2013
[ ENHANCEMENTS ]
* GH #897 dancer script diagnostic more explicit if target directory
does not exist or is not writable (reported by Andrew Grangaard).
* GH #907: skip tests of deprecated features (mokko).
[ BUG FIXES ]
* GH #900: backport the security patch for Dancer::ModuleLoader
from Dancer2 (mokko).
1.3111_02 01.04.2013
[ BUG FIXES ]
* RT #84198: silencing wide-character in-memory file handle error
(Tom Wyant).
* wrong number of tests to skip in t/14_serializer/01_helpers.t.
1.3111_01 30.03.2013
[ ENHANCEMENTS ]
* GH #895: JSON serializer now uses JSON's "-support_by_pp"
(Jonathan Schatz).
[ BUG FIXES ]
* GH #891: silenced warnings from non-numeric versions in Makefile.PL
(Olof Johansson).
* GH #702: fix request->header call throwing exceptions inside routes
of Dancer->dance($request) (Perlover).
* GH #893, GH #636: handle binary files for uploads in Dancer::Test
(Andrei).
* GH #903: add plan for subtest (bug report by wfaulk).
[ DOCUMENTATION ]
* GH #899: mention that response_exist and response_doesnt_exist are
deprecated (Fabrice Gabolde).
* GH #902, #903: change example to use path_info() instead of path()
(Anton Ukolov, Lee Carmichael).
1.3111 24.02.2013
[ BUG FIXES ]
* GH #877: fix Dancer Error when so that 'exception' object is not passed
to serializers, because XML/JSON serializers don't understand objects
(rikbrown).
* GH #858: Check for definedness, not truth, when testing if we read
into the buffer when parsing a request body (florolf).
* GH #845: Fix uninitialized warning when loading modules (Fabrice Gabolde).
* GH #851, GH #853: Atomic YAML session writing (Roman Galeev).
* GH #852: Saner UTF logging (Roman Galeev).
* GH #849, GH #850: Serve autopages with text/html content type.
(Philippe Bruhat - BooK)
* GH #848: Handle If-Modified-Since header in the request for static files.
(Philippe Bruhat - BooK)
* GH #848: Send a Last-Modified header for static files.
(Philippe Bruhat - BooK)
* GH #856: Don't export non-existing subroutine (mokko).
* GH #874: Reduce dependence on %ENV for internal code (Kent Fredric).
* GH #875: Don't expect specific order in cookies (Yanick Champoux).
* Remove 'exception' object from message being passed to serializers.
(Rik Brown)
* Added .travis.yml to MANIFEST.SKIP so t/manifest.t passes (Kaitlyn Parkhurst).
* GH #887, GH #890: keyword 'global_warnings' added to replace 'import_warnings'
(Kaitlyn Parkhurst).
* GH #892: add 'private_key' to the list of potentially sensitive keys (Tom Heady).
[ DOCUMENTATION ]
* GH #847: Fix typo (John Wittkoski).
* GH #865: Correct 'before' hook documentation (David Precious, Maurice).
* GH #860, GH #844, GH #760: Misleading plack middleware documentation.
(Paul Fenwick)
* GH #862: Fix heading level for strict_config entry in Dancer::Config.
(Stefan Hornburg - Racke)
* GH #863: Correct example apache config (John Wittkoski).
* GH #867: correct doc for ModuleLoader::load_with_params (mokko).
* Document route_cache option (David Precious).
* Docs for route_cache_size_limit & route_cache_path_limit (David Precious).
* Remove meaningless 'encoding' to TT config (David Precious).
* Remove docs for mounting multiple apps (Naveed Massjouni).
* Update doc URLs (David Precious).
* Fix inconsistency in Perlbal deployment example (Slaven Rezić, Racke).
* GH #894: Replace spurious character in Dancer::Session's POD (Racke).
* GH #880: Add deprecation mention for 'after' (pdl and Yanick Champoux).
1.3110 06.10.2012
[ BUG FIXES ]
* GH #817, #823, #825: Removing Clone from core. Pure-perl environments
supported again (Sawyer X).
* GH #755, #819, #827, #828: HTTP::Headers accepted by dancer_response
(Roberto Patriarca, Dagfinn Ilmari Mannsåker, draxil, perlpong).
[ ENHANCEMENTS ]
* GH #826: The version of wallflower shipped with Dancer has been removed.
It was well out of date. BooK is now maintaining it as a more general
solution under the name App::Wallflower. (BooK)
* GH #834: Provide empty Headers object if not defined (Yanick Champoux).
* GH #840, #841: Dancer::Plugin::Ajax now has content_type (Lee Carmichael).
[ DOCUMENTATION ]
* GH #821: Pointing to new homepage (alfie).
* GH #822: Typos in documentation (Stefan Hornburg - racke).
* GH #824: Fix in Dancer/Session.pm (pdl).
* GH #830: Fix Github links to https:// (Olivier Mengué).
* GH #838: Error in Dancer::Plugin::Ajax Documentation (Lee Carmichael).
* GH #839: Typo (goblin).
1.3100 25.08.2012
[ BUG FIXES ]
* GH #816: Improve wording when failed to load engine. (Sawyer X)
* GH #817: Fix CODE reference uncloned using Clone::clone.
(David Previous, Sawyer X)
[ ENHANCEMENTS ]
* GH #755: HTTP::Headers accepted by dancer_response. (Roberto Patriarca)
[ DOCUMENTATION ]
* GH #818: Use "MyWeb::App" instead of "mywebapp" in examples. (pdl)
1.3099 11.08.2012
[ BUG FIXES ]
* GH #683: Fix uninitialized warnings. (Sawyer X)
* GH #700: Take into account the app name in route caching. (Perlover)
* GH #775: Clone variables for templates.
(Reported by Wanradt Koell, fixed by David Precious, Sawyer X)
* GH #776: get should be default to get/head even it's inside any.
(Fayland Lam)
* GH #788: Make sure ID key in sessions are clobbered. (kocoureasy)
* Fix uninitialized variables in config file path. (Sawyer X)
* GH #809: Require all necessarily modules in Dancer::Config.
(John Wittkoski)
[ ENHANCEMENTS ]
* GH #799: New test function: response_redirect_location_is. (Martin Schut)
* send_file now accepts an IO::Scalar. (David Precious)
* Clean up $VERSION. (Damien Krotkine)
[ DOCUMENTATION ]
* GH #784: Synopsis fix in Dancer::Error. (Alex C)
* Document session_domain in Dancer::Config. (David Precious)
* Pod fixes in abstract session. (David Precious)
* Synopsis fix in Dancer::Test. (Stefan Hornburg <Racke>)
1.3098 28.07.2012
[ ENHANCEMENTS ]
* New keyword 'plugin_args' exported by Dancer::Plugin to provide
a consistent way with Dancer 2 to obtain arguments from a plugin
keyword. (Alberto Simões).
* Add 'execute_hook' and deprecate 'execute_hooks' for homogeneity
with Dancer 2.
* send_file will do the right thing if given an IO::Scalar object
(David Precious, prompted by Ilya Chesnokov).
[ DOCUMENTATION ]
* Fix escaping on some docs (Stefan Hornburg @racke).
1.3097 08.07.2012
[ ENHANCEMENTS ]
* New keywords 'register_hook' and 'execute_hooks' exported by
Dancer::Plugin to provide a consistent way with Dancer 2 to declare and
run hooks from within a plugin (Alexis Sukrieh, idea from David Precious).
1.3096 06.07.2012
** Codename: Chop Hooey // Neil Hooey **
[ ENHANCEMENTS ]
* Finally released, thanks to Neil Hooey bugging my sorry ass.
1.3095_02 03.07.2012
[ BUG FIXES ]
* fix exception tests in some cases (GH #734) (Damien Krotkine & katkad )
[ ENHANCEMENTS ]
* If YAML does not load, Dancer::Config now reports why (Ovid)
[ DOCUMENTATION ]
* Clarify serialization in introduction POD (Mark A. Stratman)
* Typo fix (Sam Kington)
1.3095_01 22.06.2012
[ BUG FIXES ]
* Don't assume returned references are blessed when considering
continuations (Neil Hooey, GH-778)
* Malformed/missing cookies caused warnings
(James Aitken/LoonyPandora, GH-782 and GH-783)
* Avoid potential crash in t/14_serializer/06_api.t if tmp dir is replaced
when %ENV gets cleared (Adam Kennedy)
* Properly initialize %callbacks to default empty hashref in _send_file if
not provided (Gary Mullen)
[ ENHANCEMENTS ]
* Add UTC timestamp options for logger_format (Alex C - perlpong).
* Tests can now run in parallel (Richard Simões).
* dancer_version keyword added (Damien "dams" Krotkine).
* New session_domain paramter allows you to set the domain of the default
session cookie (William Wolf)
[ DOCUMENTATION ]
* Update Ubic service example (Vyacheslav Matyukhin)
* Silly typo fixing (Paul Fenwick)
* Typo in Dancer::Test file upload example (Jonathan "Duke" Leto)
* UTF-8 fixes in POD (ambs)
1.3095 01.04.2012
[ BUG FIXES ]
* Small fix to skip tests when YAML is not available.
(Sawyer X)
[ ENHANCEMENTS ]
* Added 'info' log level for messages that should always go to the logs
but aren't really debug, warning or error messages (Ovid)
1.3094 31.03.2012
[ BUG FIXES ]
* GH #763: Fix exceptions in ajax routes clobbering layout (ilmari)
* GH #748 & GH 647: Don't force override environment from PLACK_ENV (jwittkoski)
* GH #762: fix param parsing lacking limit on split (leejo)
* GH #758: Fix Dancer::Test: make sure the request is properly converted to
a response. (Ovid)
* GH #729: Fix dancer exception composition, and message pattern application
(Damien Krotkine)
* GH #752: Exceptions raised in hooks were not propagated back to the route
code, but instead canceleld and replaced by a Dancer halt exception. That
was wrong. Now it is fixed, exceptions raised in hooks can be properly
caught in route code.
(Damien Krotkine)
* Be more flexible in single vs. mutliple values in key hiding.
(Sam Kington)
* Use isa() for checking relationships instead of ref() in Dancer::Test.
(Ovid)
[ ENHANCEMENTS ]
* Added 'strict_config' option to have the config return an object instead
of a hashref. (Ovid)
* GH #708: Added support for query strings in dancer_request (Jacob Rideout)
* It's possible for the user to set the environments directory using a new
environment variable (DANCER_ENVDIR) or using `set envdir => $path`
* Sort hash keys when serializing references in log messages (Ovid).
[ DOCUMENTATION ]
* Explain in POD that if there are multiple fields with the same name,
params('fieldname') returns an arrayref of them (alexrj).
* GH #750: Fix in Dancer::Deployment: appdir needs to be set before calling
load_app (Paul Johnson)
* Update 'before' hook document (David Cantrell).
1.3093 29.02.2012
[ BUG FIXES ]
* GH #738: Define exception type ::Core::Request, to avoid things blowing
up when Dancer::Request raises exceptions of that type
(David Precious, thanks to damog for reporting)
* GH #671: Fix Dancer::Plugin::Ajax with Plack::Builders.
(Activeg, Sawyer X)
* Auto-page feature cleanup and fixup. (David Precious)
* Remove uninitialized warnings. (Sawyer X, David Precious)
[ ENHANCEMENTS ]
* Winning release race to Catalyst (nice try rafl++!)
* Add exception type ::Core::Request. (David Precious)
* JSON decode from UTF8. (Sam Kington)
* Provide the method when a route crashes to help debug. (Sam Kington)
* More helpful log messages. (David Precious)
[ DOCUMENTATION ]
* Fix examples for multi-app deployment under Plack::Builder in deployment.
* Deployment docs. (c0bra)
* Update tutorial. (David Precious)
* Clean up EXPORTS. (David Precious)
* Keyword documentation fixups. (Kirk Kimmel)
* Clarify forward docs with better examples. (David Precious)
1.3092 27.01.2012
[ BUG FIXES ]
* Don't call isa() on unblessed refs in Dancer::Exception. (Sam Kington)
* Assume UTF-8 by default when serialising JSON. (Sam Kington)
* GH #725: If a cookie is set multiple times, last value wins.
(David Precious)
* More intuitive, backwards compatible appending of default template
extension. (GH #716, David Precious)
* Prevent recursion in censoring. (Yanick Champoux, Damien dams Krotkine)
* GH #734: More tests flexibility (Sawyer X, reported by @birdy-)
[ ENHANCEMENTS ]
* Return the current set prefix using prefix(). (Michal Wojciechowski)
* More intuitive appending of default template extension. Makes for cleaner
more DWIM code. (David Precious, reported by Nick Knutov)
* Allow any options to JSON serializer. (Lee Johnson)
* Support complex views with multiple document roots. (Pedro Melo)
[ DOCUMENTATION ]
* Document how to work with Dotcloud. (Oliver Gorwits)
* Clean ups and fix ups. (David Precious, Sawyer X, Michal Wojciechowski)
1.3091 17.12.2011
[ BUG FIXES ]
* Reverting template() behavior by popular demand. (Damien Krotkine)
* GH #714: Run post-request hooks when custom continuations were created.
(Damien Krotkine)
* Always call write_session_id() to update expires. (David Precious)
[ ENHANCEMENTS ]
* GH #711, #652: Add server_tokens variable to allow removal of headers.
(John Wittkoski)
[ DOCUMENTATION ]
* GH #680: Document problems with multiple apps in Dancer using
Plack::Handler::Apache2 and recommend a workaround.
(Asaf Gordon, Pedro Melo)
* RT #73258: Spelling glitches. (Damyan Ivanov)
* Use ":script" instead of ":syntax" in Cookbook. (John Barrett)
* Typos in Deployment doc. (David Precious)
1.3090 13.12.2011
** Codename: Hornburg of Hannover // Stefan Hornburg (racke) **
[ BUG FIXES ]
* GH #685: Set VERSION for Dancer::Plugin::Ajax.
(Sawyer X, Naveed Massjouni)
[ DOCUMENTATION ]
* GH #694: Typo fix. (Yanick Champoux)
* GH #698: Document further TT init options. (Dennis Lichtenthaeler)
* GH #709: Update POD documentation regarding hook. (Stefan Hornburg)
1.3089_01 26.11.2011
[ BUG FIXES ]
* Fix bug that made system() fail with -1 under Dancer (felixdo).
* Support for 'content_type' option on send_file when sending a
system wide file (Emmanuel Rodriguez).
* Support HTTP_X_FORWARDED_HOST in behing proxy (Ipaponov).
* Deserialize PATCH requests (Sam Kington).
* Encode log messages properly if charset UTF-8 is set (David Precious,
thanks to Penfold for the fix & MiklerGM for reporting).
[ ENHANCEMENTS ]
* Continuations-style exception system! (Damien Krotkine).
* The ability for dancer_response to send file contents for file uploads
as a scalar, instead of reading from file on disk (Squeeks).
[ DOCUMENTATION ]
* Clean up "plack_middlewares" example in docs (Richard Simões).
1.3080 25.10.2011
** Codename: Sawyer's Sugar Stream // Sawyer X **
[ ENHANCEMENTS ]
* No functional changes, just releasing as stable.
1.3079_05 02.10.2011
[ API CHANGES ]
* Deprecation of 'before', 'before_template' and 'after' in favor of hook
(Alberto Simões)
[ BUG FIXES ]
* Minor corrections (jamhed, felixdo)
* Log if a view and or a layout is not found (Alberto Simões, reported
by David Previous)
[ ENHANCEMENTS ]
* Add support for the HTTP 'PATCH' verb (David Precious)
1.3079_04 02.10.2011
[ ENHANCEMENTS ]
* PSGI handler code cleaned up (chromatic).
* Improved warning localizations (chromatic).
[ DOCUMENTATION ]
* Dancer::Plugins typos (Olof Johansson).
* PSGI handler documented (chromatic).
1.3079_03 10.09.2011
[ ENHANCEMENTS ]
* Support XML::Simple configuration for serializing/deserializing
(Alberto Simões)
* Hard deprecate lots of stuff (Alberto Simões)
[ BUG FIXES ]
* Don't clobber TT INCLUDE_PATH if the user set it specifically in the
config file - Issue 643 (David Precious, reported by meraxes)
* Don't require a space after semi-colon delimiting multiple name=value
cookie pairs - Issue 642 (David Precious, reported by travisbeck)
1.3079_02 28.08.2011
[ BUG FIXES ]
* Remove hard-coded version from 404.html and 500.html (Alberto Simões)
* Fix logging of UTF8-encoded strings (jamhed)
* Do not clean 'vars' during forward (Alberto Simões)
[ ENHANCEMENTS ]
* Add streaming support to send_file. (Sawyer X)
1.3072 23.08.2011
** Codename: Precious David Precious // David Precious (bigpresh) **
[ ENHANCEMENTS ]
* No functional changes, just releasing as stable.
1.3079_01 17.08.2011
[ BUG FIXES ]
* Fix prefix behavior with load_app (alexrj)
* send_file() shouldn't clobber previously-set response status
(David Precious, reported by tylerdu - thanks!)
* Depend on URI 1.59 - Fixes problems when redirecting with
UTF-8 strings (Alberto Simões)
* Fix before_serializer POD fix (Yanick Champoux)
[ ENHANCEMENTS ]
* send_file can send data (pass a reference to a scalar), and can
specify a content-disposition filename. (Alberto Simões)
* Set 'Server' HTTP response header as well as 'X-Powered-By'. For cases
where Dancer is being accessed directly, or the proxy passes on this
header, it's nice to see it. (David Precious)
[ DOCUMENTATION ]
* Cookbook links to canonical documentation of keywords in Dancer.pm, so
readers encountering a new keyword can easily see the docs for it
(David Precious)
* Docs for debug/warning/error link to Dancer::Logger for details on how to
control where logs go (David Precious)
* Document import_warnings option, and mention it & link to that
documentation in opportune places.
* Document that 'get' also creates a route for 'HEAD' requests
(David Precious, prompted by Matt S Trout)
* Extend request() keyword docs with examples (David Precious)
* Correct port in Lighty/FCGI example in Dancer::Deployment
(David Precious, thanks to pwfraley in Issue 621)
1.3071 26.07.2011
** Security release based on 1.3070 **
[ SECURITY ]
* FIX directory traversal issue
Since 1.3070, it was possible to abuse the static file serving feature to
obtain files from a directory immediately above the directory configured to
serve static files from.
(Vladimir Lettiev and David Precious)
1.3070 14.07.2011
** Codename: The Exceptional Mr. Dams // Damien Krotkine (dams) **
[ ENHANCEMENTS ]
* No functional changes, just releasing as stable.
1.3069_02 10.07.2011
[ BUG FIXES ]
* Fix a bunch of cpan testers reports
(Alberto Simões)
1.3069_01 07.07.2011
[ BUG FIXES ]
* Fix a bug while parsing some cookies
(Franck Cuny)
* Documentation and tests on how to use many Dancer application
inside one PSGI file (PR 564)
(Alex Kalderimis and Franck Cuny)
* More flexible test for locale-aware logging (Alberto Simões)
* Do not re-read config files when dance starts if they were
already loaded. (Alberto Simões)
* Fixed shell-dependent tests for Window testing. (Alberto Simões)
* Die properly if halt is call inside an hook.
(Damien Krotkine and Alberto Simões)
* Make template work outside of requests (Issue 592) (David Precious)
* Cleanup session tests folder (Issue 594) (Sawyer X)
[ ENHANCEMENTS ]
* Error Hook (PR 563 - JT Smith)
* Exceptions system (Damien Krotkine)
* The no prefix can be set using 'prefix "/";' (Alberto Simões)
* Support for nested prefixes (Alberto Simões)
* Cleanup on Dancer::FileUtils (Sawyer X)
* Cleanup on File::Temp dependencies (Sawyer X)
[ DOCUMENTATION ]
* Documentation on tokens automatically added to templates.
(Alberto Simões)
* Documentation on serializer magical access to put/posted data.
(Alberto Simões)
1.3060 15.06.2011
** Codename: Pirouetting Pedro // Pedro Melo **
[ ENHANCEMENTS ]
* No functional changes, just releasing as stable.
1.3059_04 12.06.2011
[ BUG FIXES ]
* Fix a bunch of cpan testers reports
(Alberto Simões)
1.3059_03 11.06.2011
[ BUG FIXES ]
* Fix for issue #539
https://github.com/sukria/Dancer/issues/539
Don't decode twice entries in the params hash table, file
uploads with UTF-8 characters in their name are now possible.
(Toby Corkindale, Alexis Sukrieh)
* Fix broken test with old version of HTTP::Parser::XS
(Franck Cuny)
* #492 - Don't run Test::TCP tests on win32
(Franck Cuny)
* Fix a bug that when forwarding a post with post data stalled the
code (read on no data handle). (Alberto Simões)
* Tweak tests regular expression to be more flexible (Pedro Melo)
* Require a recent Test::TCP (1.13) to run tests. (Alberto Simões)
* Fix hooks implementation that failed when user messes $_ (Pedro Melo)
* Fix broken params('query') and params('body') during forward and
dancer_request test function. (Alberto Simões and Squeek)
[ ENHANCEMENTS ]
* Fix for issue #516
https://github.com/sukria/Dancer/issues/516
No more legacy code in Dancer::Route to handle routes created
with the deprecated keyword "r". The related code is now more
concise and should be slightly more efficient.
(Alexis Sukrieh)
* Merge PR #541
https://github.com/sukria/Dancer/pull/541
New "param" accessor to retrieve a parameter easily.
(Alberto Simões)
* Implement session directory testing cache for Session::YAML
(Damien Krotkine)
* Tests rework (improve speed, remove useless tests, ...)
(Alberto Simões and Franck Cuny)
* Configuration for log_dir and log_file.
(Alberto Simões)
* Pass vars to templates automatically (David Precious)
* Support lexical prefix (Pedro Melo)
[ DOCUMENTATION ]
* Improve FileUtils documentation. (mokko)
1.3059_02 29.05.2011
[ BUG FIXES ]
* Fix for smoker failure under Perl 5.13.4
http://www.cpantesters.org/cpan/report/b37416b8-88df-11e0-9c74-cad5bcb8094c
Better use of Time::Hires in t/22_hooks/04_template.t
(Franck Cuny)
1.3059_01 27.05.2011
[ API CHANGES ]
* Second level of deprecation for render_with_layout method.
(Alberto Simões)
* Second level of deprecation for mime_type method.
(Alberto Simões)
[ BUG FIXES ]
* Dancer::Test was broken for tests using data in POST (GH#534)
(Franck Cuny)
* Multiple setter implemented at 1.3039_01 was broken for App
specific settings.
(Alberto Simões)
[ ENHANCEMENTS ]
* Cookie accessor to manipulate cookies directly.
(Niko)
[ DOCUMENTATION ]
* Improve Serializers documentation
(Damien Krotkine)
1.3051 27.05.2011
** Security release based on 1.3050 **
[ SECURITY ]
* FIX CVE-2011-1589 (Mojolicious report, but Dancer was vulnerable as well).
Return "400 Bad Request" when requested filename seems suspicious
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1589
(Vladimir Lettiev and Franck Cuny)
1.3050 20.05.2011
** Codename: The Captain Hook Adventure // Franck Cuny **
[ ENHANCEMENTS ]
* No functional changes, just releasing as stable.
[ DOCUMENTATION ]
* Improve Dancer documentation
(Damien Krotkine)
1.3049_01 14.05.2011
[ API CHANGES ]
* Deprecation of 'logger' (use set). (Alberto Simões)
* Deprecate 'layout' (use set). (Alberto Simões)
* Definitely remove plack_middlewares HashRef deprecation.
(Alberto Simões & Damien Krotkine)
[ BUG FIXES ]
* Unbreaking auto_page somewhat - the catch-all route added will
pass unless a suitable view exists. This means that routes like
/foo are not obscured, and made up URLs will result in a proper
404, not 500. A little more work required here, though.
(David Precious)
* Anchor regular expression routes. Before regular expressions
were matching anywhere in the URL.
(Alberto Simões)
[ ENHANCEMENTS ]
* GH #519: remove redundant lines from CSS
(Alberto Simões)
* When scaffolding an app, show a warning if YAML not installed.
Prompted by Issue 496. (David Precious)
* Hooks! add new positions for hooks, and possibility to create
your own hooks inside your application and your plugin.
(Franck Cuny)
* Don't try to read/set session vars with empty/undef keys. It
doesn't make sense to do so, and can cause warnings elsewhere.
(David Precious)
* Check HTTP status code/alias passed to status() is valid;
previously, and invalid code would result in the response status
being unset
(David Precious, prompted on IRC by jonas)
* Lowercase status aliases and swap spaces for underscores before
trying to match
(David Precious, suggested on IRC by jonas)
* Added 'behind_proxy' setting, making Dancer honor
X_FORWARDED_PROTOCOL and X_FORWARDED_HOST
(Alberto Simões, requested by sukria and others)
1.3040 01.05.2011
** Codename: Yanick in Black // Yanick Champoux, Labor Day - May Day **
[ ENHANCEMENTS ]
* No functional changes, just releasing as stable.
1.3039_01 27.04.2011
[ BUG FIXES ]
* Fix 404 results from forwarding.
(Alberto Simões)
* Don't remove trailing slashes from route patterns under prefix.
(Brian E. Lozier)
* Remove deprecated r() function from list of exports.
(Stefan Hornburg)
* GH #402: make session_expires honor +2h style formatting.
(Michael G. Schwern)
* GH #433: encoding issues with forward().
(Alberto Simões)
* GH #390: Renaming access_log to startup_info (+doc).
(Sawyer X)
* Rewrite scalar usage of qw() that is incompatible with 5.14.
(Alberto Simões)
* Don't parse ARGV when under PSGI (closes #473)
(Franck Cuny)
[ ENHANCEMENTS ]
* Forward can change method GH#493
(Alberto Simões)
* Introducing the "megasplat"!
(Yanick Champoux)
* More tests for versions, setings and variables.
(Alberto Simões)
* Improve Dancer::Test so failures report the correct line numbers.
(Michael G. Schwern)
* GH #466: Can now set cookies with http_only => 0 for JS integration.
(Alberto Simões)
* Session engine can be told to set cookies without HttpOnly attribute using
new session_is_http_only setting.
(Alberto Simões, requested by JT Smith)
* GH #296: Show versions of loaded modules in startup info.
(Sawyer X)
* Able to set more than one value at once using set().
(Alberto Simões)
* GH #253: Use Clone::clone() if available to clone data before censoring.
(Sawyer X)
* GH #246: Dancer::Test can now test for file uploads as well.
(Franck Cuny)
* Allow parameters in forward().
(Alberto Simões)
[ DOCUMENTATION ]
* Major rewrite/reorganization on Dancer::Config documentation.
(David Precious, pushed by Alberto Simões PR)
* GH #284: Document hosting multiples Dancer apps in a single PSGI file.
(Franck Cuny)
* Dancer::Session POD typos and spurious characters.
(Stefan Hornburg)
1.3030 13.04.2011
** Codename: Silence of the ambs // Alberto Simões **
[ ENHANCEMENTS ]
* Change the flag for sending system-wide path with send_file to
'system_path' (was 'absolute').
(Alberto Simões)
1.3029_03 10.04.2011
[ BUG FIXES ]
* Dancer::Session::Cookie 0.14 is required for dependency test.
* Only test for undef serializer if we have the default (JSON) available.
(Sawyer X)
[ ENHANCEMENTS ]
* Test before_template & auto_page.
1.3029_02 08.04.2011
[ BUG FIXES ]
* Better way to initialize the logdir in Dancer::Logger::File.
Works now cleanly if the appdir is not writable but the logdir exist and
is writable.
(Alberto Simões)
* fix warnings in t/03_route_handler/28_plack_mount.t.
(Franck Cuny)
[ ENHANCEMENTS ]
* Support for error templates.
If the setting "error_template" is set, it is used when building an error
page instead of using the default template.
Added the appropirate documentation as well.
(Alberto Simões)
* Dancer::Test::dancer_response() returns a 404 response when no route
handler is found. This is consistent with what Dancer does internally.
(Alberto Simões)
* Dancer::Test provides a new helper for inspecting subsets of headers:
"response_headers_include".
(Alberto Simões, Alexis Sukrieh)
* dancer_response now handles the rendering of static pages as well.
(Alberto Simões)
* Cleanup some tests.
(Alberto Simões)
[ DOCUMENTATION ]
* POD fix.
(Stefan Hornburg - Racke)
1.3029_01 01.04.2011
[ BUG FIXES ]
* Fix t/14_serializer/02_json.t to work with older JSON (relates to GH#416)
(Damien Krotkine)
* the Changelog test now supports Codenames. It suggests to add codenames
for table releaes as well
(Damien Krotkine)
* GH #420: Extra content generated
(Alberto Simões, Damien Krotkine)
* GH #409: If pass has no more matching routes, return 404.
(Alberto Simões)
[ ENHANCEMENTS ]
* GH #396: Test that Dancer::Session::Cookie isn't broken
(Michael G. Schwern)
* GH #399: Make sure session can have their name changed.
(Michael G. Schwern)
* Dancer::Test tests assumes 'GET' if their first argument is scalar.
(Yanick Champoux)
* send_file accepts optional content-type declaration, to override guessed
MIME type, e.g. send_file $filename, content_type => 'image/png'
(Alberto Simões, requested by Michael G Schwern)
* send_file accepts optional absolute option, to send an absolute path
(Alberto Simões)
* Have `dancer` cmd tool create MANIFEST and MANIFEST.SKIP.
(Alberto Simões)
* mime_type is deprecated; new keyword 'mime'; new config key
'default_mime_type';
(Alberto Simões and Michael G. Schwern)
* Recognize absolute redirects
(Yanick Champoux)
[ DOCUMENTATION ]
* Add documentation to send_file optional argument
(Alberto Simões)
* Fix plack_middlewares example in the cookbook
(Michael G. Schwern)
* Extend the POD on plugin_setting to prevent a pitfall with plugin
modules more than 3 levels deep.
(Stefan Hornburg)
* GH #400: Documenting the plack_middlewares_map.
(Michael G. Schwern, Sawyer X)
* GH #422: Documenting no need for caret when you have a prefix.
(Sawyer X)
1.3020 21.03.2011
** Codename: The Schwern Cometh // Michael G. Schwern **
[ ENHANCEMENTS ]
* No functional changes, just releasing as stable.
1.3019_02 14.03.2011
[ BUG FIXES ]
* GH #354: Tokens are not passed to layout if no params are passed to
template.
(Damien Krotkine)
1.3019_01 13.03.2011
[ BUG FIXES ]
* GH #393: Reset vars for each new request.
(Franck Cuny)
[ ENHANCEMENTS ]
* GH #391: Dancer::Logger::Note now exists. :)
(Sawyer X)
* Porting documentation on WRAPPER to Dancer::Template::TemplateToolkit.
(Sawyer X)
* GH #387: Document views and appdir in Dancer::Config.
(Michael G. Schwern)
* Add a new symbol to exporter ':script'.
(Franck Cuny)
* GH #397: Support cookie expire times like "+2h".
(Michael G. Schwern)
1.3014_01 10.03.2011
[ BUG FIXES ]
* GH #373: Display valid path to the main app file in the welcome screen.
(Franck Cuny)
* GH #152, GH #170, GH #362: Log dir is not created when logger is not set
to 'file', and setting log_path works as expected.
(Franck Cuny)
* GH #308: Use request's uri_base.
(Sawyer X)
* GH #378: Some routes with prefix where wrongly matched.
(Franck Cuny)
[ ENHANCEMENTS ]
* GH #351: Explicitly exclude some keywords when important Dancer's syntax,
add modes that also excludes some keywords (:moose, :tests).
(Sawyer X, Naveed Massjouni, Michael G. Schwern, Franck Cuny)
* All logging options accept any number of variables.
(Sawyer X)
* GH #297: All logging options can automatically serialize references.
(Sawyer X)