)]}'
{
  "commit": "b18c73e981ca5f533fdc19a5b5c9db0aaf21eccf",
  "tree": "e72ce9122000df6f01e3132d0fac8839fe367cd2",
  "parents": [
    "9309ebe322b0420dd23e3cdc8775bfc80cecc368"
  ],
  "author": {
    "name": "Lasse R.H. Nielsen",
    "email": "lrn@google.com",
    "time": "Wed Mar 23 18:02:26 2022 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Mar 23 18:02:26 2022 +0100"
  },
  "message": "Deprecate `AsyncCache.fetchStream`. (#209)\n\n* Deprecate `AsyncCache.fetchStream`.\r\n\r\nThe feature complicates the `AsyncCache` class, and would be a better fit\r\nfor a separate class.\r\nThe functionality is not great. Since it returns the \"same\" stream\r\neach time the cache is queried (until evaluated), it actually\r\ncaches all stream events\r\nThe invalidation is tricky because the timer doesn\u0027t start until\r\nyou *listen* to the stream. In practice, people will usually\r\nlisten to the stream they fetch.\r\n\r\nIt also seems that no-one ever used the functionality.\r\nThere is no use inside Google, or in [Github](https://github.com/search?q\u003d%22.fetchStream%22+language%3ADart+-filename%3Aasync_cache.dart+-filename%3Aasync_cache_test.dart\u0026type\u003dcode),\r\noutside of the package\u0027s own tests.\r\n\r\nIt\u0027s a better fit for a separate class, but it also appears to not be used anywhere\r\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0086e7beca975358b94409e8c9ef3639ec041c70",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "1315bdcc21551855d9278e6a827702bd61b74453",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "be7434f803103ee921b2d288afa374c36a88acc8",
      "old_mode": 33188,
      "old_path": "lib/src/async_cache.dart",
      "new_id": "b05518238db4f73a2050ade064595b61d00594fa",
      "new_mode": 33188,
      "new_path": "lib/src/async_cache.dart"
    },
    {
      "type": "modify",
      "old_id": "e8ff132cd73c48d0d30ec9d08f7709829bc339d4",
      "old_mode": 33188,
      "old_path": "test/async_cache_test.dart",
      "new_id": "4948e530bb4b3d92f57f87f0a6d0af400b2f68fc",
      "new_mode": 33188,
      "new_path": "test/async_cache_test.dart"
    }
  ]
}
