Releases: rakaly/librakaly
Releases · rakaly/librakaly
v0.7.5
Release 0.7.5
v0.7.4 - 2020-12-09
Negative dates can now be melted into the equivalent plaintext
v0.7.3
Release 0.7.3
v0.7.1 - 2020-10-06
Support parsing saves that contain empty containers:
history = {
{}
1689.10.2={
decision="abc123"
}
}
It is known that this format can occur in EU4 but it could also occur in others.
v0.7.0 - 2020-10-02
rakaly_imperator_melt
added to melt imperator saves- CK3 saves now melt
levels = { 10 0=1 1=2 }
losslessly
v0.6.0 - 2020-09-08
A couple of small, but nevertheless breaking changes:
rakaly_melt_write_data
now returns asize_t
to indicate how many bytes were written. If the given melted buffer is null or if the given length isn't long enough to write into, then a 0 instead of -1 is returned.rakaly_melt_write_data
no longer writes a trailing null terminator into the buffer
v0.5.0 - 2020-09-07
- Melt CK3 autosaves, ironman, and binary data into utf-8 plaintext
- Add c++ wrapper:
rakaly_wrapper.h
- The c header,
rakaly.h
, is now c++ compatible
v0.4.0 - 2020-09-04
This is a rewrite to the API so that one can properly deallocate the melted data that librakaly allocates. This is how the use the new API:
MeltedBuffer *melt = rakaly_eu4_melt(buf_in, buf_in_len);
if (rakaly_melt_error_code(melt)) {
rakaly_free_melt(melt);
return 1;
}
size_t melted_len = rakaly_melt_data_length(melt);
size_t melted_str_len = melted_len + 1;
char *melted_buf = malloc(melted_str_len);
if (melted_buf == NULL) {
rakaly_free_melt(melt);
return 1;
}
size_t wrote_len = rakaly_melt_write_data(melt, melted_buf, melted_str_len);
if (wrote_len < 0) {
free(melted_buf);
rakaly_free_melt(melt);
return 1;
}
rakaly_free_melt(melt);
// now do whatever you want with melted_buf
free(melted_buf);
eu4save is updated from 0.1.2 to 0.2.2. The only noticeable differences should be dates prior to 1000.1.1 will now have leading zeros removed, so the melted output will now correctly contain 1.1.1 instead of 0001.1.1
v0.3.1 - 2020-08-15
- First open source release
- Fixed unknown ironman key when encountering a save with a revolution center