Commit Graph

19 Commits

Author SHA1 Message Date
bastimeyer 21dc431fb6 docs: move up removal badges on deprecations page 2024-03-09 13:22:55 +01:00
bastimeyer 70d5d4a108 cli: add --plugin-dir, deprecate --plugin-dirs 2024-03-08 17:25:58 +01:00
bastimeyer f2b16ede21 docs: Streamlink.{get,load}_plugins() deprecation 2024-02-09 00:47:07 +01:00
bastimeyer e9760e8423 docs: HTTPSession and HTTPAdapters deprecation 2024-02-09 00:47:07 +01:00
bastimeyer bb906ab426 docs: replace simple/grid-tables with list-tables 2023-08-08 18:11:21 +02:00
bastimeyer 33781b706e docs: add migrations page, rewrite deprecations 2023-07-13 03:11:13 +02:00
bastimeyer 51c1ee4670 docs: fix various API references 2023-06-24 13:38:25 +02:00
bastimeyer fa8139d147 docs: split API docs into multiple documents 2023-06-24 13:38:25 +02:00
bastimeyer e9304ed7a0 cli: add --progress={yes,no,force} CLI argument
- Add `--progress` CLI argument and fix order of output arguments
- Deprecate `--force-progress` in favor of `--progress=force`
- Move progress check from `StreamRunner` to `output_stream()`
  and update signature of `StreamRunner` constructor
- Update tests
2023-03-31 10:11:49 -07:00
bastimeyer 0589750c8f options: deprecate global plugin arguments
- Raise `StreamlinkDeprecationWarning` when `is_global=True`
- Remove all global plugin arguments and replace them with simple
  option lookups on the Streamlink session instance
- Remove global argument detection in custom Sphinx plugins extension
- Remove supported plugins list from custom Sphinx argparse extension
  and remove respective setup from `setup_plugin_args` in the CLI module
- Add deprecation note to the docs
- Update tests
  - Check whether builtin plugins define global plugin arguments
  - Capture deprecation warnings
2023-02-03 10:21:31 -08:00
bastimeyer c211e5866e plugin.api.validate: deprecate text alias
- Deprecate text alias and raise StreamlinkDeprecationWarning on access
- Add deprecation to docs
- Replace validate.text with str in remaining plugins
- Update test
2023-01-13 11:27:11 -08:00
bastimeyer 20ec908faf docs: add Plugin + Session changes to deprecations 2022-08-28 12:24:56 -07:00
bastimeyer 8ede143b1c stream.hls: turn url_master into property
with backwards compatibility for the deprecated url_master parameter,
and read the value from the parsed multivariant playlist instead, if it
exists.

See 7cb0ebe96f
2022-07-08 16:04:53 -07:00
bastimeyer 67780648d1 plugin.api: remove utils module
Remove unneeded itertags function and utils.parse export aliases
2022-04-18 08:12:18 -07:00
bastimeyer a90bfadcc2 release: 3.0.0 2021-11-16 21:29:46 -08:00
beardypig 501e4a027b cli: deprecate the --https-proxy option as well as the Session options 2021-10-29 19:43:07 -07:00
bastimeyer e253c4ba04 session: deprecate options for spec. stream types
Having multiple session options and CLI arguments for different stream
types which are already covered by generic options/arguments is not only
redundant, but also confusing.

A distinction between different stream types does only make sense when
multiple different stream types are available and the user needs to
explicitly set different values for each of them, but since it's not
always clear which stream type is returned when a stream is selected
via the "best" stream name synonym for example, this makes it even more
confusing. And it's redundant as well, since only one stream can be
selected anyway.

- deprecate `{dash,hds,hls}-segment-attempts`
  in favor of `stream-segment-attempts`
- deprecate `{dash,hds,hls}-segment-threads`
  in favor of `stream-segment-threads`
- deprecate `{dash,hds,hls}-segment-timeout`
  in favor of `stream-segment-timeout`
- deprecate `{dash,hds,hls,rtmp,http-stream}-timeout`
  in favor of `stream-timeout` (dash/http-stream were never used)
- fix `HTTPStream` and use `stream-timeout` instead of `http-timeout`
- suppress deprecated CLI arguments
- update help texts of generic CLI arguments
- fix docs and add entry to deprecations page
2021-07-31 09:09:45 +02:00
bastimeyer 34b792d139 docs: fix headline anchors on deprecations page 2021-07-21 11:13:07 -07:00
bastimeyer 1dce48708d docs: add deprecations page 2021-07-02 16:57:10 +02:00