Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release post for 1.2.2 #208

Merged
merged 5 commits into from
Nov 10, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ url: https://crystal-lang.org
logo: /assets/media/crystal_logo.svg

latest_release:
version: 1.2.1
date: 2021-10-21
version: 1.2.2
date: 2021-11-10

defaults:
-
Expand Down
36 changes: 36 additions & 0 deletions _posts/2021-11-10-1.2.2-released.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: Crystal 1.2.2 is released!
summary: Fixing some bugs and adding support for OpenSSL 3 and DWARF 5
thumbnail: +
author: straight-shoota
release_notes: true
---

We are releasing the second patch release of the [1.2](https://crystal-lang.org/2021/10/14/1.2.0-released.html) series.

In this patch release we included [15 PRs since the 1.2.1 release](https://github.com/crystal-lang/crystal/pulls?q=is%3Apr+milestone%3A1.2.2) by 5 contributors.

## Fixes

We have fixed three regressions in the compiler, two of them related to debug mode:

* Virtual metaclasses missed a type restriction ([#11397](https://github.com/crystal-lang/crystal/issues/11376)) since 1.20.
straight-shoota marked this conversation as resolved.
Show resolved Hide resolved
* Debug locations were missing for some const and class var read calls ([#11417](https://github.com/crystal-lang/crystal/pull/11417)). This only affected `--debug` builds since 1.2.0.
* Debug locations were missing for some union types ([#11390](https://github.com/crystal-lang/crystal/pull/11390)). This only affected `--debug` builds since 1.2.1.

Among the other bug fixes, [#11344](https://github.com/crystal-lang/crystal/pull/11344)
fixed a long-standing codegen bug for passing structs in the x86_64 ABI.

## Support for OpenSSL 3 and LibreSSL

We added support for binding against OpenSSL 3.0 ([#11360](https://github.com/crystal-lang/crystal/pull/11360)) and restorted support for LibreSSL ([#11400](https://github.com/crystal-lang/crystal/pull/11400)), which can both be used as alternatives to OpenSSL 1.x.

## Support for DWARF 5

We also added support for DWARF 5 when reading debug info for stack traces ([#11399](https://github.com/crystal-lang/crystal/pull/11399)).
GCC 11 uses this version by default, so we're set for that.

Unrelated to DWARF 5 support, stack traces now show the filenames of shared libraries ([#11408](https://github.com/crystal-lang/crystal/pull/11408)).

---
We have been able to do all of this thanks to the continued support of [84codes](https://www.84codes.com/), [Nikola Motor Company](https://nikolamotor.com/) and every other [sponsor](/sponsors). To maintain and increase the development pace, donations and sponsorships are essential. [OpenCollective](https://opencollective.com/crystal-lang) is available for that. Reach out to [crystal@manas.tech](mailto:crystal@manas.tech) if you’d like to become a direct sponsor or find other ways to support Crystal. We thank you in advance!