ChangeLog 4.6 KB

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