Debian Codegraph @

Changes

raw
1 Release Notes
2 =============
3
4 0.5.4:
5 Bug fixes:
6 * Handle where a HOME environment variable has been set that doesn't
7 actually point to a directory.
8
9 0.5.3:
10 Bug fixes:
11 * Automatically fix more duplicate subject codes
12 * Prevent some frequently breaking tests under automatic smoketesters
13
14 0.5.2
15 Bug fixes:
16 * Minor POD display fixes
17
18 0.5.1
19 Bug fixes:
20 * Fixes so perl as old as 5.10 really does still work
21 * Document dependencies properly in Build.PL (thanks to Syohei YOSHIDA)
22
23 0.5.0
24 New Features:
25 * 'ebook convert' now provides one-shot conversion from any format
26 to epub with an optional fixup step in between.
27 * 'ebook fix' now provides subject and type normalization. Library
28 of Congress normalization is still highly incomplete and is
29 expected to incrementally improve over time.
30 * 'ebook setmeta' now available to edit metadata fields.
31 * 'ebook setcover' now available to add/change cover images.
32 * 'ebook bisac' now available to search for or convert BISAC codes
33 * OPF files in subdirectories are now supported
34 * New class EBook::Tools::BISG to download BISAC information.
35 * New helper procedures 'system_result' and 'hashvalue_key_self'
36 * fix_guide() normalizes reference types
37 * Some advertisements are deleted from metadata automatically
38
39 Bug fixes:
40 * Lots of bugs in epub generation fixed, including automatic
41 generation of NCX files
42 * fix_links() no longer breaks when encountering mailto: news: or
43 backwards directory traversal links.
44 * fix_links() should no longer sometimes attempt to add the same
45 href multiple times.
46 * hrefs are decoded to give actual filesystem filenames
47 * XHTML 1.1 source files are no longer backwards-converted to XHTML
48 1.0
49 * Mobipocket UTF-8 HTML generation bugs fixed
50 * Fixed bugs that could cause Mobipocket filepos anchors to have
51 wrong ids
52 * 'ebook genepub' options now match the documentation
53 * OPF encoding is now autodetected instead of assumed as UTF-8
54 * Compatible with Perl 5.20
55
56 Behavior changes:
57 * Unpacking books other than .lit now causes the OPF filename to
58 default to 'content.opf' instead of a name based on the original
59 packed filename.
60 * fix_creators() is no longer automatically called from fix_misc()
61 as it may still get some exotic names wrong.
62 * The first argument in 'ebook genepub <arg>' now sets the output
63 file, not the input OPF.
64
65 0.4.9
66 New Features:
67 * 'ebook unpack' now automatically handles ePub files (or to be more
68 specific, any zip file)
69
70 0.4.8
71
72 Bug fixes:
73 * Fix extra data size calculation when multiple flag bits are
74 present
75 * Properly handle extra data in uncompressed text records
76
77 0.4.7
78
79 Bug fixes:
80 * Mobipocket unpacks now correctly account for the extra data that
81 can be appended to PalmDoc-compressed text records that should not
82 be made part of the decompression process.
83
84 0.4.6
85
86 Bug fixes:
87 * EReader HTML conversion now creates (semi-valid) XHTML output and
88 better handles paragraphs
89 * EReader font marker handling improved
90 * Missing config file options are properly handled
91 * Documentation fixes
92
93 0.4.5
94
95 Bug Fixes:
96 * user script tests avoid smoke tests that tend to break on
97 non-libraries
98
99 0.4.4
100
101 Bug Fixes:
102 * split_metadata now writes split components into the directory where
103 the source file is located instead of the current working
104 directory. The old behaviour could cause failure when running as
105 CGI.
106
107 0.4.3
108
109 New Features:
110 * gen_opf() now accepts a 'mediatype' argument to override
111 autodetection of the mime type of the 'textfile' argument.
112
113 Bug Fixes:
114 * The opffile argument in gen_opf() was not being set correctly
115 * unpack_ereader now forces the appropriate mime type instead of
116 letting it be autodetected. Fixes incorrect setting of text/plain
117 on HTML output on Windows systems.
118
119 0.4.1 - 0.4.2: minor bugfixes only
120
121 0.4.0
122
123 New Features:
124 * IMP support!
125 * It is now possible to unpack unencrypted IMP files both into .RES
126 directories and into HTML files. Encrypted IMP files can still
127 be unpacked into .RES directories.
128 * .RES directories can be repacked into IMP files.
129 * IMP metadata can be edited in-place
130 * LZSS compression and decompression is now available as a general
131 library component, though this may be split out into a separate
132 module in the future.
133 * Thanks go to Nick Rapallo for assistance with this feature set,
134 and Jeffrey Kraus-yao for most of the original
135 reverse-engineering work.
136
137 Bug Fixes:
138 * Mobipocket files with EXTH headers but no EXTH records now unpack
139 correctly.
140
141 Library and Syntax Changes:
142 * Some of the input and output options in the 'ebook' command-line
143 tool have been standardized to '--input' or '-i' and '--output' or
144 '-o'. Check the documentation for exact syntax.
145 * EBook::Tools::Unpack::usedir() has been moved into EBook::Tools as
146 a procedure, not a method.
147 * The known uid check in EBook::Tools::search_knownuids() has been
148 factored out into the twigelt_is_knownuid() twig search procedure.
149 This causes a lot of 'undefined value' warning spew from XML::Twig
150 to be bypassed and has the added advantage of removing a loop
151
152 It does, however, slightly change the search behaviour --
153 previously, the highest priority known UID in the array was
154 selected if multiple known UID identifiers were found. Now, the
155 first dc:identifier matching any known good UID is used instead.
156 It's possible to reclaim the old behaviour by sorting the returned
157 array, but on afterthought, it is probably better to let the user
158 file order determine the package id by default.
159
160 ----------
161
162 0.3.3
163 * Fixed bugs relating to find_in_path() on MSWin32 systems and Data::UUID
164
165 0.3.2
166 * EBook::Tools should now in theory no longer require Perl 5.10
167 (minimum requirement is now Perl 5.8.8)
168
169 0.3.0
170
171 New Features:
172 * Configuration file and directory support
173 * Mobipocket HUFF/CDIC support
174 * Unpacking DRM-protected Mobipocket files now just skips the
175 encrypted text, but still extracts the unencrypted images
176 * EBook::Tools now takes advantage of several external helper files,
177 if they are made available:
178 * Mobipocket generation possible if mobigen is available
179 * Unpacking interface supports MS Reader (.lit) if convertlit is available
180 * Downconverting interface supports MS Reader and Mobipocket if
181 convertlit and MobiDeDRM are available, respectively.
182 * See README.Helpers.txt for more information
183 * excerpt_line() procedure available to show just the beginning and
184 end of a paragraph or other long line of text
185 * ':all' export tag is available for all modules to export all
186 procedures at once.
187
188 Library Changes:
189 * EReader.pm: write_* methods now return the filename(s) written
190 instead of just returning 1
191 * Unpack.pm: gen_metadata() no longer calls split_metadata() if the
192 raw option is specified
193 * Tools.pm: fix_languages() now creates a <dc:language> if none
194 exists (this isn't mandated by the standard, but mobigen requires
195 it)
196
197 Bug Fixes:
198 * Unpacking an eReader book now correctly adds the text to the OPF
199 manifest
200
201 ----------
202
203 0.2.0
204
205 New Features:
206 * eReader unpacking support
207 * New unpacking option --htmlconvert
208 * ebook stripscript command to remove <script> and <noscript> blocks
209 from HTML
210
211 Library Changes:
212 * parse_mobi_header() hash keys relating to language have been
213 changed
214 * format-specific code is now in separate modules
215
216 Bug Fixes:
217 * ISBN is no longer added twice in unpacked OPF files
218
219 ----------
220
221 0.1.0 - Original release