github AssemblyScript/assemblyscript v0.25.0

latest releases: v0.26.7, v0.26.6, v0.26.5...
23 months ago

Breaking changes

  • Fix variable initialization checks / revise flow logic (#2578) (6717de0)
    Initialization of global variables sometimes wasn't guaranteed before, allowing unsafe behavior if initialization indeed wasn't performed before access. To mitigate, variables from now on require either an initializer, a primitive type with a trivial default value (typically 0), a nullable type (if a reference, defaulting to null) or otherwise annotation with definitive assignment (i.e. let someObject!: ..., then inserting a runtime check upon access).

Other

Don't miss a new assemblyscript release

NewReleases is sending notifications on new releases.