Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please tag releases #113

Closed
onlyjob opened this issue Oct 27, 2015 · 17 comments
Closed

Please tag releases #113

onlyjob opened this issue Oct 27, 2015 · 17 comments

Comments

@onlyjob
Copy link

onlyjob commented Oct 27, 2015

Formal releases are useful to define dependency relationships.
3rd party developers would be able to bundle somewhat "stable" version of your software instead of just top of "master".
Also it is helpful for downstream maintainers for numerous reasons.

Please consider tagging. Thanks.

@ugorji
Copy link
Owner

ugorji commented Oct 28, 2015

Agreed. It's something I was planning to do once I finish this last set of changes/clean ups and things settle down. I still want to add XML support before declaring a new version, but I will update this issue with my thoughts sometime in the next few weeks.

@onlyjob
Copy link
Author

onlyjob commented Oct 28, 2015

Thanks. :-)

@aviau
Copy link

aviau commented Mar 20, 2016

I am the Debian Maintainer for ugorji/go and versioning would help Debian keep up with development.

@ugorji
Copy link
Owner

ugorji commented Mar 20, 2016

Thanks.

I plan to tag it first week of April with a 1.1 release, if no issues come up before then. I know there's no 1.0, but 1.0 has arguably been live for the last few years.

@onlyjob
Copy link
Author

onlyjob commented Mar 20, 2016

@erwbgy
Copy link

erwbgy commented Apr 12, 2016

Pretty please? Having a release will make it much easier for me to start using this software.

@disktnk
Copy link

disktnk commented Sep 25, 2016

In the commit, 5099b68 , reflect.ArrayOf is used and the reflection function is supported from Go1.5 , so we cannot build master branch under Go1.4 .

So, tagging release is very useful.

@ugorji
Copy link
Owner

ugorji commented Sep 28, 2016

@disktnk please file a bug for this next time, so we track a fix, separate from the issue of tagging the releases. I agree - the tagging is still very important.

I will send a fix shortly.

ugorji added a commit that referenced this issue Sep 28, 2016
Consequently, Now, PreferArrayOverSlice is only applicable from go 1.5 and beyond.

Updates #113
@disktnk
Copy link

disktnk commented Sep 28, 2016

Very thanks for dealing with the build failure.

I didn't make decision that the failure is bug or not, because it's not clear that which Go version go/codec supports and I don't know // +build go1.5 phrase. I'll report as issue next time if I have.

@markgoodhead
Copy link

Bump for this - we've just identified a recent change to master here which had a dramatic effect (negatively) on our application RPC performance and don't yet know which commits to master have done this.

@ugorji
Copy link
Owner

ugorji commented Nov 9, 2017

@markgoodhead can you file an issue?

I know I removed buffering from the RPC codebase, as it forced the potential consumption of more bytes than necessary. To manage this, we exposed a BufferedReader and BufferedWriter accessors. This wasn't a good design.

I will add a NewReadWriteCloser function that takes a buf size and allows you create a bufio wrapper and pass that in. Hopefully that works for you.

I will be willing to tag a release at end of year.

ugorji added a commit that referenced this issue Nov 9, 2017
Previously, we internally created buffered reader and writer off the passed io.ReadWriteCloser
got from the socket connection. This is limiting, as it might read more bytes than is necessary
for the stream into an internal buffer that the user is not aware of.

Instead, we now just use the ReadWriteCloser as is, and ask the user to explicitly pass a
buffered ReadWriteCloser if desired.

To assist, we provide a ReadWriteCloser implementation that can be buffered
(see NewReadWriteCloser function).

Typical use-case can now be:

   var conn io.ReadWriteCloser // connection got from a socket
   conn2 := codec.NewReadWriteCloser(conn, conn, 1024, 1024) // wrapped in 1024-byte bufer
   var h = GoRpc.ServerCodec(conn2, handle)

Updates #113
Fixes #216
@ugorji
Copy link
Owner

ugorji commented Nov 9, 2017

Plan is to tag a release before the end of the year, once things settle. I've been adding a bunch of tests and cleaning up the code over the last few weeks.

@ugorji
Copy link
Owner

ugorji commented Dec 10, 2017

v1.1-beta has been released (see https://github.com/ugorji/go/releases/tag/v.1.1-beta ). We will be releasing a final v1.1 within the next 2 weeks.

@nim-nim
Copy link

nim-nim commented Jan 16, 2018

Thank you for your work and happy new year!

Given that for some other projects vxxx-beta means 'version xxx which is a beta' please use something other than 1.1 for the final release (1.2 would be fine) !

@ugorji
Copy link
Owner

ugorji commented Jan 21, 2018

@nim-nim vxxx-beta means beta release of vxxx, after which the vxxx should come. That's the semantic versioning meaning.

@ugorji
Copy link
Owner

ugorji commented Jan 21, 2018

v1.1 is now released. See https://github.com/ugorji/go/releases/tag/v1.1

@ugorji ugorji closed this as completed Jan 21, 2018
@nim-nim
Copy link

nim-nim commented Jan 22, 2018

@ugorji every single Azure sdk release has been tagged vxxx-beta for years for example, and increasing numerals are much easier to deal with in tooling.

But, anyway, thank you for making a stable release, it's much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants