Added test for special case where hash is stored blessed into class with short name...
[dbsrgits/DBM-Deep.git] / Changes
CommitLineData
ffed8b01 1Revision history for DBM::Deep.
2
30.97 ??? ?? ??:??:?? 2006 Pacific
e096f245 4 - Reorganization of distribution to a more standard layout
ffed8b01 5 - Migration to Module::Build with EU::MM backwards compatibility
e096f245 6 - Migration of all tests to use Test::More and Test::Exception
7 - Added Devel::Cover report to DBM::Deep POD
8 - Test coverage improved to 89.6% (and climbing)
8b957036 9 - The following methods have been renamed to reflect their private nature:
10 - init() is now _init()
14a3acb6 11 - open() is now _open()
0207d648 12 - close() is now _close()
261d1296 13 - load_tag() is now _load_tag()
14 - index_lookup() is now _index_lookup()
15 - add_bucket() is now _add_bucket()
16 - get_bucket_value() is now _get_bucket_value()
17 - delete_bucket() is now _delete_bucket()
18 - bucket_exists() is now _bucket_exists()
19 - find_bucket_list() is now _find_bucket_list()
20 - traverse_index() is now _traverse_index()
21 - get_next_key() is now _get_next_key()
22 - copy_node() is now _copy_node()
23 - throw_error() is now _throw_error()
217fef02 24 - The various tied classes have been broken out. This means that testing
25 "ref( $obj ) eq 'DBM::Deep'" will now fail. The correct test is
26 "eval { $obj->isa( 'DBM::Deep' ) }".
27 - The various methods like push and delete now have the same return values as
28 the standard builtins.
9d085683 29 - TIEARRAY and TIEHASH now check their parameters more thoroughly
e096f245 30 - Negative indices for arrays works as expected, including throwing the appropriate
31 errors.
32 - RT #16877 is fixed (DBM::Deep broken with Perl 5.9.3+)
33 - TODO: RT #14893 is fixed (tie() and new() use different parameter lists)
ffed8b01 34
350.96 Oct 14 09:55:00 2005 Pacific
36 - Fixed build (OS X hidden files killed it)
37 - You can now pass in an optional filehandle to the constructor
38
390.95 Oct 12 13:58:00 2005 Pacific
40 - Added optional autobless flag to preserve and restore blessed hashes
41 - Fixed bug where 0 could not be fetched using get_next_key
42 - Fixed bug where tie() constructor didn't accept a hash ref for args
43 - optimize() now preserves user/group/permissions
44 - Errors are now FATAL (meaning it calls die()), unless you set debug flag
45
460.94 Apr 13 19:00:26 2004 Pacific
47 - Fixed bug reported by John Cardenas (corruption at key level when
48 replace of less data was done on bucket)
49
500.93 Feb 15 19:53:17 2004 Pacific
51 - Fixed optmize() on Win32 where orig file couldn't be overwritten unless
52 filehandle was closed first. This change introduces a potential race
53 condition when using locking and optmize() on Win32, but it can be
54 fixed in the future using a soft copy instead of Perl's rename().
55
560.92 Feb 12 19:10:22 2004 Pacific
57 - Fixed bug where passing a reference to a different DBM::Deep object
58 would still result in an internal reference.
59 - Added export() method for recursively extracting hashes/arrays into
60 standard in-memory Perl structures.
61 - Added import() method for recursively importing existing Perl hash/
62 array structures
63 - Fixed bug where optimize() wouldn't work if base level of DB was
64 an array instead of a hash.
65
660.91 Feb 12 02:30:22 2004 Pacific
67 - Fixed bug with splice() when length of removed section was 0
68 - Updated POD re: circular refs and optimize()
69 - Had to jump version numbers to 0.91 because in previous releases
70 I used only a single digit after the decimal which was confusing
71 the CPAN indexer.
72
730.10 Feb 11 08:58:35 2004 Pacific
74 - Fixed bug where default file mode was CLEARING files (Thanks Rich!)
75 - Added experimental support for circular references
76 - Fixed bugs in shift(), unshift() and splice() where nested objects
77 in array would be recursively re-stored as basic hashes/arrays
78 - Fixed typos in POD docs
79
800.9 Feb 10 03:25:48 2004 Pacific
81 - Added Filters for storing/fetching keys/values
82 - Added hook for supplying own hashing algorithm
83 - FIxed some typos in POD docs, added new sections
84
850.8 Feb 8 02:38:22 2004 Pacific
86 - Renamed to DBM::Deep for CPAN
87 - Added optimize() method for rekindling unused space
88 - Now returning hybrid tie()/OO object from new()
89 - Basic error handling introduced
90 - Added debug mode for printing errors to STDERR
91 - Added TYPE_HASH and TYPE_ARRAY constants for "type" param
92 - Added clone() method for safe copying of objects
93 - Wrote POD documentation
94 - Added set_pack() function for manipulating LONG_SIZE / LONG_PACK
95 - Added aliases for most tied functions for public use
96 - Now setting binmode() on FileHandle for Win32
97 - Added 45 unit tests
98
990.7 Jan 4 11:31:50 2003 UTC
100 - Renamed to DeepDB
101 - Changed file signature to DPDB (not compatible with older versions)
102 - Converted array length to packed long instead of sprintf()ed string
103
1040.6 Dec 31 15:12:03 2002 UTC
105 - Some misc optimizations for speed
106
1070.5 Oct 18 08:55:29 2002 UTC
108 - support for force_return_next parameter in traverse_index() method for
109 ultra-fast combined key search/removal
110
1110.4 Oct 15 20:07:47 2002 UTC
112 - now making sure filehandle is open for all DB calls
113
1140.3 Oct 3 19:04:13 2002 UTC
115 - fixed bug that could cause corrupted data when using locking
116
1170.2 Aug 6 16:37:32 2002 UTC
118 - Removed base index caching, as it can cause problems when two processes
119 are populating the db at the same time (even with locking)
120
1210.1 Jun 3 08:06:26 2002 UTC
122 - initial release