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