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.
- Optimizing bundle size.
- Ignore script in event attribute with
ignoreScript
option.
- Improve PDF parsing speed.
- Bump
PDF.js
version to 2.5.207.
- 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.
- Types for Typescript support.
- Documentations
- Replace
unzipper
withadm-zip
. - Changed Parsers to accept async
CryptoProvider
methods. - Added an option to the
CryptoProvider
to not handle stream in chunks.
- Fix a bug where path has an additional slash in Windows.
- Dependencies and babel updates. (on babel 7)
- 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.
- Add feature to ignore percent encoding when matching files and items.
- Fix to ignore
NavPoint
if it cannot findSpineItem
that maps toNavPoint
.
- Fix an issue where first page is always calculated to
undefined
when calculating pages for PDF outline.
- Fix an issue where parser crash when parsing spines without html or body tag.
- Fix an issue that could crash during PDF outline parsing.
- Fix an issue that could crash during EPUB metadata parsing.
- Revert "Dependencies and babel updates".
- Fixed specify cross-dependency version numbers exactly.
- Dependencies and babel updates.
- Fix an issue where the hash function cannot be used externally.
- Add hash function.
- Fix an issue where parser error with an outline that cannot be inferred page.
- Add
PdfParser.parseOptions.fakeWorker
option. (default:false
)
- Replace
html
andbody
styles with namespace when If useEpubParser.parseOptions.parseStyle
andEpubParser.readOptions.extractBody
together.
- 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.
- Add
pdf-parser
package. - Add
EpubParser.parseOptions.additionalInlineStyle
option. (default:undefined
) - Add
CryptoProvider.bufferSize
property.
- Remove
Version.isValid
property. - Improve cryption performance.
- Add
Parser.unzip(unzipPath, overwrite)
method.
- Implement
Parser.parseOptions.overwrite
option.
- Add
EpubParser.readOptions.ignoreScript
option. (default:false
)
- Rename
EpubParser.readOptions.removeTags
to.removeTagSelector
. - Rename
EpubParser.readOptions.removeIds
to.removeIdSelector
. - Rename
EpubParser.readOptions.removeClasses
to.removeClassSelector
.
- Fix an issue where invalid path generated when URI contains unusable characters.
- Fix a malfunction when parsing corrupted CSS.
- Fix an issue where
EpubParser.parseOptions.basePath
option is not reflected in image for svg.
- Rename
Cryptor
toAesCryptor
.
- Change the
language
field to accept multiple values.
- Fix an issue where intermittently EBADF error occurred when unzipping.
- Fix an issue where directroy cache file is not overwritten.
- Fix an issue where broken cache values if that save out of ascii range.
- Add
LogLevel.DEBUG
and debug log inParser
. - Add logLevel parameter for
Parser.constructor
. - Add error code for
Cryptor
internal error.
- Change
Logger.logLevel
default. (error
=>warning
) - Rename
LogLevel.WARNING
toLogLevel.WARN
.
- Fix an issue where subpath sort was not natural.
- Improve performance of parsing.
- Add
ComicParser.parseOptions.parseImageSize
option. - Add
ComicBook.Item.width
andComicBook.Item.height
.
- Rename
ComicBook.Item.size
toComicBook.Item.fileSize
.
- Fix an issue where JSON parsing errors in directory cache data when attempting to read items from same Book on multiple processes.
- Add
comic-parser
,parser-core
andcontent-parser
. - Add
Logger
that can control all console logs and log execution time for each method inParser
. - Add
Parser.onProgress
property. - Add
Parser.readOptions.force
option.
- Configure multi-packages environment using Lerna.
CryptoProvider
refactoring.- Remove
EpubParser.parseOptions.ignoreLinear
option. - Cache to subdirectory parsing result.
- Fix an issue where spine is always
undefined
forNavPoint
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.
- Add
EpubParser.readOptions.serializedAnchor
option. - Add
Author.fileAs
property. - Add encrypt and decrypt function.
- Change
EpubParser.parseOptions.ignoreLinear
option default. (true
=>false
) - Change
EpubParser.parseOptions.useStyleNamespace
option default. (false
=>true
) - Change
EpubParser.readOptions
structure. - Remove
EpubParser.readOptions.usingCssOptions
andEpubParser.parseOptions.validateXml
option. - Rename
useStyleNamespace
toparseStyle
inEpubParser.parseOptions
. - Rename
SpineItem.spineIndex
toSpineItem.index
.
- 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.
- Fix invalid class name for style namespace.
- Add
overwrite
option. - Add
spine.uesCssOptions
option.
- Remove
spine.extractAdapter
option. - Remove
createIntermediateDirectories
andremovePreviousFile
options. (replaced byoverwrite
option) - Change
css.removeAtrules
option default. - Improve parsing of epub version.
- Simplifies return type of
readitem
orreadItems
.
- 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.
- Fix broken export/import.
- First release.