Version 1.4.0

Release date: Jan 13, 2022

Highlights

  • :camera_flash: Introducing st.camera_input for uploading images straight from your camera.

Notable Changes

  • :vertical_traffic_light: Widgets now have the disabled parameter that removes interactivity.
  • :put_litter_in_its_place: Clear st.experimental_memo and st.experimental_singleton programmatically by using the clear() method on a cached function.
  • :incoming_envelope: Developers can now configure the maximum size of a message to accommodate larger messages within the Streamlit application. See server.maxMessageSize .
  • :snake: We formally added support for Python 3.10.

Other Changes

  • 😵‍💫 Calling str or repr on threading.current_thread() does not cause a RecursionError (#4172).
  • :video_camera: Gracefully stop screencast recording when user removes permission to record (#4180).
  • :city_sunrise: Better scale images by using a higher-quality image bilinear resampling algorithm (#4159).
2 Likes

The update caused ModuleNotFoundError: No module named 'streamlit.report_thread in two of my different apps.

As for changes, where can I read more about disabled parameter and clear() ?

Hey Johnny!

Sorry for the confusion here! So it looks like either your script or another script relied on a private API we do not promote. We typically tell people that we do not support relying on this because changes will happen unexpectedly, which is the case today. Are you importing this, or can you identify other code that is? This likely needs to be changed to continue working.

Hope it will be easy to fix :blush: