CGI-Uploader
view release on metacpan or search on metacpan
2.12 Thu Feb 15 17:43:20 EST 2007
[ENHANCEMENTS]
- Explicitly call File::Temp::cleanup(). This reduces the amount of
disk space and file handles used.
- A new 'temp_dir' option has been added to allow to you set your own
temporary directory. (Jeff MacDonald)
2.11 Mon Dec 19 20:18:00 EST 2005
[BUG FIXES]
- There were was confusion in the 2.1 release as to whether the new API
for gen_thumb() took a hash or hashref as input. The code, tests and docs
have all been updated to agree: It's a hashref. Thanks to bignose, who
wrestled this one.
2.1 Sun Dec 18 21:39:23 EST 2005
[ENHANCEMENTS]
- Further simplified necessary spec API, while maintaining backwards
compatibility. Specifying a transformation method for a generated file
can now by this simple:
gen_files => {
photo_thumbnail => gen_thumb({ w => 100, h => 100}),
}
2.0 Sat Dec 17 23:12:35 EST 2005
[ENHANCEMENTS]
- Previously the extension and MIME type were inherited
by generated files. Now the metadata for generated files
is extracted directly from them. This should be useful
if you want to create thumbnails in a different image format
than the large images.
- A cleaner and simpler API for calling gen_thumb() and other potential
transform_methods has been introduced. The new syntax looks like this:
transform_method => gen_thumb({ w => 100, h => 100 }),
The old syntax is still supported.
- "gen_thumb()" can now return the Image/Graphics::Magick object as a
second argument. This may not be useful outside of the test suite...
[BUG FIXES]
- Image::Magick is no longer required to install CGI::Uploader, just
recommended.
- If an uploaded was updated and had its MIME type changed in the process,
the old file was left on the file system. Fixed.
- If 'up_table_map' was used to modify the name of the extension field,
then transform_meta() would return empty values for the extensions. Fixed.
[INTERNALS]
- Migrated Makefile.PL to use Module::Install. This allows me to keep the hairy
Makefile.PL stuff I have, but easily add 'no_index' and 'recommends' metadata.
- test suite clean up.
- new required modules: Scalar::Util and HTTP::Request::Common
1.2 Thu Dec 15 22:35:39 EST 2005
[BUG FIXES]
- Fixed bug in store_uploads() from improper hash usage.
[INTERNALS]
- Fixed some typos in Makefile.PL requirements
- Made test suite use SQLite by default for easier testing.
1.1 Wed Dec 14 21:23:56 EST 2005
[INTERNALS]
- Now require at least Params::Validate 0.77 (RT#13728)
- ..and require at least File::Temp 0.14, for a better chance
of using a real temporary directory.
1.1_1 Mon Apr 4 07:52:01 EST 2005
[THINGS THAT MIGHT BREAK YOUR CODE]
- 'file_name' is now required in the data model. You can simply add it before upgrading.
Something like this should work:
ALTER TABLE your_table_name ADD COLUMN file_name VARCHAR(255);
Of course, you can name the column something else with the up_table_map.
[ENHANCEMENTS]
- extract_meta() now also returns the original filename with the
'file_name' key.
- PostgreSQL via ODBC is now supported (William McKee)
[BUG FIXES]
- Fixed RT#12051, an XSS issue in an example application. (William McKee).
[INTERNALS]
- Clean up some test warnings (Denis McKeon)
- Better diagnostics in ImageMagick.pm (William McKee)
1.00
- No code changes, I'm just declaring it stable.
- Mention availability via darcs
0.80_02 08/19/04
- Added missing ImageMagick.pm (Barbie)
- Made t/up_table_map.t more portable (Barbie)
0.80_01
[RELEASE NOTES]
I changed the API again. The code has been refactored to remove all
image-specific code from the main package. In it's place a more general
"transform_method" option has been added. With this, you can specify
any arbitrary transformation you want to make to a file. You might
choose to decrypt a file, compress it, append to it, or otherwise alter
it.
The thumbnailing code still exists, but has been moved to
CGI::Uploader::Transform::ImageMagick::gen_thumb().
However, most of the examples and tests still do rely on "gen_thumb()" for
examples, so test failures will occur if Image::Magick is not installed for
now. I'd like some help to streamline this.
( run in 2.031 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )