# Instruction for code modification requred by Julia version-up

**URL:** <https://discourse.julialang.org/t/instruction-for-code-modification-requred-by-julia-version-up/16266>\
**Category:** New to Julia\
**Created:** [October 13, 2018, 3:38am UTC](https://discourse.julialang.org/t/instruction-for-code-modification-requred-by-julia-version-up/16266 "2018-10-13T03:38:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jo25](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jo25](https://discourse.julialang.org/u/jo25)\
**Post date:** [October 13, 2018, 3:38am UTC](https://discourse.julialang.org/t/instruction-for-code-modification-requred-by-julia-version-up/16266/1 "2018-10-13T03:38:21Z")

</div>

Dear experienced Julia users,

I have been using JuliaPro version 0.6.2.2. Today I have just tried JuliaPro version 1.0.1.1. I had to modify my codes for version 0.6.2.2 as follows.

dec —\> string  
find —\> findall  
Array{Int}(0,2) —\> Array{Int}(undef,0,2)

I wonder if there is any list of instructions for code modification required by Julia version-up.

Thank you for your consideration.

---

<div class="post-metadata">

**Author:** ![angusmoore](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/angusmoore/32/5654_2.png) [@angusmoore](https://discourse.julialang.org/u/angusmoore)\
**Post date:** [October 13, 2018, 5:41am UTC](https://discourse.julialang.org/t/instruction-for-code-modification-requred-by-julia-version-up/16266/2 "2018-10-13T05:41:05Z")

</div>

If you are prepared to use the regular Julia binary (instead of JuliaPro) v0.7 was made with this specifically in mind. Code from 0.6 will run, but it will give you deprecation warnings and tell you how to updated it so that it works on 0.7/1.0 (the two are identical except that 1.0 removes deprecation warnings): [PSA: use Julia 0.7 if you are upgrading](https://discourse.julialang.org/t/psa-use-julia-0-7-if-you-are-upgrading/13321)

If you don’t want to use the regular Julia binaries, NEWS.md for the 0.7.0 release contains a list of all the deprecated functions, and what they have been replaced with: [https://github.com/JuliaLang/julia/blob/v0.7.0/NEWS.md](https://github.com/JuliaLang/julia/blob/v0.7.0/NEWS.md)

---

<div class="post-metadata">

**Author:** ![jo25](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jo25](https://discourse.julialang.org/u/jo25)\
**Post date:** [October 13, 2018, 9:09am UTC](https://discourse.julialang.org/t/instruction-for-code-modification-requred-by-julia-version-up/16266/3 "2018-10-13T09:09:57Z")

</div>

Thank you for your reply.  
As for my codes using find or findall, JuliaPro version 1.0 was much faster than JuliaPro version 0.6. I thought version 1.0 was very good. But, before I read your reply, I had been afraid that Julia’s function names etc. might change without so much care. Now I am very glad to know the existence of version 0.7 and related Web pages.  
Thank you.
