-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.xml
1528 lines (1528 loc) · 47.6 KB
/
package.xml
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"?>
<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.8.0" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>zip</name>
<channel>pecl.php.net</channel>
<summary>A zip management extension</summary>
<description>Zip is an extension to create, modify and read zip files.</description>
<lead>
<name>Pierre-Alain Joye</name>
<user>pajoye</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<lead>
<name>Remi Collet</name>
<user>remi</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2025-02-20</date>
<version>
<release>1.22.6dev</release>
<api>2.10.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes>
- Fix zip_entry_name() crash on invalid entry
</notes>
<contents>
<dir name="/">
<dir name ="tests">
<file name="001.phpt" role="test"/>
<file name="binarynull.zip" role="test"/>
<file name="bug11216.phpt" role="test"/>
<file name="bug14962.phpt" role="test"/>
<file name="bug38943_2.phpt" role="test"/>
<file name="bug38943.inc" role="test"/>
<file name="bug38943.phpt" role="test"/>
<file name="bug38944.phpt" role="test"/>
<file name="bug40228.phpt" role="test"/>
<file name="bug40228.zip" role="test"/>
<file name="bug40228-mb.phpt" role="test"/>
<file name="bug47667.phpt" role="test"/>
<file name="bug49072.phpt" role="test"/>
<file name="bug49072.zip" role="test"/>
<file name="bug50678.phpt" role="test"/>
<file name="bug51353.phpt" role="test"/>
<file name="bug53579.phpt" role="test"/>
<file name="bug53603.phpt" role="test"/>
<file name="bug53854.phpt" role="test"/>
<file name="bug53885.phpt" role="test"/>
<file name="bug53885_php8.phpt" role="test"/>
<file name="bug64342_0.phpt" role="test"/>
<file name="bug64342_1.phpt" role="test"/>
<file name="bug64342_1-mb.phpt" role="test"/>
<file name="bug70103.phpt" role="test"/>
<file name="bug70322.phpt" role="test"/>
<file name="bug70350.phpt" role="test"/>
<file name="bug70752.phpt" role="test"/>
<file name="bug70752.zip" role="test"/>
<file name="bug7214.phpt" role="test"/>
<file name="bug72258.phpt" role="test"/>
<file name="bug72258.zip" role="test"/>
<file name="bug72374.phpt" role="test"/>
<file name="bug72434.phpt" role="test"/>
<file name="bug72660.phpt" role="test"/>
<file name="bug76524.phpt" role="test"/>
<file name="bug78641.phpt" role="test"/>
<file name="bug7658.odt" role="test"/>
<file name="bug7658.phpt" role="test"/>
<file name="bug7658.xml" role="test"/>
<file name="bug8009.phpt" role="test"/>
<file name="bug8009.zip" role="test"/>
<file name="bug8700.phpt" role="test"/>
<file name="bug77978.phpt" role="test"/>
<file name="bug80833.phpt" role="test"/>
<file name="bug80863.phpt" role="test"/>
<file name="bug81420.phpt" role="test"/>
<file name="bug81420.zip" role="test"/>
<file name="bug81490.phpt" role="test"/>
<file name="bug_gh8781.phpt" role="test"/>
<file name="gh17319.phpt" role="test"/>
<file name="bug_gh12661.phpt" role="test"/>
<file name="compression_methods.phpt" role="test"/>
<file name="compression_methods.zip" role="test"/>
<file name="doubleclose.phpt" role="test"/>
<file name="doubleclose2.phpt" role="test"/>
<file name="oo_addemptydir.phpt" role="test"/>
<file name="oo_addemptydir_error.phpt" role="test"/>
<file name="oo_add_encoding.phpt" role="test"/>
<file name="oo_addfile.phpt" role="test"/>
<file name="oo_addfile_proc.phpt" role="test"/>
<file name="oo_add_from_string.phpt" role="test"/>
<file name="oo_addglob.phpt" role="test"/>
<file name="oo_addglob2.phpt" role="test"/>
<file name="oo_addpattern.phpt" role="test"/>
<file name="oo_archive_flag.phpt" role="test"/>
<file name="oo_cancel.phpt" role="test"/>
<file name="oo_close.phpt" role="test"/>
<file name="oo_close_empty.phpt" role="test"/>
<file name="oo_count.phpt" role="test"/>
<file name="oo_delete.phpt" role="test"/>
<file name="oo_encryption.phpt" role="test"/>
<file name="oo_extract.phpt" role="test"/>
<file name="oo_ext_zip.phpt" role="test"/>
<file name="oo_externalattributes.phpt" role="test"/>
<file name="oo_getcomment.phpt" role="test"/>
<file name="oo_getcomment2.phpt" role="test"/>
<file name="oo_getnameindex.phpt" role="test"/>
<file name="oo_getstatusstring.phpt" role="test"/>
<file name="oo_getstreamindex.phpt" role="test"/>
<file name="oo_namelocate.phpt" role="test"/>
<file name="oo_open.phpt" role="test"/>
<file name="oo_open2.phpt" role="test"/>
<file name="oo_progress.phpt" role="test"/>
<file name="oo_properties.phpt" role="test"/>
<file name="oo_properties2.phpt" role="test"/>
<file name="oo_rename.phpt" role="test"/>
<file name="oo_replacefile.phpt" role="test"/>
<file name="oo_setcomment.phpt" role="test"/>
<file name="oo_setcomment_error.phpt" role="test"/>
<file name="oo_setcomment_error2.phpt" role="test"/>
<file name="oo_setcompression.phpt" role="test"/>
<file name="oo_setmtime.phpt" role="test"/>
<file name="oo_stream.phpt" role="test"/>
<file name="oo_stream_seek.phpt" role="test"/>
<file name="oo_torrentzip.phpt" role="test"/>
<file name="oo_supported.phpt" role="test"/>
<file name="oo_unchangeIndex.phpt" role="test"/>
<file name="oo_unchangeName.phpt" role="test"/>
<file name="pecl12414.phpt" role="test"/>
<file name="pecl12414.zip" role="test"/>
<file name="stream_meta_data.phpt" role="test"/>
<file name="test_procedural.zip" role="test"/>
<file name="test_with_comment.zip" role="test"/>
<file name="test.zip" role="test"/>
<file name="utils.inc" role="test"/>
<file name="zip_close.phpt" role="test"/>
<file name="zip_entry_close.phpt" role="test"/>
<file name="zip_entry_close2.phpt" role="test"/>
<file name="zip_entry_compressedsize.phpt" role="test"/>
<file name="zip_entry_compressionmethod.phpt" role="test"/>
<file name="zip_entry_filesize.phpt" role="test"/>
<file name="zip_entry_name.phpt" role="test"/>
<file name="zip_entry_open.phpt" role="test"/>
<file name="zip_entry_read.phpt" role="test"/>
<file name="zip_open_error.phpt" role="test"/>
<file name="zip_open_error2.phpt" role="test"/>
<file name="zip_open.phpt" role="test"/>
<file name="zip_read.phpt" role="test"/>
</dir><!-- tests -->
<!-- sources -->
<file name="config.m4" role="src"/>
<file name="config.w32" role="src"/>
<dir name ="php5">
<file name="php_zip.c" role="src" />
<file name="php_zip.h" role="src"/>
<file name="zip_stream.c" role="src"/>
</dir><!-- php5 -->
<dir name ="php7">
<file name="php_zip.c" role="src" />
<file name="php_zip.h" role="src"/>
<file name="zip_stream.c" role="src"/>
</dir><!-- php7 -->
<dir name ="php73">
<file name="php_zip.c" role="src" />
<file name="php_zip.h" role="src"/>
<file name="zip_stream.c" role="src"/>
</dir><!-- php73 -->
<dir name ="php74">
<file name="php_zip.c" role="src" />
<file name="php_zip.h" role="src"/>
<file name="zip_stream.c" role="src"/>
</dir><!-- php74 -->
<dir name ="php8">
<file name="php_zip.c" role="src" />
<file name="php_zip.h" role="src"/>
<file name="php_zip.stub.php" role="src"/>
<file name="php_zip_arginfo.h" role="src"/>
<file name="zip_stream.c" role="src"/>
</dir><!-- php8 -->
<dir name ="php81">
<file name="php_zip.c" role="src" />
<file name="php_zip.h" role="src"/>
<file name="php_zip.stub.php" role="src"/>
<file name="php_zip_arginfo.h" role="src"/>
<file name="zip_stream.c" role="src"/>
</dir><!-- php81 -->
<!-- documentation -->
<file name="CREDITS" role="doc"/>
<file name="LICENSE" role="doc"/>
<dir name ="examples">
<file name="odt.php" role="doc"/>
<file name="test_with_comment.zip" role="doc"/>
<file name="test.zip" role="doc"/>
<file name="test1.zip" role="doc"/>
<file name="oldapi.php" role="doc"/>
<file name="create.php" role="doc"/>
<file name="dir.php" role="doc"/>
<file name="extract.php" role="doc"/>
<file name="extractAll.php" role="doc"/>
<file name="fopen.php" role="doc"/>
<file name="too.php" role="doc"/>
<file name="comment.php" role="doc"/>
<file name="get_set_comments.php" role="doc"/>
<file name="addglob.php" role="doc"/>
<file name="addpattern.php" role="doc"/>
<file name="set_compression.php" role="doc"/>
<file name="encryption.php" role="doc"/>
<file name="zipcmd.php" role="doc"/>
</dir> <!-- examples -->
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.4.0</min>
<max>8.4.99</max>
</php>
<pearinstaller>
<min>1.7.0</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>zip</providesextension>
<extsrcrelease/>
<changelog>
<release>
<date>2025-02-20</date>
<version>
<release>1.22.5</release>
<api>2.10.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes>
- Fix zip_entry_name() crash on invalid entry
</notes>
</release>
<release>
<date>2024-09-26</date>
<version>
<release>1.22.4</release>
<api>2.10.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes>
- compatibility with 8.4
- add ZipArchive::ER_TRUNCATED_ZIP added in libzip 1.11
</notes>
</release>
<release>
<date>2023-11-14</date>
<version>
<release>1.22.3</release>
<api>2.10.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes>
- fix GH-12661 (Inconsistency in ZipArchive::addGlob 'remove_path' Option Behavior)
</notes>
</release>
<release>
<date>2023-08-23</date>
<version>
<release>1.22.2</release>
<api>2.10.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes>
- add ZipArchive::LENGTH_TO_END and ZipArchive::LENGTH_UNCHECKED constants with libzip 1.10.1
- use typed constants in 8.3
</notes>
</release>
<release>
<date>2023-06-29</date>
<version>
<release>1.22.1</release>
<api>2.10.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://www.php.net/license/3_01.txt" filesource="LICENSE">PHP-3.01</license>
<notes>
- add more tests
- ZipArchive::FL_RECOMPRESS constant is deprecated and will be removed in a future version of libzip
- add ZipArchive::FL_OPEN_FILE_NOW to open the file when added instead of waiting for archive to be closed
</notes>
</release>
<release>
<date>2023-06-26</date>
<version>
<release>1.22.0</release>
<api>2.9.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- compatibility with 8.3
- add new error macros (ER_DATA_LENGTH and ER_NOT_ALLOWED) with libzip >= 1.10.0
- add new archive global flags (ER_AFL_*) with libzip >= 1.10.0
- add ZipArchive::setArchiveFlag and ZipArchive::getArchiveFlag methods
</notes>
</release>
<release>
<date>2022-09-16</date>
<version>
<release>1.21.1</release>
<api>2.9.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- PHP 8.2 compatibility
</notes>
</release>
<release>
<date>2022-06-28</date>
<version>
<release>1.21.0</release>
<api>2.9.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fix GH-8781 #ZipArchive deletes zip file with no contents and doesn't update stat cache
- implement fseek for zip stream when possible with libzip 1.9.1
- Allow 8.2
</notes>
</release>
<release>
<date>2022-05-02</date>
<version>
<release>1.20.1</release>
<api>2.9.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fixed type for index in ZipArchive::replaceFile. (Martin Rehberger)
</notes>
</release>
<release>
<date>2021-10-12</date>
<version>
<release>1.20.0</release>
<api>2.9.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fix #81490 ZipArchive::extractTo() may leak memory. (cmb, Remi)
- Fix #77978 Dirname ending in colon unzips to wrong dir. (cmb)
- add ZipArchive::clearError() method (Remi)
- add ZipArchive::getStreamName() and ZipArchive::getStreamIndex methods (Remi)
</notes>
</release>
<release>
<date>2021-09-27</date>
<version>
<release>1.19.5</release>
<api>2.8.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fix #81420 ZipArchive::extractTo extracts outside of destination (CVE-2021-21706) (cmb)
</notes>
</release>
<release>
<date>2021-09-01</date>
<version>
<release>1.19.4</release>
<api>2.8.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fix #80833 ZipArchive::getStream doesn't use setPassword
</notes>
</release>
<release>
<date>2021-06-07</date>
<version>
<release>1.19.3</release>
<api>2.8.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fix #80648 Fix for bug 79296 should be based on runtime version (cmb, Remi)
- Fix #80863 ZipArchive::extractTo() ignores references. (cmb)
</notes>
</release>
<release>
<date>2020-11-23</date>
<version>
<release>1.19.2</release>
<api>2.8.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- only display libzip both headers/library versions if they differ
- report about ZSTD compression availability
- Raise E_WARNING on PHP related errors (PHP 8)
</notes>
</release>
<release>
<date>2020-09-30</date>
<version>
<release>1.19.1</release>
<api>2.8.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- encode parameter is optional (PHP 8)
- deprecate procedural API with PHP 8
- promote warning to exception (PHP 8)
- Fixed bug #79678 Build fails due to undeclared ZIP_RDONLY
- add ZipArchive::CM_ZSTD constant (since libzip 1.8.0)
</notes>
</release>
<release>
<date>2020-06-05</date>
<version>
<release>1.19.0</release>
<api>2.8.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- add ZipArchive::EM_TRAD_PKWARE and ZipArchive::EM_UNKNOWN constants
- Fix #79424 don't use gl_pathc after call to globfree (Max Rees)
- add ZipArchive::isCompressionMethodSupported() method (libzip 1.7.0)
- add ZipArchive::isEncryptionMethodSupported() method (libzip 1.7.0)
- initial PHP 8 support
</notes>
</release>
<release>
<date>2020-03-20</date>
<version>
<release>1.18.2</release>
<api>2.7.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fixed Bug #79296 ZipArchive::open fails on empty file with libzip 1.6.0.
</notes>
</release>
<release>
<date>2020-03-19</date>
<version>
<release>1.18.1</release>
<api>2.7.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Implement #77960 add compression / encryption in ZipArchive::addGlob and
ZipArchive::addPattern options parameter which now accepts:
comp_method, comp_flags, enc_method and enc_password
</notes>
</release>
<release>
<date>2020-03-16</date>
<version>
<release>1.18.0</release>
<api>2.7.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- add ZipArchive::FL_RECOMPRESS, FL_ENCRYPTED, FL_OVERWRITE, FL_LOCAL,
FL_CENTRAL constants
- add optional "flags" parameter to ZipArchive::addEmptyDir, addFile and
addFromString methods
- add "flags" options to ZipArchive::addGlob and addPattern methods,
keeping previous behavior having FL_OVERWRITE by default
- add ZipArchive::replaceFile() method
- add lastId property to ZipArchive
- make status, statusSys properties and ZipArchive::getStatusString() method
available after archive is closed
- Fixed bug #72374 remove_path option strips first char of filename
- Fixed bug #50678 files extracted lost their original modified time
</notes>
</release>
<release>
<date>2020-02-28</date>
<version>
<release>1.17.2</release>
<api>2.6.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- fix #79315 ZipArchive::addFile doen't honor start/length parameters
</notes>
</release>
<release>
<date>2020-02-03</date>
<version>
<release>1.17.1</release>
<api>2.6.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- add ZipArchive::RDONLY constant (since libzip 1.0.0)
- fix #73119 Wrong return for ZipArchive::addEmptyDir method
</notes>
</release>
<release>
<date>2020-01-31</date>
<version>
<release>1.17.0</release>
<api>2.6.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- add ZipArchive::registerProgressCallback() method (since libzip 1.3.0)
- add ZipArchive::registerCancelCallback() method (since libzip 1.6.0)
- drop support for old PHP versions
</notes>
</release>
<release>
<date>2020-01-29</date>
<version>
<release>1.16.1</release>
<api>2.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- add ZipArchive::CM_XZ constant (since libzip 1.6.0)
- add ZipArchive::ER_* missing constants
- fix Windows build
</notes>
</release>
<release>
<date>2020-01-28</date>
<version>
<release>1.16.0</release>
<api>2.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- fix #78641 addGlob can modify given remove_path value
- add ZipArchive::CM_LZMA2 constant (since libzip 1.6.0)
- add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex
- add ZipArchive::LIBZIP_VERSION constant
</notes>
</release>
<release>
<date>2019-09-09</date>
<version>
<release>1.15.5</release>
<api>2.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fix build with PHP 7.4
- Remove dead code
- Replace deprecated libzip functions
</notes>
</release>
<release>
<date>2018-10-03</date>
<version>
<release>1.15.4</release>
<api>2.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fixed Bug #76524 ZipArchive memory leak (OVERWRITE flag and empty archive)
- Fixed incorrrecr zval_dtor() usage to replace value of argument passed by reference, that may lead to memory leaks.
</notes>
</release>
<release>
<date>2018-06-12</date>
<version>
<release>1.15.3</release>
<api>2.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Add OPSYS_CPM constant as documented
- Fix build with PHP 7.3
</notes>
</release>
<release>
<date>2017-12-19</date>
<version>
<release>1.15.2</release>
<api>2.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- fix bug #75540 Segfault with libzip 1.3.1 (double free)
- display headers (buildtime) and library (runtime) versions in phpinfo (libzip >= 1.3.1)
</notes>
</release>
<release>
<date>2017-07-11</date>
<version>
<release>1.15.1</release>
<api>2.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- fix segfault in php_stream_context_get_option call
</notes>
</release>
<release>
<date>2017-07-10</date>
<version>
<release>1.15.0</release>
<api>2.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- ZipArchive implements Countable, added ZipArchive::count() method
</notes>
</release>
<release>
<date>2017-04-05</date>
<version>
<release>1.14.0</release>
<api>2.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fix #70103: ZipArchive::addGlob ignores remove_all_path option (cmb)
- add ZipArchive::setEncryptionName and ZipArchive::setEncryptionIndex
methods available with libzip >= 1.2.0 (Remi)
- add encryption_method in statIndex/statName returned array (Remi)
- allow to set password in stream wrapper using context (Remi)
- Fix #73803: Reflection of ZipArchive does not show public properties (Remi)
- support for system libzip on Windows (Anatol)
- drop bundled libzip, only support system library (Remi)
</notes>
</release>
<release>
<date>2016-10-14</date>
<time>17:00:00</time>
<version>
<release>1.13.5</release>
<api>2.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fixed bug #72660 (NULL Pointer dereference in zend_virtual_cwd). (Laruence)
- Fixed bug #68302 (impossible to compile php with zip support). (cmb)
- Fixed bug #70752 (Depacking with wrong password leaves 0 length files). (cmb)
</notes>
</release>
<release>
<date>2016-07-21</date>
<time>08:00:00</time>
<version>
<release>1.13.4</release>
<api>2.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fixed bug #72520 (Stack-based buffer overflow vulnerability in php_stream_zip_opener). (Stas)
</notes>
</release>
<release>
<date>2016-06-23</date>
<time>12:00:00</time>
<version>
<release>1.13.3</release>
<api>2.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Fixed bug #71923 (integer overflow in ZipArchive::getFrom*). (CVE-2016-3078) (Stas)
- Fixed bug #72258 (ZipArchive converts filenames to unrecoverable form). (Anatol)
- Fixed bug #72434 (ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize). (CVE-2016-5773) (Dmitry)
</notes>
</release>
<release>
<date>2016-03-01</date>
<time>15:00:00</time>
<version>
<release>1.13.2</release>
<api>2.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- Update bundled libzip to 1.1.2 (Remi, Anatol)
- Fixed bug #71561 (NULL pointer dereference in Zip::ExtractTo) (Stas)
- Format string fixes (Nikic)
- Remove TSRMLS_* from code, they are not used anymore (Stas)
- Fixed incorrect usage of HASH_OF() macro. (Dmitry)
</notes>
</release>
<release>
<date>2015-09-09</date>
<time>18:37:00</time>
<version>
<release>1.13.1</release>
<api>2.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- fix pecl installaton
</notes>
</release>
<release>
<date>2015-09-07</date>
<time>13:47:00</time>
<version>
<release>1.13.0</release>
<api>2.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- update bundled libzip to 1.0.1 (Remi, Anatol)
- new methods for ZipArchive:
setCompressionName, setCompressionIndex (Cedric Delmas)
- allow to build with PHP 7
- Fixed bug #70350 (ZipArchive::extractTo allows for directory traversal
when creating directories). (neal at fb dot com)
- Fixed bug #70322 (ZipArchive::close() doesn't indicate errors). (cmb)
</notes>
</release>
<release>
<date>2015-04-15</date>
<time>17:27:00</time>
<version>
<release>1.12.5</release>
<api>2.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- add OPSYS_Z_CPM missing constant
- Fixed bug #69253 (ZIP Integer Overflow leads to writing past heap boundary). (CVE-2015-2331) (Stas)
</notes>
</release>
<release>
<date>2014-01-29</date>
<time>13:42:00</time>
<version>
<release>1.12.4</release>
<api>2.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- bundled libzip version 0.11.2
- new methods for ZipArchive:
setExternalAttributesName, setExternalAttributesIndex,
getExternalAttributesName, getExternalAttributesIndex
</notes>
</release>
<release>
<date>2013-12-12</date>
<time>09:29:00</time>
<version>
<release>1.12.3</release>
<api>2.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- clean all uses of private libzip structure
- allow to build in php tree
</notes>
</release>
<release>
<date>2013-10-23</date>
<time>07:10:00</time>
<version>
<release>1.12.2</release>
<api>2.1.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- fix build with PHP 5.3
- add --with-libzip configure option to use system libzip
- move check before dereferencing ptr (Felipe)
- add LICENSE and LICENSE_libzip
- fix bug #64342 ZipArchive::addFile() has to check file existance
</notes>
</release>
<release>
<date>2013-04-29</date>
<time>19:25:04</time>
<version>
<release>1.12.1</release>
<api>2.1.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>- fix build on some linux
- fix zip_set_file_compression
</notes>
</release>
<release>
<date>2013-04-01</date>
<time>19:25:04</time>
<version>
<release>1.12.0</release>
<api>2.1.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>- Added setPassword method, support for crypted archives
. uncompress only
. AES and ZipCrypto
- fix VC9 builds (using bundled stdint)
- fix preprocessor bug for ZipArchive::close method being renamed to
_close on Windows
</notes>
</release>
<release>
<date>2013-04-01</date>
<time>19:25:04</time>
<version>
<release>1.11.0</release>
<api>2.1.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>- Added Zip64 support (large file support)
- Added UTF-8 support for file names, file comments, and archive comments
- Added zip_discard()
- Added ZIP_TRUNCATE for zip_open()
- Added zip_set_file_compression()</notes>
</release>
<release>
<version>
<release>1.10.2</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2009-08-11</date>
<time>19:25:04</time>
<license uri="http://www.php.net/license">PHP License</license>