Skip to content

Commit

Permalink
chore(main): release 3.18.0 (ascorbic#126)
Browse files Browse the repository at this point in the history
* chore(main): release 3.18.0

* chore: perms

* chore: update action

* chore: format

---------

Co-authored-by: mixie-bot[bot] <127146692+mixie-bot[bot]@users.noreply.github.com>
Co-authored-by: ascorbic <[email protected]>
  • Loading branch information
mixie-bot[bot] and ascorbic authored Mar 12, 2024
1 parent 0aa185a commit c8cadc5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

permissions:
pull-requests: write
contents: write
jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -26,7 +27,6 @@ jobs:
- name: Typecheck
run: deno fmt
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: format"
branch: ${{ github.head_ref }}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<!-- deno-fmt-ignore-file -->
# Changelog

## [3.18.0](https://github.com/ascorbic/unpic/compare/v3.17.0...v3.18.0) (2024-03-12)


### Features

* add Supabase support ([#123](https://github.com/ascorbic/unpic/issues/123)) ([0aa185a](https://github.com/ascorbic/unpic/commit/0aa185ac71263e4d487d5ece19f316f65a6c0403))

## [3.17.0](https://github.com/ascorbic/unpic/compare/v3.16.1...v3.17.0) (2024-02-08)


Expand Down
4 changes: 3 additions & 1 deletion src/transformers/supabase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ export const generate: UrlGenerator<SupabaseParams> = (

if (height) searchParams.set("height", roundIfNumeric(height).toString());

if (format && ALLOWED_FORMATS.includes(format)) searchParams.set("format", format);
if (format && ALLOWED_FORMATS.includes(format)) {
searchParams.set("format", format);
}

if (params?.quality) {
searchParams.set("quality", roundIfNumeric(params.quality).toString());
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.17.0
3.18.0

0 comments on commit c8cadc5

Please sign in to comment.