-
Notifications
You must be signed in to change notification settings - Fork 208
/
Changes
2350 lines (1944 loc) · 85.5 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.3521 2023-02-05
[BUG FIXES]
- Fix test failures in t/14_serializer/04_request_xml.t
(GH #1239, cromedome, thanks to gregoa & Debian team)
1.3520 2023-01-01
Previous trial releases promoted to stable.
[BUG FIXES]
- Test failures with HTTP::Message >= 6.44
(GH #1237, thanks to gregoa & Debian team)
[ENHANCEMENTS]
- Allow send_error from before hooks (GH #1234)
- Let `before_error_render` hooks modify token values (GH #1218)
1.3514_04 2022-06-29 22:38:57+01:00 Europe/London (TRIAL RELEASE)
1.3514_03 2020-10-06 22:22:51+01:00 Europe/London (TRIAL RELEASE)
1.3514_02 2020-10-02 21:39:34+01:00 Europe/London (TRIAL RELEASE)
1.3514 2020-06-29 17:38:54+01:00 Europe/London (TRIAL RELEASE)
1.3513 2020-01-29 21:00:41+00:00 Europe/London
[BUG FIXES]
- Fix test failures since YAML.pm 1.30 (GH #1208)
- More test failures with proxy env var set (GH #1204)
- Skip tests when HTTP::Message >= 6.44 (GH #1237)
[ENHANCEMENTS]
- Don't show whole web page differences in Dancer::Test's
response_content_like() and response_content_unlike()
1.3512 2019-03-31 20:10:08+01:00 Europe/London
Promoting previous trial release 1.3511 to stable.
1.3511 2019-03-29 11:16:08+00:00 Europe/London (TRIAL RELEASE)
[BUG FIXES]
- More session cookie handling fun - avoid causing test failures in dependencies
in some cases (e.g. RT #128911 and others)
[ENHANCEMENTS]
- hold session in SharedData, to avoid reading the session contents every time
anything is requested, could be a performance win
1.3510 2019-03-19 14:42:26+00:00 Europe/London
Promoting previous trial release 1.3501 to stable.
Fix #1204 - more proxy-related test failure fun
1.3501 2019-03-14 19:19:49+00:00 Europe/London (TRIAL RELEASE)
[BUG FIXES]
Fix "too late to set cookie" errors if you access a session within an after hook
after using send_file().
1.3500 2018-10-12 21:31:46+01:00 Europe/London
Promoting previous trial releases to stable.
1.3403 2018-10-11 23:41:11+01:00 Europe/London (TRIAL RELEASE)
[ENHANCEMENTS]
- request->address now respects behind_proxy - if behind_proxy is set,
then request->address looks at HTTP_X_FORWARDED_FOR, so you get the
user's IP, not the proxy. (PR-1199, bigpresh)
- restore ability to use load_settings_from_yaml() without passing
YAML parser class (PR-1198, snakpak)
- Fixing some spurious cpantesters test failures by subclassing HTTP::Tiny
in our tests and disabling proxying for 127.0.0.1 - otherwise smokers
with HTTP proxy env vars set fail tests (PR-1197, bigpresh)
- Tidied POD for Tutorial (PR-1196, manwar)
1.3402 2018-10-10 11:42:07+01:00 Europe/London (TRIAL RELEASE)
1.3401 2018-10-01 12:49:53+01:00 Europe/London (TRIAL RELEASE)
[ENHANCEMENTS]
- Avoid test failures on perls without '.' in @INC
- censor cookie_key in dumps (PR-1193, thefatphil)
- spelling fixes in POD from Debian Perl Group, PR-1191
1.3400 2018-06-15 23:08:34+01:00 Europe/London
Promoting previous trial releases to stable.
1.3205 2018-06-13 22:59:32+01:00 Europe/London (TRIAL RELEASE)
[ENHANCEMENTS]
- require MIME::Types 2.17, as 2.16 has some funny ideas, like responding to a
ZIP file with 'application/vnd.easykaraoke.cdgdownload'
- Fix YAML-related test failures if YAML::XS not installed
(GH 1184, PR 1189, bigpresh)
[BUG FIXES]
- Avoid accidental route matches if a previous successful match had left %+
populated (GH 1187, PR 1188, bigpresh, reported by skington)
1.3204 2018-05-23 14:40:33+01:00 Europe/London (TRIAL RELEASE)
[ENHANCEMENTS]
- Try to use 127.0.0.11 for listen tests, fall back to 127.0.0.1
on systems that don't have 127/8, e.g. FreeBSD (GH 1183, PR 1185, bigpresh)
1.3203 2018-05-20 20:44:30+01:00 Europe/London (TRIAL RELEASE)
[DOCUMENTATION]
- Add environment var hint to cookbook (PR 1161, castaway)
[ENHANCEMENTS]
- Make it possible to switch out YAML for YAML::XS for config parsing and
serialisation (there was already an attempt at this in place, and it was
documented as posisble, but didn't work) (PR 1164, 1nickt)
- New test method response_redirect_like (PR 1159, 1nickt)
- New config option raw_request_body_in_ram, which controls whether the
raw request body is available via request->body or not. See Issue #1140
for the problems the previous approach, of getting it from the temp file
that HTTP::Body might (or might not) have written it to.
- Validate session IDs read from client - GH #1172 - potential security
risk if the session provider in use passes the session ID in a way
where injection is possible.
1.3301 2016-02-16
[BUG FIXES]
- Reverted session ID validation (PR-1155) as it breaks
Dancer::Session::Cookie (bigpresh)
1.3300 2016-02-15
[BUG FIXES]
- More temp directory handling fixes (Issue #1147)
- Avoid request body truncation in hand-assembled requests in tests (PR
1148, skington)
- Avoid tests failing when "localhost" doesn't resolve (PR 1142, gbarco)
- Avoid test failures due to race condition in selecting a port to listen
on by using 127.0.0.10 instead (more of a hacky workaround than a fix,
but should help (bigpresh)
- Fix YAML session handler under taint mode (chrisjrob)
- Make request->body work again for URL-encoded POST requests - Issue 1140
reported by miyagawa (bigpresh)
- Validate session IDs read from cookies before passing to session engine,
to protect against any engine that might feed that value straight to a
file path for security - Issue 1118 (bigpresh)
[DOCUMENTATION]
- Better doc for forward_for_address (PR 1146, Relequestual)
[ENHANCEMENTS]
- Let Dancer::Test::dancer_response() handle supplying multiple params
with the same name - Issue 1116 (bigpresh)
1.3202 2015-11-07
- Re-releasing 1.3200 again now CPAN perms should be fully sorted.
1.3201 2015-11-07
- Re-releasing 1.3200 now I should have the required permissions. (Can't
re-upload as 1.3200 even though it wasn't indexed due to PAUSE
restrictions)
1.3200 2015-11-06
[BUG FIXES]
- Fix temporary directory handling in serialiser tests (PR 1133, nanis)
[ENHANCEMENTS]
- Promoting 1.3144 to stable. Only one odd, rare failure
remains on CPAN Testers, which I cannot reproduce.
- Bind to 127.0.0.1 in tests to avoid occasional spurious failures on busy
build hosts (PR 1136, thanks to @redbaron)
- More efficient handling of large requests - don't store the raw request
body, but fish it out of the HTTP::Body object's temp file if required
(PR 1134, David Precious (bigpresh))
[NEW FEATURES]
- Allow mixd named params and splats in route definitions (PR 1086,
veryrusty)
1.3144 2015-11-04
[ENHANCEMENTS]
- Bind to 127.0.0.1 in tests to avoid occasional spurious failures on busy
build hosts (PR 1136, thanks to @redbaron)
1.3143 2015-10-26
- Note: new release manager for Dancer1: David Precious (BIGPRESH)
[BUG FIXES]
- Fix temporary directory handling in serialiser tests (PR 1133, nanis)
[ENHANCEMENTS]
- More efficient handling of large requests - don't store the raw request
body, but fish it out of the HTTP::Body object's temp file if required
(PR 1134, David Precious (bigpresh))
[NEW FEATURES]
- Allow mixd named params and splats in route definitions (PR 1086,
veryrusty)
1.3142 2015-09-14
- Promotion to stable release.
[STATISTICS]
- code churn: 1 file changed, 15 insertions(+), 8 deletions(-)
1.3141 2015-09-07
[BUG FIXES]
- Dancer::Logger::Abstract now always try to convert to the configured
charset. (GH#1125, ironcamel)
- Fix test that was failing on Windows because of platform-specific
directory separators. (GH#1122, nanis)
[STATISTICS]
- code churn: 11 files changed, 52 insertions(+), 37 deletions(-)
1.3140 2015-07-03
- Promote 1.3139 to non-trial release.
[STATISTICS]
- code churn: 1 file changed, 17 insertions(+), 9 deletions(-)
1.3139 2015-06-25
[BUG FIXES]
- Reverted caching of session, as it can cause problem when the user is
using 'session->destroy' (GH#1120).
- Reverted loading config from hash. (GH#1121)
[STATISTICS]
- code churn: 9 files changed, 55 insertions(+), 249 deletions(-)
1.3138 2015-06-12
- Promote 1.3137 to non-trial release.
[STATISTICS]
- code churn: 1 file changed, 1796 insertions(+), 1754 deletions(-)
1.3137 2015-06-05
[BUG FIXES]
- Dancer::Logger->init invocation was using `setting()` instead of
`settings()`. (GH#1103, jwittkoski)
- Skip utf8 tests on cygwin. (GH#1046, mokko)
- Dancer::Session::YAML now refuse cookies that aren't alphanumerical.
(yanick)
[ENHANCEMENTS]
- Provide a way to load settings directly from hash. (GH#1113, fgabolde)
- Remove 'auto-reload' feature. (GH#1058, alambike)
- Add methods to interact with TT's wrappers. (GH#1034, David Zurborg)
[STATISTICS]
- code churn: 13 files changed, 277 insertions(+), 212 deletions(-)
1.3136 2015-05-24
[DOCUMENTATION]
- Remove mention of format 'with_id' from Dancer::Logger::Abstract.
(GH#112, Fabrice Gabolde)
[ENHANCEMENTS]
- Cache sessions such that they are only retrieved once per request.
(GH#1105, GH#992, Yanick Champoux)
[STATISTICS]
- code churn: 7 files changed, 119 insertions(+), 16 deletions(-)
1.3135 2015-04-22
[DOCUMENTATION]
- Document how to work with Dist::Zilla and the 'devel' branch.
[ENHANCEMENTS]
- Deprecate 'auto_reload' and document alternatives. (GH#1106, isync)
- Change YAML tests to be in line with new specs. (GH#1108, Slaven Rezić)
[STATISTICS]
- code churn: 12 files changed, 150 insertions(+), 50 deletions(-)
1.3134 2015-02-22
[DOCUMENTATION]
- Improve Dancer::Request documentation. (GH#1095, Gabor Szabo)
- Added descriptions to a bunch of internal modules. (GH#1097, Brad
Macpherson)
- Correcting the documentation's grammar. (GH#1101, Jonathan Hall)
- Improve Dancer.pm's documentation wrt the export of 'warnings'.
(GH#1100, Brad Macpherson)
- Generated development.yml was saying the logs appear on STDOUT whereas
it's really STDERR. (GH#1102, Fabrice Gabolde)
[ENHANCEMENTS]
- Skip tests requiring 'fork' if on a perl that doesn't implement it.
(GH#1094, Steve Hay) - Using ':script' disable command-line argument
munging globally. (GH#1098, Brad Macpherson)
[STATISTICS]
- code churn: 33 files changed, 173 insertions(+), 113 deletions(-)
1.3133 2014-11-26
[BUG FIXES]
- Test was failing for Perl 5.21+ (error message changed). (GH#1073,
cpansprout)
[DOCUMENTATION]
- Mention environment variables in Dancer::Config. (GH#1085, Sniperovitch)
- Replace "return send_file" with "send_file". (GH#1089, Ashley Willis)
- Fix NAME section for Dancer::Plugin::Ajax. (GH#1090, Ivan Bessarabov)
- Fix wrong layout directory in documentation. (GH#1091, olof)
[ENHANCEMENTS]
- Speedup in the upload of large files. (GH#1092, snakpak)
[STATISTICS]
- code churn: 6 files changed, 100 insertions(+), 35 deletions(-)
1.3132 2014-10-20
[STATISTICS]
- code churn: 1 file changed, 12 insertions(+), 6 deletions(-)
1.3131_1 2014-10-13
[BUG FIXES]
- One test would fail if Template::Toolkit was not installed. (GH#1083)
[STATISTICS]
- code churn: 2 files changed, 26 insertions(+), 10 deletions(-)
1.3131_0 2014-10-11
[BUG FIXES]
- Test was failing under perl 5.8.9. (GH#1057, Tom Hukins)
- Don't get tripped by YAML::XS's readonly values. (GH#1070)
[DOCUMENTATION]
- Minor doc update to detail how to pass protocol information in Apache
(GH#1079, Andy Beverley)
- Add the Dancer policy POD.
[ENHANCEMENTS]
- Dancer::Template::TemplateToolkit now supports DATA-embedded templates.
(GH#1061, Jochen Lutz)
- New function 'param_array'. (GH#1055, Yanick Champoux)
- D::Serializer::YAML and Dancer::Config can now use 'YAML::XS'.
[MISC]
- Add 'YAML' as a recommended dependency. (GH#1080)
[STATISTICS]
- code churn: 14 files changed, 348 insertions(+), 30 deletions(-)
1.3130 2014-09-15
[BUG FIXES]
- Bogus dependency for 'mro'. (GH#1069)
[STATISTICS]
- code churn: 2 files changed, 21 insertions(+), 12 deletions(-)
1.3129 2014-09-09
[BUG FIXES]
- Dzil conversion left 'dancer' script behind. (GH#1066)
[STATISTICS]
- code churn: 17 files changed, 1425 insertions(+), 1432 deletions(-)
1.3128 2014-09-09
[BUG FIXES]
- Remove test dependency for Person and Person::Child. (GH#1063)
1.3127 2014-09-08
[BUG FIXES]
- Test was using deprecated 'import_warnings'. (GH#1045, mokko)
- Fix default test names for headers and redirection test methods.
(GH#1048, odyniec)
- DANCER_SERVER_TOKENS and DANCER_SESSION_INFO are now
DANCER_NO_SERVER_TOKENS and DANCER_NO_SESSION_INFO. And working. :-)
(GH#1014, Yanick Champoux)
- 'any' wasn't understanding 'del' (only 'delete'). (GH#1044, Yanick
Champoux)
[DISTRIBUTION]
- Now using Dist::Zilla as package manager.
[DOCUMENTATION]
- Correct POD formatting for HTTP methods in introduction.pod. (GH#1047,
Lx)
[ENHANCEMENTS]
- environment configs are now merged with the global config, versus the
previous behavior that was overriding the whole config segments.
(GH#1016, Yanick Champoux)
- Dancer::Handler::Debug now accepts env variables from the command-line.
(GH#1056, Yanick Champoux)
- Accessing values abstracted as methods in Dancer::Session. (GH#1000,
John Wittkoski)
1.3126 2014-07-14
[BUG FIXES]
- Bunch of files were not in the MANIFEST.
1.3125 2014-07-12
[DOCUMENTATION]
- Improve the wording of the params() section in Dancer. (GH#1025, Warren
Young)
- Explain how to access config in Dancer::Config's POD. (GH#1026, Gabor
Szabo)
- Cookbook typo fix. (GH#1031, Florian Sojer)
[ENHANCEMENT]
- Skip bad cookie definitions. (GH#1036, Manuel Weiss)
- 'dancer' script warns and die if trying to create an app with the same
name of an existing module. (GH#1038, Racke)
- In Dancer::Logger::Abstract, default host name to '-' if not available.
(GH#1029, John Wittkoski)
- Add Dancer::Serializer::JSONP. (GH#1035, David Zurborg)
1.3124 2014-05-09
[BUG FIXES]
- Remove print statement in Dancer::ModuleLoad::require. (GH#1021, John
Wittkoski)
- Test was failing if JSON module was absent.
(GH#1022, Yanick Champoux)
- Allow for routes evaluating to false ('0', '', etc). (GH#1020, Yanick
Champoux)
[DOCUMENTATION]
- Specify defaults in POD. (GH#1023, isync)
- Fix doc for params(). (GH#1025, reported by Warren Young)
[ENHANCEMENTS]
- Also check X-Forwarded-Proto. (GH#1015, Andy Jones)
- Update bundle jQuery to v1.11.0. (GH#1018, Michal Wojciechowski)
- Add session support to the skeleton config. (GH#1008. Gabor Szabo)
[MISC]
- Update mailing list url in README. (GH#1017, Racke)
- Markdownify the README. (GH#986, Chris Seymour)
1.3123 2014-04-12
[BUG FIXES]
- Test was skipping wrong number of tests if JSON was absent.
1.3122 2014-04-10
[BUG FIXES]
- Serializer::Mutable now consider 'Accept' before 'Content-Type'.
(GH#996, Bernhard Reutner-Fischer)
- Serializer::Mutable now correctly deals with content-types with
charsets. (GH#996, Bernhard Reutner-Fischer)
- Without Clone(), Dancer::Error::dumper() could clobber values in deep
structures. (GH#1006, fix by asergei)
- 'session_name' in Dancer::Session::Abstract couldn't be redefined.
(GH#1004, patch by Lee Carmichael)
[DOCUMENTATION]
- GH #995: Documentation improvements. (Colin Kuskie)
[MISC]
- Unused function 'path_no_verify' removed. (GH#998, reported by
mjemmeson)
1.3121 2014-02-02
[DOCUMENTATION]
- GH #983: Correction of various typos. (Akash Ayare)
- GH #981: Add synopsis to Dancer::Request::Upload. (smashz)
- GH #985: Change mentions of 'PerlHandler' to 'PerlResponseHandler'
(Xaerxess)
[ENHANCEMENTS]
- GH #994: change heuristic so that
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' is
not recognized as text. (Skeeve)
- GH #987: get_current_session() now accepts option 'no_update'. (Lee
Carmichael)
1.3120 2013-12-24
[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)
[ENHANCEMENTS]
- GH #974: Make plugins play nicely with mro 'c3'. (Fabrice Gabolde)
1.3119 2013-10-26
[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)
[ENHANCEMENTS]
- GH #965: Serializer also serialize content for DELETE. (reported by
Achim Adam)
1.3118 2013-09-01
[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)
[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)
[MISC]
- GH #949: fixes a few errors in the serializer testsuite.
(Franck Cuny)
1.3117 2013-07-31
[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)
[ENHANCEMENTS]
- GH #836: Provide more information when an engine fails to load. (Yanick
Champoux, reported by Daniel Perrett)
1.3116 2013-07-03
[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 2013-06-09
[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 2013-06-02
[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.
[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)
1.3113 2013-05-08
[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).
[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)
1.3112 2013-04-10
[BUG FIXES]
- GH #900: backport the security patch for Dancer::ModuleLoader from
Dancer2 (mokko).
[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).
1.3111_02 2013-04-01
[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 2013-03-30
[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).
[ENHANCEMENTS]
- GH #895: JSON serializer now uses JSON's "-support_by_pp" (Jonathan
Schatz).
1.3111 2013-02-24
[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 2012-10-06
[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).
[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).
[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).
1.3100 2012-08-25
[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)
[DOCUMENTATION]
- GH #818: Use "MyWeb::App" instead of "mywebapp" in examples. (pdl)
[ENHANCEMENTS]
- GH #755: HTTP::Headers accepted by dancer_response. (Roberto Patriarca)
1.3099 2012-08-11
[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)
[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>)
[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)
1.3098 2012-07-28
[DOCUMENTATION]
- Fix escaping on some docs (Stefan Hornburg @racke).
[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).
1.3097 2012-07-08
[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 2012-07-06
- Codename: Chop Hooey // Neil Hooey **
[ENHANCEMENTS]
- Finally released, thanks to Neil Hooey bugging my sorry ass.
1.3095_02 2012-07-03
[BUG FIXES]
- fix exception tests in some cases (GH #734) (Damien Krotkine & katkad )
[DOCUMENTATION]
- Clarify serialization in introduction POD (Mark A. Stratman)
- Typo fix (Sam Kington)
[ENHANCEMENTS]
- If YAML does not load, Dancer::Config now reports why (Ovid)
1.3095_01 2012-06-22
[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)
[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)
[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)
1.3095 2012-04-01
[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 2012-03-31
[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)
[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).
[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).
1.3093 2012-02-29
[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)
[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)
[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)
1.3092 2012-01-27
[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-)
[DOCUMENTATION]
- Document how to work with Dotcloud. (Oliver Gorwits)
- Clean ups and fix ups. (David Precious, Sawyer X, Michal Wojciechowski)
[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)
1.3091 2011-12-17
[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)
[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)
[ENHANCEMENTS]
- GH #711, #652: Add server_tokens variable to allow removal of headers.
(John Wittkoski)
1.3090 2011-12-13
- 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 2011-11-26
[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).
[DOCUMENTATION]
- Clean up "plack_middlewares" example in docs (Richard Simões).
[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).
1.3080 2011-10-25
- Codename: Sawyer's Sugar Stream // Sawyer X **
[ENHANCEMENTS]
- No functional changes, just releasing as stable.
1.3079_05 2011-10-02
[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 2011-10-02
[DOCUMENTATION]
- Dancer::Plugins typos (Olof Johansson).
- PSGI handler documented (chromatic).
[ENHANCEMENTS]
- PSGI handler code cleaned up (chromatic).
- Improved warning localizations (chromatic).
1.3079_03 2011-09-10
[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)
[ENHANCEMENTS]
- Support XML::Simple configuration for serializing/deserializing (Alberto
Simões)
- Hard deprecate lots of stuff (Alberto Simões)
1.3079_02 2011-08-28
[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)