This repository has been archived by the owner on Dec 22, 2021. It is now read-only.
Releases: scala/collection-strawman
Releases · scala/collection-strawman
0.9.0
This release improves performance and compatibility with 2.12 collections.
It supports the following targets:
Target | Versions |
---|---|
Scala | 2.12.x and 2.13.0-M2 |
Scala.js | 0.6.x |
Dotty | 0.6.x |
Performance improvements
- #278 Specialize Array collections (
ArrayBuilder
,ImmutableArray
andWrappedArray
) - #332 Override
toXxx
operations when they are a no-op - #340 Make
knownSize
non final onIterator
- #343 Don’t force view elements prematurely
- #348 Optimize
reverseIterator
inIndexedSeq
2.12-compatibility improvements
- #334 Add
IntMap
,LongMap
andAnyRefMap
- #346 Various bug fixes, additional methods and deprecated forwarders
- #351 Add
WrappedString
- #352 Create a scalafix rule to migrate a 2.12 code base to a 2.13 code base using the new collections
- #355 Add
immutable.Map#transform
operation - #358 Add
collection.BitSet
factory object,StringOps#updated
,LazyList#append
- #364 Add
MapOps#collect
andIterableOnce#toIterator
- #369 Add
Cloneable
trait
Bug fixes
- #370 Fix
ListBuffer#clear
operation - #371 Add implicit
Factory
andBuildFrom
instances forArray[?]
andString
Other changes
0.8.0
This release supports the following targets:
Target | Versions |
---|---|
Scala | 2.12.x and 2.13.0-M2 |
Scala.js | 0.6.x |
Dotty | 0.6.x |
Highlights
Fixes and Minor Changes
0.7.0
This release supports the following targets:
Target | Versions |
---|---|
Scala | 2.12.x and 2.13.0-M2 |
Scala.js | 0.6.x |
Dotty | 0.5.0-RC1 |
Highlights
- #284 Enable Java converters for concurrent maps
- #291 Add rewrite rule for
lazyZip
:(xs, ys).zipped
will be rewritten toxs.lazyZip(ys)
- #295 Add
foldSomeLeft
andlazyFoldRight
(incollections-contrib
) - #299 Add
MultiSet
andSortedMultiSet
(incollections-contrib
). Note thatSortedMultiSet
can be used as a priority queue as well (a sorted sequence) - #302 Add
minAfter
andmaxBefore
toSortedMap
andSortedSet
- #305 Improve performance of strict collections
Fixes and Minor Changes
0.6.0
This release supports the following targets:
Target | Versions |
---|---|
Scala | 2.12.x and 2.13.0-M2 |
Scala.js | 0.6.x |
Dotty | 0.4.0-RC1 |
Highlights
- #223 Add
lazyZip
operation - #273 Drastically improve source compatibility with the current collections
- #274 Fix broken references in API documentation
- #275 Add support for
Map
with default values - #276 Enable scalacheck tests
- #279 Add Java converters
New Operations
- #259 Add more join operations:
Map#zipByKey
,Map#join
,Map#mergeByKeyWith
,Map#mergeByKey
,Map#fullOuterJoin
,Map#leftOuterJoin
,Map#rightOuterJoin
(incollections-contrib
) - #268
Map#updateWith
,Map#updatedWith
(incollections-contrib
)
Fixes
0.5.0
Thanks to all the external contributors of this release:
git shortlog -s -n v0.4.0..v0.5.0
42 Julien Richard-Foy
4 Odd Möller
2 Ethan Pronovost
2 Marcelo Cenerino
1 Jeff Shaw
1 Sébastien Doeraene
This is release supports the following targets:
Target | Versions |
---|---|
Scala | 2.12.3 and 2.13.0-M2 |
Scala.js | 0.6.20 |
Dotty | 0.3.0-RC2 |
Highlights
- #220 Cross-compilation with Scala.js 0.6.20
- #252 New artifact providing additional operations as implicit decorators:
collections-contrib
New Operations
- #218
Iterator#nextOption
- #224
Seq#intersperse
(incollections-contrib
) - #244
Seq#distinctBy
- #252
Map#zipByKeyWith
(incollections-contrib
) - #253
Iterable#groupMap
andIterable#groupMapReduce
New Collections
- #248
LinkedHashSet
andLinkedHashMap
Internal Changes & Bug Fixes
- #205
++:
and:++
are now available only oncollection.Seq
and+:
and:+
are now available oncollection.Seq
- #237 Factories now take an
IterableOnce
source collection (exceptedView
that still take anIterable
) - #238 Fix Scaladoc of
View.Fill
- #242 Fix
TrieIterator
implementation - #249
BuildFrom
provides implicit builders that build from the dynamic type of a source collection
Changelist: 0.4.0...0.5.0
0.4.0
Thanks to all the external contributors of this release: @EPronovost, @marcelocenerine, @nicolasstucki, @odd, @olafurpg, @smarter, @xavier-fernandez!
This release is built for Scala 2.12.3 and 2.13.0-M2, and for Dotty 0.3.0-RC1.
New operations
- #137
filterKeys
,keys
,keySet
,keysIterator
,mapValues
,values
,valuesIterator
(onMap
) - #174
toIterable
(onIterableOps
) andtoSeq
(onSeqOps
) - #180
distinct
(onSeq
) - #184
:++
(onSeq
) - #185
patch
(onimmutable.Seq
) - #188
iterate
,range
(onIterableFactory
) andfill
,tabulate
(onSeqFactory
) - #189
+:
and:+
extractors (onSeq
) - #200
from
,continually
(onLazyList
companion)
New collections
- #204
TrieMap
Optimizations
Other changes
- #193 Rename benchmarks to better reflect the operations measured
- #200 Port JUnit tests from scala/scala
- #209 Add a scalafix rewrite to migrate a code base from the standard collection to the strawman
- #212 Fix incorrect benchmark charts
- #215 Replace call to size with knownSize in bounds check in Patched to not exhausts iterator prematurely
Changelist: 0.3.0...0.4.0
0.3.0
Highlights
Other changes
- #148 Fix implementation of
length
onLinearSeq
- #150 Remove
dropRight
andtakeRight
fromIterator
- #153 Add
@throws
annotations ; fix someIterator
implementations - #161 Optimize
append
,prepend
,updated
on strict immutableSeq
collections. Optimizespan
andunzip
on strictIterable
collections. - #166 Fix hierarchy of
List
andLazyList
- #176 Optimize
List
operations - #177 Fix
mutable.HashMap.getOrElseUpdate
; Add more operations onIterator
and optimizeconcat
.
Changelist: 0.2.0...0.3.0