# get_new_channel_versions

> **Function** in `langgraph`

📖 [View in docs](https://reference.langchain.com/python/langgraph/pregel/_utils/get_new_channel_versions)

Get subset of current_versions that are newer than previous_versions.

## Signature

```python
get_new_channel_versions(
    previous_versions: ChannelVersions,
    current_versions: ChannelVersions,
) -> ChannelVersions
```

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/0a26b471d34da94186bee8c48d0c463b5a3bd0a0/libs/langgraph/langgraph/pregel/_utils.py#L18)