forked from twitter/util
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
777 lines (593 loc) · 28.6 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
.. Author notes: this file is formatted with restructured text
(http://docutils.sourceforge.net/docs/user/rst/quickstart.html).
The changelog style is adapted from Apache Lucene.
Next Version
6.24.0 2015-04-12
New Features:
* util-core: Introduce AsyncStream, an experimental replacement for Spool.
API Changes:
* util-core: `Future.willEqual()` now returns `Future[Boolean]` instead of
`Promise[Boolean]`.
* util-core: rename VarSource to ActivitySource. remove
com.twitter.io.exp.VarSource.Result, return Activity[T]
instead of Var[VarSource.Result[T]]. Remove FailoverVarSource in
favor of ActivitySource.orElse.
* util-core: `TimeFormat` now throws IllegalArgumentException if the pattern
uses the week year ('Y') without the week number ('w')
* util-core: `Spool.++` used to force its argument, but now it is evaluated
only if `this` Spool is empty. To revert to existing behavior,
simply force the argument before passing it to ++.
* util-core: `Reader.writable()` returns a new type, `Reader.Writable`, which
combines `Reader`, `Writer` and `Closable`.
* util-core: `Reader.concat` and `Reader.copyMany` now take an AsyncStream
argument instead of Spool.
Changes in Runtime Behavior:
* util-core: Futures still rethrow on fatals, but now also Monitor.handle on
them.
* util-core: `Future.onFailure` now only applies a `PartialFunction` if
`PartialFunction.isDefinedAt` returns true.
* util-core: `AsyncSemaphore` now requires that `initialPermits` be positive.
* util-core: The `Reader` and `Writer` from `Reader.Writable.close()` are now
synchronized on `close`.
6.24.0 2014-12-12
New Features:
* util-core: Add method .flushBatch() to batched future returned by Future.batched()
that immediately initiates processing of all remaining queued requests
* util-core: Add Future.collect() method that collects over Map's values
* util-stats: Create a new module, `util-stats` to move `finagle-core`
StatsReceivers to. They retain the `com.twitter.finagle`
namespace to ease the transition.
Deprecation:
* util-stats: Deprecate `com.twitter.finagle.stats.StatsReceiver#time{,TimeFuture}`.
Instead, please use the `com.twitter.finagle.stats.Stat` helpers
from scala, and the `com.twitter.finagle.stats.JStats` helpers
from java.
API Changes:
* util-cache: Remove unused com.twitter.cache.Mod trait and object
* util-core: Rename Buf._.Unsafe to Buf._.Owned and Buf._.Copied to Buf._.Shared
* util-core: Remove the com.twitter.util.repository package
* util-core: Change return type of Future.batched() to com.twitter.util.Batcher
Java Compatibility:
* util-app: Flaggable is now an abstract class for Java compatibility
* util-core: Make Futures an API entry point for Java users
(even for methods that take Scala collections)
* util-core: Add compilation tests to track Java compatibility of new API
6.22.2 2014-10-29
API Changes:
* util-core: Removed `Sieve` example.
* util-core: Introduce new constructors and extractors for Buf types to
support more efficient, correct uses. Buf types now come with
Copied and Direct management interfaces -- Direct tries to
provide direct access to the Buf's backing byte array, while
Copied ensures that the caller cannot accidentally mutate a Buf's
data. Additionally, helpers to support Buf-type coersion have
been added.
New Features:
* util-app: add an option so that we can let apps fail fast if reading
argument before args are parsed.
Bug Fixes:
* util: add missing @RunWith annotation
* util-core: Java tests for Duration, Time and Timer
* util-core: Reader.writable.fail: make reentrant
Optimizations:
* util-core: Slurry of PartialFunction micro-optimizations
6.22.1 2014-10-23
Bug Fixes:
* util and finagle: fix compiler warnings
Deprecation:
* util-core: Add deprecation of RingBuffer to changelog
* util-core: Removed IVar and IVarField
Documentation:
* util-core: Clarify Scaladoc of `Promise.attached`
* util-core: Add self-type to `Promise.Detachable` and augment Promise Scaladocs
* util-io: Better names for Buf.slice() paramters.
New Features:
* util-app: Add App registration
* util-cache Add asynchronous cache with TTL
* util-core: Add `Activity.future`
Package factoring:
* util-logging: factor out testing code into new package util-test
6.22.0 2014-10-13
System Requirements:
* util-core: prefer Await.result(future.liftToTry) to deprecated methods
* c.t.util.Time: Scope Locals with `Local.let` instead of `save`+`restore`
Changes in Runtime Behavior:
* util-logging:
- Logging's default handler is now async by default via `com.twitter.logging.QueueingHandler`.
- Two Flags allowing for customization:
+ `com.twitter.logging.log.async`: Default true, turns this functionality on/off.
+ `com.twitter.logging.log.async.maxsize`: Default 4096, max size of the async buffer.
* util.RingBuffer: fix buffer size on drops
* util-io: Fix Buf.ByteBuffer.slice
* util-core: Future.sleep: short-circuit when duration <= 0
* util-core: IVar and IVarField were removed. Use com.twitter.util.Promise instead because it provides a superset of IVar behavior.
New Features:
* util-core: introduce Memoize.snappable
* util-app: add Flaggable.ofSet
* util-app: introduce Flag.let
Optimizations:
* util-core: Perf improvement to ConcatBuf#slice
* util-core: Avoid accumulation of listeners in Future.select
* util-core: Event.filter only 1 call to filter predicate
Bug Fixes:
* util-jvm: Fix logging in Jvm.foreachGc
* util-core: document StorageUnit can overflow
* util-core: check Future.proxyTo and Promise.become preconditions
API Changes:
* util-core: remove Leaky and FutureBenchmark
Documentation:
* util, ostrich, finagle, twitter-server: Remove all trailing spaces
Package factoring:
* Test classes from util-logging were factored into its own package, util-test.
API Changes:
* util-core: Deprecate `RingBuffer` in favor of Guava's `com.google.common.collect.EvictingQueue`.
6.21.2 2014-09-08
* util-cache: Adds a Guava-backed asynchronous cache
* util-core: Fixed FuturePool for NLRC
* util-core: Improve java friendliness of futures
* util-core: Make register/close on Event() work atomically
* util-core: Reimplement Buf.Utf8 encoder/extractor using io.Charsets
* util-core: storage parse() should be able to handle Long
* util-logging: make Logger immutable & break cyclic dependency on Level
* util: Upgrade to scala_2.10
6.20.0 2014-08-22
* util: Enables cross-publishing for 2.11
* util-app: Log severely if a flag is read at the wrong time
* util-core: Changes transform to fail Futures if you return inside the passed closure
* util-core: Copy bytes from Reader to Writer and OutputStream
* util-core: Fix RichU64String to throw for negative input Problem
* util-core: Optimizations in Buf
* util-core: Remove some unnecessary implicit conversions
* util-doc: Fix updatedocs.bash to update new util docs
6.19.0 2014-08-05
* util: smattering of minor cleanups in util and finagle
* util-core: Reader and getContent symmetry
6.18.4 2014-07-31
* util-core: Remove confusing NOOP 0.until(5) in Future.collect().
* util-app: Fix a bug in global flag parsing
6.18.2 2014-07-23
* util-core: Fixes a broken sbt test
* util-core: Log exceptions caught by ChannelStatsHandler
* util-core: Satisfy promise on fatal exception in FuturePool task
* util-core: small perf improvements to Future.collect, Throw, Flag
* util-logging: java-friendly LoggerFactory API
6.18.1 2014-07-08
* util: Update README to reflect correct storage units.
* util-*: Convert all tests in util to scalatest
* util-app: Simplifies the logic to get the appname
* util-io: Buf, Reader: remove Buf.Eof; end-of-stream is None
* util-io: Create Buf.ByteBuffer to wrap java.nio.ByteBuffer
6.18.0 2014-06-23
* util-app: Don't kill the JVM on flag-parsing failure
* util-app: Improve the Scaladocs for com.twitter.app.Flag and friends
* util-core: Add U(32|64)(BE|LE) to Buf
* util-core: Add com.twitter.util.NilStopwatch
* util-core: Add src/main/java dependency on src/main/scala
* util-core: Catch InterruptedException in Closable collector thread
* util-core: Fix MockTimer#schedule(Duration)(=> Unit)'s cancel
* util-core: Fix update-after-interrupt race condition in AsyncSemaphore
* util-core: Signal the deprecation of com.twitter.util.Bijection.
* util-logging: Add additional handlers to Logging trait
6.17.0 2014-06-04
* util: Upgrade dependency versions
* util-core: Scheduler productivity = cpuTime/wallTime
* util-core: Add a `take` method to `Spool`
* util-core: Introduce `ConcatBuf`
* util-core: add `Spool.collectFuture`
6.16.0 2014-05-13
* util-app: Add flag for configuring acceptance of undefined flags
* util-app: Minor c.t.app.ClassPath/c.t.f.util.LoadService cleanup
* util-core: Adds Time.sleep for testing sleeping code
6.15.0 2014-04-29
* util-app: enforce close grace period
* util-core: special case buf.slice(0, buf.length)
* util-core: add LIFO option to LocalScheduler
* util-core: improves usability of Var and VarSource from java
* util-core: Make spool lazier
* util-core: Fixes detachable semantics with ConstFuture
* util-core: make LocalScheduler non-private for custom schedulers
6.14.0 2014-04-09
* util-benchmark: Fix caliper failures due to new guava
* util-core: Add Local.let
* util-core: Add com.twitter.io.Charsets and replace the use of org.jboss.netty.util.CharsetUtil
* util-core: Bump objectsize dependency to 0.0.10
* util-core: Comprehensive Scaladocs for Scheduler-related classes and traits
* util-core: Create a static Exception for use in `Future.raiseWithin`
* util-core: Future.select: fix inaccurate comments
* util-core: Make Function classes covariant
* util-core: Parse names into trees; introduce separate evaluation.
* util-core: Short-circuit `within` and `raiseWithin` if Future is already satisfied
6.13.2 2014-03-24
* util-core: Add `StorageUnit.hashCode`
* util-core: Event.mergeMap: fix Closable
* util: Update 3rdparty library versions
* util: Upgrade to guava 16
6.13.1 2014-03-20
* util: Update zk libraries
6.13.0 2014-03-14
* util-app: add usage string, printed before flags
* util-app: Handle comma-separated values in `Flaggable.ofMap`
* util-app: Implement application-level shutdown handling in App.
* util-app: Remove hardcoded ports in FlagTest
* util-app: sort global flags in usage
* util-core/Offer: Don't do indexed lookups in prepare()
* util-core: Add support for interrupting Future.sleep
* util-core: Check whether JVM supports thread measurement before measuring
* util-core: Create daemon threads in all stock `com.twitter.util.FuturePool`s
* util-core: Event: mergeMap, not flatMap
* util-core: Performance optimizations for Future.collect
* util-core: TimeLike inSeconds should not truncate
* util-core: Var.collect, Fix deadlock caused by oversynchronizing
* util-core: Var: prevent stale updates
* util: ForkJoin scheduler: first draft
6.12.1 2014-02-18
* Upgrade everyone to the new c.t.common.server-set
6.12.0 2014-02-14
* LocalScheduler: improve concurrency by sampling less
* Option to enable thread pool scheduler in finagle, and fix the shutting down RejectedExecutionException's.
* re-write Future.unit in terms of Future.Unit
* Revert "Option to enable thread pool scheduler in finagle, and fix the shutting down RejectedExecutionException's." (It's breaking the build on JDK6 machines)
* twitter-server: Report on deadlock conditions in admin/contentions
* Update 3rdpaty zookeeper client
* Update version of com.twitter.common*
* util-core: Add a Scaladoc for com.twitter.util.RandomSocket
* util-core: State[+A] => State[A]
* util-logging: Increase richness of file-logging flags
* util-zk: scalatest as test dep
* util-{app,jvm}: various small improvements from gcflow
* util: Drop util-eval dep from util-zk-common, which pulls in scala-compiler unnecessarily
* Var: fix an iatrogenic concurrency bug
6.11.1 2014-01-16
* util-collection: Depend on jsr305.
* util-core: Add `Promise.attached` and Detachable.
* util-core: Add `Future.batched`.
* util-common: Fix a race condition in ExecutorServiceFuturePool.
6.11.0 2014-01-14
* util-core: Add BridgedThreadPoolScheduler.
* util-core: Add Events, discrete-time values.
* util-core: Add Future.delayed, Timer.Nil.
* util-core: Add Var.join.
* util-core: Add utilities for composing Future side effects.
* util-core: Allocation improvements to Future.isDefined, Promise.isDefined, Promise.interrupts.
* util-core: Fix forcing issues with Spool.*::.
* util-core: Future.followedBy->Future.before
* util-core: s/setValue(())/setDone()/g
* util-logging: Allocation improvements to Formatter.formatMessageLines.
* util-logging: Get correct method and class name in c.t.u.LogRecord
* util-zk-common: Fix finagle-serversets dependencies discrepancy.
6.10.0 2013-12-12
* `util-core`: Add functionality to AsyncSemaphore for executing functions as permits become available.
* `util-core`: Fine-grained locking to prevent deadlocks in Var.
* `util-core`: Introduce com.twitter.io.BufInputStream - wraps a Buf and exposes a java.io.InputStream interface.
* `util-core`: Introduce com.twitter.util.Memoize - thread-safe memoization of a function.
6.9.0 2013-12-02
* util-core: 2.10 pattern matching strictness
* util-core: Gives Var single-owner semantics
* util-core: Seq[Future[A]] => Future[Seq[Try[A]]]
* util-core: Adds a comment explicitly describing synchronous callback on observe for Var
* util-core: async semaphore cancellation
* util: sbt version in `build.properties'
6.8.1 2013-11-15
* util-core: Break apart interruptible FuturePool for java backcompat
6.8.0 2013-11-12
* util-app: Fix null error for Flaggable[InetSocketAddress].
* util-app: Flag, easier usage of default.
* util-core: adds closable.close(Duration)
* util-core: Adds com.twitter.io.exp.VarSource
* util-core: adds comment re using FuturePool from java.
* util-core: buffers requests until Var[Addr] is in a ready state
* util-core: Fix Promise update race when interrupting FuturePool threads.
* util-core: improve allocation/perf in Offer.choose and Future.select
* util-core: Var: remove Var.apply; introduce Var.sample
* util-zk-common: update pom com.twitter.common.zookeeper dependencies
* util: scaladoc warning cleanup.
6.7.0 2013-10-18
* util-core: Introduce Try.collect(), analagous to Future.collect
* util-core: Add some empirically useful add-ons to Var
* util-logging: Use ConsoleHandler when outputFlag is /dev/null
* util-core: Fix broken string-deserialization in Buf.Utf8.unapply
* util-core: Improve gc profile around Var
6.6.0 2013-10-09
* util-app: Properly propagate underlying exceptions.
* util-core: Add a `Var.value` function. (835a043)
* util-core: Augment Var and Local in support of Finagle's request context feature. (b2d689a)
* util-core: Avoid instantiating TimeoutException until it is needed (CSL-592)
* util-core: Make Future.never a val instead of a def
* util-core: Move Var to core util, add Var.unapply
* util-core: Testing function Time.withTimeAt now uses Locals.
* util-core: Throw AlreadyNackd on nack-ack.
* util-core: raiseWithin, alternative to within, that raise interrupt.
* util-jvm: Add a GlobalFlag for a machine's number of logical cores. (dc20fbf1)
* util-logging: Add a NullLogger object.
* util-logging: makes Logging more flexible for easy extension of twitter-server
* util-zk: Add ShardCoordinator and ZkAsyncSemaphore classes. (c57b2a9)
6.5.0 2013-09-10
* util-hashing: removed dependency on util-core
* util-core: Introduce swappable schedulers, ThreadPool scheduler.
* util-core: Scheduler - "productivity" stats, dispatches.
* util-core: Add Future.when
* util-core: introduced Var - composable variables
* util-core: adding short note on Future 'within'
6.4.0 2013-08-28
* util-core: Add Return constants
* util-core: Make ConstFuture.transform consistent with Promise.transform
* util-core: Make it possible to explicitly set a locale on TimeFormat
* util-logging: Refactored formatter to decrease coupling
* util-core: Add NoSuchMethodException as fatal exception in NonFatal
* util-app: Add some logging helpers to Flags
* util-core: Introduce Buf, Reader, and Writer: Zerocopy, buffered I/O
6.3.8 2013-07-22
* util-core: Add Future.True and Future.False constants
* util-app: Treat '--' as end of flags indicator
* util-app: Add support for long flags
6.3.7 2013-06-24
* util-app: flags use by-name default values
* util-app: Make the global flag test idempotent
* util-collection: guard against missing element exception in BGQ
* util: Deal with UnknownHostException thrown by InetAddress.getLocalHost
* util: update version in README
6.3.6 2013-06-11
* util: Update owners files
* util-jvm: CpuProfile: sleep the right amount of time for the recording thread
* util-jvm: always try to construct hotspot instance Detection by VM name is unreliable.
* util: util/* compiling, testing and benchmarking with pants.
* util-eval: Gizzard: Some followup deps alignment to fix deployment classpath issues
6.3.5 2013-05-31
* util-core: add Time.fromMicroseconds to util.Time
* util-core: NullMonitor takes itself out when composed
* util-core: deprecate Config
* util-hashing: add entryForHash api to Distributor
* util-app: Flag: clarify usage and hide all Flag constructors.
* util-core: Added reduceLeft and foldLeft to the Spool class
* util: Update sbt project for (util, ostrich, finagle)
6.3.4 2013-05-16
* util-core: Convenience method to await all
* util-core: RootMonitor never propagates non fatal exception
6.3.3 2013-05-13
* util-collection: When growing chain only grow the chain. This addresses a NoSuchElementException.
* util-eval: fix for when class files are on the classpath directly
* util: Generate build.properties from sbt
* util-core:Time, Duration: implement Java serialization
* util-thrift: Bump Jackson to 1.9.11
* util-core: Add withFilter to Future and Try
* util: Remove zookeeper dependency ivyXML and replace with ExclusionRules
6.3.2 2013-04-18
* util-core: create less garbage in AsyncSemaphore.acquire()
* util-core: deprecate com.twitter.util.concurrent.Concurrent{Pool, MultiMap}
* util-core: restore prior Future.get behavior
* util-core: Spool error propagation
* util-core: Use futures for schema detection to avoid blocking finagle threads
* util-refect: test: use sys.error
* util-zk: ZNode("/path").parentPath should be "/", not an empty string
6.3.0 2013-04-05
* util-core: flag a bug with U64 truncation
* util-core: Future.get: include fatal exceptions
* util-core: deprecate Future#apply, get.
* util-core: special-case Duration.Zero to avoid allocation
6.2.5 2013-03-27
* util-zk: Improvements to util-zk NativeConnector
* util: Update sbt project definition
* util: launching test in all scala version of the project
6.2.4 2013-03-21
* util-core: Add Future.Nil, it can be used anytime you need a Future[Seq[_]] with an empty sequence.
* util-core: fix VM test error by ensuring reset
* util-core: Move Disposable/Managed to util
* util-logging: scribe binary thrift for tbird add/remove/scrub ops:
* util: upgrade com.twitter.common.objectsize to 0.0.7
6.2.3 2013-03-08
* util-core: Remove StreamHelper
* Flag: create Map flag type
6.2.2 2013-02-25
* Flag: introduce global flags
6.2.1 2013-02-20
* HttpMux: provide visibility into available handlers
* Flag: add Time type
* Spool: encode exceptions
* Closable: use Time.Bottom for close()
* Future.within: bypass timer entirely if we're passed Duration.Top
* Awaitable: introduce Await
* util-jvm: GC predictor
* io.Files: don't overallocate buffers
* Future: use .nonEmpty instead of != Nil
6.1.0 2013-01-30
* preliminary 2.10 port/build
* Add Closable trait
* Add contention snapshot
6.0.6 2013-01-22
* util-core: concurrent.SpoolSource utility for creating Spools
* util-core: Spool.flatMap, Spool.++
* util-app: add shutdown hooks
* util-logging: Make the logging work properly for Scala and
mixed Scala/Java
6.0.4 2012-12-18
* Broker: more efficient dequeueing of offers
* Duration: parse all output of Duration.toString
* ScheduledThreadPoolTimer: aggressively remove runnables
to avoid space leak
* util-core documentation: fix some parentheses, backticks
* util-hashing: add Hashable type class
6.0.3 2012-12-11
* Promise: remove future tracing, add explicit transforming state to
avoid extraneous allocation
* update zk client
* com.twitter.app: composable apps & flags
6.0.1 2012-11-26
* Use java.util.ArrayDeque in place of mutable.Queue due to
https://issues.scala-lang.org/browse/SI-6690
6.0.0 2012-11-26
* Removed future cancellation, which is now replaced with one-shot
interrupts. These also carry a ``cause'' which will be used
profitably in finagle.
* A new, leaner Promise implemetnation
* New implementations for Time and Duration with true sentinels
* Promise, Try combinators no longer attempt to catch fatal
exceptions
5.3.14 2012-11-20
* fix compiler warnings
* Future.join: support up to 22-tupled futures
* com.twitter.concurrent.Serialized: explicit docs
* util-logging: concurrent enqueue support for ScribeHandler, add stats
5.3.13 2012-10-16
* AsyncSemaphore: Use volatile vars for the active number and the waiters
* util-logging: fix ThrottledHandler to not leak memory
* util-logging: for file handlers, default to append=true since that was the default with FileHandlerConfig and is safer behavior
* upgrading slf4j dependent projects (1.6.1).
* sbt: robust MD5 checking.
* Fix Spool.foreachElem crashing on resoved spool with error
* FuturePool.defaultPool: use cached threadpool by default.
* util-logging: Correctly handle files with a shared prefix.
5.3.10 2012-09-06
* Improve ZNode.name and ZNode.parentPath to not use Regexes
* Fix ScheduledThreadPoolTimer.schedule(...).cancel()
* Upgrade guava dependency to v13
* Add a ZkClient Connector that dispatches requests across several zookeeper connections
* Support prefix-less sequential nodes in util-zk
* util-logging: Add Logger.withLoggers.
* Clean up equals and hashCode for Time and Duration
5.3.7 2012-08-21
* Disable log handler purging
* Added ThriftCodec
* Add a Time.hashCode method
* GC monitor: be more quiet about missed GCs
* patch public release of OSS libraries; catch up sbt
5.3.6 2012-07-26
* Fix temporary file name generation
5.3.0 2012-06-25
* util-jvm: start timer thread in 'daemon' mode
5.2.0 2012-06-14
* JVM CPU profiler
* util-jvm: fix for JDK 7
5.1.2 2012-06-07
* fix documentation
* util-jvm: gc monitoring
* Kill com.twitter.concurrent.Channel
5.0.4 2012-06-01
* Upgrade scala to 2.9.2
* Java compatibility: void -> voided
4.0.1
* added AsyncQueue
* config:validate optional subconfigs
* util-zk: allow multiple session event listeners, fix AsyncCallbackPromise
exception handling, misc fixes
* offer: deprecate apply()
* propagate cancellation exception when Timer.doAt future is cancelled
* KetamaDistributor optionally preserves a floating point truncation
* Timer uses daemon thread by default
* Future.monitor: release reference to promise when it's satisfied
* Future: misc Java compatibility fixes
* Eval.scala: Allow @deprecated
* util-logging: Add LoggerFactory
* Util: Add util-class-preloader (classfile preloading), util-jvm
(access to performance counters)
* Future: divorce from TryLike hierarchy
* LogRecord: use MessageFormat
* Time: Treat MaxValue specially in TimeMod.{add,sub}
3.0.0 2012-03-14
* AsyncSemaphore: allow parameterizing maximum queue size
* Logging: scribe handlers may now be named "scribe"
* Logging: Always make sure Level is initialized before being
able to refer to Logger.
* Offer/Broker: simpler, more flexible implementation
* Config: Config.optional results in lazy evaluation
2.0.0 2012-02-27
* NetUtil: optimize ipv4 address parsing
* upgrade to Guava r11
1.12.13 2012-02-13
* NetUtil: Add inetAddressToInt, isInetAddressInBlock, isInetAddressInBlocks
* Future tracer: fix bug where double proxied exceptions fail
* add "ExceptionalFunction0" for easier use from Java
* Locals: many optimizations to reduce allocations caused by saving
and restoring contexts
1.12.12 2012-01-24
* util-zk-common: Asynchronous wrappers for common ServerSets.
* IVar.unget: only remove closures by object equality
* Offer.choose: use nanoseconds for random seed
* Future.const - builds a constant Future from an existing Try
1.12.9 2012-01-05
* ThreadPoolFactories are named by default
* Offer: ensure ObjectOrder is independent of Object#hashCode
* new package: util-zk: asynchronous bindings to ZooKeeper
1.12.7 2011-12-02
* Future: temporarily disabling default usage of the AsmTracer
1.12.6 2011-12-01
* Future: all helper methods now have Java-friendly equivalents
that take Lists.
1.12.5 2011-11-29
* Config: recompile configs based on hash instead of timestamp, add
memoization
* Timer: make JavaTimer more resilient, log errors
* FuturePool: Fixed race condition in FuturePool where work that was
cancelled would not clean up after itself
* Function: Add ExceptionalFunction type to allow Java to throw
checked exceptions.
* Futures: trace dispatch "stack", supplying it as a stack trace for
exceptions, implement "transform", "transformedBy" to allow for a
more imperative control flow when used from Java.
* Monitors: composable widgets for handling exceptions
1.12.4 2011-11-09
* Files.delete has to follow symlinks because jdk6 support
for symlinks is weaksauce
* properly handle cancellation in FuturePool
* Locals: ensure ``Local'' is fully initialized before registering
1.12.3 2011-11-08
* add some docs to Offer, Time
* util.io.Files: file utilities, documentation for TempFile
* Offer/Broker: explicit return types for Java compat.
1.12.2 2011-10-28
* Json thrift deserializer
* Finagle: count pending timeouts
* Fix eval precompile bug
1.12.0 2011-10-21
* util.Config.Specified now delays evaluation of specified value, to
ensure evaluation happens in correct dependency order, rather than
in class-hierarchy order. This change is mostly source compatible,
unless you have directly used the Specified class.
1.11.9 2011-10-14
* ivar/future: provide "TCE", per-thread scheduling, and
promise squashing
* logger: restore original logging level after modifying them
* u64: fix
* filehandler: thread-visibility
* eval: fix mtime invalidation
* base64 encoder: make it threadsafe
1.11.8 2011-10-04
* Back out TCE for ivar/futures. This introduced a space
leak and will be fixed momentarily.
* FuturePool: Catch any exception thrown by executor.submit()
and return as a Future.exception
1.11.7 2011-09-28
* ivar/future: provide "TCE", per-thread scheduling, and
promise squashing
* util-core: add bijection
* util: Time.now is now measured at nanosecond granularity
instead of millisecond.
* futurepool: don't attempt to perform work for Futures
that are cancelled
1.11.2 2011-08-12
* offer: use Int.compare instead of subtraction to avoid
integer overflow in ObjectOrder
* offer: accept an empty offer list. this is just Offer.never
* Eval: persistent compilation targets
1.11.1 2011-08-05
* offer/broker: fixes, simplifications - gets rid of thunked
values on sends. removing the infrastructure required to
support this led to significant simplification. lock the
correct objects for broker events. don't try to resolve
identical objects in lock order.
* offer: java support
* hashing: actually return 64bit values from the 64bit hash
functions; tests
1.11.0 2011-08-02
* Introduce new util-codec module to contain various codecs.
Primarily so that it can depend on apache commons-codec 1.5
for base64 improvements over the sun one.
1.10.4 2011-07-29
* Added TestLogging specs helper to util-logging.
* Spools: like scala streams, but with deferred tails.
1.10.3 2011-07-27
* add GZip string encoder
1.10.2 2011-07-18
* Maintain a map of already visited objects incase someone
creates a circular of config objects.
* Make Duration hashable.
* Promise.on{Success, Failure}: returned chained future.