<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>ksql version feed</title>
	<link href="https://kristaps.bsd.lv/ksql/atom.xml" rel="self" />
	<link href="https://kristaps.bsd.lv/ksql" />
	<id>tag:kristaps.bsd.lv,2013:/ksql/atom.xml</id>
	<updated>2018-12-28T00:00:00Z</updated>
	<entry><id>tag:kristaps.bsd.lv,2018-12-28:/ksql/versions.xml</id>
<updated>2018-12-28T00:00:00Z</updated>
<title>0.3.5</title>
<author><name>Kristaps Dzonsons</name></author>
<content type="html">
			&lt;p&gt;
				Fix which functions are deprecated.
				The &lt;q&gt;bind&lt;/q&gt; functions are not&amp;#8212;the &lt;q&gt;stmt&lt;/q&gt; functions 
				(which return data without checking type) are.
				No functional change.
			&lt;/p&gt;
			&lt;p&gt;
				Sync with latest 
				&lt;a href=&quot;https://github.com/kristapsdz/oconfigure&quot;&gt;oconfigure&lt;/a&gt; 
				and test compiling on Linux (musl, glibc), FreeBSD, and of course
				the origin system OpenBSD.
				No functional change.
			&lt;/p&gt;
		</content></entry>
	<entry><id>tag:kristaps.bsd.lv,2018-12-17:/ksql/versions.xml</id>
<updated>2018-12-17T00:00:00Z</updated>
<title>0.3.4</title>
<author><name>Kristaps Dzonsons</name></author>
<content type="html">
			&lt;p&gt;
				Complete &lt;a href=&quot;https://www.musl-libc.org/&quot;&gt;musl&lt;/a&gt; work, at
				least with &lt;code&gt;musl-gcc&lt;/code&gt; on Debian.
				Finally mark unsafe functions as being deprecated.
			&lt;/p&gt;
		</content></entry>
	<entry><id>tag:kristaps.bsd.lv,2018-12-16:/ksql/versions.xml</id>
<updated>2018-12-16T00:00:00Z</updated>
<title>0.3.3</title>
<author><name>Kristaps Dzonsons</name></author>
<content type="html">
			&lt;p&gt;
				Build compatibility with 
				&lt;a href=&quot;https://www.musl-libc.org/&quot;&gt;musl&lt;/a&gt; and sync with
				newest 
				&lt;a href=&quot;https://github.com/kristapsdz/oconfigure&quot;&gt;oconfigure&lt;/a&gt;.
				No code change beyond that.
			&lt;/p&gt;
		</content></entry>
	<entry><id>tag:kristaps.bsd.lv,2018-05-09:/ksql/versions.xml</id>
<updated>2018-05-09T00:00:00Z</updated>
<title>0.3.2</title>
<author><name>Kristaps Dzonsons</name></author>
<content type="html">
			&lt;p&gt;
				Add the &lt;a href=&quot;ksql_result_double.3.html&quot;&gt;ksql_result_double(3)&lt;/a&gt;
				family of functions.
				These will replace the existing &lt;a href=&quot;ksql_stmt_double.3.html&quot;&gt;ksql_stmt_double(3)&lt;/a&gt;
				family with safe versions.
				Specifically, the functions return an error code (if not exiting
				with errors) that check for null values and columns outside of the
				result range.
			&lt;/p&gt;
		</content></entry>
	<entry><id>tag:kristaps.bsd.lv,2018-04-26:/ksql/versions.xml</id>
<updated>2018-04-26T00:00:00Z</updated>
<title>0.3.1</title>
<author><name>Kristaps Dzonsons</name></author>
<content type="html">
			&lt;p&gt;
				Make sure that one cannot bind a parameter to an invalid index.
				These now cause the bind functions (see &lt;a href=&quot;ksql_bind_double.3.html&quot;&gt;ksql_bind_double(3)&lt;/a&gt; and
				friends) to return &lt;code&gt;KSQL_BINDPARAM&lt;/code&gt;.
			&lt;/p&gt;
			&lt;p&gt;
				&lt;strong&gt;API change&lt;/strong&gt;: have &lt;a href=&quot;ksql_trace.3.html&quot;&gt;ksql_trace(3)&lt;/a&gt; and &lt;a href=&quot;ksql_untrace.3.html&quot;&gt;ksql_untrace(3)&lt;/a&gt; return proper
				error codes.
			&lt;/p&gt;
			&lt;p&gt;
				Document &lt;a href=&quot;https://man.openbsd.org/pledge.2&quot;&gt;pledge(2)&lt;/a&gt;
				promises in &lt;a href=&quot;ksql.3.html&quot;&gt;ksql(3)&lt;/a&gt;.
			&lt;/p&gt;
			&lt;p&gt;
				A nice fix due to &lt;a href=&quot;https://github.com/kristapsdz/ksql/issues/7&quot;&gt;issues/7&lt;/a&gt;
				as investigated by schwarze@: allow running without
				&lt;code&gt;/dev/null&lt;/code&gt; at all.  Yay!
			&lt;/p&gt;
			&lt;p&gt;
				The fixes in this release were implemented or suggested by Ingo
				Schwarze (&lt;q&gt;schwarze@&lt;/q&gt;) in an audit generously funded by CAPEM
				Solutions, Inc.  
				Thank you so much!
			&lt;/p&gt;
		</content></entry>
	<entry><id>tag:kristaps.bsd.lv,2018-03-21:/ksql/versions.xml</id>
<updated>2018-03-21T00:00:00Z</updated>
<title>0.3.0</title>
<author><name>Kristaps Dzonsons</name></author>
<content type="html">
			&lt;p&gt;
				Minor release bump: this is because I've added a new field to
				&lt;code&gt;struct ksqlrole&lt;/code&gt; to specify whether a role is allowed to
				run &lt;a href=&quot;ksql_open.3.html&quot;&gt;ksql_open(3)&lt;/a&gt;.
				This plugs a hole of arbitrary roles being able to close out the
				database, then open another one.
			&lt;/p&gt;
			&lt;p&gt;
				Merge documentation and error-path patches by &lt;a href=&quot;https://github.com/cornett&quot;&gt;cornett&lt;/a&gt;&amp;#8212;thank
				you!
			&lt;/p&gt;
			&lt;p&gt;
				The remaining fixes in this release were implemented or suggested by Ingo
				Schwarze (&lt;q&gt;schwarze@&lt;/q&gt;) in an audit generously funded by CAPEM
				Solutions, Inc.  Thank you so much!
			&lt;/p&gt;
			&lt;p&gt;
				Mention correct headers (erring on the side of caution) in documentation.
			&lt;/p&gt;
			&lt;p&gt;
				Have security issues (e.g., transition to a disallowed role) result
				in a log message directly to &lt;code&gt;stderr&lt;/code&gt; and terminating the application.
				Earlier, there was no log message.
			&lt;/p&gt;
			&lt;p&gt;
				Fix up the &lt;a href=&quot;ksql_lastid.3.html&quot;&gt;ksql_lastid(3)&lt;/a&gt; function
				and manpage to handle boundary conditions and include an example.
			&lt;/p&gt;
			&lt;p&gt;
				&lt;strong&gt;API change&lt;/strong&gt;: earlier, &lt;a href=&quot;ksql_open.3.html&quot;&gt;ksql_open(3)&lt;/a&gt; would close out
				existing databases before opening.  Now it errors out, requiring the
				caller to close the database manually.
				Also, add a field to &lt;code&gt;struct ksqlrole&lt;/code&gt; that inhibits a
				role's ability to open a database.
			&lt;/p&gt;
			&lt;p&gt;
				When binding blobs or text, the application now internally copies
				the buffer.  This allows callers to discard the memory buffer
				immediately after binding it, without needing to wait until the
				statement is finalised.
			&lt;/p&gt;
		</content></entry>
	<entry><id>tag:kristaps.bsd.lv,2018-03-09:/ksql/versions.xml</id>
<updated>2018-03-09T00:00:00Z</updated>
<title>0.2.5</title>
<author><name>Kristaps Dzonsons</name></author>
<content type="html">
			&lt;p&gt;
				Fix a memory leak in &lt;a href=&quot;ksql_open.3.html&quot;&gt;ksql_open(3)&lt;/a&gt; if
				the system spins on a failed opening of the database.
				Also fix a possible error when closing the database fails, then a
				log message follows that might re-invoke the closed database.
			&lt;/p&gt;
			&lt;p&gt;
				The fixes in this release were implemented or suggested by Ingo
				Schwarze (&lt;q&gt;schwarze@&lt;/q&gt;) in an audit generously funded by CAPEM
				Solutions, Inc.  
				Thank you so much!
			&lt;/p&gt;
		</content></entry>
	<entry><id>tag:kristaps.bsd.lv,2018-02-01:/ksql/versions.xml</id>
<updated>2018-02-01T00:00:00Z</updated>
<title>0.2.4</title>
<author><name>Kristaps Dzonsons</name></author>
<content type="html">
			&lt;p&gt;
				Back out debugging code accidentally left in release version.
				No change to functionality except an error message on &lt;code&gt;stderr&lt;/code&gt;.
			&lt;/p&gt;
			&lt;p&gt;
				Also use &lt;code&gt;abort&lt;/code&gt; instead of &lt;code&gt;assert&lt;/code&gt; for
				run-time failures in roles or statements.
			&lt;/p&gt;
		</content></entry>
	<entry><id>tag:kristaps.bsd.lv,2018-01-31:/ksql/versions.xml</id>
<updated>2018-01-31T00:00:00Z</updated>
<title>0.2.3</title>
<author><name>Kristaps Dzonsons</name></author>
<content type="html">
			&lt;p&gt;
				Show &lt;a href=&quot;atom.xml&quot;&gt;atom&lt;/a&gt; feed.
				No functional change to any code or documentation.
			&lt;/p&gt;
		</content></entry>
	<entry><id>tag:kristaps.bsd.lv,2018-01-30:/ksql/versions.xml</id>
<updated>2018-01-30T00:00:00Z</updated>
<title>0.2.2</title>
<author><name>Kristaps Dzonsons</name></author>
<content type="html">
			&lt;p&gt;
				Add full RBAC capability.
				(Still somewhat experimental&amp;#8230;)
				See &lt;a href=&quot;ksql_role.3.html&quot;&gt;ksql_role(3)&lt;/a&gt; and &lt;a href=&quot;ksql_cfg_defaults.3.html&quot;&gt;ksql_cfg_defaults(3)&lt;/a&gt; for
				details.
			&lt;/p&gt;
		</content></entry>
	<entry><id>tag:kristaps.bsd.lv,2018-01-25:/ksql/versions.xml</id>
<updated>2018-01-25T00:00:00Z</updated>
<title>0.2.1</title>
<author><name>Kristaps Dzonsons</name></author>
<content type="html">
			&lt;p&gt;
				Fix installed manpages.
				Move the check of stored statements (see &lt;a href=&quot;ksql_cfg_defaults.3.html&quot;&gt;ksql_cfg_defaults(3)&lt;/a&gt;)
				into the child process of split processes.
				This ensures that protection occurs outside of the area of influence
				of the caller.
			&lt;/p&gt;
		</content></entry>
</feed>

