- Rename Sphinx integration from
oembedpy.ext.sphinx
to oembedpy.adapters.sphinx
.
But it keeps package that can import.
- MkDocs integration: Create new integration as
oembedpy.adapters.mkdocs
.
- Sphinx integration: Cache response of oEmbed API into build-environment.
- Define optional dependencies, they are
sphinx
and mkdocs
.
- Update classifiers.
- Dprecated
oembedpy.ext.sphinx
(see Breaking changes).
- NOTE: It does not have new features and bug fixes.
- Add classifier for Python 3.13 (tests pass on GitHub Actions).
- NOTE: It does not have new features and bug fixes.
- Add link for documentation on PyPI.
- Add feature for fallback content when providers response invalid format.
- For CLI, add
--fallback
option.
- For Sphinx extension,
oembed_fallback_type
option.
- Clean up some type hinting.
- Check sources by mypy.
- Manage dependencies and project workspace by uv.
- "workspace" to cache responses (optnional)
- Reduce requests to providers.json
- Follow redirects when fetch embed content (#1)
- Use Ruff for formatting and linting
Support easy-using as library
- Fix case that
content-type
includes charset
- Display of CLI includes extra parameters
Bug fix for type behavior
- If API response includes un-excepted optionals, Pack
_extra
- Change internal code (delegate discovery)
- Add apidoc into documentation
For Sphinx
- CLI options are changed.
--maxwidth
to --max-width
--maxheight
to --max-height
- Support XML format content.
- Define Sphinx extension.
maxheight
use in API request correctly.
- Manage documentation. See RTD
- Add testcases.
- To work when
--maxwidth
or --maxheight
do not set.
- Drop
--json
option from CLI.
You can use --format=json
instead of it.
- Add CLI arguments
--maxwidth
and --maxheight
.
These are passed to oEmbed API URL as optional parameters.
- Add CLI arguments
--format
.
This is used as output format from CLI.
- Fix installation from README.
Initial release.
- Implement simple CLI to display oEmbed content.