How to get file size?

Hello,
Previously (version 0.9.21) I used

{% set files = page.media.files %} 
{% for file in files %}
   {{ file.size }}
{% endfor %}

and it worked like a charm. But after upgrading to version 0.9.26 I get file names instead

I’ve asked @gert to answer this as he did some refactoring in the media handling recently.

The size property is not available anymore in the current release. We will review if it’s possible to add it again in the next release and keep you up to speed here.

Thank you for your reply and I hope it will be added again