Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 101 lines (74 sloc) 3.858 kB
55a9d4c @algernon NEWS update
authored
1 #+STARTUP: indent showall -*- org -*-
2
8846950 @algernon sync-cursor: New cursor-based iterator API.
authored
3 * 0.1.1 - <UNRELEASED>
4
5 ** Cursor-based query iterator API
6 The new cursor-based query iterator API makes it possible to grab the
7 results of a mongo_sync_cmd_query(), and conveniently iterate over the
8 results, hiding the get_more() calls underneath.
9
10 The implementation is clever enough to only query the database when it
11 needs to, and when it does, query in bulk (asking for the same amount
12 of documents that the last query returned).
13
14 Thanks to Federico Rodriguez <fed.rod@gmail.com> for the suggestion.
15
f91579f @algernon NEWS update.
authored
16 ** New function: bson_validate_key()
17 With this new function, one can validate BSON keys: whether they can
18 contain dots (allowed when using dot-notation, forbidden otherwise),
19 or whether they start with a '$' sign.
20
21 It is up to the application developer to decide when to validate a
22 key, and what restrictions make sense in the given context.
23
24 The function does NOT do UTF-8 validation, that is completely left up
25 to the application developer.
26
c17a0f4 @algernon bson: Add bson_cursor_find_next ().
authored
27 ** New function: bson_cursor_find_next()
28 When we know that key G always comes after key A, but we do not care
29 how far apart they may be, and we do not want to use a separate cursor
30 (due to, for example, performance reasons), this new function can
31 help: unlike bson_find(), this will start scanning from the current
32 cursor position.
33
61d2dba @algernon NEWS: Added a note about symbol versioning.
authored
34 ** Symbol versioning
35 The symbols of the library can now be versioned, if configured with
36 the --with-versioned-symbols configure flag (not enabled by default).
37
a1833df @algernon Release v0.1.0.
authored
38 * 0.1.0 - <2011-05-25 Wed>
39
40 ** Shared library
41 The configure script now defaults to enabling shared library building
42 by default (along with a static library).
43
44 ** Bug fixes
45 The pkg-config file was setting an incorrect include directory in it's
46 Cflags. This is now fixed.
47
48 ** C++ Compatibility
49 The public headers are now guarded by extern "C" {} wrappers, so that
50 they can be included in C++ projects.
51
52 ** Performance enhancements
53 A minor performance issue was corrected in the BSON code, that had the
54 possibility of forcing unneccessary memory allocations. The library
55 now allocates the proper amount of memory at the soonest time
56 possible, so it doesn't have to grow it later on unnecessarily.
57
58 Anoter performance issue was corrected in the BSON library:
59 bson_find() was comparing key names in BSON objects with the sought
60 for key using strcmp(), which was unacceptably slow when dealing with
61 BSON objects that have a lot of keys. We now use memcmp(), which means
62 we don't have to traverse the sought for key all the time.
63
f4ae2c0 @algernon Preparing for 0.0.2.
authored
64 * 0.0.2 - <2011-05-07 Sat>
2d0a7fd @algernon NEWS: Started adding 0.0.2 items.
authored
65
66 ** Replica set seeding support
67 It is now possible to add seeds to a connection, so that the library
68 can try connecting to those in case automatic discovery fails (or if
69 the seeds are hidden).
70
71 ** Failover redesign
72 Instead of preemptively pinging & checking for a master before each
73 and every command, the library does so only upon errors. This way,
74 when everything's working as expected, there is no extra
75 overhead. Yet, if things go wrong, failover will still work.
76
77 By design, automatic failover only occurs when an error is detected
78 during a write operation. When an error occurs during read, it will be
79 propagated back to the application.
80
81 Automatic failover is disabled by default, and can be turned on via
82 the mongo_sync_conn_set_auto_reconnect() function.
83
84 ** safe-mode support
85 With safe mode enabled, extra care will be taken to ensure that data
86 gets to the server, and that the library does everything within its
87 power to maintain a connection.
88
89 This means that after insert and update operations, the library will
90 issue a getLastError command, and only return successfully if that
91 command did not signal an error.
92
93 Safe-mode also enables the previously default preemptive connection
94 checks (along with the post-mortem failover).
95
96 Safe-mode is off by default.
97
f4ae2c0 @algernon Preparing for 0.0.2.
authored
98 * 0.0.1 - <2011-04-10 Sun>
9a5c674 @algernon Preparing for v0.0.1.
authored
99
100 Initial public release.
Something went wrong with that request. Please try again.