File tree 2 files changed +27
-1
lines changed
2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Changelog
2
+
3
+ ## cached-iterable 0.2.0
4
+
5
+ - Add ` CachedSyncIterable ` and ` CachedAsyncIterable ` .
6
+
7
+ ` CachedIterable ` is now an abstarct base class. The sync version now
8
+ lives in the ` CachedSyncIterable ` sublass, while the async one in
9
+ ` CachedAsyncIterable ` .
10
+
11
+ - Add ` CachedAsyncIterable[Symbol.iterator] ` . (#1 )
12
+
13
+ The ` [Symbol.iterator] ` method returns a synchronous iterator over the
14
+ elements cached by the ` CachedAsyncIterable ` instance.
15
+
16
+ - Add the static ` from(iterable) ` method. (#3 )
17
+
18
+ The static method ` from() ` may be used to create new instances from other
19
+ iterables (which is the same as using the constructor) or to re-use
20
+ existing ones. When an existing instance of a ` CachedIterable ` subclass
21
+ is passed, ` from() ` simply returns it, preserving its cached state.
22
+
23
+ ## cached-iterable 0.1.0
24
+
25
+ This is the first independent release of ` cached-iterable ` . It corresponds to
26
+ ` CachedIterable ` exported by the ` fluent ` 0.6.4 package.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " cached-iterable" ,
3
3
"description" : " Iterables which cache the values they yield" ,
4
- "version" : " 0.1 .0" ,
4
+ "version" : " 0.2 .0" ,
5
5
"author" :
" Mozilla <[email protected] >" ,
6
6
"license" : " Apache-2.0" ,
7
7
"contributors" : [
You can’t perform that action at this time.
0 commit comments