# Changelog for Rust ic\_cdk

**URL:** <https://forum.dfinity.org/t/changelog-for-rust-ic-cdk/15800>\
**Category:** Rust\
**Created:** [October 8, 2022, 10:51am UTC](https://forum.dfinity.org/t/changelog-for-rust-ic-cdk/15800 "2022-10-08T10:51:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![saikatdas0790](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/saikatdas0790/32/17147_2.png) [@saikatdas0790](https://forum.dfinity.org/u/saikatdas0790)\
**Post date:** [October 8, 2022, 10:51am UTC](https://forum.dfinity.org/t/changelog-for-rust-ic-cdk/15800/1 "2022-10-08T10:51:11Z")

</div>

Is there a changelog somewhere for the ic\_cdk crate?

I noticed there’s a new release [version 0.6](https://crates.io/crates/ic-cdk/0.6.0) that bumps the minor version. I tried adding it to my project but it seems to be breaking `#[derive(CandidType)]` when paired with the [candid crate v0.8.2](https://crates.io/crates/candid/0.8.2)

Wondering if anyone knows?

Tagging @lwshang since he’s the publisher

---

<div class="post-metadata">

**Author:** ![lwshang](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/lwshang/32/3394_2.png) [@lwshang](https://forum.dfinity.org/u/lwshang)\
**Post date:** [October 9, 2022, 7:58pm UTC](https://forum.dfinity.org/t/changelog-for-rust-ic-cdk/15800/2 "2022-10-09T19:58:48Z")

</div>

Hi @saikatdas0790,

The changelog is here: [cdk-rs/CHANGELOG.md at main · dfinity/cdk-rs · GitHub](https://github.com/dfinity/cdk-rs/blob/main/src/ic-cdk/CHANGELOG.md)

Recent `ic-cdk v0.6` was mainly for `candid v0.8`. I just checked their compatibility by running cdk-rs examples with `ic-cdk v0.6.0` and `candid v0.8.2`. Everything works on my machine.

Could you share more about your project if the issue is still there?

---

<div class="post-metadata">

**Author:** ![saikatdas0790](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/saikatdas0790/32/17147_2.png) [@saikatdas0790](https://forum.dfinity.org/u/saikatdas0790)\
**Post date:** [October 10, 2022, 4:10am UTC](https://forum.dfinity.org/t/changelog-for-rust-ic-cdk/15800/3 "2022-10-10T04:10:24Z")

</div>

Sure, let me see if I can create a minimal reproduction

---

<div class="post-metadata">

**Author:** ![saikatdas0790](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/saikatdas0790/32/17147_2.png) [@saikatdas0790](https://forum.dfinity.org/u/saikatdas0790)\
**Post date:** [October 10, 2022, 5:26am UTC](https://forum.dfinity.org/t/changelog-for-rust-ic-cdk/15800/4 "2022-10-10T05:26:18Z")

</div>

I think it might be due to incompatibility with [ic-stable-memory](https://github.com/seniorjoinu/ic-stable-memory) custom type `SPrincipal`. I’ll keep this updated in case it’s the cdk or candid crates.

I created an issue with that library [here](https://github.com/seniorjoinu/ic-stable-memory/issues/10)

Basically trying to derive `CandidType` on a struct that had one of its fields as an `SPrincipal` was breaking compilation. Wasn’t sure what it was

---

<div class="post-metadata">

**Author:** ![lwshang](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/lwshang/32/3394_2.png) [@lwshang](https://forum.dfinity.org/u/lwshang)\
**Post date:** [October 12, 2022, 1:54am UTC](https://forum.dfinity.org/t/changelog-for-rust-ic-cdk/15800/5 "2022-10-12T01:54:58Z")

</div>

`ic-stable-memory` still depends on `candid v0.7` and `ic-cdk v0.5`. That indeed causes the problem.  
You may have to wait for that crate updating dependencies.

Recent `candid v0.8` and `ic-cdk v0.6` releases were mainly for dependency graph simplification while no feature was added. It’s okay to still use the older version.
