ChangeLog 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. ENet 1.3.4 (May 29, 2012):
  2. * added enet_peer_ping_interval() for configuring per-peer ping intervals
  3. * added enet_peer_timeout() for configuring per-peer timeouts
  4. * added protocol packet size limits
  5. ENet 1.3.3 (June 28, 2011):
  6. * fixed bug with simultaneous disconnects not dispatching events
  7. ENet 1.3.2 (May 31, 2011):
  8. * added support for unreliable packet fragmenting via the packet flag
  9. ENET_PACKET_FLAG_UNRELIABLE_FRAGMENT
  10. * fixed regression in unreliable packet queuing
  11. * added check against received port to limit some forms of IP-spoofing
  12. ENet 1.3.1 (February 10, 2011):
  13. * fixed bug in tracking of reliable data in transit
  14. * reliable data window size now scales with the throttle
  15. * fixed bug in fragment length calculation when checksums are used
  16. ENet 1.3.0 (June 5, 2010):
  17. * enet_host_create() now requires the channel limit to be specified as
  18. a parameter
  19. * enet_host_connect() now accepts a data parameter which is supplied
  20. to the receiving receiving host in the event data field for a connect event
  21. * added an adaptive order-2 PPM range coder as a built-in compressor option
  22. which can be set with enet_host_compress_with_range_coder()
  23. * added support for packet compression configurable with a callback
  24. * improved session number handling to not rely on the packet checksum
  25. field, saving 4 bytes per packet unless the checksum option is used
  26. * removed the dependence on the rand callback for session number handling
  27. Caveats: This version is not protocol compatible with the 1.2 series or
  28. earlier. The enet_host_connect and enet_host_create API functions require
  29. supplying additional parameters.
  30. ENet 1.2.5 (June 28, 2011):
  31. * fixed bug with simultaneous disconnects not dispatching events
  32. ENet 1.2.4 (May 31, 2011):
  33. * fixed regression in unreliable packet queuing
  34. * added check against received port to limit some forms of IP-spoofing
  35. ENet 1.2.3 (February 10, 2011):
  36. * fixed bug in tracking reliable data in transit
  37. ENet 1.2.2 (June 5, 2010):
  38. * checksum functionality is now enabled by setting a checksum callback
  39. inside ENetHost instead of being a configure script option
  40. * added totalSentData, totalSentPackets, totalReceivedData, and
  41. totalReceivedPackets counters inside ENetHost for getting usage
  42. statistics
  43. * added enet_host_channel_limit() for limiting the maximum number of
  44. channels allowed by connected peers
  45. * now uses dispatch queues for event dispatch rather than potentially
  46. unscalable array walking
  47. * added no_memory callback that is called when a malloc attempt fails,
  48. such that if no_memory returns rather than aborts (the default behavior),
  49. then the error is propagated to the return value of the API calls
  50. * now uses packed attribute for protocol structures on platforms with
  51. strange alignment rules
  52. * improved autoconf build system contributed by Nathan Brink allowing
  53. for easier building as a shared library
  54. Caveats: If you were using the compile-time option that enabled checksums,
  55. make sure to set the checksum callback inside ENetHost to enet_crc32 to
  56. regain the old behavior. The ENetCallbacks structure has added new fields,
  57. so make sure to clear the structure to zero before use if
  58. using enet_initialize_with_callbacks().
  59. ENet 1.2.1 (November 12, 2009):
  60. * fixed bug that could cause disconnect events to be dropped
  61. * added thin wrapper around select() for portable usage
  62. * added ENET_SOCKOPT_REUSEADDR socket option
  63. * factored enet_socket_bind()/enet_socket_listen() out of enet_socket_create()
  64. * added contributed Code::Blocks build file
  65. ENet 1.2 (February 12, 2008):
  66. * fixed bug in VERIFY_CONNECT acknowledgement that could cause connect
  67. attempts to occasionally timeout
  68. * fixed acknowledgements to check both the outgoing and sent queues
  69. when removing acknowledged packets
  70. * fixed accidental bit rot in the MSVC project file
  71. * revised sequence number overflow handling to address some possible
  72. disconnect bugs
  73. * added enet_host_check_events() for getting only local queued events
  74. * factored out socket option setting into enet_socket_set_option() so
  75. that socket options are now set separately from enet_socket_create()
  76. Caveats: While this release is superficially protocol compatible with 1.1,
  77. differences in the sequence number overflow handling can potentially cause
  78. random disconnects.
  79. ENet 1.1 (June 6, 2007):
  80. * optional CRC32 just in case someone needs a stronger checksum than UDP
  81. provides (--enable-crc32 configure option)
  82. * the size of packet headers are half the size they used to be (so less
  83. overhead when sending small packets)
  84. * enet_peer_disconnect_later() that waits till all queued outgoing
  85. packets get sent before issuing an actual disconnect
  86. * freeCallback field in individual packets for notification of when a
  87. packet is about to be freed
  88. * ENET_PACKET_FLAG_NO_ALLOCATE for supplying pre-allocated data to a
  89. packet (can be used in concert with freeCallback to support some custom
  90. allocation schemes that the normal memory allocation callbacks would
  91. normally not allow)
  92. * enet_address_get_host_ip() for printing address numbers
  93. * promoted the enet_socket_*() functions to be part of the API now
  94. * a few stability/crash fixes