# Changelog All notable changes to this project will be documented in this file. ## [0.5.0] - 2024-11-14 [20eb8f0](20eb8f01579d1a4c8896c5ffb6479682da111c81)...[92e4ccb](92e4ccb4d4ab5b80acf1292058e6012d9141247c) ### Features - Add the ability to use a closure as a handler ([deb8bfb](deb8bfbebee7d96fd8b7c76194f7314a4fc0c8b2)) - Event handler now takes ownership of the event ([f3f9205](f3f9205aa67e6857fb25c38e53cfd87b268939e4)), BREAKING CHANGE:Previously, the event was passed by reference. - Add the ability to listen and dispatch event by string ([77ec1d3](77ec1d3db8c095f6f9bda80e2b5a5b40662c435e)) ### Example - Update examples to take ownership of the event ([09b1358](09b1358ead24db9cc6a41cb2cb990137c96250e9)) - Add `closure` and `string` examples ([84563be](84563be4adb92ffbeadbce09df0ee82e736e9bf3)) ## [0.3.7] - 2024-05-14 [8447ba7](8447ba7e0ebbdf50caf7af0a8376ff1429e64251)...[20eb8f0](20eb8f01579d1a4c8896c5ffb6479682da111c81) ### Bug Fixes - Remove commented out code ([b9aa402](b9aa40297c4feb07ee28c3e5e860d79762c02be0)) ### Features - Add the ability to unsubscribe from a event ([3272097](32720976855f19eafe2d7551dc6522223e837d3e)) ### Example - Add unsubscribing example ([6043c2e](6043c2ede14c29a514d451d294e1691130c6e1d6)) ## [0.3.6] - 2024-02-07 [6eff0cf](6eff0cfaac575cdbe249f89a8a6115f9a421413a)...[8447ba7](8447ba7e0ebbdf50caf7af0a8376ff1429e64251) ### Features - Add `ref` versions for the dispatched event methods ([af04d42](af04d428293e4a891df2b8d4da6ca0678aff2546)) ## [0.3.5] - 2024-01-30 [67c92f5](67c92f5c42af9bbfabeb4765e7b06caf9ff41aad)...[6eff0cf](6eff0cfaac575cdbe249f89a8a6115f9a421413a) ### Features - Expose the name of the event ([2cec039](2cec0390c180ba1af20d284681d24482e4141892)) - Add the ability to call the handlers on current thread ([bc2c8bf](bc2c8bf1b08fb56fbcef5c8b8cb1bb941b1fca05)) ### Example - Add `once` and `propagate` examples ([d1f9315](d1f931587cf9610bca03a8282c007144f2e79682)) ## [0.3.4] - 2024-01-10 [9af6e25](9af6e256f4cb98462115e4bc2936c1f14fd44662)...[67c92f5](67c92f5c42af9bbfabeb4765e7b06caf9ff41aad) ### Fix - Gracefully initialize the dispatcher ([9d8f74c](9d8f74c1965a5e46655a6e08062292062ad9e303)) ## [0.3.1] - 2023-11-01 [890088f](890088fc8a23829cb2df823e429eade3a78d50f6)...[b011eec](b011eec92913675c975568772c9096ccc3e38618) ### Features - Can now dispatch an serialised event ([46a4c47](46a4c47cc1bfd13f59e86cc12566a2778f71b1e0)) - Now expose some metadata ([342fee4](342fee4c064e4dae4fbf110c0a061da6e405e717)) - Add git-cliff config ([1d476da](1d476daeee97c895373aaa447baa219d8425d3bf)) ### Refactor - Change the `mpsc` channel data structure ([596c044](596c0442d35bc4d3dcc2a8cf080f1ec329a55883))