Skip to content

Latest commit

 

History

History
380 lines (231 loc) · 10.7 KB

CHANGELOG.md

File metadata and controls

380 lines (231 loc) · 10.7 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Changed

  • Optimizing bundle size.
  • Ignore script in event attribute with ignoreScript option.

Changed

  • Improve PDF parsing speed.
  • Bump PDF.js version to 2.5.207.

Fixed

  • Fix an issue where title in OPF could not be read when it was identified by id.
  • Fix an issue where inline styles could not be read.

Added

  • Types for Typescript support.
  • Documentations

Changed

  • Replace unzipper with adm-zip.
  • Changed Parsers to accept async CryptoProvider methods.
  • Added an option to the CryptoProvider to not handle stream in chunks.

Fixed

  • Fix a bug where path has an additional slash in Windows.

Changed

  • Dependencies and babel updates. (on babel 7)

Fixed

  • Fix an issue where scheme was broken when using URL as basePath.
  • Fix an issue where order of spines in OPF is mixed when order of spines does not match manifest in OPF.

Changed

  • Add feature to ignore percent encoding when matching files and items.

Changed

  • Fix to ignore NavPoint if it cannot find SpineItem that maps to NavPoint.

Fixed

  • Fix an issue where first page is always calculated to undefined when calculating pages for PDF outline.

Fixed

  • Fix an issue where parser crash when parsing spines without html or body tag.

Fixed

  • Fix an issue that could crash during PDF outline parsing.

Fixed

  • Fix an issue that could crash during EPUB metadata parsing.

Changed

  • Revert "Dependencies and babel updates".
  • Fixed specify cross-dependency version numbers exactly.

Changed

  • Dependencies and babel updates.

Fixed

  • Fix an issue where the hash function cannot be used externally.

Added

  • Add hash function.

Fixed

  • Fix an issue where parser error with an outline that cannot be inferred page.

Added

  • Add PdfParser.parseOptions.fakeWorker option. (default: false)

Changed

  • Replace html and body styles with namespace when If use EpubParser.parseOptions.parseStyle and EpubParser.readOptions.extractBody together.

Fixed

  • Fix an issue where encrypted zip file could not be opened.
  • Fix an issue where unzipping process terminates if CryptorProvider.bufferSize is larger than file size to be unzip.

Added

  • Add pdf-parser package.
  • Add EpubParser.parseOptions.additionalInlineStyle option. (default: undefined)
  • Add CryptoProvider.bufferSize property.

Changed

  • Remove Version.isValid property.
  • Improve cryption performance.

Added

  • Add Parser.unzip(unzipPath, overwrite) method.

Changed

  • Implement Parser.parseOptions.overwrite option.

Added

  • Add EpubParser.readOptions.ignoreScript option. (default: false)

Changed

  • Rename EpubParser.readOptions.removeTags to .removeTagSelector.
  • Rename EpubParser.readOptions.removeIds to .removeIdSelector.
  • Rename EpubParser.readOptions.removeClasses to .removeClassSelector.

Fixed

  • Fix an issue where invalid path generated when URI contains unusable characters.

Fixed

  • Fix a malfunction when parsing corrupted CSS.
  • Fix an issue where EpubParser.parseOptions.basePath option is not reflected in image for svg.

Changed

  • Rename Cryptor to AesCryptor.

Changed

  • Change the language field to accept multiple values.

Fixed

  • Fix an issue where intermittently EBADF error occurred when unzipping.

Fixed

  • Fix an issue where directroy cache file is not overwritten.

Fixed

  • Fix an issue where broken cache values if that save out of ascii range.

Added

  • Add LogLevel.DEBUG and debug log in Parser.
  • Add logLevel parameter for Parser.constructor.
  • Add error code for Cryptor internal error.

Changed

  • Change Logger.logLevel default. (error => warning)
  • Rename LogLevel.WARNING to LogLevel.WARN.

Fixed

  • Fix an issue where subpath sort was not natural.

Changed

  • Improve performance of parsing.

Added

  • Add ComicParser.parseOptions.parseImageSize option.
  • Add ComicBook.Item.width and ComicBook.Item.height.

Changed

  • Rename ComicBook.Item.size to ComicBook.Item.fileSize.

Fixed

  • Fix an issue where JSON parsing errors in directory cache data when attempting to read items from same Book on multiple processes.

Added

  • Add comic-parser, parser-core and content-parser.
  • Add Logger that can control all console logs and log execution time for each method in Parser.
  • Add Parser.onProgress property.
  • Add Parser.readOptions.force option.

Changed

  • Configure multi-packages environment using Lerna.
  • CryptoProvider refactoring.
  • Remove EpubParser.parseOptions.ignoreLinear option.
  • Cache to subdirectory parsing result.

Fixed

  • Fix an issue where spine is always undefined for NavPoint with anchor exists or two depths.
  • Fix an issue where string is broken at 16,384 byte intervals when en/decrypting.
  • Fix an issue where can not be unzip under certain conditions.
  • Fix bad file descriptor error on unzipping.

Added

  • Add EpubParser.readOptions.serializedAnchor option.
  • Add Author.fileAs property.
  • Add encrypt and decrypt function.

Changed

  • Change EpubParser.parseOptions.ignoreLinear option default. (true => false)
  • Change EpubParser.parseOptions.useStyleNamespace option default. (false => true)
  • Change EpubParser.readOptions structure.
  • Remove EpubParser.readOptions.usingCssOptions and EpubParser.parseOptions.validateXml option.
  • Rename useStyleNamespace to parseStyle in EpubParser.parseOptions.
  • Rename SpineItem.spineIndex to SpineItem.index.

Fixed

  • Fix an issue where ncx could not be found in opf, and EpubParser.parseOptions.allowNcxFileMissing was false, but no exception was thrown.
  • Fix an issue where Book.spines order does not match spine order of OPF.

Fixed

  • Fix invalid class name for style namespace.

Added

  • Add overwrite option.
  • Add spine.uesCssOptions option.

Changed

  • Remove spine.extractAdapter option.
  • Remove createIntermediateDirectories and removePreviousFile options. (replaced by overwrite option)
  • Change css.removeAtrules option default.
  • Improve parsing of epub version.
  • Simplifies return type of readitem or readItems.

Fixed

  • Fix an issue where cssParser can not handle URL that are not wrapped in a string.
  • Fix an issue where cssParser does not ignore :not(x) function.

Fixed

  • Fix broken export/import.
  • First release.