Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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