# XOD 0.31.0 released: Standard Library Improvements

**URL:** <https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643>\
**Category:** Announcements\
**Created:** [October 1, 2019, 3:39pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643 "2019-10-01T15:39:46Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [October 1, 2019, 3:39pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/1 "2019-10-01T15:39:47Z")

</div>

> **[XOD 0.31.0: Standard Library Improvements](https://medium.com/xodlang/xod-0-31-0-standard-library-improvements-8e00c2f3a45b)**
>
> Hi there! It was a long time since the last XOD visual programming language release but finally, the new 0.31.0 version is here. It brings…

---

<div class="post-metadata">

**Author:** ![uther2017](https://avatars.discourse-cdn.com/v4/letter/u/e19adc/32.png) [@uther2017](https://forum.xod.io/u/uther2017)\
**Post date:** [October 2, 2019, 1:24am UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/2 "2019-10-02T01:24:39Z")

</div>

I opened up XOD ide but it never offered me an update. Is there a way to manually start the update inside XOD ide? I don’t see anything in the menu system for updating the XOD software. Under help it says I have version 0.30.0

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [October 2, 2019, 6:59am UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/3 "2019-10-02T06:59:23Z")

</div>

Are you on Linux? The Linux version lacks auto-update.

Regardless of the OS you can download a new version and just install it over the existing one.

---

<div class="post-metadata">

**Author:** ![uther2017](https://avatars.discourse-cdn.com/v4/letter/u/e19adc/32.png) [@uther2017](https://forum.xod.io/u/uther2017)\
**Post date:** [October 2, 2019, 11:35am UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/4 "2019-10-02T11:35:55Z")

</div>

Okay that explains it. Yeah I’m on linux.

---

<div class="post-metadata">

**Author:** ![soulbringer](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/soulbringer/32/1511_2.png) [@soulbringer](https://forum.xod.io/u/soulbringer)\
**Post date:** [October 2, 2019, 4:48pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/5 "2019-10-02T16:48:50Z")

</div>

Hello

I had problems compiling a program after the installation of the new version and i fount that the error is caused by a defer node if it’s used for a cycle; for example, to reset a counter if it reaches a certain number.  
I reinstalled version 0.30.1 and tried the same program and it works.

This is the test program i made. Is it a bug of the new version?  
[Defer Test.xodball](https://forum.xod.io/uploads/short-url/4SXr0IMauTcAw9sOH0mnJSt49Ba.xodball) (2.6 KB)

---

<div class="post-metadata">

**Author:** ![w-thielen](https://avatars.discourse-cdn.com/v4/letter/w/a4c791/32.png) [@w-thielen](https://forum.xod.io/u/w-thielen)\
**Post date:** [October 2, 2019, 8:08pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/6 "2019-10-02T20:08:10Z")

</div>

I have also a problem whit 0.31.0 whit the Led ,after reinstalling 0.30.1 the problem is solved.  
The message i got  
Dead reference Error  
Path "xod/core/act"is not found in the project.

it appears only in the IDE version of 0.31.0 the online version is OK

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [October 3, 2019, 9:30am UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/7 "2019-10-03T09:30:21Z")

</div>

Looks like you have a stale standard library fork. Delete `$HOME/xod/ __lib__ /xod` and `$HOME/xod/ __lib__ /xod-dev`, restart IDE, and try again.

---

<div class="post-metadata">

**Author:** ![evgenykochetkov](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/evgenykochetkov/32/14_2.png) [@evgenykochetkov](https://forum.xod.io/u/evgenykochetkov)\
**Post date:** [October 3, 2019, 9:42am UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/8 "2019-10-03T09:42:59Z")

</div>

Yep, that’s a bug. Will release a fix very soon.

---

<div class="post-metadata">

**Author:** ![evgenykochetkov](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/evgenykochetkov/32/14_2.png) [@evgenykochetkov](https://forum.xod.io/u/evgenykochetkov)\
**Post date:** [October 8, 2019, 1:07pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/9 "2019-10-08T13:07:28Z")

</div>

@soulbringer, the fix is released. Please update to 0.31.1

---

<div class="post-metadata">

**Author:** ![w-thielen](https://avatars.discourse-cdn.com/v4/letter/w/a4c791/32.png) [@w-thielen](https://forum.xod.io/u/w-thielen)\
**Post date:** [October 9, 2019, 5:52am UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/10 "2019-10-09T05:52:59Z")

</div>

Even with the update i got the same problem using WIndows 10 Ide version 0.31.1  
eror path “xod/core/act”’ not found

Greetings Wim

 ![afbeelding](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/4/44e07f9f841083c313df0d22df6edcbd367d51d1.png)

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [October 9, 2019, 8:32am UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/11 "2019-10-09T08:32:27Z")

</div>

It’s very likely that you have a personal fork of `xod/core` from `0.30` which overrides the `0.31.1`. Hit File → Switch Workspace. What directory do you see here? In this directory, delete `./ __lib__ /xod` with your file browser.

---

<div class="post-metadata">

**Author:** ![w-thielen](https://avatars.discourse-cdn.com/v4/letter/w/a4c791/32.png) [@w-thielen](https://forum.xod.io/u/w-thielen)\
**Post date:** [October 9, 2019, 11:24am UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/12 "2019-10-09T11:24:36Z")

</div>

THX it works i just removed that specifiek map and installed the latest version

---

<div class="post-metadata">

**Author:** ![w-thielen](https://avatars.discourse-cdn.com/v4/letter/w/a4c791/32.png) [@w-thielen](https://forum.xod.io/u/w-thielen)\
**Post date:** [October 10, 2019, 12:57pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/13 "2019-10-10T12:57:44Z")

</div>

New problem in Xod/Core/ Equal

 ![afbeelding](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/1/10b78d9534ada7fb9d9281cfbc7a3e7733158dad.png)

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [October 10, 2019, 3:37pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/14 "2019-10-10T15:37:47Z")

</div>

delete equal or in the project browser select the type (number, etc)

there is a node with no connection there

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [October 10, 2019, 9:00pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/15 "2019-10-10T21:00:11Z")

</div>

Another bug? Someone pointed out gweimer/utils/running-avg no longer works. I assumed something had changed with update & there were errors with it somewhere, but it seems to be OK.

Trying to use it in a patch, nothing seems to update. Since it is built on gweimer/utils/queue-buffer, I tried testing it. In a patch by itself, it works fine. If I add running-avg to the same patch, it no longer updates

![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/1/13e84dba1a9635442ac1db2622df7fe9253df4b3.png)

Pulsing queue-buffer-UPD should update MEM output to match queue-buffer-NEW input. Pulsing again updates oMEM to match…except nothing happens in the patch above unless you delete the running-avg node, then queue-buffer works correctly.

How does having an unused patch (with no timers or other interrupts) affect a patch that only uses select, defer, and buffer nodes?

queue-buffer node:

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/8/8b2201dedfdcba05af8c569283e9aa7b63dc56bc.png)

---

<div class="post-metadata">

**Author:** ![evgenykochetkov](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/evgenykochetkov/32/14_2.png) [@evgenykochetkov](https://forum.xod.io/u/evgenykochetkov)\
**Post date:** [October 16, 2019, 3:54pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/16 "2019-10-16T15:54:10Z")

</div>

I was able to reproduce this bug, but only during simulation. Still investigating why this is happening.

Did you test it in simulation mode or on an a real board?

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [October 16, 2019, 8:32pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/17 "2019-10-16T20:32:18Z")

</div>

Simulation… I was too lazy to dig out my board

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [October 23, 2019, 8:32pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/18 "2019-10-23T20:32:18Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![evgenykochetkov](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/evgenykochetkov/32/14_2.png) [@evgenykochetkov](https://forum.xod.io/u/evgenykochetkov)\
**Post date:** [November 5, 2019, 1:52pm UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/19 "2019-11-05T13:52:32Z")

</div>



---

<div class="post-metadata">

**Author:** ![evgenykochetkov](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/evgenykochetkov/32/14_2.png) [@evgenykochetkov](https://forum.xod.io/u/evgenykochetkov)\
**Post date:** [November 14, 2019, 11:04am UTC](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643/20 "2019-11-14T11:04:47Z")

</div>

Turns out, the cloud compiler was making over-optimisations in some cases.  
@knopki has updated it, and now the problem is fixed.

[Next page](https://forum.xod.io/t/xod-0-31-0-released-standard-library-improvements/2643.md?page=2)
