Skip to content

Commit

Permalink
Release v3.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
  • Loading branch information
kozlovic committed Aug 3, 2021
1 parent e00b249 commit afa9fa8
Show file tree
Hide file tree
Showing 273 changed files with 22,616 additions and 3,113 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -235,7 +235,7 @@ endif(NATS_BUILD_WITH_TLS)
set(NATS_VERSION_MAJOR 3)
set(NATS_VERSION_MINOR 0)
set(NATS_VERSION_PATCH 0)
set(NATS_VERSION_SUFFIX "-beta")
set(NATS_VERSION_SUFFIX "")

set(NATS_VERSION_REQUIRED_NUMBER 0x030000)

Expand Down
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -9,7 +9,7 @@ This NATS Client implementation is heavily based on the [NATS GO Client](https:/
[![License Apache 2](https://img.shields.io/badge/License-Apache2-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Build Status](https://travis-ci.com/nats-io/nats.c.svg?branch=main)](https://travis-ci.com/github/nats-io/nats.c)
[![Coverage Status](https://coveralls.io/repos/github/nats-io/nats.c/badge.svg?branch=main)](https://coveralls.io/github/nats-io/nats.c?branch=main)
[![Release](https://img.shields.io/badge/release-v2.6.0-blue.svg?style=flat)](https://github.com/nats-io/nats.c/releases/tag/v2.6.0)
[![Release](https://img.shields.io/badge/release-v3.0.0-blue.svg?style=flat)](https://github.com/nats-io/nats.c/releases/tag/v3.0.0)
[![Documentation](https://img.shields.io/badge/doc-Doxygen-brightgreen.svg?style=flat)](http://nats-io.github.io/nats.c)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/nats-io/nats.c.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/nats-io/nats.c/alerts/)
[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/nats-io/nats.c.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/nats-io/nats.c/context:cpp)
Expand Down Expand Up @@ -425,7 +425,8 @@ onMsg(natsConnection *nc, natsSubscription *sub, natsMsg *msg, void *closure)
## JetStream
Support for JetStream starts with the version `v3.0.0` of the library and NATS Server `v2.2.0+`, although getting JetStream
specific error codes requires the server at version `v2.3.0+`.
specific error codes requires the server at version `v2.3.0+`. Some of the configuration options are only available starting `v2.3.3`,
so we recommend that you use the latest NATS Server release to have a better experience.
Look at examples named `js-xxx.c` in the `examples` directory for examples on how to use the API.
The new objects and APIs are full documented in the online [documentation](http://nats-io.github.io/nats.c/group__js_group.html).
Expand Down
2 changes: 1 addition & 1 deletion doc/DoxyFile.NATS.Client
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "NATS C Client with JetStream and Streaming support"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 3.0.0-beta
PROJECT_NUMBER = 3.0.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
134 changes: 134 additions & 0 deletions doc/html/annotated.html
@@ -0,0 +1,134 @@
<!-- HTML header for doxygen 1.8.10-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<title>NATS C Client with JetStream and Streaming support: Class List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;" >
<div id="projectname">NATS C Client with JetStream and Streaming support
&#160;<span id="projectnumber">3.0.0</span>
</div>
<div id="projectbrief">The nats.io C Client, Supported by Synadia Communications Inc.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('annotated.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
<div class="headertitle">
<div class="title">Class List</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span><span onclick="javascript:toggleLevel(3);">3</span>]</div><table class="directory">
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_account_info.html" target="_self">jsAccountInfo</a></td><td class="desc"></td></tr>
<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_account_limits.html" target="_self">jsAccountLimits</a></td><td class="desc"></td></tr>
<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_a_p_i_stats.html" target="_self">jsAPIStats</a></td><td class="desc"></td></tr>
<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_cluster_info.html" target="_self">jsClusterInfo</a></td><td class="desc"></td></tr>
<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_consumer_config.html" target="_self">jsConsumerConfig</a></td><td class="desc"></td></tr>
<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_consumer_info.html" target="_self">jsConsumerInfo</a></td><td class="desc"></td></tr>
<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_consumer_sequence_mismatch.html" target="_self">jsConsumerSequenceMismatch</a></td><td class="desc"></td></tr>
<tr id="row_7_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_external_stream.html" target="_self">jsExternalStream</a></td><td class="desc"></td></tr>
<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_lost_stream_data.html" target="_self">jsLostStreamData</a></td><td class="desc"></td></tr>
<tr id="row_9_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_msg_meta_data.html" target="_self">jsMsgMetaData</a></td><td class="desc"></td></tr>
<tr id="row_10_" class="even"><td class="entry"><span style="width:0px;display:inline-block;">&#160;</span><span id="arr_10_" class="arrow" onclick="toggleFolder('10_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_options.html" target="_self">jsOptions</a></td><td class="desc"></td></tr>
<tr id="row_10_0_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_options_1_1js_options_publish_async.html" target="_self">jsOptionsPublishAsync</a></td><td class="desc"></td></tr>
<tr id="row_10_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_10_1_" class="arrow" onclick="toggleFolder('10_1_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_options_1_1js_options_stream.html" target="_self">jsOptionsStream</a></td><td class="desc"></td></tr>
<tr id="row_10_1_0_"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_options_1_1js_options_stream_1_1js_options_stream_info.html" target="_self">jsOptionsStreamInfo</a></td><td class="desc"></td></tr>
<tr id="row_10_1_1_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_options_1_1js_options_stream_1_1js_options_stream_purge.html" target="_self">jsOptionsStreamPurge</a></td><td class="desc"></td></tr>
<tr id="row_11_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_peer_info.html" target="_self">jsPeerInfo</a></td><td class="desc"></td></tr>
<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_placement.html" target="_self">jsPlacement</a></td><td class="desc"></td></tr>
<tr id="row_13_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_pub_ack.html" target="_self">jsPubAck</a></td><td class="desc"></td></tr>
<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_pub_ack_err.html" target="_self">jsPubAckErr</a></td><td class="desc"></td></tr>
<tr id="row_15_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_pub_options.html" target="_self">jsPubOptions</a></td><td class="desc"></td></tr>
<tr id="row_16_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_sequence_pair.html" target="_self">jsSequencePair</a></td><td class="desc"></td></tr>
<tr id="row_17_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_stream_config.html" target="_self">jsStreamConfig</a></td><td class="desc"></td></tr>
<tr id="row_18_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_stream_info.html" target="_self">jsStreamInfo</a></td><td class="desc"></td></tr>
<tr id="row_19_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_stream_source.html" target="_self">jsStreamSource</a></td><td class="desc"></td></tr>
<tr id="row_20_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_stream_source_info.html" target="_self">jsStreamSourceInfo</a></td><td class="desc"></td></tr>
<tr id="row_21_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_stream_state.html" target="_self">jsStreamState</a></td><td class="desc"></td></tr>
<tr id="row_22_" class="even"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structjs_sub_options.html" target="_self">jsSubOptions</a></td><td class="desc"></td></tr>
<tr id="row_23_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="structnats_msg_list.html" target="_self">natsMsgList</a></td><td class="desc">A list of NATS messages </td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.10-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">NATS.IO Supported By Synadia Communications Inc.
<a href="http://www.nats.io">
</a></li>
</ul>
</div>
</body>
</html>
27 changes: 27 additions & 0 deletions doc/html/annotated_dup.js
@@ -0,0 +1,27 @@
var annotated_dup =
[
[ "jsAccountInfo", "structjs_account_info.html", "structjs_account_info" ],
[ "jsAccountLimits", "structjs_account_limits.html", "structjs_account_limits" ],
[ "jsAPIStats", "structjs_a_p_i_stats.html", "structjs_a_p_i_stats" ],
[ "jsClusterInfo", "structjs_cluster_info.html", "structjs_cluster_info" ],
[ "jsConsumerConfig", "structjs_consumer_config.html", "structjs_consumer_config" ],
[ "jsConsumerInfo", "structjs_consumer_info.html", "structjs_consumer_info" ],
[ "jsConsumerSequenceMismatch", "structjs_consumer_sequence_mismatch.html", "structjs_consumer_sequence_mismatch" ],
[ "jsExternalStream", "structjs_external_stream.html", "structjs_external_stream" ],
[ "jsLostStreamData", "structjs_lost_stream_data.html", "structjs_lost_stream_data" ],
[ "jsMsgMetaData", "structjs_msg_meta_data.html", "structjs_msg_meta_data" ],
[ "jsOptions", "structjs_options.html", "structjs_options" ],
[ "jsPeerInfo", "structjs_peer_info.html", "structjs_peer_info" ],
[ "jsPlacement", "structjs_placement.html", "structjs_placement" ],
[ "jsPubAck", "structjs_pub_ack.html", "structjs_pub_ack" ],
[ "jsPubAckErr", "structjs_pub_ack_err.html", "structjs_pub_ack_err" ],
[ "jsPubOptions", "structjs_pub_options.html", "structjs_pub_options" ],
[ "jsSequencePair", "structjs_sequence_pair.html", "structjs_sequence_pair" ],
[ "jsStreamConfig", "structjs_stream_config.html", "structjs_stream_config" ],
[ "jsStreamInfo", "structjs_stream_info.html", "structjs_stream_info" ],
[ "jsStreamSource", "structjs_stream_source.html", "structjs_stream_source" ],
[ "jsStreamSourceInfo", "structjs_stream_source_info.html", "structjs_stream_source_info" ],
[ "jsStreamState", "structjs_stream_state.html", "structjs_stream_state" ],
[ "jsSubOptions", "structjs_sub_options.html", "structjs_sub_options" ],
[ "natsMsgList", "structnats_msg_list.html", "structnats_msg_list" ]
];

0 comments on commit afa9fa8

Please sign in to comment.