Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 64a8ab2

Browse files
author
Andrew Smith
authored
Merge pull request #149 from supabase-community/fix/correct-option-type-for-transforms
Fix image transforms options
2 parents 7229864 + f8f7482 commit 64a8ab2

File tree

4 files changed

+211
-165
lines changed

4 files changed

+211
-165
lines changed

CHANGELOG.md

Lines changed: 148 additions & 148 deletions
Original file line numberDiff line numberDiff line change
@@ -287,19 +287,19 @@ Signed-off-by: dependabot[bot] <[email protected]> ([`c008911`](https://g
287287

288288
* chore(deps-dev): bump pytest from 7.3.1 to 7.3.2 (#108)
289289

290-
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.1 to 7.3.2.
291-
- [Release notes](https://github.com/pytest-dev/pytest/releases)
292-
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
293-
- [Commits](https://github.com/pytest-dev/pytest/compare/7.3.1...7.3.2)
294-
295-
---
296-
updated-dependencies:
297-
- dependency-name: pytest
298-
dependency-type: direct:development
299-
update-type: version-update:semver-patch
300-
...
301-
302-
Signed-off-by: dependabot[bot] <[email protected]>
290+
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.1 to 7.3.2.
291+
- [Release notes](https://github.com/pytest-dev/pytest/releases)
292+
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
293+
- [Commits](https://github.com/pytest-dev/pytest/compare/7.3.1...7.3.2)
294+
295+
---
296+
updated-dependencies:
297+
- dependency-name: pytest
298+
dependency-type: direct:development
299+
update-type: version-update:semver-patch
300+
...
301+
302+
Signed-off-by: dependabot[bot] <[email protected]>
303303
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`e5df2ff`](https://github.com/supabase-community/storage-py/commit/e5df2ff8a269337d206b7396ebab04039eb1684e))
304304

305305
* chore: test upload_to_signed_url ([`82ccab4`](https://github.com/supabase-community/storage-py/commit/82ccab43c98ae55078ed5fab76d9c12320261235))
@@ -341,19 +341,19 @@ Signed-off-by: dependabot[bot] <[email protected]> ([`1eef352`](https://g
341341

342342
* chore(deps-dev): bump pytest from 7.2.2 to 7.3.1 (#88)
343343

344-
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.2 to 7.3.1.
345-
- [Release notes](https://github.com/pytest-dev/pytest/releases)
346-
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
347-
- [Commits](https://github.com/pytest-dev/pytest/compare/7.2.2...7.3.1)
348-
349-
---
350-
updated-dependencies:
351-
- dependency-name: pytest
352-
dependency-type: direct:development
353-
update-type: version-update:semver-minor
354-
...
355-
356-
Signed-off-by: dependabot[bot] <[email protected]>
344+
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.2 to 7.3.1.
345+
- [Release notes](https://github.com/pytest-dev/pytest/releases)
346+
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
347+
- [Commits](https://github.com/pytest-dev/pytest/compare/7.2.2...7.3.1)
348+
349+
---
350+
updated-dependencies:
351+
- dependency-name: pytest
352+
dependency-type: direct:development
353+
update-type: version-update:semver-minor
354+
...
355+
356+
Signed-off-by: dependabot[bot] <[email protected]>
357357
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`a95a244`](https://github.com/supabase-community/storage-py/commit/a95a24410be08e9276f3e8214b621f6b82fd81ba))
358358

359359
* chore(deps): bump httpx from 0.23.3 to 0.24.0
@@ -374,19 +374,19 @@ Signed-off-by: dependabot[bot] <[email protected]> ([`84335cd`](https://g
374374

375375
* chore(deps-dev): bump pre-commit from 3.1.1 to 3.2.0 (#79)
376376

377-
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.1.1 to 3.2.0.
378-
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
379-
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
380-
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.1.1...v3.2.0)
381-
382-
---
383-
updated-dependencies:
384-
- dependency-name: pre-commit
385-
dependency-type: direct:development
386-
update-type: version-update:semver-minor
387-
...
388-
389-
Signed-off-by: dependabot[bot] <[email protected]>
377+
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.1.1 to 3.2.0.
378+
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
379+
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
380+
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.1.1...v3.2.0)
381+
382+
---
383+
updated-dependencies:
384+
- dependency-name: pre-commit
385+
dependency-type: direct:development
386+
update-type: version-update:semver-minor
387+
...
388+
389+
Signed-off-by: dependabot[bot] <[email protected]>
390390
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`a603a2a`](https://github.com/supabase-community/storage-py/commit/a603a2a684cf6d47eb5b58866c8c8263cc909852))
391391

392392
* chore(deps-dev): bump pytest from 7.2.1 to 7.2.2
@@ -417,25 +417,25 @@ Signed-off-by: dependabot[bot] <[email protected]> ([`e764f25`](https://g
417417

418418
* feat: created functions to get multiple signed URLs. (#105)
419419

420-
* feat: created functions to get multiple signed URLs.
421-
422-
* feat: Fixed optional params. Handling auth token issue #73 in separate PR.
423-
424-
* feat: remove sync code as it will be generated by unasync.
425-
426-
* chore: generate sync client
427-
428-
---------
429-
430-
Co-authored-by: Alexander Leonov <[email protected]>
420+
* feat: created functions to get multiple signed URLs.
421+
422+
* feat: Fixed optional params. Handling auth token issue #73 in separate PR.
423+
424+
* feat: remove sync code as it will be generated by unasync.
425+
426+
* chore: generate sync client
427+
428+
---------
429+
430+
Co-authored-by: Alexander Leonov <[email protected]>
431431
Co-authored-by: anand2312 <[email protected]> ([`2c5e2fc`](https://github.com/supabase-community/storage-py/commit/2c5e2fc309ab0f862a21e52da9b0e7c2c9d24e19))
432432

433433
* feat: bucket level file controls and an update_bucket method (#103)
434434

435-
* feat: bucket level file controls and an update_bucket method
436-
437-
* fix: import __future__ annotations
438-
435+
* feat: bucket level file controls and an update_bucket method
436+
437+
* fix: import __future__ annotations
438+
439439
python 3.8 doesn't allow subscripting types like list ([`80454f9`](https://github.com/supabase-community/storage-py/commit/80454f9f6de5d6d5db9840b848b39937fabf5407))
440440

441441
### Unknown
@@ -478,17 +478,17 @@ chore(deps): bump httpx from 0.23.3 to 0.24.1 ([`fc18260`](https://github.com/su
478478

479479
* Make FileOptions type (#100)
480480

481-
* Update lockfile
482-
483-
* feat: add FileOptions type, make some bucket fields optional
484-
485-
* feat: use FileOptions in upload and document it
486-
487-
* docs: add upload example to README
488-
489-
* fix: don't mark BaseBucket fields as default
490-
491-
this breaks every other class that inherits from BaseBucket and tries to add
481+
* Update lockfile
482+
483+
* feat: add FileOptions type, make some bucket fields optional
484+
485+
* feat: use FileOptions in upload and document it
486+
487+
* docs: add upload example to README
488+
489+
* fix: don't mark BaseBucket fields as default
490+
491+
this breaks every other class that inherits from BaseBucket and tries to add
492492
any non-default field. ([`1585e42`](https://github.com/supabase-community/storage-py/commit/1585e4279427934d5e027fc3ea2874085748caa6))
493493

494494
* Merge pull request #87 from supabase-community/dependabot/pip/main/httpx-0.24.0
@@ -497,8 +497,8 @@ chore(deps): bump httpx from 0.23.3 to 0.24.0 ([`b69a8ba`](https://github.com/su
497497

498498
* Fix bad typing on upload functions (#89)
499499

500-
* Fix bad typing on upload functions
501-
500+
* Fix bad typing on upload functions
501+
502502
* Format using black ([`40fc84b`](https://github.com/supabase-community/storage-py/commit/40fc84b7784b37b9da24c09d2eba2d282603c4fb))
503503

504504
* Merge branch 'main' into dependabot/pip/main/httpx-0.24.0 ([`c1b64e1`](https://github.com/supabase-community/storage-py/commit/c1b64e105e06f146499ef7503a958e4f143cd4ed))
@@ -989,40 +989,40 @@ Signed-off-by: dependabot[bot] <[email protected]> ([`68df5c2`](https://g
989989

990990
* chore(deps-dev): bump pytest-asyncio from 0.19.0 to 0.20.1 (#26)
991991

992-
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.19.0 to 0.20.1.
993-
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
994-
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst)
995-
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.19.0...v0.20.1)
996-
997-
---
998-
updated-dependencies:
999-
- dependency-name: pytest-asyncio
1000-
dependency-type: direct:development
1001-
update-type: version-update:semver-minor
1002-
...
1003-
1004-
Signed-off-by: dependabot[bot] <[email protected]>
1005-
1006-
Signed-off-by: dependabot[bot] <[email protected]>
992+
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.19.0 to 0.20.1.
993+
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
994+
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst)
995+
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.19.0...v0.20.1)
996+
997+
---
998+
updated-dependencies:
999+
- dependency-name: pytest-asyncio
1000+
dependency-type: direct:development
1001+
update-type: version-update:semver-minor
1002+
...
1003+
1004+
Signed-off-by: dependabot[bot] <[email protected]>
1005+
1006+
Signed-off-by: dependabot[bot] <[email protected]>
10071007
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`999e8c9`](https://github.com/supabase-community/storage-py/commit/999e8c993822177d017ab3f7a69aea0209fefea2))
10081008

10091009
* chore(deps-dev): bump pytest from 6.2.5 to 7.2.0 (#28)
10101010

1011-
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.2.0.
1012-
- [Release notes](https://github.com/pytest-dev/pytest/releases)
1013-
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
1014-
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.2.0)
1015-
1016-
---
1017-
updated-dependencies:
1018-
- dependency-name: pytest
1019-
dependency-type: direct:development
1020-
update-type: version-update:semver-major
1021-
...
1022-
1023-
Signed-off-by: dependabot[bot] <[email protected]>
1024-
1025-
Signed-off-by: dependabot[bot] <[email protected]>
1011+
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.2.0.
1012+
- [Release notes](https://github.com/pytest-dev/pytest/releases)
1013+
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
1014+
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.2.0)
1015+
1016+
---
1017+
updated-dependencies:
1018+
- dependency-name: pytest
1019+
dependency-type: direct:development
1020+
update-type: version-update:semver-major
1021+
...
1022+
1023+
Signed-off-by: dependabot[bot] <[email protected]>
1024+
1025+
Signed-off-by: dependabot[bot] <[email protected]>
10261026
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`ed35024`](https://github.com/supabase-community/storage-py/commit/ed35024fea5f28fafd6e9b66e73b689e5a9f12f5))
10271027

10281028
* chore(deps-dev): bump pytest-cov from 3.0.0 to 4.0.0
@@ -1043,21 +1043,21 @@ Signed-off-by: dependabot[bot] <[email protected]> ([`d22118b`](https://g
10431043

10441044
* chore(deps-dev): bump sphinx from 5.2.3 to 5.3.0 (#25)
10451045

1046-
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.2.3 to 5.3.0.
1047-
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
1048-
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES)
1049-
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v5.2.3...v5.3.0)
1050-
1051-
---
1052-
updated-dependencies:
1053-
- dependency-name: sphinx
1054-
dependency-type: direct:development
1055-
update-type: version-update:semver-minor
1056-
...
1057-
1058-
Signed-off-by: dependabot[bot] <[email protected]>
1059-
1060-
Signed-off-by: dependabot[bot] <[email protected]>
1046+
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.2.3 to 5.3.0.
1047+
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
1048+
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES)
1049+
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v5.2.3...v5.3.0)
1050+
1051+
---
1052+
updated-dependencies:
1053+
- dependency-name: sphinx
1054+
dependency-type: direct:development
1055+
update-type: version-update:semver-minor
1056+
...
1057+
1058+
Signed-off-by: dependabot[bot] <[email protected]>
1059+
1060+
Signed-off-by: dependabot[bot] <[email protected]>
10611061
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`9f7bc01`](https://github.com/supabase-community/storage-py/commit/9f7bc01b135fbdcb1f7767f426011c0630408712))
10621062

10631063
### Feature
@@ -1072,18 +1072,18 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu
10721072

10731073
* fix: datetime and upload file type (#12)
10741074

1075-
* [fix] datetime and upload file type
1076-
1077-
fix datetime error and add more acceptable file type
1078-
1079-
* [Fix] Add python-dateutil as dependency
1080-
1081-
* Fix lock file
1082-
1083-
* chore: reformat with black
1084-
1085-
* chore: calm isort down
1086-
1075+
* [fix] datetime and upload file type
1076+
1077+
fix datetime error and add more acceptable file type
1078+
1079+
* [Fix] Add python-dateutil as dependency
1080+
1081+
* Fix lock file
1082+
1083+
* chore: reformat with black
1084+
1085+
* chore: calm isort down
1086+
10871087
Co-authored-by: Anand <[email protected]> ([`a926a06`](https://github.com/supabase-community/storage-py/commit/a926a068234e68afbf8039fc7f71565397dfea86))
10881088

10891089
### Unknown
@@ -1260,8 +1260,8 @@ chore(deps-dev): bump pytest-asyncio from 0.18.3 to 0.19.0 ([`31d886c`](https://
12601260

12611261
* Justinbarak patch 1 (#14)
12621262

1263-
* Removed double "/" in get_public_url
1264-
1263+
* Removed double "/" in get_public_url
1264+
12651265
* Removed double "/" in get_public_url ([`20de85e`](https://github.com/supabase-community/storage-py/commit/20de85e677e29cd17bb210a402be947f0ad98509))
12661266

12671267

@@ -1321,12 +1321,12 @@ fix: upload fixes ([`844561f`](https://github.com/supabase-community/storage-py/
13211321

13221322
* Docs (#6)
13231323

1324-
* docs: setup
1325-
1326-
* docs: write basic documentation
1327-
1328-
* chore: fix lock file
1329-
1324+
* docs: setup
1325+
1326+
* docs: write basic documentation
1327+
1328+
* chore: fix lock file
1329+
13301330
* chore: calm pre-commit down ([`0974414`](https://github.com/supabase-community/storage-py/commit/0974414707f3e97fc8e44197d1f59a5699a0b582))
13311331

13321332

@@ -1502,22 +1502,22 @@ Co-authored-by: Anand <[email protected]> ([`734
15021502

15031503
* Sync support (#1)
15041504

1505-
* deps: update black, add unasync
1506-
1507-
* feat: make BaseBucket
1508-
1509-
* feat: rework bucket, file APIs
1510-
1511-
* fix: avoid circular import on StorageException
1512-
1513-
* deps: add dotenv
1514-
1515-
* feat: pass User-Agent header with requests
1516-
1517-
* fix: correct type-hint
1518-
1519-
* fix: formatting
1520-
1505+
* deps: update black, add unasync
1506+
1507+
* feat: make BaseBucket
1508+
1509+
* feat: rework bucket, file APIs
1510+
1511+
* fix: avoid circular import on StorageException
1512+
1513+
* deps: add dotenv
1514+
1515+
* feat: pass User-Agent header with requests
1516+
1517+
* fix: correct type-hint
1518+
1519+
* fix: formatting
1520+
15211521
* chore: update example in README ([`75c9c43`](https://github.com/supabase-community/storage-py/commit/75c9c43ea373cb58970255b8e7438c2ec67e7f25))
15221522

15231523
* Merge branch 'main' of github.com:J0/storage-py into main ([`d41b573`](https://github.com/supabase-community/storage-py/commit/d41b57391f04453986f06d564c5c207e4c75b7cc))

0 commit comments

Comments
 (0)