Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,23 @@ MAJOR=$(cat $VERSION_FILE | grep Major | grep -Eo '[0-9]*');
MINOR=$(cat $VERSION_FILE | grep Minor | grep -Eo '[0-9]*');
PATCH=$(cat $VERSION_FILE | grep Patch | grep -Eo '[0-9]*');

LAST_TAG="v$MAJOR.$MINOR.$PATCH";
if [ "$VERSION_CHANGE" = "MINOR" ]
LAST_TAG=$(git tag | tail -n 1);
RC=0;
if [ "$RELEASE_CANDIDATE" = true ]
then
RC=$(git tag | grep "v$MAJOR.$MINOR.$PATCH-rc" | wc -l | xargs || true);
fi
if [ "$VERSION_CHANGE" = "MINOR" ] && [ $RC = 0 ]
then
MINOR=$((MINOR+1));
PATCH=0;
fi;
if [ "$VERSION_CHANGE" = "PATCH" ]
if [ "$VERSION_CHANGE" = "PATCH" ] && [ $RC = 0 ]
then
PATCH=$((PATCH+1));
fi;
if [ "$RELEASE_CANDIDATE" = true ]
then
RC=$(git tag | grep "v$MAJOR.$MINOR.$PATCH-rc" | wc -l || true);
VERSION="$MAJOR.$MINOR.$PATCH-rc$RC";
else
sed -e "s/Minor = [0-9]*/Minor = $MINOR/g" -i $VERSION_FILE
Expand Down
19 changes: 17 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
- Topic Writer updated release candidate
- Topic Writer updated release candidate:
* Do not send messages that have a timeout by cancelToken.
* If your value serializer throws an exception, this will be wrapped in a WriterException with unspecified status.
* Added BufferOverflowRetryTimeoutMs to the next try write.
* Rename _disposeTokenSource -> _disposeCts.
* Optimize write worker: if (_toSendBuffer.IsEmpty) continue.
* On RPC errors create DummyWriterSession.
* Message has been skipped because its sequence number is less than or equal to the last processed server's SeqNo.
* Calculate the next sequence number from the calculated previous messages.

## v0.9.0-rc0
- Topic Writer release candidate
- Topic Writer release candidate:
* Updated CAS semantics for enqueuing in the buffer.
* Processed buffer overflow on WriteAsync.
* Setting NotStartedWriterSession with a fail reason on RPC and more errors.
* New initialization strategy for WriterSession (background task).
* Supported cancellation token for sending tasks.
* Fixed setting the SeqNo field in the message (in-flight buffer already has a seqNo) and added a check on canceled TCS.
* Using BitConverter for Serializer / Deserializer.
- Fixed: grpc requests go via proxy on Grpc.NET.Client >= 2.44

## v0.8.0
Expand Down
Loading