# Map v8.0.0, it's finally here

**URL:** <https://forum.dfinity.org/t/map-v8-0-0-its-finally-here/18962>\
**Category:** Language Support\
**Tags:** Motoko\
**Created:** [March 16, 2023, 1:52pm UTC](https://forum.dfinity.org/t/map-v8-0-0-its-finally-here/18962 "2023-03-16T13:52:12Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![augchan42](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/augchan42/32/3405_2.png) [@augchan42](https://forum.dfinity.org/u/augchan42)\
**Post date:** [January 6, 2024, 2:41pm UTC](https://forum.dfinity.org/t/map-v8-0-0-its-finally-here/18962/21 "2024-01-06T14:41:57Z")

</div>

Just wanted to double confirm that this map is stable and has no need for pre/post upgrade functions? As stable keyword isn’t used in the code sample and it’s not mentioned prominently except for the Github about.

---

<div class="post-metadata">

**Author:** ![ZhenyaUsenko](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/zhenyausenko/32/12200_2.png) [@ZhenyaUsenko](https://forum.dfinity.org/u/ZhenyaUsenko)\
**Post date:** [January 6, 2024, 2:48pm UTC](https://forum.dfinity.org/t/map-v8-0-0-its-finally-here/18962/22 "2024-01-06T14:48:58Z")

</div>

That’s correct. **Map** internal structure does not contain any functions (or any other types that are forbidden by **stable** keyword) so you can easily declare it as **stable**. All **stable** variables will persist between upgrades.

---

<div class="post-metadata">

**Author:** ![augchan42](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/augchan42/32/3405_2.png) [@augchan42](https://forum.dfinity.org/u/augchan42)\
**Post date:** [January 6, 2024, 3:04pm UTC](https://forum.dfinity.org/t/map-v8-0-0-its-finally-here/18962/23 "2024-01-06T15:04:02Z")

</div>

This look ok? It compiled for me

```auto
stable var transactionLog : Map.Map<Nat64, TransactionInfo> = Map.new<Nat64, TransactionInfo>();

```

I’m on dfx 0.15.2

[Previous page](https://forum.dfinity.org/t/map-v8-0-0-its-finally-here/18962.md?page=1)
