Upgrading streamlit 0.7 to 0.8
Unknown0.7 → 0.8.2
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
DepDelta is still reading the release notes in this range. This updates as they come in.
Adds async-timeout ==3.0.0, attrs ==18.1.0, bson ==0.5.5, chardet ==3.0.4, idna ==2.6, idna-ssl ==1.0.1, multidict ==4.3.1, numpy ==1.14.3, python-dateutil ==2.7.3, pytz ==2018.4, six ==1.11.0, yarl ==1.2.4.
Drops motor.
Installs 20 packages in all (was 22).
Also installs setuptools.
No longer installs aiohappyeyeballs, aiosignal, dnspython, frozenlist, propcache, pymongo, tzdata.
Moves aiohttp 3.14.5 → 3.2.1, attrs 26.1.0 → 18.1.0, docutils 0.23.0 → 0.14.0, idna 3.20.0 → 2.6.0, multidict 7.2.1 → 4.3.1, numpy 2.5.4 → 1.14.3, pandas 3.1.0 → 0.22.0, pillow 13.0.0 → 5.1.0, protobuf 7.36.2 → 3.5.2.post1, python-dateutil 3.0.0 → 2.7.3, pyyaml 6.0.3 → 3.12.0, six 1.17.0 → 1.11.0, tzlocal 5.4.5 → 1.5.1, yarl 1.25.1 → 1.2.4. Your build may pick other versions.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
class Chart - added:
constructor Chart(data, type, width=…, height=…, **kwargs) - added:
function register_component(component_name, implemented) - added:
function register_type_builder(chart_type) - added:
method Chart.append_component(component_name, props) - added:
method Chart.marshall(proto_chart) - added:
variable INDEX_COLUMN_DESIGNATOR - added:
variable current_module
- added:
class ChartComponent - added:
constructor ChartComponent(type, props) - added:
method ChartComponent.marshall(proto_component) - added:
property ChartComponent.type
- added:
class DeltaGenerator - added:
constructor DeltaGenerator(queue, id=…) - added:
function register_chart_method(chart_type) - added:
method DeltaGenerator.add_rows(df) - added:
method DeltaGenerator.chart(chart) - added:
method DeltaGenerator.dataframe(pandas_df) - added:
method DeltaGenerator.empty(element) - added:
method DeltaGenerator.error(element, body) - added:
method DeltaGenerator.exception(element, exception) - added:
method DeltaGenerator.header(element, string) - added:
method DeltaGenerator.help(element, obj) - added:
method DeltaGenerator.image(element, image, caption=…, width=…) - added:
method DeltaGenerator.img(imgs, caption=…, width=…) - added:
method DeltaGenerator.info(element, body) - added:
method DeltaGenerator.json(element, body) - added:
method DeltaGenerator.map(element, points) - added:
method DeltaGenerator.markdown(element, body) - added:
method DeltaGenerator.progress(element, value) - added:
method DeltaGenerator.subheader(element, string) - added:
method DeltaGenerator.success(element, body) - added:
method DeltaGenerator.text(element, body) - added:
method DeltaGenerator.title(element, string) - added:
method DeltaGenerator.warning(element, body) - added:
variable EXPORT_TO_IO_FLAG - added:
variable MAX_DELTA_BYTES
- added:
class Proxy - added:
constructor Proxy() - added:
function main() - added:
method Proxy.run_app() - added:
method Proxy.stop()
- added:
class ProxyConnection - added:
constructor ProxyConnection(id, name) - added:
method ProxyConnection.add_client_queue() - added:
method ProxyConnection.can_be_deregistered() - added:
method ProxyConnection.end_grace_period() - added:
method ProxyConnection.enqueue(delta) - added:
method ProxyConnection.finished_local_connection() - added:
method ProxyConnection.remove_client_queue(queue)
- added:
async method ReportQueue.flush_queue(ws) - added:
class QueueState(enum.Enum) - added:
class ReportQueue - added:
constructor ReportQueue() - added:
field QueueState.CLOSED - added:
field QueueState.CLOSING - added:
field QueueState.OPEN - added:
method ReportQueue.clone() - added:
method ReportQueue.close() - added:
method ReportQueue.get_deltas() - added:
method ReportQueue.is_closed() - added:
static method ReportQueue.compose(delta1, delta2)
- added:
async method Switchboard.stream_from(report_id) - added:
class Switchboard - added:
constructor Switchboard(loop, remove_master_queues=…) - added:
method Switchboard.stream_to(report_id)
- added:
function cache(func) - added:
function clear_cache(verbose=…)
- added:
function to_lower_camel_case(snake_case_str) - added:
function to_snake_case(camel_case_str) - added:
function to_upper_camel_case(snake_case_str)
- added:
class ColorCycler(ValueCycler) - added:
class ColumnAtCurrentIndex - added:
class ColumnAtIndex - added:
class ForEachColumn - added:
class IndexColumn - added:
class ValueCycler - added:
constructor ColorCycler() - added:
constructor ColumnAtIndex(index) - added:
constructor ForEachColumn(comp) - added:
constructor ValueCycler(*items) - added:
method ValueCycler.get(index) - added:
variable BASIC_REQUIRED_COMPONENTS - added:
variable CHART_COMPONENTS - added:
variable CHART_TYPES - added:
variable CHART_TYPES_SNAKE - added:
variable DASH_STR - added:
variable REQUIRED_COMPONENTS
- added:
function get_option(option) - added:
function get_path(option)
- added:
class Connection - added:
constructor Connection() - added:
function get_delta_generator() - added:
method Connection.get_delta_generator() - added:
method Connection.register() - added:
method Connection.unregister() - added:
static method Connection.get_connection()
- added:
function add_rows(delta1, delta2) - added:
function any_array_len(any_array) - added:
function concat_any_array(any_array_1, any_array_2) - added:
function concat_index(index1, index2) - added:
function get_data_frame(delta) - added:
function index_len(index) - added:
function marshall_any_array(pandas_array, proto_array) - added:
function marshall_data_frame(pandas_df, proto_df) - added:
function marshall_index(pandas_index, proto_index) - added:
function marshall_table(pandas_table, proto_table)
- added:
function convert_captions_to_list(captions, n_imgs) - added:
function convert_imgs_to_list(imgs) - added:
function convert_to_3_color_channels(imgs) - added:
function convert_to_uint8(imgs) - added:
function marshall_images(numpy_imgs, captions, width, proto_imgs)
- added:
function echo() - added:
function spinner(text) - added:
function write(*args)
- removed:
class Chart - removed:
constructor Chart(data, type, width=…, height=…, **kwargs) - removed:
function register_component(component_name, implemented) - removed:
function register_type_builder(chart_type) - removed:
method Chart.append_component(component_name, props) - removed:
method Chart.marshall(proto_chart) - removed:
variable INDEX_COLUMN_DESIGNATOR - removed:
variable current_module
- removed:
class ChartComponent - removed:
constructor ChartComponent(type, props) - removed:
method ChartComponent.marshall(proto_component) - removed:
property ChartComponent.type
- removed:
class Proxy - removed:
constructor Proxy() - removed:
function main() - removed:
method Proxy.run_app() - removed:
method Proxy.stop()
- removed:
class ProxyConnection - removed:
constructor ProxyConnection(id, name) - removed:
method ProxyConnection.add_client_queue() - removed:
method ProxyConnection.can_be_deregistered() - removed:
method ProxyConnection.end_grace_period() - removed:
method ProxyConnection.enqueue(delta) - removed:
method ProxyConnection.finished_local_connection() - removed:
method ProxyConnection.remove_client_queue(queue)
- removed:
function cache(func) - removed:
function clear_cache(verbose=…)
- removed:
function to_lower_camel_case(snake_case_str) - removed:
function to_snake_case(camel_case_str) - removed:
function to_upper_camel_case(snake_case_str)
- removed:
class ColorCycler(ValueCycler) - removed:
class ColumnAtCurrentIndex - removed:
class ColumnAtIndex - removed:
class ForEachColumn - removed:
class IndexColumn - removed:
class ValueCycler - removed:
constructor ColorCycler() - removed:
constructor ColumnAtIndex(index) - removed:
constructor ForEachColumn(comp) - removed:
constructor ValueCycler(*items) - removed:
method ValueCycler.get(index) - removed:
variable BASIC_REQUIRED_COMPONENTS - removed:
variable CHART_COMPONENTS - removed:
variable CHART_TYPES - removed:
variable CHART_TYPES_SNAKE - removed:
variable DASH_STR - removed:
variable REQUIRED_COMPONENTS
- removed:
class Connection - removed:
constructor Connection() - removed:
function get_delta_generator() - removed:
method Connection.get_delta_generator() - removed:
method Connection.register() - removed:
method Connection.unregister() - removed:
static method Connection.get_connection()
- removed:
function spinner(text) - removed:
function write(*args)
- removed:
function display_reference() - removed:
function render(func)
- removed:
function escape_markdown(raw_string) - removed:
function get_local_id() - removed:
function streamlit_read(path, binary=…) - removed:
function streamlit_write(path, binary=…)
- added:
variable dir_path
- added:
variable Chart - added:
variable ChartComponent - added:
variable ChartProperty - added:
variable DESCRIPTOR
- added:
variable AnyArray - added:
variable DESCRIPTOR - added:
variable DataFrame - added:
variable DatetimeIndex - added:
variable DoubleArray - added:
variable Float64Index - added:
variable Index - added:
variable Int64Array - added:
variable Int64Index - added:
variable MultiIndex - added:
variable PlainIndex - added:
variable RangeIndex - added:
variable StringArray - added:
variable Table - added:
variable TimedeltaIndex - added:
variable UInt32Array
- added:
variable DESCRIPTOR - added:
variable DataTransform - added:
variable NONE - added:
variable STACK - added:
variable UNKNOWN
- added:
variable DESCRIPTOR - added:
variable Delta - added:
variable DeltaList
- added:
variable DESCRIPTOR - added:
variable DocString
- added:
variable DESCRIPTOR - added:
variable Element
- added:
variable DESCRIPTOR - added:
variable Empty
- added:
variable DESCRIPTOR - added:
variable Exception
- added:
variable DESCRIPTOR - added:
variable Image - added:
variable ImageList
- added:
variable DESCRIPTOR - added:
variable Map
- added:
variable DESCRIPTOR - added:
variable Progress
- added:
variable DESCRIPTOR - added:
variable StreamlitMsg
- added:
variable DESCRIPTOR - added:
variable Text
- added:
variable DESCRIPTOR - added:
variable VegaLiteChart
- added:
function display_reference()
- removed:
class DeltaGenerator - removed:
constructor DeltaGenerator(queue, id=…) - removed:
function register_chart_method(chart_type) - removed:
method DeltaGenerator.add_rows(df) - removed:
method DeltaGenerator.chart(chart) - removed:
method DeltaGenerator.dataframe(pandas_df) - removed:
method DeltaGenerator.empty(element) - removed:
method DeltaGenerator.error(element, body) - removed:
method DeltaGenerator.exception(element, exception) - removed:
method DeltaGenerator.header(element, string) - removed:
method DeltaGenerator.help(element, obj) - removed:
method DeltaGenerator.image(element, image, caption=…, width=…) - removed:
method DeltaGenerator.img(imgs, caption=…, width=…) - removed:
method DeltaGenerator.info(element, body) - removed:
method DeltaGenerator.json(element, body) - removed:
method DeltaGenerator.markdown(element, body) - removed:
method DeltaGenerator.progress(element, value) - removed:
method DeltaGenerator.subheader(element, string) - removed:
method DeltaGenerator.success(element, body) - removed:
method DeltaGenerator.text(element, body) - removed:
method DeltaGenerator.title(element, string) - removed:
method DeltaGenerator.warning(element, body) - removed:
variable EXPORT_TO_IO_FLAG - removed:
variable MAX_DELTA_BYTES
- removed:
async method ReportQueue.flush_deltas(ws) - removed:
class ReportQueue - removed:
constructor ReportQueue() - removed:
method ReportQueue.clone() - removed:
method ReportQueue.get_deltas() - removed:
static method ReportQueue.compose(delta1, delta2)
- removed:
async method Switchboard.stream_from(report_id) - removed:
class Switchboard - removed:
constructor Switchboard(loop, remove_master_queues=…) - removed:
method Switchboard.stream_to(report_id)
- removed:
function get_option(option) - removed:
function get_path(option)
- removed:
function add_rows(delta1, delta2) - removed:
function any_array_len(any_array) - removed:
function concat_any_array(any_array_1, any_array_2) - removed:
function concat_index(index1, index2) - removed:
function get_data_frame(delta) - removed:
function index_len(index) - removed:
function marshall_any_array(pandas_array, proto_array) - removed:
function marshall_data_frame(pandas_df, proto_df) - removed:
function marshall_index(pandas_index, proto_index) - removed:
function marshall_table(pandas_table, proto_table)
- removed:
function convert_captions_to_list(captions, n_imgs) - removed:
function convert_imgs_to_list(imgs) - removed:
function convert_to_3_color_channels(imgs) - removed:
function convert_to_uint8(imgs) - removed:
function marshall_images(numpy_imgs, captions, width, proto_imgs)
- removed:
variable dir_path
- removed:
variable Chart - removed:
variable ChartComponent - removed:
variable ChartProperty - removed:
variable DESCRIPTOR
- removed:
variable AnyArray - removed:
variable DESCRIPTOR - removed:
variable DataFrame - removed:
variable DatetimeIndex - removed:
variable DoubleArray - removed:
variable Float64Index - removed:
variable Index - removed:
variable Int64Array - removed:
variable Int64Index - removed:
variable MultiIndex - removed:
variable PlainIndex - removed:
variable RangeIndex - removed:
variable StringArray - removed:
variable Table - removed:
variable TimedeltaIndex - removed:
variable UInt32Array
- removed:
variable DESCRIPTOR - removed:
variable Delta - removed:
variable DeltaList
- removed:
variable DESCRIPTOR - removed:
variable Div
- removed:
variable DESCRIPTOR - removed:
variable DocString
- removed:
variable DESCRIPTOR - removed:
variable Element
- removed:
variable DESCRIPTOR - removed:
variable Empty
- removed:
variable DESCRIPTOR - removed:
variable Exception
- removed:
variable DESCRIPTOR - removed:
variable Image - removed:
variable ImageList
- removed:
variable DESCRIPTOR - removed:
variable Progress
- removed:
variable DESCRIPTOR - removed:
variable Report
- removed:
variable DESCRIPTOR - removed:
variable StreamlitMsg
- removed:
variable DESCRIPTOR - removed:
variable Text
- removed:
async function new_report_msg(report_id, ws) - removed:
async function streamlit_msg_iter(ws)
- added:
async function new_report_msg(report_id, ws) - added:
async function streamlit_msg_iter(ws)
- added:
function escape_markdown(raw_string) - added:
function get_local_id() - added:
function streamlit_read(path, binary=…) - added:
function streamlit_write(path, binary=…)