Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
546 commits
Select commit Hold shift + click to select a range
b68d865
refactor: remove unused type packages
robinpyon Mar 9, 2021
6c51ba3
fix: move sanity-ui and styled-components into peer deps
robinpyon Mar 10, 2021
416f855
chore(release): 1.1.3
robinpyon Mar 10, 2021
b010852
revert: move sanity-ui and styled-components back into main deps
robinpyon Mar 10, 2021
2d4639c
chore(release): 1.1.4
robinpyon Mar 10, 2021
b8ee6b3
chore(deps): upgrade @sanity/client dev dependency
rexxars Mar 25, 2021
e1d3d7f
refactor: use type-only imports from @sanity/client
rexxars Mar 25, 2021
c953d1e
feat: use API-versioned client if available
rexxars Mar 25, 2021
c1fed1f
chore(deps): remove @sanity/client from peer dependencies
rexxars Mar 25, 2021
880a795
Merge branch 'rexxars-feat/client-versioning'
robinpyon Mar 25, 2021
0340b6e
chore(release): 1.2.0
robinpyon Mar 25, 2021
5100ef9
chore: bump sanity/ui
robinpyon Mar 29, 2021
7ca1b63
chore(release): 1.2.1
robinpyon Mar 29, 2021
ea0cb07
fix: fix portal container positioning: use @sanity/ui portal componen…
robinpyon Mar 29, 2021
9dae9f5
chore(release): 1.2.2
robinpyon Mar 29, 2021
2c37ce5
docs: update README
robinpyon Apr 16, 2021
4cf25cc
feat: add “Copy URL” button to asset metadata actions
coreyward Apr 27, 2021
4eb579e
feat: wrap copy URL button with a timed popover and move to a separat…
robinpyon Apr 27, 2021
4e21681
chore(release): 1.3.0
robinpyon Apr 27, 2021
916d736
chore: bump framer-motion to v4
robinpyon May 8, 2021
39a7a77
fix: only check against asset._type when searching for linked asset IDs
robinpyon May 8, 2021
f6f1e6b
refactor: use observable client where applicable, assert fetch respon…
robinpyon May 9, 2021
2016b5d
refactor: add types to react-dropzone `getFilesFromEvent` handler
robinpyon May 9, 2021
cfa18ea
chore(release): 1.3.1
robinpyon May 9, 2021
59ebcb6
chore(deps): bump lodash from 4.17.20 to 4.17.21
dependabot[bot] May 10, 2021
e4ad735
chore(deps): bump glob-parent from 5.1.1 to 5.1.2
dependabot[bot] Jun 10, 2021
ce426d7
chore(deps): bump path-parse from 1.0.6 to 1.0.7
dependabot[bot] Aug 11, 2021
3eddafd
Merge pull request #39 from robinpyon/dependabot/npm_and_yarn/lodash-…
robinpyon Sep 9, 2021
ba75fe1
Merge pull request #44 from robinpyon/dependabot/npm_and_yarn/glob-pa…
robinpyon Sep 9, 2021
e71ae9f
Merge pull request #45 from robinpyon/dependabot/npm_and_yarn/path-pa…
robinpyon Sep 9, 2021
2c12f9e
chore(deps): bump url-parse from 1.5.0 to 1.5.3
dependabot[bot] Sep 9, 2021
55840c5
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9
dependabot[bot] Sep 9, 2021
abdc7e3
fix(tags): render all tags in a virtualized container
robinpyon Sep 5, 2021
696e8b8
refactor: bump @sanity/client and use latest API version
robinpyon Sep 5, 2021
7a2b988
feat: add initial file custom asset source support: conditionally fil…
robinpyon Sep 6, 2021
91d84b7
refactor: replace react-window with react-virtuoso, remove framer-mot…
robinpyon Sep 7, 2021
f712c4c
feat: virtualize react-select views
robinpyon Sep 8, 2021
5948a94
feat: disable react-select until all tags have loaded in full
robinpyon Sep 8, 2021
7b3aaba
feat: add overscan to asset grid view
robinpyon Sep 8, 2021
08e69d9
chore: bump @sanity/ui + icons
robinpyon Sep 8, 2021
4afb51e
fix: force search facet <MenuButton /> to render in a portal, remove …
robinpyon Sep 8, 2021
4f70fab
feat: add filename facet
robinpyon Sep 8, 2021
dfe7b87
docs: update README
robinpyon Sep 8, 2021
5d0ebaa
Revert "fix: force search facet <MenuButton /> to render in a portal,…
robinpyon Sep 8, 2021
94465a5
fix: force fixed positioning on sanity-ui Dialogs to prevent mobile s…
robinpyon Sep 8, 2021
04904e5
fix: ensure that no empty virtuoso views are rendered
robinpyon Sep 8, 2021
6d9ff9a
refactor: tweak picked bar button positioning
robinpyon Sep 9, 2021
152fbbe
style: remove overflowX, tweak tag padding slightly
robinpyon Sep 9, 2021
57a9a94
style: fix minor layout regression with tag subheaders / labels, forc…
robinpyon Sep 18, 2021
b65e0e6
fix: ensure that generic tag deletion errors are caught and displayed…
robinpyon Sep 18, 2021
185d2e0
docs: update README
robinpyon Sep 22, 2021
6558ef7
chore(release): 1.4.0
robinpyon Sep 22, 2021
1abf9e8
fix: quickfix to work around a minor regression in sanity 2.21.0
robinpyon Oct 14, 2021
26512f5
chore(release): 1.4.1
robinpyon Oct 14, 2021
4f0288c
Merge pull request #48 from robinpyon/dependabot/npm_and_yarn/hosted-…
robinpyon Oct 21, 2021
4878dc8
Merge pull request #47 from robinpyon/dependabot/npm_and_yarn/url-par…
robinpyon Oct 21, 2021
e51fbce
chore: bump reduxjs/toolkit to 1.5.1
robinpyon Oct 21, 2021
8e30854
fix: force minimum height on canvas when generating low res previews
robinpyon Oct 21, 2021
6b0e527
chore(release): 1.4.2
robinpyon Oct 21, 2021
0f7d544
fix: expose _id, assetId and url in default input search
robinpyon Oct 26, 2021
ce8c7ff
chore(release): 1.4.3
robinpyon Oct 26, 2021
fd0394a
chore: update @reduxjs/toolkit to 1.6.2
nickrttn Oct 27, 2021
e8bcd8d
refactor: use the version of redux bundled with RTK
robinpyon Nov 14, 2021
2c0e4a3
chore: migrate to husky 7, bump commitlint dependencies
robinpyon Nov 14, 2021
02a7fba
chore(release): 1.4.4
robinpyon Nov 14, 2021
7f67460
chore: update dev + peer deps
robinpyon May 3, 2022
20b1877
fix: wrap tool browser in a flex element, fix layout issues on smalle…
robinpyon May 3, 2022
da78850
build: add lint-staged, bump husky + commitlint deps
robinpyon May 3, 2022
47186f6
chore: update and use semver range for most regular dependencies
robinpyon May 3, 2022
170905d
chore: update eslintignore
robinpyon May 3, 2022
a853789
refactor: ensure @typescript-eslint/no-unused-vars rule ignores undes…
robinpyon May 3, 2022
5796893
refactor: use sanity eslint rules, bump eslint + plugins
robinpyon May 3, 2022
834ebb0
fix: flatten blob gen + upload actions to ensure null blobs correctly…
robinpyon May 3, 2022
150df9e
fix: don't re-upload files that are in the process of being uploaded
robinpyon May 3, 2022
501e452
fix: prevent upload cancellation when asset `percentLoaded === 100`
robinpyon May 3, 2022
c0233c9
fix: prevent layout issues and 'zero-sized element' errors in react-v…
robinpyon May 4, 2022
c67cae2
fix: extract blurhash on new uploads, move @sanity/client and rxjs to…
robinpyon May 4, 2022
198aa38
chore(release): 1.4.5
robinpyon May 4, 2022
d2850a3
chore: dont use @sanity/ui as a peer dependency
robinpyon May 4, 2022
e8cf6f3
chore(release): 1.4.6
robinpyon May 4, 2022
4401930
refactor: ensure typescript-eslint is used on ts + tsx files, apply l…
robinpyon May 4, 2022
b0c7f91
fix: render search facets <MenuButton> in a portal to prevent clippin…
robinpyon May 4, 2022
8de8996
chore(release): 1.4.7
robinpyon May 4, 2022
dae8628
fix: fix regression with onSelect not passing an array
robinpyon May 5, 2022
3a4bd4c
chore(release): 1.4.8
robinpyon May 5, 2022
53da5ef
refactor: add eslint-plugin-react-hooks, fix `exhaustive-deps` issues
robinpyon May 13, 2022
7a387c4
Revert "fix: flatten blob gen + upload actions to ensure null blobs c…
robinpyon May 29, 2022
b4df1f5
fix: remove rxjs and @sanity/client from peerDependencies
robinpyon May 29, 2022
4aaf327
chore(release): 1.4.9
robinpyon May 29, 2022
5f55231
Revert "refactor: add eslint-plugin-react-hooks, fix `exhaustive-deps…
robinpyon Jun 1, 2022
1e12e3c
chore(release): 1.4.10
robinpyon Jun 1, 2022
993f7a7
docs: add link to v3 branch
robinpyon Jun 15, 2022
4517bb5
fix: initial v3 work
robinpyon Jun 15, 2022
e3fe823
chore: bump commit related deps, dont pin react
robinpyon Sep 12, 2022
b16375e
fix: don't hardcode z-indices, correctly render last filter item (#57…
robinpyon Sep 12, 2022
fd02d72
fix: throw an error when trying to call window.crypto from insecure c…
robinpyon Sep 12, 2022
c6f22e1
chore(release): 1.4.11
robinpyon Sep 12, 2022
5b40ad7
fix: catch errors when preview images fail to be generated (#88)
robinpyon Oct 5, 2022
171076e
refactor: remove theme-ui dependency and unnecessary FC typing
robinpyon Oct 6, 2022
6e9b554
ci: add semver automation workflow
robinpyon Oct 6, 2022
a823525
chore(release): 1.4.12 [skip ci]
semantic-release-bot Oct 6, 2022
4b6e46b
fix: fix minor regression with tag positioning, dont portal tooltips …
robinpyon Oct 6, 2022
b6d2f4b
chore(release): 1.4.13 [skip ci]
semantic-release-bot Oct 6, 2022
18d64cc
refactor: bump react-select, don't pin type deps
robinpyon Oct 6, 2022
1e96b79
fix: correctly infer filename from files containing uppercase extensi…
robinpyon Oct 6, 2022
100f3eb
fix: apply upstream v2-studio fixes, add semver automation workflow
robinpyon Oct 6, 2022
ac698b3
fix: re-enable references tab panel
robinpyon Oct 6, 2022
f5c4b7b
refactor: use versioned client, sanity/ui 0.38.x, remove conditional …
robinpyon Oct 6, 2022
beb5531
feat!: initial studio v3 version
robinpyon Oct 6, 2022
1017691
chore(release): 2.0.0-v3-studio.1 [skip ci]
semantic-release-bot Oct 6, 2022
4b246a0
docs: update README
robinpyon Oct 6, 2022
8489ec0
docs: update README, strip non-studio v3 changelog entries
robinpyon Oct 6, 2022
4f9588a
fix(deps): dev-preview.21
robinpyon Oct 7, 2022
39eebc7
chore(release): 2.0.0-v3-studio.2 [skip ci]
semantic-release-bot Oct 7, 2022
20466ab
fix(deps): compiled for sanity 3.0.0-rc.0
snorrees Nov 7, 2022
b4ff296
chore: lint "fix"
snorrees Nov 7, 2022
eb10958
chore(release): 2.0.0-v3-studio.3 [skip ci]
semantic-release-bot Nov 7, 2022
1b7a57e
Merge remote-tracking branch 'origin/v3'
snorrees Nov 17, 2022
8f6dd55
feat!: initial Sanity Studio v3 release
snorrees Nov 17, 2022
fc2f6e9
chore: repo url
snorrees Nov 17, 2022
2dc504d
chore(release): 2.0.0 [skip ci]
semantic-release-bot Nov 17, 2022
c823c5a
fix(deps): 3.0.0-rc.3
snorrees Nov 25, 2022
8f81da7
fix: renamed import
snorrees Nov 25, 2022
b40ab73
chore(release): 2.0.1 [skip ci]
semantic-release-bot Nov 25, 2022
ed758ee
fix(deps): bump
snorrees Nov 25, 2022
a686b5f
chore(release): 2.0.2 [skip ci]
semantic-release-bot Nov 25, 2022
a00d64f
fix(docs): install version
snorrees Jan 18, 2023
dfd460e
chore(release): 2.0.3 [skip ci]
semantic-release-bot Jan 18, 2023
3c10149
fix(deps): upgrade sanity, rxjs and redux observable (#113)
bjoerge Jan 21, 2023
a2d280c
chore: update author
robinpyon Jan 21, 2023
304fcf6
chore(release): 2.0.4 [skip ci]
semantic-release-bot Jan 21, 2023
7df3800
docs: update license, remove roadmap, mark v2 as no longer maintained
robinpyon Jan 30, 2023
3c0db14
fix: prevent removal of last character on no filename extension (#120)
rexxars Feb 3, 2023
2187abb
chore(release): 2.0.5 [skip ci]
semantic-release-bot Feb 3, 2023
e734161
Update renovate.json
stipsan Mar 6, 2023
62a0c50
chore(deps): update dependency @sanity/pkg-utils to v2 (#141)
renovate[bot] May 11, 2023
2cede3d
docs(.github): add bug and feature templates (#87)
r3nanp May 11, 2023
ad518c4
chore(deps): update actions/setup-node digest to 64ed1c7 (#131)
renovate[bot] May 11, 2023
d7943e8
fix(deps): update dependencies (non-major) (#149)
renovate[bot] May 22, 2023
ac82863
chore(deps): update typescript packages (#156)
renovate[bot] Jun 1, 2023
ba4cdf7
chore(deps): update linters (#155)
renovate[bot] Jun 1, 2023
5874e60
chore(deps): update commitlint monorepo to v17.6.5 (#152)
renovate[bot] Jun 1, 2023
0d92ab9
fix: ensure popovers display correctly when the plugin is invoked via…
robinpyon Jun 30, 2023
a415924
fix: prevent tag panel title from collapsing on small viewports
robinpyon Jun 30, 2023
e660143
chore(deps): bump react-virtuoso
robinpyon Jun 30, 2023
d73cdf5
chore(deps): remove @sanity/color + @sanity/icons from peer deps
robinpyon Jun 30, 2023
b7c6fd1
fix: suppress redux-toolkit $CombinedState errors
robinpyon Jul 3, 2023
ea549e1
fix: use tooltip portals, remove cancel upload button tooltips until …
robinpyon Jul 3, 2023
804e125
fix: force overflow-y scroll to prevent grid offset on mount
robinpyon Jul 3, 2023
cb7983c
chore(release): 2.0.6 [skip ci]
semantic-release-bot Jul 3, 2023
5f5bea8
feat: add support for multiple tags
robinpyon Jul 3, 2023
82090a9
chore(release): 2.1.0 [skip ci]
semantic-release-bot Jul 3, 2023
9642459
build: add beta pre-release branch
robinpyon Jul 5, 2023
cc982bb
fix: update react-hook-form, use zod for schema validation, drop lega…
robinpyon Jul 5, 2023
a4397c7
chore(release): 2.1.1 [skip ci]
semantic-release-bot Jul 5, 2023
c12d1e5
feat: add reference count to asset list (#148)
nkgentile Jul 5, 2023
530ad98
chore(release): 2.2.0 [skip ci]
semantic-release-bot Jul 5, 2023
476a413
fix(deps): update dependency filesize to v9 (#160)
renovate[bot] Jul 7, 2023
a5b69be
fix: ensure asset description textarea is connected to react-hook-form
robinpyon Jul 7, 2023
4033737
chore: simplify eslint config, ensure extended lint rules are applied…
robinpyon Jul 7, 2023
92e94c0
fix(deps): update dependency groq to v3 (#161)
renovate[bot] Jul 7, 2023
acdb386
chore(release): 2.2.1 [skip ci]
semantic-release-bot Jul 7, 2023
486b742
docs: update bug report template
robinpyon Jul 17, 2023
b7b08f3
fix: increase default pageSize to 100
robinpyon Jul 17, 2023
a86764c
fix: prevent TypeError when deleting assets in table view
robinpyon Jul 23, 2023
f6e58fe
fix: display color scheme-specific styles
robinpyon Jul 26, 2023
474e97d
chore(release): 2.2.2 [skip ci]
semantic-release-bot Jul 26, 2023
6e7ef91
chore(lockfile): Update dependency zod to v3.22.3 [SECURITY] (#189)
renovate[bot] Oct 4, 2023
cdc8b2c
fix: update pkg-utils and export config (#192)
SimeonGriggs Oct 27, 2023
c33232b
chore(release): 2.2.3 [skip ci]
semantic-release-bot Oct 27, 2023
1db113b
fix: add dist to exported files (#193)
SimeonGriggs Oct 27, 2023
384a3e9
chore(release): 2.2.4 [skip ci]
semantic-release-bot Oct 27, 2023
8a81bb1
fix(deps): widen styled-components peer dependency range
robinpyon Jan 12, 2024
a6c8982
fix(deps): bump @sanity/ui, widen peer dependency range
robinpyon Jan 12, 2024
8c566b3
chore(release): 2.2.5 [skip ci]
semantic-release-bot Jan 12, 2024
ae2bcd8
feat: #203 allow users to specify maximum upload size
Jul 12, 2024
ae03251
chore(release): 2.3.0 [skip ci]
semantic-release-bot Jul 16, 2024
1512fba
fix: add a layout component to provide tool options
Jul 18, 2024
c24b3e5
chore(release): 2.3.1 [skip ci]
semantic-release-bot Jul 19, 2024
6373177
Support creditline (#224)
thebiggianthead Jul 22, 2024
1b4ac30
fix(docs): readme for creditLine and maximumUploadSize
thebiggianthead Jul 22, 2024
ad6d242
chore(release): 2.3.2 [skip ci]
semantic-release-bot Jul 22, 2024
602145b
feat: add __internalApplicationType to tool spec (#235)
joshuaellis Jan 8, 2025
592cd93
fix: stop inlining `@sanity/icons`, `@sanity/color`
stipsan Mar 7, 2025
a69c21b
chore(release): 2.4.0 [skip ci]
semantic-release-bot Mar 7, 2025
55f86c8
refactor: add test studio
stipsan Mar 7, 2025
891357b
chore: update gitignore
stipsan Mar 7, 2025
3c3dcae
chore: fix vercel build
stipsan Mar 7, 2025
b850424
fix: export typings correctly
stipsan Mar 7, 2025
ef87949
chore(release): 2.4.1 [skip ci]
semantic-release-bot Mar 7, 2025
3f15058
fix: remove `useColorScheme()` deprecation warning
stipsan Mar 7, 2025
e6ee307
chore(deps): update actions/checkout action to v4 (#180)
renovate[bot] Mar 7, 2025
97a1ccc
fix(deps): update redux (#237)
osnoser1 Mar 7, 2025
815c920
chore(release): 2.4.2 [skip ci]
semantic-release-bot Mar 7, 2025
1e26560
feat!: add react 19 support (#243)
stipsan Mar 7, 2025
8c6a67d
chore(release): 3.0.0 [skip ci]
semantic-release-bot Mar 7, 2025
25e4ed3
fix: handle styled-components attribute warnings
stipsan Mar 7, 2025
3e7487c
fix: animate tooltips
stipsan Mar 7, 2025
43e9bf4
chore(deps): update non-major (#178)
renovate[bot] Mar 7, 2025
7518d20
chore(release): 3.0.1 [skip ci]
semantic-release-bot Mar 7, 2025
127c53a
chore(deps): upgrade react-select to ^5.10.1 (#246)
rexxars Mar 11, 2025
a8f02e0
fix: update date-fns to v3 (#220)
mxmzb Mar 19, 2025
b602a70
chore(deps): lock file maintenance (#205)
renovate[bot] Mar 19, 2025
4c16590
fix(deps): Update dependency date-fns to v4 (#247)
renovate[bot] Mar 19, 2025
f607a54
chore(deps): lock file maintenance (#249)
renovate[bot] Mar 19, 2025
b5758ed
chore(deps): update non-major (#248)
renovate[bot] Mar 19, 2025
145423e
chore(release): 3.0.2 [skip ci]
semantic-release-bot Mar 19, 2025
9b5002b
fix: fixed grid view only show 1 item bug (#255)
wiiiimm Jun 4, 2025
280077d
chore(release): 3.0.3 [skip ci]
semantic-release-bot Jun 4, 2025
5aea7a7
fix(deps): allow studio v4 in peer dep ranges (#259)
RitaDias Jul 10, 2025
f8ec653
Update main.yml (#260)
RitaDias Jul 10, 2025
be9ce6b
chore(release): 3.0.4 [skip ci]
semantic-release-bot Jul 10, 2025
d239ca7
fix: remove `@sanity/ui` from peer deps
stipsan Jul 31, 2025
4132da2
chore(release): 3.0.5 [skip ci]
semantic-release-bot Jul 31, 2025
3321238
fix(deps)!: update dependency @sanity/ui to v3 (#261)
renovate[bot] Jul 31, 2025
b25e04f
chore(release): 4.0.0 [skip ci]
semantic-release-bot Jul 31, 2025
fb82858
fix: update date-fns imports to v4 syntax (#263)
tractorcow Dec 4, 2025
aabaf2c
feat: allow 'directUploads' option on the tool (#266)
Shastel Dec 4, 2025
d334712
feat: create ability to define a custom compoenent to present details…
Shastel Dec 4, 2025
1380680
chore(release): 4.1.0 [skip ci]
semantic-release-bot Dec 4, 2025
be3d114
fix: allow sanity v5 as peer dependency (#270)
rexxars Dec 17, 2025
b0bc508
chore(release): 4.1.1 [skip ci]
semantic-release-bot Dec 17, 2025
ecdebff
Update useVersionedClient.ts (#288)
oleg1357 Apr 22, 2026
b5c444f
chore: setup vitest and test the main plugin actions, components and …
pedrobonamin Apr 22, 2026
17c46fe
feat: localized asset fields options (#271)
LucaArgentieri Apr 23, 2026
2265f41
chore(release): 4.2.0 [skip ci]
semantic-release-bot Apr 23, 2026
d454ae0
feat: Auto-tag images on upload (#274)
einarlove May 13, 2026
77e7aab
chore(release): 4.3.0 [skip ci]
semantic-release-bot May 13, 2026
4239b26
chore(deps): add support for sanity v6 prerelease versions (#295)
bjoerge Jun 9, 2026
dcd94e6
fix(deps): add support for sanity v6 prerelease versions (#297)
bjoerge Jun 9, 2026
5dc844b
chore(release): 4.3.1 [skip ci]
semantic-release-bot Jun 9, 2026
752d006
Add 'plugins/sanity-plugin-media/' from commit '5dc844b78ea336e4e0658…
cursoragent Jun 12, 2026
aa656cb
chore(media): remove standalone-repo tooling files and extend root .g…
cursoragent Jun 12, 2026
3c28094
chore(media): adapt package config for monorepo (non-breaking)
cursoragent Jun 12, 2026
202817d
chore(media): exclude legacy plugin code from oxlint/knip and fix vit…
cursoragent Jun 12, 2026
d00b9ae
feat(test-studio): add media plugin example to kitchen-sink workspace
cursoragent Jun 12, 2026
72976d5
docs(media): fix changelog header, add to plugins table, add patch ch…
cursoragent Jun 12, 2026
0ba0053
style(media): format with oxfmt
cursoragent Jun 12, 2026
4916083
Merge remote-tracking branch 'origin/main' into cursor/migrate-sanity…
cursoragent Jun 12, 2026
a2e7ee4
Merge remote-tracking branch 'origin/main' into cursor/migrate-sanity…
cursoragent Jun 12, 2026
a244172
Merge remote-tracking branch 'origin/main' into cursor/migrate-sanity…
cursoragent Jun 15, 2026
4fef2cd
Merge remote-tracking branch 'origin/main' into cursor/migrate-sanity…
cursoragent Jun 16, 2026
de9bfa7
Merge remote-tracking branch 'origin/main' into cursor/migrate-sanity…
cursoragent Jun 16, 2026
d1ccea5
docs(media): credit original plugin contributors in changeset
cursoragent Jun 16, 2026
13eae50
Merge remote-tracking branch 'origin/main' into cursor/migrate-sanity…
cursoragent Jun 16, 2026
c17c748
Merge remote-tracking branch 'origin/main' into cursor/migrate-sanity…
cursoragent Jun 16, 2026
c95fd34
Merge remote-tracking branch 'origin/main' into cursor/migrate-sanity…
cursoragent Jun 17, 2026
6ec7fdc
fix(media): bridge zod v3/v4 resolver types locally instead of packag…
cursoragent Jun 17, 2026
7d1b64a
Merge remote-tracking branch 'origin/main' into cursor/migrate-sanity…
cursoragent Jun 17, 2026
61e7ed1
fix(media): declare @babel/parser for recast d.ts build under strict …
cursoragent Jun 17, 2026
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
31 changes: 31 additions & 0 deletions .changeset/move-media-to-monorepo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
'sanity-plugin-media': patch
---

author: @robinpyon
author: @stipsan
author: @snorrees
author: @rexxars
author: @bjoerge
author: @Grsmto
author: @Shastel
author: @RitaDias
author: @SimeonGriggs
author: @thebiggianthead
author: @osnoser1
author: @Hahlh
author: @coreyward
author: @tractorcow
author: @einarlove
author: @hdoro
author: @joshuaellis
author: @LucaArgentieri
author: @mxmzb
author: @nickrttn
author: @nkgentile
author: @oleg1357
author: @pedrobonamin
author: @r3nanp
author: @wiiiimm

Move sanity-plugin-media to the [sanity-io/plugins](https://github.com/sanity-io/plugins) monorepo. No functional changes.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ dist
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

# Editors
.vscode
.idea
*.iml

# Yalc
.yalc
yalc.lock

# Turborepo
.turbo

Expand Down
3 changes: 3 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"**/sanity.types.ts",
"turbo/generators/config.ts",
"plugins/sanity-naive-html-serializer/test/**",
// Moved as-is from the standalone repo; legacy code will be brought up to
// monorepo lint standards in a follow-up PR
"plugins/sanity-plugin-media/**",
"plugins/sanity-plugin-mux-input/**"
],
"options": {
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ Sessions can be compared in the DevTools UI to diff bundle changes between build
| [`sanity-plugin-internationalized-array`](./plugins/sanity-plugin-internationalized-array) | Store localized fields in arrays to save attributes |
| [`sanity-plugin-latex-input`](./plugins/sanity-plugin-latex-input) | LaTeX input for Portable Text Editor |
| [`sanity-plugin-markdown`](./plugins/sanity-plugin-markdown) | Markdown editor input |
| [`sanity-plugin-media`](./plugins/sanity-plugin-media) | Asset management with tagging, filtering and batch operations |
| [`sanity-plugin-mux-input`](./plugins/sanity-plugin-mux-input) | Upload and play Mux-hosted video from Sanity Studio |
| [`sanity-plugin-transifex`](./plugins/sanity-plugin-transifex) | In-studio integration with Transifex for content translation |
| [`sanity-naive-html-serializer`](./plugins/sanity-naive-html-serializer) | Serialize Sanity documents and rich text fields to HTML |
Expand Down
1 change: 1 addition & 0 deletions dev/test-studio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"sanity-plugin-internationalized-array": "workspace:*",
"sanity-plugin-latex-input": "workspace:*",
"sanity-plugin-markdown": "workspace:*",
"sanity-plugin-media": "workspace:*",
"sanity-plugin-mux-input": "workspace:*",
"sanity-plugin-transifex": "workspace:*",
"sanity-plugin-utils": "workspace:*",
Expand Down
2 changes: 2 additions & 0 deletions dev/test-studio/sanity.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {
} from '#internationalized-array'
import {latexInputExample} from '#latex-input'
import {markdownExample} from '#markdown'
import {mediaExample} from '#media'
import {muxInputExample} from '#mux-input'
import {netlifyWidgetExample} from '#netlify-widget'
import {
Expand Down Expand Up @@ -122,6 +123,7 @@ export default defineConfig([
structureTool(),
assistExample(),
googleTranslateExample(),
mediaExample(),
// add new plugins here
muxInputExample(),
asyncListExample(),
Expand Down
32 changes: 32 additions & 0 deletions dev/test-studio/src/media/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import {ImagesIcon} from '@sanity/icons'
import {definePlugin, defineType} from 'sanity'
import {media, mediaField} from 'sanity-plugin-media'

// Modeled on the dev studio config the plugin shipped with in its standalone
// repo (see plugins/sanity-plugin-media/sanity.config.ts)
const mediaProductType = defineType({
type: 'document',
name: 'mediaProduct',
title: 'Media Product',
icon: ImagesIcon,
fields: [
{type: 'string', name: 'name', title: 'Name'},
mediaField({
name: 'image',
title: 'Image',
type: 'image',
mediaTags: ['product'],
}),
mediaField({
name: 'attachment',
title: 'Attachment',
type: 'file',
mediaTags: ['product'],
}),
],
})

export const mediaExample = definePlugin(() => ({
schema: {types: [mediaProductType]},
plugins: [media()],
}))
3 changes: 3 additions & 0 deletions knip.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"$schema": "https://unpkg.com/knip@6/schema.json",
"ignoreWorkspaces": [
"dev/*",
// Moved as-is from the standalone repo; will be brought up to monorepo
// standards (and into knip coverage) in a follow-up PR
"plugins/sanity-plugin-media",
// Moved verbatim from sanity-io/sanity-plugin-mux-input; legacy dead-code
// and phantom-dependency cleanup is deferred to a follow-up PR.
"plugins/sanity-plugin-mux-input",
Expand Down
Loading