diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c9f368..5999d7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,10 +13,10 @@ commit done between releases. *There is currently no beta releases of Parsee* ## Alpha -### v0.2.0[star-of-hope] <8/11/2024?> +### v0.2.0[star-of-hope] <8/11/2024> Fixes some media metadata things, replaces the build system, -tries out avatar support some more and speeds up Parsee a tad -bit. +tries out avatar support some more, MUC contexts, and speeds +up Parsee just a bit. MbedTLS support is still highly unstable. #### New things - Start dealing with some basic PEP and vCard-based avatar support from both sides. @@ -50,6 +50,8 @@ size on the fly, or having extensions being able to postprocess the stanza). - Parsee now stops when a stream error is received, instead of being in a limbo state. +- The format for links has been changed to be slighlty *less* +annoying. #### Deprecated features - The old `build.c` and `Makefile`s used for building are removed, diff --git a/src/Parsee/Data.c b/src/Parsee/Data.c index f7c8632..afdf188 100644 --- a/src/Parsee/Data.c +++ b/src/Parsee/Data.c @@ -54,11 +54,12 @@ ParseeInitData(XMPPComponent *comp) char *id = StrRandom(64); ref = DbCreate(data->db, 1, "info"); HashMapSet(DbJson(ref), "identifier", JsonValueString(id)); + HashMapSet(DbJson(ref), "version", JsonValueString(VERSION)); Free(id); } version = GrabString(DbJson(ref), 1, "version"); - if (!ParseeIsCompatible(VERSION, version)) + if (version && !ParseeIsCompatible(VERSION, version)) { Log(LOG_WARNING, "Version mismatch(curr=%s db=%s).", VERSION, version); Log(LOG_WARNING, "Yeah. You may want to _not_ do that.");