-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
changelog.txt
128 lines (105 loc) · 6.51 KB
/
changelog.txt
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
1.17: 12/29/2021
* Moved to using SimpleDateFormat.clone() instead of thread locals.
* Updated to new version of SimpleLogging which increased the version of Log4j2.
1.16: 2/19/2019
* Added support for AMR (audio/amr) type in ContentInfo. Thanks to @ledjon.
* Fixed a possible NPE with bad patterns and improved the error text callback.
1.15: 2/16/2019
* Fixed a bug around the processing of offset increment. Thanks to @stokito.
* Fixed a bug around unknown magic entry constant. Thanks to @stokito.
1.14: 7/11/2018
* Added support for hbs extension as the handlebars template file. Thanks to todorov7.
* Added support for multiple octal and hex lengths to be more compatible. Thanks to crawley.
* Added preprocessing of regex strings to handle escape characters. Thanks to crawley.
* Fixed problem with negative string offsets. Thanks much to charles-jacobsen.
1.13: 7/2/2018
* Added fits support and IANA metadata. Thanks much to Jean-Christophe.
* Added better protection against negative offsets. Also fixed middle endian converter.
* Better protection and testing for number converters.
* Fixed problem with resource or file detection.
* Fix negative pstring length issue.
* Added more loggers.
1.12: 6/9/2017
* Fixed a bug with negative pstring lengths. Thanks to charles-jacobsen.
1.11: 3/18/2017
* Added support for webm file type. Thanks to t6nand.
* Added initial support for adobe illustrator files. Thanks to markwoon.
* Fixed some of the mpeg file type handling. Thanks to air-hermes.
* Fixed some jpeg file handling although some not working due to recursive patterns. Thanks to saurabheights.
1.10: 12/13/2016
* Fixed problems with the big and little endian string types. Thanks to yongminyan.
* Fixed problem with string match but null pattern. Thanks to CalebFenton.
* Fixed matching of 2 byte characters. Thanks much to yongminyan.
* Refactored the internals to reduce the extracted strings. Should use less memory.
* Fixed problems with leading newlines to HTML and other text types. Thanks to Abdull.
1.9: 11/20/2016
* Fixed problem with first bytes optimization not taking into account optional match chars. Thanks to yongminyan.
* Added support for !:optional special flag for flagging more specific lines that aren't required.
* Removed the linked list of entries for lists of entries because they may be in multiple places.
1.8: 9/24/2016
* Fixed problems with the pstring type that were generating the wrong extracted string.
* Fixed problems with the ~ negation operation and byte, short, or int values.
* Fixed a number of problems around comparing two's complement numbers.
* Fixed problems with comparing floating point numbers.
* Major reworking of how the internal number types are processed and compared.
* Added a bunch more unit tests around numbers and integration tests. Thanks much to rob stryker.
1.7: 9/20/2016
* Added support for RIFF WEBP image type. Thanks much to richid.
* Added support for an EMPTY ContentType if there is no bytes in the stream or file. Thanks to se7en007.
* Added support for different binary magic line patterns that I had not seen before.
* Fixed bad bug with the string processing and <>=! operators. Fixes SVG+ detection. Thanks much to richid.
* Fixed some of the binary processing which now detects EXEs correctly.
* Fixed some size issues with short, id3, integer, and byte patterns.
* Moved to requiring java 1.6.
1.6: 4/27/2014
* Added support for the 7zip file format. Changed the name from 7z to 7zip. Thanks to nfx.
* Fixed the processing of a directory of magic files which was very broken. Thanks to nfx.
1.5: 1/3/2014
* Fixed the search/## pattern which was extremely broken.
* Added better support for Microsoft Office OOXML document types. Thanks again to zAlbee.
* Renamed types: PPTX to MICROSOFT_POWERPOINT_XML, XLSX to MICROSOFT_EXCEL_XML, DOCX to MICROSOFT_WORD_XML
1.4: 1/3/2014
* Added initial support for optimization around starting strings. Order of magnitude performance improvement.
* Added missing .pdf extension. Thanks to Ali.
* Added better handling of OOXML Microsoft Office files. Thanks to zAlbee.
* Fixed a problem with the no-space indicator being a ^H character instead of the \b string.
* Some internal refactoring to better encapsulate a collection of magic entries for matching.
1.3: 11/12/2013
* Improved the content matching so partial matches still display information.
* Added ContentInfo.isPartial() to designate partial content matching.
* Added the ability to load magic information from a resource.
1.2: 05/25/2013
* Removed duplicates from the internal list of mime-types and file-extensions.
* Added ContentTypeUtil.findExtensionMatch("file.ext") static method for file-extension matching.
* Added ContentTypeUtil.findMimeTypeMatch("audio/midi") static method for mime-type matching.
1.1: 05/24/2013
* Added the ContentInfoInputStreamWrapper for getting content-info as the stream is being read.
* Added some initial file-extension mapping to the ContentType class. A work in progress.
1.0: 05/16/2013
* Renamed the ContentType.UNKNOWN to be ContentType.OTHER to not be confused with not known content.
* I think it is ready for a 1.X release.
0.6: 05/15/2013
* Changed the name of the ContentType to be ContentDetails.
* Added an enumerated ContentType to map common mime-types to be known enumerated content types.
0.5: 05/13/2013
* Added support for the extended and relative offsets.
* Added support for the ID3 7-bit lengths.
* Fixed a bug in the search type.
* Added by-hand parsing of the lines since the whitespace from magic files is very inconsistent.
0.4: 05/08/2013
* Added error callbacks and removed the System.err.println that got checked in by mistake.
0.3: 05/08/2013
* Fixed some problems with the date types. I assume now that the date (bedate, etc.) is in UTC timezone.
* Improved some more javadocs.
0.2: 05/08/2013
* Fixed some magic bugs in the search and regex handling code exposed by better tests. junit++.
* Got the date classes working.
* Renamed some of the external classes and methods to make more sense.
* Refactored a bunch of the code internals. Passing back data from match and extract now.
* Added initial implementation of the search type.
* Improved some of the javadocs after going through all of them.
* Fixed some old references to Simple JMX that I copied the docs from.
* Added more test files.
0.1: 05/06/2013
* Initial public release. Tweaked javadocs and the like.
* Most functionality working. Still not handling extended offset formats and the search type.