summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGergely Nagy <algernon@balabit.hu>2012-08-11 01:30:51 +0200
committerGergely Nagy <algernon@balabit.hu>2012-08-11 01:30:51 +0200
commiteb9ba5414594d938790e125caed24e829e485788 (patch)
treed3fdd8e4282cc299e7caba3bc1cf6e8f3f145bd4
parent1dfe00133e63764ece587ba75084dcf275bb22ab (diff)
downloadlibumberlog-eb9ba5414594d938790e125caed24e829e485788.tar.gz
libumberlog-eb9ba5414594d938790e125caed24e829e485788.tar.xz
libumberlog-eb9ba5414594d938790e125caed24e829e485788.zip
Preparations for 0.3.0.
The next version will be 0.3.0, due to the significant - and incompatible - changes made so far. Signed-off-by: Gergely Nagy <algernon@balabit.hu>
-rw-r--r--NEWS46
-rw-r--r--lib/libumberlog.ld2
2 files changed, 43 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index f148b6b..fba5218 100644
--- a/NEWS
+++ b/NEWS
@@ -1,16 +1,54 @@
#+STARTUP: indent showall -*- org -*-
-* 0.2.2 - UNRELEASED
+* 0.3.0 - UNRELEASED
This release is is heavily based on the work of Miloslav Trmač
-<mitr@redhat.com>, with minor edits outside of his contributions.
+<mitr@redhat.com>, many thanks for his contributions!
-** Performance improvements
+** API/ABI breaking changes
+
+*** The library was split into two variants
+
+There is now an LD_PRELOAD variant (libumberlog_preload.so), and a
+library applications can link to. The former has overrides for the
+syslog() family of functions, the latter does not.
+
+See the documentation on what other differences there are between the
+two!
+
+*** The LOG_UL_NODISCOVER flag was renamed to LOG_UL_NOIMPLICIT
+
+The term "discover" wasn't entirely clear, and did not correctly
+reflect what goes on anyway. For this reason, it was renamed to
+LOG_UL_NOIMPLICIT.
+
+*** New function: ul_set_log_flags()
+
+Instead of being able to set flags via (ul_)openlog(), all flags must
+be set from this version forward with ul_set_log_flags().
+
+The LD_PRELOAD variant will ship with all flags enabled by default, so
+that automatically discovered fields can be added implicitly.
+
+*** Settings and caches are now per-process, not per-thread
+
+Settings formerly set via ul_openlog() and cached values were
+thread-local before, they are now per-process, to mimic the original
+syslog() family more closely.
+
+*** Further syslog() compatibility enhancements
+
+The ul_closelog() function does not clear the previously set flags, to
+be in line with how the original closelog() works.
+
+** Features
+
+*** Performance improvements
Significant performance improvements and internal code cleanups have
been made, resulting in some cases over 20% speed ups.
-** Support for a wider range of format strings
+*** Support for a wider range of format strings
On glibc-based platforms, the library now uses parse_printf_format(),
to support a far wider range of format strings than the old code
diff --git a/lib/libumberlog.ld b/lib/libumberlog.ld
index 5b59d9d..351b199 100644
--- a/lib/libumberlog.ld
+++ b/lib/libumberlog.ld
@@ -21,7 +21,7 @@ LIBUMBERLOG_0.2.1 {
ul_closelog;
} LIBUMBERLOG_0.1.0;
-LIBUMBERLOG_0.2.2 {
+LIBUMBERLOG_0.3.0 {
global:
ul_set_log_flags;
} LIBUMBERLOG_0.2.1;