Skip to content
Newer
Older
100644 170 lines (124 sloc) 6.27 KB
55a9d4c @algernon NEWS update
authored May 7, 2011
1 #+STARTUP: indent showall -*- org -*-
2
1d7aa52 @algernon Release 0.1.4.
authored Aug 27, 2011
3 * 0.1.4 - <2011-08-27 Sat>
4
5 This release is a minor update, with neither new functionality, nor
6 any bugfixes, except in the packaging.
7
8 It does come with slightly more documentation, however.
9
bc75da6 @algernon Release v0.1.3.
authored Jul 19, 2011
10 * 0.1.3 - <2011-07-19 Tue>
bc58c00 @algernon sync: Allow background & sparse indexes.
authored Jul 8, 2011
11
2c0735e @algernon NEWS: Updated with GridFS items.
authored Jul 9, 2011
12 ** New feature: GridFS support.
13 This version introduces a set of GridFS APIs, to ease working with
33a992d @algernon NEWS: Fixed a thinko.
authored Jul 24, 2011
14 GridFS, be that retrieving files chunk by chunk, listing and removing
15 files, or offering a file-like streaming API.
2c0735e @algernon NEWS: Updated with GridFS items.
authored Jul 9, 2011
16
7f1ba0e @algernon NEWS update.
authored Jul 10, 2011
17 ** New function: mongo_sync_cmd_create()
18 A new helper function was introduced to aid us in creating capped and
19 pre-allocated collections.
20
1b58547 @algernon sync: New command: mongo_sync_cmd_exists().
authored Jul 10, 2011
21 ** New function: mongo_sync_cmd_exists()
22 Another new helper function to aid in retrieving information about a
23 collection - whether it exists, and if so, with what parameters.
24
915ec90 @algernon mongo-utils: New function: mongo_util_oid_as_string().
authored Jul 13, 2011
25 ** New function: mongo_util_oid_as_string()
26 When one needs to print the value of an ObjectId in human-readable
27 hexadecimal format, this new function is the one to turn to.
28
bc58c00 @algernon sync: Allow background & sparse indexes.
authored Jul 8, 2011
29 ** New index options: background & sparse.
30 It is now possible to create sparse indexes, and create them in the
31 background, using two new option flags: MONGO_INDEX_BACKGROUND and
32 MONGO_INDEX_SPARSE.
33
dcaa69e @algernon Release v0.1.2.
authored Jul 1, 2011
34 * 0.1.2 - <2011-07-01 Fri>
f7ed02d @algernon NEWS: Added a note about the mongo_packet_recv() bugfix.
authored Jun 18, 2011
35
36 ** Bugfix: mongo_packet_recv() waits for all data.
37 Previously, mongo_packet_recv() did not wait for all data to arrive,
38 and returned whatever already arrived at the time of reading.
39
40 This has been corrected, mongo_packet_recv() correctly blocks now.
41
fc77655 @algernon mongo-sync: Support passive secondaries.
authored Jun 18, 2011
42 ** Implemented support for passive secondaries.
43 Support was added for passive secondaries, they're now automatically
44 discovered too.
45
f824c89 @algernon NEWS: Added a short note about the index functions.
authored Jun 18, 2011
46 ** New feature: Index handling functions
47 Implemented some helper functions to create and delete indexes.
48
2d0382f @algernon bson: Add bson_cursor_find().
authored Jun 26, 2011
49 ** New function: bson_cursor_find()
50 Combining the powers of bson_find() and bson_cursor_find_next(), this
51 new function can find a key anywhere in a BSON object, yet, maintains
52 the ability to continue a previous scan.
53
fca30d8 @algernon mongo-client: Implement mongo_connection_set_timeout()
authored Jun 30, 2011
54 ** New function: mongo_connection_set_timeout()
55 On systems that support it (most modern systems should), sets a
56 timeout for send and receive operations. Setting the timeout to zero
57 clears the timeout, and these calls will block forever.
58
59 The timeout is not preserved accross reconnects, if using the Sync
60 API, however.
61
e2e9538 @algernon mongo-sync: Drop OpenSSL dependency, use glib's checksums instead.
authored Jun 28, 2011
62 ** Removed dependency on OpenSSL
63 Instead of using OpenSSL's MD5 functions, use the checksum
64 capabilities of glib 2.16 and newer. This halves the dependencies of
65 the library!
66
b6135c8 @algernon Release v0.1.1.
authored Jun 16, 2011
67 * 0.1.1 - <2011-06-16 Thu>
8846950 @algernon sync-cursor: New cursor-based iterator API.
authored May 29, 2011
68
69 ** Cursor-based query iterator API
70 The new cursor-based query iterator API makes it possible to grab the
71 results of a mongo_sync_cmd_query(), and conveniently iterate over the
72 results, hiding the get_more() calls underneath.
73
74 The implementation is clever enough to only query the database when it
75 needs to, and when it does, query in bulk (asking for the same amount
76 of documents that the last query returned).
77
78 Thanks to Federico Rodriguez <fed.rod@gmail.com> for the suggestion.
79
f91579f @algernon NEWS update.
authored May 29, 2011
80 ** New function: bson_validate_key()
81 With this new function, one can validate BSON keys: whether they can
82 contain dots (allowed when using dot-notation, forbidden otherwise),
83 or whether they start with a '$' sign.
84
85 It is up to the application developer to decide when to validate a
86 key, and what restrictions make sense in the given context.
87
88 The function does NOT do UTF-8 validation, that is completely left up
89 to the application developer.
90
c17a0f4 @algernon bson: Add bson_cursor_find_next ().
authored Jun 5, 2011
91 ** New function: bson_cursor_find_next()
92 When we know that key G always comes after key A, but we do not care
93 how far apart they may be, and we do not want to use a separate cursor
94 (due to, for example, performance reasons), this new function can
95 help: unlike bson_find(), this will start scanning from the current
96 cursor position.
97
67e8fd8 @algernon NEWS: Added a few words about bson_stream_doc_size().
authored Jun 15, 2011
98 ** New function: bson_stream_doc_size()
99 A little helper function to help determine the size of a BSON document
100 when it's only available as a bytestream. This is mostly for use with
101 bson_new_from_data().
102
61d2dba @algernon NEWS: Added a note about symbol versioning.
authored Jun 11, 2011
103 ** Symbol versioning
104 The symbols of the library can now be versioned, if configured with
105 the --with-versioned-symbols configure flag (not enabled by default).
106
a1833df @algernon Release v0.1.0.
authored May 25, 2011
107 * 0.1.0 - <2011-05-25 Wed>
108
109 ** Shared library
110 The configure script now defaults to enabling shared library building
111 by default (along with a static library).
112
113 ** Bug fixes
114 The pkg-config file was setting an incorrect include directory in it's
115 Cflags. This is now fixed.
116
117 ** C++ Compatibility
118 The public headers are now guarded by extern "C" {} wrappers, so that
119 they can be included in C++ projects.
120
121 ** Performance enhancements
122 A minor performance issue was corrected in the BSON code, that had the
123 possibility of forcing unneccessary memory allocations. The library
124 now allocates the proper amount of memory at the soonest time
125 possible, so it doesn't have to grow it later on unnecessarily.
126
127 Anoter performance issue was corrected in the BSON library:
128 bson_find() was comparing key names in BSON objects with the sought
129 for key using strcmp(), which was unacceptably slow when dealing with
130 BSON objects that have a lot of keys. We now use memcmp(), which means
131 we don't have to traverse the sought for key all the time.
132
f4ae2c0 @algernon Preparing for 0.0.2.
authored May 7, 2011
133 * 0.0.2 - <2011-05-07 Sat>
2d0a7fd @algernon NEWS: Started adding 0.0.2 items.
authored Apr 25, 2011
134
135 ** Replica set seeding support
136 It is now possible to add seeds to a connection, so that the library
137 can try connecting to those in case automatic discovery fails (or if
138 the seeds are hidden).
139
140 ** Failover redesign
141 Instead of preemptively pinging & checking for a master before each
142 and every command, the library does so only upon errors. This way,
143 when everything's working as expected, there is no extra
144 overhead. Yet, if things go wrong, failover will still work.
145
146 By design, automatic failover only occurs when an error is detected
147 during a write operation. When an error occurs during read, it will be
148 propagated back to the application.
149
150 Automatic failover is disabled by default, and can be turned on via
151 the mongo_sync_conn_set_auto_reconnect() function.
152
153 ** safe-mode support
154 With safe mode enabled, extra care will be taken to ensure that data
155 gets to the server, and that the library does everything within its
156 power to maintain a connection.
157
158 This means that after insert and update operations, the library will
159 issue a getLastError command, and only return successfully if that
160 command did not signal an error.
161
162 Safe-mode also enables the previously default preemptive connection
163 checks (along with the post-mortem failover).
164
165 Safe-mode is off by default.
166
f4ae2c0 @algernon Preparing for 0.0.2.
authored May 7, 2011
167 * 0.0.1 - <2011-04-10 Sun>
9a5c674 @algernon Preparing for v0.0.1.
authored Apr 10, 2011
168
169 Initial public release.
Something went wrong with that request. Please try again.