Skip to content

HTTPS clone URL

Subversion checkout URL

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