"immutable struct_name" once okay in julia?

I see codes like

immutable sector
    Sz::Int64
    kx::Float64
    ky::Float64
    z::Int64
end

in some github repository. Now it should be

struct sector
    Sz::Int64
    kx::Float64
    ky::Float64
    z::Int64
end

right? It seems that julia went through some drastic change.

Right

Yes, this was one of the last major changes before Julia 1.0.

What Github repository are you looking at ? There were many drastic changes for Julia pre-1.0. After 1.0 we mostly avoid breaking changes.

If we did make such a change, it would be called Julia 2.

See semantic versioning:

Seems to be this repo, and yes, this was last touched before 0.7/1.0 was released.