Skip to content

Commit

Permalink
Rotate release notes as part of the 0.58.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ponylang-main committed May 1, 2024
1 parent ae348bf commit d411ed9
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 43 deletions.
43 changes: 43 additions & 0 deletions .release-notes/0.58.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## Fix compiler crash

Previously the following code would cause the compiler to crash. Now it will display a helpful error message:

```pony
struct FFIBytes
var ptr: Pointer[U8 val] = Pointer[U8].create()
var length: USize = 0
fun iso string(): String val =>
recover String.from_cpointer(consume FFIBytes.ptr, consume FFIBytes.length) end
actor Main
new create(env: Env) =>
env.out.print("nothing to see here")
```

## Add prebuilt ponyc binaries for Ubuntu 24.04

We've added prebuilt ponyc binaries specifically made to work on Ubuntu 24.04.

You can opt into using the Ubuntu binaries when using ponyup by running:

```bash
ponyup default ubuntu24.04
```

## Fix generation of invalid LLVM IR

Previously, this code failed at LLVM module verification. Now, with this change, it's fixed by stopping the generation of `ret` instructions after terminator instructions:

```pony
class Foo
new create(a: U32) ? =>
error
actor Main
new create(env: Env) =>
try
let f = Foo(1)?
end
```

43 changes: 0 additions & 43 deletions .release-notes/next-release.md
Original file line number Diff line number Diff line change
@@ -1,43 +0,0 @@
## Fix compiler crash

Previously the following code would cause the compiler to crash. Now it will display a helpful error message:

```pony
struct FFIBytes
var ptr: Pointer[U8 val] = Pointer[U8].create()
var length: USize = 0
fun iso string(): String val =>
recover String.from_cpointer(consume FFIBytes.ptr, consume FFIBytes.length) end
actor Main
new create(env: Env) =>
env.out.print("nothing to see here")
```

## Add prebuilt ponyc binaries for Ubuntu 24.04

We've added prebuilt ponyc binaries specifically made to work on Ubuntu 24.04.

You can opt into using the Ubuntu binaries when using ponyup by running:

```bash
ponyup default ubuntu24.04
```

## Fix generation of invalid LLVM IR

Previously, this code failed at LLVM module verification. Now, with this change, it's fixed by stopping the generation of `ret` instructions after terminator instructions:

```pony
class Foo
new create(a: U32) ? =>
error
actor Main
new create(env: Env) =>
try
let f = Foo(1)?
end
```

0 comments on commit d411ed9

Please sign in to comment.