Version 1.45.0

Highlights

  • :person: Announcing the general availability of st.user, a dict-like object to access information about the current user.

Notable Changes

Other Changes

  • :wastebasket: Per the scheduled deprecation, st.experimental_audio_input has been removed. Use st.audio_input instead.
  • :nail_polish: Various elements received styling tweaks for consistency and compatibility with advanced theming (#10916, #10930, #10915, #10944, #10990, #11033, #11034).
  • :hammer_and_pick: The element toolbar sizing and spacing was adjusted for improved UX (#11135, #11155).
  • :dotted_line_face: Bug fix: Streamlit does not display a frontend error when displaying an empty dataframe (#11100, #11064).
  • :repeat_button: Bug fix: st.context retains its information when calling st.rerun (#11113, #11111).
  • :poop: Bug fix: st.camera_input has the correct color and hover effect when disabled (#11116).
  • :microphone: Bug fix: st.audio_input has consistent color and hover effects with other widgets (#11118).
  • ↔️ Bug fix: st.logo displays correctly when the sidebar is resized (#11063, #11062).
  • :open_file_folder: Bug fix: st.file_uploader can handle multi-part file extensions in its type parameter (#11043, #11041). Thanks, moutayam!
  • :barber_pole: Bug fix: theme.fontFaces correctly supports font style (#11098, #11097).
  • :broom: Bug fix: streamlit init specifies file encoding to avoid errors in systems where UTF-8 is not the default (#11090, #11086). Thanks, ashm-dev!
  • :scroll: Bug fix: In the sidebar, space is reserved for the scrollbar to prevent flickering from resizing (#10733, #10310).
  • :worm: Bug fix: st.logo supports SVGs defined with a viewBox (#11038, #10904).
  • :skull_and_crossbones: Bug fix: st.date_input raises an error in the UI if a user enters a date outside of the specified allowed range (#10764, #8475).
  • :alien: Bug fix: st.snow and st.balloons don’t incorrectly rerun during a fragment rerun (#11015, #10961).
  • :ghost: Bug fix: When updating config.tomlduring development, Streamlit will elegantly handle invalid TOML formatting and reload the configuration file on the next save (#10857, #1256, #8320).
  • :butterfly: Bug fix: Streamlit applies the correct hover effect when colored text is used in button labels (#10996, #8767).
  • :crab: Bug fix: Streamlit ignores __init__.py and dotfiles in the /pages directory when automatically declaring pages in a multipage app (#11009, #11006).
  • :fast_forward_button: st.write received an optimization tweak for rendering strings (#10985).
  • :lizard: Bug fix: st.html renders at 100% width for correct sizing (#10976, #10964).
  • :snail: Bug fix: Page links become disabled if a client disconnects from the Streamlit server (#10946, #9198).
  • :spider_web: Bug fix: Streamlit supports newer emojis in page icons (#10912, #11154).
  • :cricket: Bug fix: st.exception only shows links to Google and ChatGPT when the app is being accessed through localhost (#10971, #10924).
  • :scorpion: Bug fix: st.chat_input will expand to show multi-line placeholder text in most browsers. Firefox does not support this fix (#10931, #10611).
  • :mosquito: Bug fix: Streamlit elegantly catches a TypeError when concurrent changes to rows and columns cause a failure in serialization (#10954, #10937).
  • :microbe: Bug fix: Streamlit cleanly handles non-ASCII characters in anchor links, which may change some anchors in existing apps (#10929, #8114).
  • :fly: Bug fix: To prevent a race condition, session information is not immediately cleared unless a new session message is received (#9886, #9767).
  • :cockroach: Bug fix: streamlit config show correctly displays client.showErrorDetails as a string instead of a list (#10921, #10913).
  • :spider: Bug fix: st.selectbox does not lose its value if a partial edit is abandoned (#10891).
  • :lady_beetle: Bug fix: st.badge doesn’t falsely show rainbow as a color option (#10896).
  • :honeybee: Bug fix: To avoid a file lock conflict the occurs with some IDEs, Streamlit’s file watcher utilities retries reading files when blocked (#10868, #4486). Thanks, Morridin!
  • :ant: Bug fix: st.selectbox and st.multiselect have consistent color and spacing for placeholder text (#10865).
  • :beetle: Bug fix: Context managers correctly handle form elements (#10752, #8761). Thanks, SrGesus!
  • :bug: Bug fix: st.link_button and st.tabs remain active when a client disconnects from a Streamlit server (#10861).
6 Likes