# Erlang OTP-27.1 Released

**URL:** <https://erlangforums.com/t/erlang-otp-27-1-released/4006>\
**Category:** Erlang News\
**Tags:** erlang-release\
**Created:** [September 18, 2024, 10:01am UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006 "2024-09-18T10:01:05Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![proxyles](https://erlangforums.com/letter_avatar_proxy/v4/letter/p/9de053/32.png) [@proxyles](https://erlangforums.com/u/proxyles)\
**Post date:** [September 18, 2024, 10:01am UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/1 "2024-09-18T10:01:05Z")

</div>

## OTP 27.1

Erlang/OTP 27.1 is the first maintenance patch package for OTP 27, with mostly bug fixes as well as improvements.

### Highlights

- The [`zip`](https://www.erlang.org/doc/apps/stdlib/zip.html) module has been updated with support for:

- All releases now have `.zip` versions of the Windows installer that can be used to install Erlang/OTP on Windows when you do not have administrator priviliges. You can download it from [Downloads - Erlang/OTP](http://erlang.org/downloads) or from [Releases · erlang/otp · GitHub](https://github.com/erlang/otp/releases).

### Potential incompatibilities:

- Progress reports for a dynamically started supervisor will now be logged at  
debug level.

For details about bugfixes and potential incompatibilities see  
the [Erlang 27.1 README](https://erlang.org/download/OTP-27.1.README)

The Erlang/OTP source can also be found at GitHub on the official Erlang repository,

> **[GitHub - erlang/otp: Erlang/OTP](https://github.com/erlang/otp)**
>
> Erlang/OTP

Download links for this and previous versions are found here

- [https://www.erlang.org/downloads](https://erlangforums.com/downloads)

---

<div class="post-metadata">

**Author:** ![zabrane](https://erlangforums.com/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@zabrane](https://erlangforums.com/u/zabrane)\
**Post date:** [September 20, 2024, 4:13am UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/3 "2024-09-20T04:13:45Z")

</div>

@proxyles we switched to 27.1 yesterday. No issue so far.

---

<div class="post-metadata">

**Author:** ![egze](https://erlangforums.com/user_avatar/erlangforums.com/egze/32/2582_2.png) [@egze](https://erlangforums.com/u/egze)\
**Post date:** [September 20, 2024, 11:48am UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/4 "2024-09-20T11:48:54Z")

</div>

A breaking change that affects us. [Errors with OTP 27.1 · Issue #38 · xavier/xlsx\_reader · GitHub](https://github.com/xavier/xlsx_reader/issues/38)

---

<div class="post-metadata">

**Author:** ![garazdawi](https://erlangforums.com/user_avatar/erlangforums.com/garazdawi/32/175_2.png) [@garazdawi](https://erlangforums.com/u/garazdawi)\
**Post date:** [September 20, 2024, 12:20pm UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/5 "2024-09-20T12:20:22Z")

</div>

Seems like either I or the tool that created those zip files have interpreted the zip64 standard incorrectly. As unix zip seems to be happy enough to extract these, I’m leaning towards me. When running zipinfo on `test.xlsx` it prints a lot of “There are an extra XYZ bytes preceding this file.”, which I’m guessing is the parts that are breaking things.

Thanks for the report, I’ll create a PR with a fix as soon as I’ve figured out what zip should do in these type of scenarios.

---

<div class="post-metadata">

**Author:** ![garazdawi](https://erlangforums.com/user_avatar/erlangforums.com/garazdawi/32/175_2.png) [@garazdawi](https://erlangforums.com/u/garazdawi)\
**Post date:** [September 20, 2024, 1:13pm UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/6 "2024-09-20T13:13:26Z")

</div>

Here is a PR with a fix: [stdlib: Fix unzip to not crash on unused data in zip64 extra header by garazdawi · Pull Request #8836 · erlang/otp · GitHub](https://github.com/erlang/otp/pull/8836) please test it to make sure that it works.

Do you know how that xlsx file was created?

---

<div class="post-metadata">

**Author:** ![egze](https://erlangforums.com/user_avatar/erlangforums.com/egze/32/2582_2.png) [@egze](https://erlangforums.com/u/egze)\
**Post date:** [September 20, 2024, 2:20pm UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/7 "2024-09-20T14:20:16Z")

</div>

The library author replied in the GH issue: [Errors with OTP 27.1 · Issue #38 · xavier/xlsx\_reader · GitHub](https://github.com/xavier/xlsx_reader/issues/38)

> It must be a mix of Apple Numbers, Google Sheets and perhaps Excel if the fixture was provided by a 3rd party. I can’t tell for sure.

---

<div class="post-metadata">

**Author:** ![egze](https://erlangforums.com/user_avatar/erlangforums.com/egze/32/2582_2.png) [@egze](https://erlangforums.com/u/egze)\
**Post date:** [September 20, 2024, 2:21pm UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/8 "2024-09-20T14:21:53Z")

</div>

@garazdawi Is there a way I can test it easily with asdf? Like install erlang by commit hash and then run the xslx\_reader tests?

---

<div class="post-metadata">

**Author:** ![egze](https://erlangforums.com/user_avatar/erlangforums.com/egze/32/2582_2.png) [@egze](https://erlangforums.com/u/egze)\
**Post date:** [September 20, 2024, 3:12pm UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/9 "2024-09-20T15:12:18Z")

</div>

Found it. `asdf install erlang ref:82313219eb08b962b05b9a614b57713e434f9f66 `

Or put this in `.tool-versions`

```erlang
elixir 1.17.3-otp-27
erlang ref:82313219eb08b962b05b9a614b57713e434f9f66

```

**Ran the tests: all good!**

---

<div class="post-metadata">

**Author:** ![MononcQc](https://erlangforums.com/user_avatar/erlangforums.com/mononcqc/32/417_2.png) [@MononcQc](https://erlangforums.com/u/MononcQc)\
**Post date:** [September 23, 2024, 1:49pm UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/10 "2024-09-23T13:49:54Z")

</div>

Hm, I’ve been having issues where previously working self-signed certificates seem to no longer be accepted, where I instead get an error:

```erlang
=NOTICE REPORT==== 23-Sep-2024::09:46:04.205008 ===
TLS client: In state wait_cert at ssl_handshake.erl:2175 generated CLIENT ALERT: Fatal - Bad Certificate
 - selfsigned_peer

```

What’s interesting is that if I try to instrument my `very_fun/3` function (which does certificate pinning), it does not even output anything, leading me to think there’s some weird issue with the new decoding and usage of `verify_fun/4` bailing out before I can tell it it’s actually okay?

This happens both in server and client mode.

---

<div class="post-metadata">

**Author:** ![dgud](https://erlangforums.com/user_avatar/erlangforums.com/dgud/32/191_2.png) [@dgud](https://erlangforums.com/u/dgud)\
**Post date:** [September 23, 2024, 2:05pm UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/11 "2024-09-23T14:05:19Z")

</div>

Does this solve anything for you?

> <https://github.com/erlang/otp/pull/8839>
>
> closes #8832

---

<div class="post-metadata">

**Author:** ![MononcQc](https://erlangforums.com/user_avatar/erlangforums.com/mononcqc/32/417_2.png) [@MononcQc](https://erlangforums.com/u/MononcQc)\
**Post date:** [September 23, 2024, 2:09pm UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/12 "2024-09-23T14:09:41Z")

</div>

I’ll try to get a custom build going and report back.

---

<div class="post-metadata">

**Author:** ![MononcQc](https://erlangforums.com/user_avatar/erlangforums.com/mononcqc/32/417_2.png) [@MononcQc](https://erlangforums.com/u/MononcQc)\
**Post date:** [September 23, 2024, 2:26pm UTC](https://erlangforums.com/t/erlang-otp-27-1-released/4006/13 "2024-09-23T14:26:45Z")

</div>

That wasn’t very challenging to do with Kerl, I can confirm I managed to make it work without issues using Ingela’s patch.

(It also appears that regardless of my tests, I wouldn’t get output out of the very\_fun functions, which is a bit funny but I imagine my `user` output got redirected at a place I didn’t expect in my release.)

I’ll be awaiting 27.1.1 then 🙂
