Version 1.48.0

Highlights

  • :flexed_biceps: Announcing horizontal flex containers! Configure the alignment, direction, and gap of containers to create dynamic layouts.

Notable Changes

Other Changes

  • :cyclone: The spinner design was unified across Streamlit commands (#12031).
  • :nail_polish: Design and style tweaks (#12032, #11989, #11986, #11999, #12015, #11995, #11981, #11964).
  • :counterclockwise_arrows_button: Error logic and logging was improved to reduce confusion from asyncio runtime errors when unrelated errors are raised (#12008).
  • :placard: Dataframe column menus include an icon to show the column type and a button to copy the column name (#11303).
  • :computer_disk: For convenience, there are additional “extras” installation options (#11760, #8233).
  • :file_folder: Additional checks are performed to validate the extension of uploaded files, but app developers are still responsible for checking and handling the security of uploaded files (#11884, #11883).
  • :radio_button: Button group widgets are identified by their command name in error messages (#11769, #11753). Thanks, bajajku!
  • :crossed_swords: For st.snow, st.balloons, chat avatars, and media elements, the crossorigin property can be configured by hosts (#12087, #11948).
  • :cricket: Bug fix: Ctrl+C will stop a Streamlit server in Windows, even if there is no active session (#12049, #6855).
  • :scorpion: Bug fix: st.line_chart uses the column order in the chart data instead of reordering them alphabetically (#12092, #12071).
  • :mosquito: Bug fix: Menu items set in st.set_page_config are not hidden when client.toolbarMode is set to "minimal" (#12091, #12083).
  • :microbe: Bug fix: theme.codeFontWeight does not interfere with bold inline code (#12074, #11976).
  • :fly: Bug fix: To allow fractional pixel values, heading font sizes in theming configuration aren’t rounded (#12077, #11963).
  • :cockroach: Bug fix: Altair 5.4.0 and 5.4.1 have been excluded to prevent an upstream bug with reading dataframes (#12066, #12064).
  • :spider: Bug fix: Dataframe scrollbars have been tweaked to avoid sizing problems (#11936, #11921, #12053, #11985).
  • :lady_beetle: Bug fix: Linting accepts lists in addition to tuples for callback arguments in widgets (#12039).
  • :honeybee: Bug fix: To fix a deprecation warning, Altair theme syntax was updated (#12050).
  • :ant: Bug fix: st.navigation does not hide the menu when a single section is used with position="top" (#12025, #12029).
  • :beetle: Bug fix: The sidebar state does not reset when the window is resized (#12024, #12016).
  • :bug: Bug fix: st.pills and st.segmented_control don’t raise unintended StreamlitDuplicateElementId errors (#11982, #11975).
1 Like

I immediately started to test the “horizonal” direction and the “vertical_alignment” and they look absolutely promising!
Congrats, guys!

1 Like