{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":55032373,"defaultBranch":"main","name":"okhttp-eventsource","ownerLogin":"launchdarkly","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2016-03-30T04:26:01.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/8039656?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1687893090.0","currentOid":""},"activityList":{"items":[{"before":"1add744c171e8fea51be44df594c8ff438d3fda2","after":"e5cb11caedbe1706bc83a71b6a3c2e2a7dd99019","ref":"refs/heads/gh-pages","pushedAt":"2023-06-27T19:13:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"LaunchDarklyReleaseBot","name":null,"path":"/LaunchDarklyReleaseBot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86431345?s=80&v=4"},"commit":{"message":"Updating documentation to version 4.1.1","shortMessageHtmlLink":"Updating documentation to version 4.1.1"}},{"before":"79bc0e826e649eec1256e4f3e2eba09c8ff0b117","after":"5e2231ff1af205a87b6671f73116551e22f1206c","ref":"refs/heads/main","pushedAt":"2023-06-27T19:11:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"LaunchDarklyReleaseBot","name":null,"path":"/LaunchDarklyReleaseBot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86431345?s=80&v=4"},"commit":{"message":"Releasing version 4.1.1","shortMessageHtmlLink":"Releasing version 4.1.1"}},{"before":"897c84ba1ce1524f2c985d81d3d383e985904ab3","after":"79bc0e826e649eec1256e4f3e2eba09c8ff0b117","ref":"refs/heads/main","pushedAt":"2023-06-27T19:09:35.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"tanderson-ld","name":"Todd Anderson","path":"/tanderson-ld","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/127344469?s=80&v=4"},"commit":{"message":"prepare 4.1.1 release (#88)\n\n* add time threshold for backoff reset\r\n\r\n* allow endpoint to be specified as either URI or HttpUrl\r\n\r\n* add @since\r\n\r\n* add interface for customizing requests\r\n\r\n* javadoc fixes\r\n\r\n* add changelog for past releases\r\n\r\n* remove JSR305\r\n\r\n* replace SSL-specific config method with general-purpose HTTP config method\r\n\r\n* make helper method static\r\n\r\n* add end-to-end EventSource tests\r\n\r\n* spacing\r\n\r\n* omit default header value if there's a custom value\r\n\r\n* avoid trailing period in logger name\r\n\r\n* add 1.x branch\r\n\r\n* update to OkHttp 4.x and Java 8\r\n\r\n* javadoc fixes\r\n\r\n* remove EventSource setters, + test improvements\r\n\r\n* update Gradle release\r\n\r\n* enable Github Pages\r\n\r\n* skip tests in release\r\n\r\n* add ability to force a stream restart; improve tests so we can test this\r\n\r\n* revert whitespace change\r\n\r\n* bump OkHttp version to latest Java 7-compatible version\r\n\r\n* add ability to force a stream restart; improve tests so we can test this (#29)\r\n\r\n* update to okhttp 4.5.0\r\n\r\n* longer timeout for cleaner shutdown of test servers\r\n\r\n* fix Gradle scopes\r\n\r\n* allow setting specific thread priority\r\n\r\n* remove misleading logging & unnecessary backoff, improve tests (#34)\r\n\r\n* known issue with onClose() - add comment, disable test assertions\r\n\r\n* allow caller to specify a custom logger instead of SLF4J (#32)\r\n\r\n* add method for changing base name of SLF4J logger\r\n\r\n* enable coverage reports in CI, improve CI to test all supported Java versions\r\n\r\n* rm inapplicable CI copy-paste\r\n\r\n* another CI fix\r\n\r\n* add checkstyle config\r\n\r\n* fix jitter calculation when upper bound is a power of 2\r\n\r\n* misc coverage + test improvements, add CI enforcement of coverage (#39)\r\n\r\n* fix shutdown state logic, simplify code paths (#40)\r\n\r\n* Fix Java 7 compatibility.\r\n\r\n* add OpenJDK 7 build + fix test race condition + javadoc fix (#42)\r\n\r\n* update Gradle to 6.8.3\r\n\r\n* Kotlinize build script\r\n\r\n* fix logic for shutting down after an unrecoverable error\r\n\r\n* use newer HTTP test helpers\r\n\r\n* use Releaser v2 config + newer CI images (#47)\r\n\r\n* use new stream-reading implementation to support CR-only line endings\r\n\r\n* make buffer size configurable\r\n\r\n* rm usage that's not allowed in Java 8\r\n\r\n* add Guava test dependency\r\n\r\n* add code coverage ovverride\r\n\r\n* implement contract tests (#48)\r\n\r\n* use Gradle 7\r\n\r\n* Bounded queues for the EventHandler thread (#58)\r\n\r\n* Bounded queue for the EventHandler thread\r\n\r\nThe unbounded queue fronting the 'event' thread can cause trouble when the\r\nEventHandler is unable to keep up with the workload. This can lead to heap\r\nexhaustion, GC issues and failure modes that are generally considered \"bad\".\r\n\r\nBand-aid over this with a semaphore to limit the number of tasks in the queue.\r\nThe semaphore is opt-in and disabled by default to avoid any nasty surprises\r\nfor folks upgrading.\r\n\r\nAlso add 'EventSource.awaitClosed()' to allow users to wait for underlying\r\nthread pools to completely shut down. We can't know if it's safe to clean\r\nup resources used by the EventHandler thread if we can't be certain that it\r\nhas completely terminated.\r\n\r\n* Address checkstyle griping in StubServer\r\n\r\n* Fix JavaDoc issue\r\n\r\n* Tighten up exception handling\r\n\r\nCo-authored-by: Eli Bishop \r\n\r\n* update @since\r\n\r\n* test Java 17 in CI (#51)\r\n\r\n* improve tests for AsyncEventHandler and EventSource.awaitClosed (#52)\r\n\r\n* add streaming data mode for very large events (#53)\r\n\r\n* add option to ensure that expected fields are always read\r\n\r\n* add Gradle option to suppress kotlin-stdlib in our pom\r\n\r\n* update okhttp to 4.9.3\r\n\r\n* use LaunchDarkly logging facade\r\n\r\n* rm unused\r\n\r\n* misc fixes\r\n\r\n* improve javadoc links\r\n\r\n* remove SLF4J dependency, use only com.launchdarkly.logging\r\n\r\n* update com.launchdarkly.logging version\r\n\r\n* consistently use placeholders instead of concatenation in log output\r\n\r\n* update release metadata\r\n\r\n* use SecureRandom instead of Random, just to make scanners happier\r\n\r\n* use SecureRandom instead of Random, just to make scanners happier\r\n\r\n* use SecureRandom instead of Random, just to make scanners happier\r\n\r\n* fix release metadata\r\n\r\n* remove usage of Duration for Android compatibility\r\n\r\n* new synchronous EventSource implementation (#64)\r\n\r\n* add async wrapper to emulate old EventSource (#65)\r\n\r\n* update doc comments regarding thread behavior in Android\r\n\r\n* update Gradle to 7.6 + fix snapshot releases\r\n\r\n* in streaming data mode, throw an exception if stream is closed during an event (#68)\r\n\r\n* in streaming data mode, throw an exception if stream is closed during an event\r\n\r\n* one more unit test\r\n\r\n* fix overly time-sensitive tests\r\n\r\n* Bumping Guava to fix CVE-2023-2976\r\n\r\n---------\r\n\r\nCo-authored-by: Eli Bishop \r\nCo-authored-by: LaunchDarklyCI \r\nCo-authored-by: Gavin Whelan \r\nCo-authored-by: LaunchDarklyReleaseBot \r\nCo-authored-by: Tom Lee <93216+thomaslee@users.noreply.github.com>\r\nCo-authored-by: Todd Anderson \r\nCo-authored-by: tanderson-ld <127344469+tanderson-ld@users.noreply.github.com>","shortMessageHtmlLink":"prepare 4.1.1 release (#88)"}},{"before":null,"after":"0ef5e6b4a2df6670287364cccb61fda2064d3de6","ref":"refs/heads/release-4.1.1","pushedAt":"2023-06-27T15:53:30.852Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"LaunchDarklyReleaseBot","name":null,"path":"/LaunchDarklyReleaseBot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86431345?s=80&v=4"},"commit":{"message":"Merge pull request #69 from launchdarkly/ta/bump-guava\n\nBumping Guava to fix CVE-2023-2976","shortMessageHtmlLink":"Merge pull request #69 from launchdarkly/ta/bump-guava"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADSjOuuQA","startCursor":null,"endCursor":null}},"title":"Activity ยท launchdarkly/okhttp-eventsource"}