@@ -124,3 +124,329 @@ Thanks to Petter A. Urkedal for the patch.
124124## 4.1.0 (2017-08-02)
125125
126126- Switched to jbuilder and topkg
127+
128+ ## Changes Before Version 4.1.0
129+
130+ ``` text
131+ 2016-02-12: Fixed GTK-example to make it compile again.
132+
133+ Thanks to Jonathan Curran for the patch.
134+
135+ 2016-02-11: Improved the notification API (conn#notifies).
136+
137+ Thanks to Jonathan Curran for the initial patch.
138+
139+ 2015-12-18: Fixed a GC-bug when unescaping with "unescape_bytea".
140+
141+ Thanks to Sebastien Mondet for the bug report and for testing
142+ the patch.
143+
144+ 2015-07-10: Fixed a GC-bug in PQconndefaults_stub.
145+
146+ Thanks to Roven Gabriel for the patch.
147+
148+ 2015-03-27: Added methods ftype_oid and paramtype_oid and fixed a minor bug.
149+
150+ Thanks to Tomohiro Matsuyama for the patches.
151+
152+ 2015-03-26: Added support for JSON and JSONB field types.
153+
154+ Thanks to Tomohiro Matsuyama for the patch.
155+
156+ 2015-01-28: New major release: improved handling of asynchronous operations.
157+ This required an API-change to the "flush" method.
158+
159+ Thanks to Max Wolter from Jane Street Capital for the patch.
160+
161+ 2014-10-29: Fixed an installation problem due to a missing internal module.
162+
163+ 2014-10-23: Fixed string handling for new OCaml version 4.02 (String/Bytes
164+ modules). Requires new findlib version (>= 1.5).
165+
166+ 2014-08-14: Even more new asynchronous methods:
167+
168+ * optional [startonly] flag for creating asynchronous connections
169+ * connect_poll
170+ * reset_start
171+ * reset_poll
172+
173+ And also:
174+
175+ * set_single_row_mode
176+
177+ Thanks to Petter Urkedal <[email protected] > for these 178+ contributions.
179+
180+ 2014-08-10: New asynchronous methods:
181+
182+ * send_describe_prepared
183+ * send_describe_portal
184+
185+ Thanks to Petter Urkedal <[email protected] > for these 186+ contributions.
187+
188+ 2014-03-10: New asynchronous methods:
189+
190+ * send_prepare
191+ * send_query_prepared
192+
193+ Thanks to Petter Urkedal <[email protected] > for these 194+ contributions.
195+
196+ 2013-07-08: Fixed a version discovery problem with beta versions of
197+ PostgreSQL.
198+
199+ Thanks to Stephane Legrand <[email protected] > for the patch. 200+
201+ 2012-07-20: Downgraded findlib version constraint to support the Debian
202+ testing branch.
203+
204+ 2012-07-15: New major release version 2.0.0:
205+
206+ * Upgraded to OCaml 4.00
207+ * Switched to Oasis for packaging
208+ * Switched to OCamlBuild for the build process
209+ * Rewrote README in Markdown
210+ * Added stricter compilation flags
211+ * Fixed broken copy_out method
212+
213+ 2012-01-10: Added new function:
214+
215+ * Postgresql.get_escaped_value
216+
217+ Thanks to Jonathan Derque <[email protected] > for the 218+ patch.
219+
220+ 2011-12-29: Fixed a memory allocation bug getting values of binary format.
221+
222+ Thanks to Igor Plotnikov <[email protected] > for the patch. 223+
224+ 2011-05-23: Fixed conndefaults bindings some more due to unclear PostgreSQL
225+ documentation.
226+
227+ Thanks to Vijai Lulla <[email protected] > for the bug report. 228+
229+ 2011-05-21: Fixed GC bug in conndefaults function.
230+
231+ Thanks to Vijai Lulla <[email protected] > for the bug report. 232+
233+ 2010-12-25: Added support for the new bytea hex format in PostgreSQL 9.0.
234+
235+ Thanks to Alain Frisch <[email protected] > for the initial patch. 236+
237+ 2010-12-08: Fixed findlib linking problem with bigarrays.
238+
239+ 2010-10-17: Added better support for prepared statements.
240+
241+ Added support for zero-copy I/O with large objects.
242+
243+ Thanks to Chris King <[email protected] > for the above two 244+ patches.
245+
246+ Improved handling of sizes in C-bindings.
247+
248+ 2010-03-17: Fixed small copy_out bug.
249+
250+ 2010-02-17: Signal an error at link time if multi-threading support is
251+ not available.
252+
253+ Thanks to Guillaume Yziquel <[email protected] > 254+ for the hint.
255+
256+ 2009-10-12: Fixed example build problem.
257+
258+ 2009-10-07: Minor API change.
259+
260+ "socket" method now returns an integer instead of a
261+ Unix file descriptor to avoid type problems under
262+ Windows.
263+
264+ 2009-09-18: Fixed serious bug in new escape_string method.
265+
266+ PLEASE UPGRADE
267+
268+ 2009-09-08: API-change: deleted "escape_string" function.
269+
270+ There is now a method "escape_string" in the connection
271+ class, which is not deprecated and hence safer.
272+
273+ 2009-05-07: Significant improvements to thread-safety.
274+
275+ 2009-01-16: Added missing null parameter.
276+
277+ Thanks to Alain Frisch <[email protected] > for the patch. 278+
279+ 2009-01-15: Addes support for specifying binary parameters in queries.
280+
281+ Thanks to Alain Frisch <[email protected] > for the patch. 282+
283+ 2009-01-05: Switched to generational global root registration of
284+ callbacks for better performance.
285+
286+ Requires OCaml 3.11 or higher.
287+
288+ 2008-10-25: Fixed portability problem on Mac OS X.
289+
290+ 2008-09-30: Fixed bug that prevented use with PostgreSQL 8.1.
291+
292+ 2008-09-29: Added support for connection methods:
293+
294+ * describe_prepared
295+
296+ Added support for result methods:
297+
298+ * nparams
299+ * paramtype
300+
301+ Thanks to Paolo Donadeo <[email protected] > for the 302+ above contributions.
303+
304+ Updated OCamlMakefile.
305+
306+ 2008-03-19: Allow commands in one query again (broken after adding support for
307+ query parameters). Updated the INSTALL file with a hint on how
308+ to solve a potential linking problem on Windows.
309+
310+ Thanks to Alain Frisch <[email protected] > for this patch 311+ and hint.
312+
313+ 2008-03-14: Merged with Jane Street Capital version (some minor
314+ cleanups).
315+
316+ 2008-03-10: Improved portability to Windows. Added support for
317+ parameters in queries. Some internal cleanups.
318+
319+ Thanks to Alain Frisch <[email protected] > for this patch. 320+
321+ 2007-03-28: Greatly improved multi-thread support.
322+
323+ Added seek options.
324+
325+ Improved documentation.
326+
327+ Updated OCamlMakefile.
328+
329+ 2007-03-28: Fixed a potential GC-bug. Updated OCamlMakefile.
330+
331+ 2007-03-19: Updated OCamlMakefile.
332+
333+ 2007-03-19: Fixed a linking problem on Mac OS X.
334+
335+ Thanks to Leonardo Cecchi <[email protected] > 336+ for the hint.
337+
338+ 2007-01-08: Fixed a build problem related to a bug in OCamlMakefile.
339+
340+ Thanks to Anastasia Gornostaeva <[email protected] > 341+ for the hint.
342+
343+ 2007-01-08: Fixed a build problem with non-standard locations of PostgreSQL.
344+
345+ Thanks to Anastasia Gornostaeva <[email protected] > 346+ for the patch.
347+
348+ 2006-11-22: Updated OCamlMakefile.
349+
350+ 2006-11-08: Upgraded prompt_gtk to LablGTK2.
351+
352+ Tightened compilation warnings.
353+
354+ Removed superfluous linking option.
355+
356+ Replaced obsolete escaping method, and added calls to
357+ PQfreemem required on Windows.
358+
359+ 2006-09-15: Updated OCamlMakefile.
360+
361+ 2006-08-17: Automatically fetch compiler and linker flags for the local
362+ PostgreSQL-installation for simpler installation. Thanks to
363+ Vincenzo Ciancia <[email protected] > for the hint. 364+
365+ 2006-07-21: Fixed GC-bug.
366+
367+ 2006-06-08: Fixed GC-bugs.
368+
369+ 2006-01-24: Added support for accessing binary fields.
370+
371+ 2005-05-31: Fixed some uncleanliness reported by Saffire (an FFI-type
372+ checker).
373+
374+ 2005-03-22: Small internal improvement.
375+
376+ 2004-12-28: Fixed a potential compilation problem.
377+
378+ 2004-12-20: Fixed a bug in the "escape_bytea"-function: escaped strings
379+ contained an extra null character.
380+
381+ Thanks to Christophe Troestler
382+ <[email protected] > for the bug report. 383+
384+ Updated OCamlMakefile.
385+
386+ 2004-08-26: Small internal code-improvement.
387+
388+ 2004-08-05: Significant improvements: the oid type is now revealed as int in
389+ the interface. The "ftype"-method now returns the new type
390+ "ftype". The latter lists 60 constructors, which specify the
391+ types of fields.
392+
393+ The change comes with new conversion functions:
394+
395+ * ftype_of_oid
396+ * oid_of_ftype
397+ * string_of_ftype
398+ * ftype_of_string
399+
400+ And with new exceptions:
401+
402+ * exception Oid of oid
403+ * exception InternalError of string
404+
405+ 2004-08-02: Fixed two serious thread-related bugs.
406+
407+ 2004-07-14: Minor update for OCaml-3.08.
408+
409+ Updated OCamlMakefile.
410+
411+ 2004-07-06: Added an example "cursor" that demonstrates the use of
412+ cursors.
413+
414+ 2004-06-29: Fixed an off-by-one error in method "get_all_lst".
415+ Thanks to Anil Madhavapeddy <[email protected] > for the patch. 416+
417+ Updated OCamlMakefile.
418+
419+ 2004-04-27: Updated OCamlMakefile.
420+
421+ 2004-04-13: Fixed a problem with backwards compatibility with older
422+ OCaml-versions that do not yet use the caml-namespace (identifiers
423+ not yet prefixed with "caml_").
424+
425+ 2004-02-21: Added CAMLprim in the C-interface where appropriate.
426+
427+ 2004-02-08: Fixed minor bugs with returning unit values from C.
428+ Made C-interface compile with pedantic compiler settings.
429+
430+ 2004-01-29: Some major changes to interface to use or improve handling
431+ of default arguments. Effected methods:
432+
433+ * escape_string
434+ * escape_bytea
435+ * getline
436+ * getline_async
437+ * putnbytes
438+ * lo_write
439+ * lo_read
440+ * lo_seek
441+
442+ Removed methods (obsolete due to default arguments - use
443+ "lo_write" instead):
444+
445+ * lo_write_string
446+
447+ Added functions:
448+
449+ * unescape_bytea
450+
451+ 2004-01-28: First release.
452+ ```
0 commit comments