You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
1.7 KiB

8 years ago
8 years ago
  1. # Changelog
  2. ## 0.5.0 (April 21, 2017)
  3. BREAKING CHANGES:
  4. - Remove or unexport methods from FuzzedConnection: Active, Mode, ProbDropRW, ProbDropConn, ProbSleep, MaxDelayMilliseconds, Fuzz
  5. - switch.AddPeerWithConnection is unexported and replaced by switch.AddPeer
  6. - switch.DialPeerWithAddress takes a bool, setting the peer as persistent or not
  7. FEATURES:
  8. - Persistent peers: any peer considered a "seed" will be reconnected to when the connection is dropped
  9. IMPROVEMENTS:
  10. - Many more tests and comments
  11. - Refactor configurations for less dependence on go-config. Introduces new structs PeerConfig, MConnConfig, FuzzConnConfig
  12. - New methods on peer: CloseConn, HandshakeTimeout, IsPersistent, Addr, PubKey
  13. - NewNetAddress supports a testing mode where the address defaults to 0.0.0.0:0
  14. ## 0.4.0 (March 6, 2017)
  15. BREAKING CHANGES:
  16. - DialSeeds now takes an AddrBook and returns an error: `DialSeeds(*AddrBook, []string) error`
  17. - NewNetAddressString now returns an error: `NewNetAddressString(string) (*NetAddress, error)`
  18. FEATURES:
  19. - `NewNetAddressStrings([]string) ([]*NetAddress, error)`
  20. - `AddrBook.Save()`
  21. IMPROVEMENTS:
  22. - PexReactor responsible for starting and stopping the AddrBook
  23. BUG FIXES:
  24. - DialSeeds returns an error instead of panicking on bad addresses
  25. ## 0.3.5 (January 12, 2017)
  26. FEATURES
  27. - Toggle strict routability in the AddrBook
  28. BUG FIXES
  29. - Close filtered out connections
  30. - Fixes for MakeConnectedSwitches and Connect2Switches
  31. ## 0.3.4 (August 10, 2016)
  32. FEATURES:
  33. - Optionally filter connections by address or public key
  34. ## 0.3.3 (May 12, 2016)
  35. FEATURES:
  36. - FuzzConn
  37. ## 0.3.2 (March 12, 2016)
  38. IMPROVEMENTS:
  39. - Memory optimizations
  40. ## 0.3.1 ()
  41. FEATURES:
  42. - Configurable parameters