Simplemagic Versions Save

Simple file magic number and content-type library which provides mime-type determination from files and byte arrays

simplemagic-1.17

2 years ago
  • Moved to using SimpleDateFormat.clone() instead of thread locals.
  • Updated to new version of SimpleLogging which increased the version of Log4j2.

simplemagic-1.10

3 years ago
  • 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.

simplemagic-1.11

3 years ago
  • 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.

simplemagic-1.12

3 years ago
  • Fixed a bug with negative pstring lengths. Thanks to charles-jacobsen.

simplemagic-1.13

3 years ago
  • 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.

simplemagic-1.14

3 years ago
  • 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.

simplemagic-1.15

3 years ago
  • Fixed a bug around the processing of offset increment. Thanks to @stokito.
  • Fixed a bug around unknown magic entry constant. Thanks to @stokito.

simplemagic-1.16

3 years ago
  • 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.