<commit_before>---
title:  "Apache Beam 2.42.0"
date:   2022-10-17 19:00:00 -0700
categories:
- blog
- release
authors:
- lostluck
---

<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

We are happy to present the new 2.42.0 release of Beam.
This release includes both improvements and new functionality.
See the [download page](/get-started/downloads/#2420-2022-10-17) for this release.

<!--more-->

For more information on changes in 2.42.0, check out the [detailed release notes](https://github.com/apache/beam/milestone/4?closed=1).

## Highlights

* Added support for stateful DoFns to the Go SDK.

## New Features / Improvements

* Added support for Zstd compression to the Python SDK.
* Added support for Google Cloud Profiler to the Go SDK.
* Added support for stateful DoFns to the Go SDK.

## Breaking Changes

* The Go SDK's Row Coder now uses a different single-precision float encoding for float32 types to match Java's behavior ([#22629](https://github.com/apache/beam/issues/22629)).

## Bugfixes

* Fixed Python cross-language JDBC IO Connector cannot read or write rows containing Timestamp type values [19817](https://github.com/apache/beam/issues/19817).

### Known Issues

* Go SDK doesn't yet support Slowly Changing Side Input pattern ([#23106](https://github.com/apache/beam/issues/23106))
* See a full list of open [issues that affect](https://github.com/apache/beam/milestone/4) this version.

## List of Contributors

According to git shortlog, the following people contributed to the 2.41.0 release. Thank you to all contributors!

Abirdcfly
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
bul<NAME>
bullet03
<NAME>
ChangyuLi28
<NAME>
Damon<commit_msg>Fix typo in 2.42.0 blog.<commit_after>---
title:  "Apache Beam 2.42.0"
date:   2022-10-17 19:00:00 -0700
categories:
- blog
- release
authors:
- lostluck
---

<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

We are happy to present the new 2.42.0 release of Beam.
This release includes both improvements and new functionality.
See the [download page](/get-started/downloads/#2420-2022-10-17) for this release.

<!--more-->

For more information on changes in 2.42.0, check out the [detailed release notes](https://github.com/apache/beam/milestone/4?closed=1).

## Highlights

* Added support for stateful DoFns to the Go SDK.

## New Features / Improvements

* Added support for Zstd compression to the Python SDK.
* Added support for Google Cloud Profiler to the Go SDK.
* Added support for stateful DoFns to the Go SDK.

## Breaking Changes

* The Go SDK's Row Coder now uses a different single-precision float encoding for float32 types to match Java's behavior ([#22629](https://github.com/apache/beam/issues/22629)).

## Bugfixes

* Fixed Python cross-language JDBC IO Connector cannot read or write rows containing Timestamp type values [19817](https://github.com/apache/beam/issues/19817).

### Known Issues

* Go SDK doesn't yet support Slowly Changing Side Input pattern ([#23106](https://github.com/apache/beam/issues/23106))
* See a full list of open [issues that affect](https://github.com/apache/beam/milestone/4) this version.

## List of Contributors

According to git shortlog, the following people contributed to the 2.42.0 release. Thank you to all contributors!

Abirdcfly
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
bul<NAME>
bullet03
<NAME>
ChangyuLi28
<NAME>
Damon
{'fraction_non_alphanumeric': 0.10057012542759407, 'fraction_numerical': 0.04150513112884835, 'mean_word_length': 4.284337349397591, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7479749', 'n_tokens_mistral': 1460, 'n_tokens_neox': 1295, 'n_words': 553}