Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "5.0.0"
".": "5.1.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 43
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-9d184cb502ab32a85db2889c796cdfebe812f2a55a604df79c85dd4b5e7e2add.yml
openapi_spec_hash: a9aa620376fce66532c84f9364209b0b
config_hash: 71cab8223bb5610c6c7ca6e9c4cc1f89
configured_endpoints: 48
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-7a3257eb171467b637c8d72877f201c2e6038c71ed447a9453230b7309ce7416.yml
openapi_spec_hash: 87b000a9989ad5c9526f28d91b8a1749
config_hash: aeb6eb949d73382270bbd8bbf2e4cf2a
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Changelog

## 5.1.0 (2026-01-15)

Full Changelog: [v5.0.0...v5.1.0](https://github.com/imagekit-developer/imagekit-python/compare/v5.0.0...v5.1.0)

### Features

* **api:** Add saved extensions API and enhance transformation options ([a0781ed](https://github.com/imagekit-developer/imagekit-python/commit/a0781edc19f2cbd78a87e973e0cc2277079fb02a))
* **client:** add support for binary request streaming ([f8580d6](https://github.com/imagekit-developer/imagekit-python/commit/f8580d644e31312e439a54704ca2e3858407ea0b))


### Bug Fixes

* **client:** loosen auth header validation ([40ef10e](https://github.com/imagekit-developer/imagekit-python/commit/40ef10e6e81ff3727a095aead127d296486a3c09))
* use async_to_httpx_files in patch method ([0014808](https://github.com/imagekit-developer/imagekit-python/commit/0014808307e55091a943d2f6b087fefbaee8ed0a))


### Chores

* **internal:** add `--fix` argument to lint script ([e6bf019](https://github.com/imagekit-developer/imagekit-python/commit/e6bf0196fe985302e11fb440cd3d215114a8e4c3))
* **internal:** add missing files argument to base client ([aec7892](https://github.com/imagekit-developer/imagekit-python/commit/aec7892b063c00b730afcdc440c0fa3ebe1cdae8))
* **internal:** codegen related update ([49635b4](https://github.com/imagekit-developer/imagekit-python/commit/49635b4dc6bd4268fc6a62f9df2a2e15c56afcee))
* speedup initial import ([ad1da84](https://github.com/imagekit-developer/imagekit-python/commit/ad1da84adad57d0a64a8f06a04c6ddb6b8f0e96b))


### Documentation

* prominently feature MCP server setup in root SDK readmes ([51c1a9a](https://github.com/imagekit-developer/imagekit-python/commit/51c1a9ae1545a25b574195ec73b83dab64d9becb))

## 5.0.0 (2025-12-13)

Full Changelog: [v0.0.1...v5.0.0](https://github.com/imagekit-developer/imagekit-python/compare/v0.0.1...v5.0.0)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2025 Image Kit
Copyright 2026 Image Kit

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
20 changes: 19 additions & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
```python
from imagekitio.types import (
BaseOverlay,
ExtensionConfig,
Extensions,
GetImageAttributesOptions,
ImageOverlay,
Overlay,
OverlayPosition,
OverlayTiming,
ResponsiveImageAttributes,
SavedExtension,
SolidColorOverlay,
SolidColorOverlayTransformation,
SrcOptions,
Expand Down Expand Up @@ -111,7 +113,23 @@ Methods:
Methods:

- <code title="get /v1/files/{fileId}/metadata">client.files.metadata.<a href="./src/imagekitio/resources/files/metadata.py">get</a>(file_id) -> <a href="./src/imagekitio/types/metadata.py">Metadata</a></code>
- <code title="get /v1/files/metadata">client.files.metadata.<a href="./src/imagekitio/resources/files/metadata.py">get_from_url</a>(\*\*<a href="src/imagekitio/types/files/metadata_get_from_url_params.py">params</a>) -> <a href="./src/imagekitio/types/metadata.py">Metadata</a></code>
- <code title="get /v1/metadata">client.files.metadata.<a href="./src/imagekitio/resources/files/metadata.py">get_from_url</a>(\*\*<a href="src/imagekitio/types/files/metadata_get_from_url_params.py">params</a>) -> <a href="./src/imagekitio/types/metadata.py">Metadata</a></code>

# SavedExtensions

Types:

```python
from imagekitio.types import SavedExtensionListResponse
```

Methods:

- <code title="post /v1/saved-extensions">client.saved_extensions.<a href="./src/imagekitio/resources/saved_extensions.py">create</a>(\*\*<a href="src/imagekitio/types/saved_extension_create_params.py">params</a>) -> <a href="./src/imagekitio/types/shared/saved_extension.py">SavedExtension</a></code>
- <code title="patch /v1/saved-extensions/{id}">client.saved_extensions.<a href="./src/imagekitio/resources/saved_extensions.py">update</a>(id, \*\*<a href="src/imagekitio/types/saved_extension_update_params.py">params</a>) -> <a href="./src/imagekitio/types/shared/saved_extension.py">SavedExtension</a></code>
- <code title="get /v1/saved-extensions">client.saved_extensions.<a href="./src/imagekitio/resources/saved_extensions.py">list</a>() -> <a href="./src/imagekitio/types/saved_extension_list_response.py">SavedExtensionListResponse</a></code>
- <code title="delete /v1/saved-extensions/{id}">client.saved_extensions.<a href="./src/imagekitio/resources/saved_extensions.py">delete</a>(id) -> None</code>
- <code title="get /v1/saved-extensions/{id}">client.saved_extensions.<a href="./src/imagekitio/resources/saved_extensions.py">get</a>(id) -> <a href="./src/imagekitio/types/shared/saved_extension.py">SavedExtension</a></code>

# Assets

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "imagekitio"
version = "5.0.0"
version = "5.1.0"
description = "The official Python library for the ImageKit API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
9 changes: 7 additions & 2 deletions scripts/lint
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ set -e

cd "$(dirname "$0")/.."

echo "==> Running lints"
rye run lint
if [ "$1" = "--fix" ]; then
echo "==> Running lints with --fix"
rye run fix:ruff
else
echo "==> Running lints"
rye run lint
fi

echo "==> Making sure it imports"
rye run python -c 'import imagekitio'
Loading
Loading