Anyone else noticed a difference in the spacing before a `lstlisting` environment since upgrading to version `1.7 2018/09/02`?

Here's a MWE with output with version 1.7 and version 1.6 for comparison.

I can get same output be removing the empty line before the `lstlisting` environment, but I'd rather not go through old files and do that. And it seems like wrong behaviour anyway.

Is this a bug?

Can anyone suggest a workaround to return things to the old behaviour?

MWE
===

```
\documentclass{article}
\usepackage{listings}
\begin{document}
Preceding paragraph.

\begin{lstlisting}{}
\documentclass{article}
\begin{document}
\end{document}
\end{lstlisting}

Subsequent paragraph.
\end{document}

```

Output with `listings 1.7 2018/09/02`
-------------------------------------

[![1.7 output](https://i.stack.imgur.com/rzBRV.png)](https://i.stack.imgur.com/rzBRV.png)

Output with `listings 1.6 2015/06/04`
-------------------------------------

[![1.6 output](https://i.stack.imgur.com/9FM8o.png)](https://i.stack.imgur.com/9FM8o.png)