Skip to content

Tags

Tags

1.2.2-rc2

Toggle 1.2.2-rc2's commit message
GPG sign tagged release builds before publishing to Maven.

1.2.2-rc1

Toggle 1.2.2-rc1's commit message
Adjust release process to use tagged builds.

When tagging a commit with a version, override the build version with that
tag version. Stage the release to Sonatype Central (but do not immediately
publish it), and also create a .zip of all Maven artifacts for publishing
to gMaven.

This ensure that release artifacts can be published directly to Maven
repositories from GitHub, avoiding any local modifications to edit version
codes and ensuring we have clear artifact attestation for the full build
chain.

The GPG signing key has been added as a repository secret.

1.2.1

Toggle 1.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Declare volley-cronet's dependency on volley as an "api" dependency. (#…

…425)

Matches recommendation at https://docs.gradle.org/current/userguide/java_library_plugin.html. The effect is that apps depending on volley-cronet don't also need to depend on volley. This makes sense, since CronetHttpStack's public API depends on multiple Volley classes and can't be used in isolation.

1.2.1-rc1

Toggle 1.2.1-rc1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Declare volley-cronet's dependency on volley as an "api" dependency. (#…

…425)

Matches recommendation at https://docs.gradle.org/current/userguide/java_library_plugin.html. The effect is that apps depending on volley-cronet don't also need to depend on volley. This makes sense, since CronetHttpStack's public API depends on multiple Volley classes and can't be used in isolation.

1.2.0

Toggle 1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add developers stanza to Volley POM. (#400)

Based on the ZetaSketch project:
https://github.com/google/zetasketch/blob/93f3b8974acc1ef4cb470b91645f921436a830e7/build.gradle#L148
which is published to Maven Central.

See #394

1.2.0-rc1

Toggle 1.2.0-rc1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add developers stanza to Volley POM. (#400)

Based on the ZetaSketch project:
https://github.com/google/zetasketch/blob/93f3b8974acc1ef4cb470b91645f921436a830e7/build.gradle#L148
which is published to Maven Central.

See #394

1.1.1

Toggle 1.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
 Improve error message for null keys/values in getParams(). (#203)

Fixes #201

1.1.1-rc1

Toggle 1.1.1-rc1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
 Improve error message for null keys/values in getParams(). (#203)

Fixes #201

1.1.0

Toggle 1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update deploy credentials. (#122)

1.1.0-rc2

Toggle 1.1.0-rc2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Workaround memory leak in dispatchers. (#119)

* Workaround memory leak in dispatchers.

Android has a long-standing known issue where local variables aren't
explicitly cleared even when they go out of scope, which can cause
their contents to leak. Since BlockingQueue#take() blocks
forever until a new item is ready, this means the last
request will remain in memory until a new request pushes it
out. Extracting a helper method is a workaround for this - see, for
example, the following CL in the Android support lib:

https://android.googlesource.com/platform/frameworks/support/+/cd07a0cfd9c9501a03c574d2d48df51c82b73e33

The following other solutions were attempted but were not sufficient:

- Clear the variable prior to take() - optimized out because the write
  is not observable, so it has no impact on the bytecode.

- Call poll() prior to take() - for some reason, this doesn't work
  when proguard optimization is on.

With code optimization, there's no guarantee that this will work, though
we now provide a Proguard config that should prevent inlining. However, it
appears to be the best we can do and follows precedent / advice from the
ART team.

Should contain no functional changes otherwise as this is just
extracting code to a helper method, and thus should be safe for 1.1.0.

Verified against provided sample app.

Fixes #114