-
Notifications
You must be signed in to change notification settings - Fork 4
Port @sanity/language-filter v4.1.0 to monorepo #586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
104 commits
Select commit
Hold shift + click to select a range
e83844d
@sanity/plugin-kit init --ecosystem-preset baseline
snorrees 0bc3072
feat: initial v3 plugin impl (#4)
snorrees 8eed483
docs: added note about branches
snorrees 5ca6341
chore: version reset
snorrees 7656488
fix: removed some exports
snorrees 5f6fe97
chore(release): 3.0.0-v3-studio.1 [skip ci]
semantic-release-bot afb7c14
fix: fields within fieldsets are now filtered
snorrees 227c91e
chore(release): 3.0.0-v3-studio.2 [skip ci]
semantic-release-bot efc0030
fix(deps): sanity 3.0.0-dev-preview.17
snorrees 174ddee
chore(release): 3.0.0-v3-studio.3 [skip ci]
semantic-release-bot 6bffbe7
fix: documents without languge-filter should no longer crash
snorrees c7eabbf
chore(release): 3.0.0-v3-studio.4 [skip ci]
semantic-release-bot 96b2250
fix(deps): dev-preview.21
snorrees a595e9b
chore: @sanity/incompatible-plugin 1.0.4
snorrees ba7bd80
chore(release): 3.0.0-v3-studio.5 [skip ci]
semantic-release-bot 36658f2
fix(deps): dev-preview.22
snorrees 45571a9
chore: fix tests
snorrees 3d613fa
chore(release): 3.0.0-v3-studio.6 [skip ci]
semantic-release-bot 67b94ea
fix: compiled for sanity 3.0.0-rc.0
snorrees 0a58042
chore: lint
snorrees 25d9b1a
chore(release): 3.0.0-v3-studio.7 [skip ci]
semantic-release-bot 2c00b6e
fix(deps): @sanity/util
snorrees 098b100
chore(release): 3.0.0-v3-studio.8 [skip ci]
semantic-release-bot eba9a7e
chore(deps): lock file maintenance (#6)
renovate[bot] f07eb0e
chore(deps): update devdependencies (non-major) (#3)
renovate[bot] 6dc9c88
fix(deps): pin dependencies (#12)
renovate[bot] eaf144f
chore(deps): update jest monorepo to v29 (major) (#9)
renovate[bot] 37d939c
chore(deps): update dependency @types/jest to v29 (#8)
renovate[bot] ce8e200
chore(deps): pin dependencies (#5)
renovate[bot] d061ad7
fix(deps): update sanity-ui-pin (#13)
renovate[bot] 703ff92
chore(release): 3.0.0-v3-studio.9 [skip ci]
semantic-release-bot 5359efc
fix(deps): pkg-utils & @sanity/plugin-kit
snorrees d9e534b
chore(release): 3.0.0-v3-studio.10 [skip ci]
semantic-release-bot e4a35f3
ci: dynamic workflow name
snorrees 3e7f168
chore: lintfix
snorrees 750f13a
feat!: initial Sanity Studio v3 release
snorrees f0c4c0b
chore(release): 3.0.0 [skip ci]
semantic-release-bot 62256cd
fix: prevent dropdown overflow when language list is too long
benja e5c4456
chore(release): 3.0.1 [skip ci]
semantic-release-bot 7bb5479
Create CODEOWNERS
stipsan 2d5c591
chore(deps): update devdependencies (non-major) (#14)
renovate[bot] cc99912
feat: new studio-wide context and exported hooks (#43)
SimeonGriggs dd69c8b
chore(release): 3.1.0 [skip ci]
semantic-release-bot 4e038d7
fix: issue with defaultLanguages (#44)
SimeonGriggs e4184cd
chore(release): 3.1.1 [skip ci]
semantic-release-bot c40792d
fix: menu was open-by-default, better gif (#45)
SimeonGriggs 8d965fc
chore(release): 3.1.2 [skip ci]
semantic-release-bot 72dce7e
feat: async language support (#48)
SimeonGriggs 0b3bd72
chore(release): 3.2.0 [skip ci]
semantic-release-bot cbd7e6f
fix: ensure filterField runs on schema-configured types
SimeonGriggs 8a7fc45
chore(release): 3.2.1 [skip ci]
semantic-release-bot d63e026
chore(deps): update dependency @sanity/pkg-utils to v2 (#21)
renovate[bot] dee0b9f
fix: update dependencies (#61)
kenjonespizza d2ea195
chore(release): 3.2.2 [skip ci]
semantic-release-bot 810c823
feat!: support strictESM
stipsan be9c1e9
chore: lint fix
stipsan 891c22b
chore(deps): update actions/checkout action to v4 (#52)
renovate[bot] af30202
chore(deps): update dependency rimraf to v4 (#64)
renovate[bot] d757300
chore(deps): update actions/setup-node action to v4 (#55)
renovate[bot] 90f4685
chore: add provenance
stipsan 31935b9
chore(deps): lock file maintenance (#60)
renovate[bot] 14aa103
chore(deps): update dependency react to ^18.2.0 (#50)
renovate[bot] d9d2315
chore(release): 4.0.0 [skip ci]
semantic-release-bot 4f99791
fix: add provenance
stipsan 16c2b48
chore(release): 4.0.1 [skip ci]
semantic-release-bot 6ec06c8
fix: animate popover
stipsan 9e6d1ac
chore(release): 4.0.2 [skip ci]
semantic-release-bot 15b9f6c
fix: make `@sanity/util` a regular dependency again
stipsan 1c92729
fix: make react 19 compatible (#70)
rexxars 5193de1
chore(release): 4.0.3 [skip ci]
semantic-release-bot c551683
fix: prevent the plugin from filtering out 'FieldError' members
f92a8a5
chore(release): 4.0.4 [skip ci]
semantic-release-bot 14abbd1
fix(deps): allow studio v4 in peer dep ranges (#73)
RitaDias 0cdbba8
chore(release): 4.0.5 [skip ci]
semantic-release-bot e363cec
Update README.md
RitaDias f472f43
fix(deps): allow sanity v5 as peer dependency (#74)
rexxars d7417dd
chore(release): 4.0.6 [skip ci]
semantic-release-bot bdfbfbc
Initial plan
Copilot fdb6fba
Add 'plugins/@sanity/language-filter/' from commit 'd7417dd38d8ffddac…
Copilot 38bdda4
Add language-filter plugin using git subtree and update for monorepo
Copilot 193ec36
chore: add parentValue to filterField function (#75)
pedrobonamin 57d99ef
Revert "chore: add parentValue to filterField function (#75)" (#76)
pedrobonamin 8d75fdb
feat: add parentValue to filterField function (#77)
pedrobonamin 67c94f2
chore(release): 4.1.0 [skip ci]
semantic-release-bot 1978fb4
feat: apply necessary changes after porting the plugin
pedrobonamin b5f2ddb
Merge remote-tracking branch 'origin/main' into copilot/copy-changes-…
pedrobonamin ef75a0e
fix: update i18n array to use language filter from workspace
pedrobonamin 57f5a17
Add changeset for internationalized-array language-filter v4.1.0 support
Copilot 7ee595b
Update .changeset/language-filter-monorepo-port.md
pedrobonamin 994d44a
Update plugins/@sanity/language-filter/vitest.config.ts
pedrobonamin d3827ad
Remove languageSubscription.ts and document in breaking changes
Copilot 46da4c9
fix vitest config
pedrobonamin 6ce743c
fix: update LanguageFilterObjectInput assign method
pedrobonamin 57e5e49
Merge main into copilot/copy-changes-language-filter
Copilot b6ccde2
Merge main into copilot/copy-changes-language-filter
pedrobonamin c6a7b85
Merge commit '67c94f2a21b89dd9372e6147aa8c5d2d944f352b' into copilot/…
pedrobonamin 6fcd5f9
fix(language-filter): knip changes for language filter
pedrobonamin fbada57
fix: remove changeset for i18n array
pedrobonamin 39ef03b
fix(language-filter): The Context prop should not be constructed.
pedrobonamin 7ae3772
Merge main into copilot/copy-changes-language-filter
Copilot ee5409b
fix: add missing path property to FieldMember test mock
Copilot f11ac07
Merge remote-tracking branch 'origin/main' into copilot/copy-changes-…
pedrobonamin 7bdedeb
fix: update pnpm-lock
pedrobonamin 65f52d5
fix(language-filter): add test dependencies and setup
pedrobonamin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| --- | ||
| '@sanity/language-filter': major | ||
| --- | ||
|
|
||
| Port @sanity/language-filter to the Sanity plugins monorepo | ||
|
|
||
| This major release includes several breaking changes as part of the migration to the monorepo: | ||
|
|
||
| - **React Compiler enabled**: The plugin is now optimized with React Compiler targeting React 19 | ||
| - **ESM-only**: CommonJS support has been removed. The plugin now only exports ES modules | ||
| - **Sanity Studio v5 required**: The plugin now requires Sanity Studio v5 as the minimum version | ||
| - **React 19 required**: The plugin now requires React 19.2 or later | ||
| - **Node.js 20.19+ required**: The plugin now requires Node.js 20.19 or later (or 22.12+) | ||
| - **styled-components removed**: Removed styled-components dependency - styles now use inline styles | ||
| - **Language subscription bus removed**: The `languageSubscription.ts` module and its exports (`createSelectedLanguageIdsBus`, `SelectedLanguageIdsBus`, `LanguageSubscription`, `Unsubscribe`, `LanguageSubscribe`) have been removed. State management now uses React Context via `LanguageFilterStudioContext` instead of the subscription bus pattern. | ||
|
|
||
| **Modernization:** | ||
| - Replaced deprecated `useClickOutside` hook with `useClickOutsideEvent` | ||
| - Fixed FormEvent usage with proper React.ChangeEvent | ||
| - Added explicit return type annotations for better TypeScript compatibility | ||
| - Removed styled-components | ||
|
|
||
| **Testing:** | ||
| - Converted from Jest to Vitest for testing | ||
| - Added package exports validation test | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,213 @@ | ||
| <!-- markdownlint-disable --><!-- textlint-disable --> | ||
|
|
||
| # 📓 Changelog | ||
|
|
||
| All notable changes to this project will be documented in this file. See | ||
| [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
|
||
| ## 4.1.0 (2026-02-17) | ||
|
|
||
| - feat: add parentValue to filterField function (#77) ([8d75fdb](https://github.com/sanity-io/language-filter/commit/8d75fdb)), closes [#77](https://github.com/sanity-io/language-filter/issues/77) | ||
| - Revert "chore: add parentValue to filterField function (#75)" (#76) ([57d99ef](https://github.com/sanity-io/language-filter/commit/57d99ef)), closes [#75](https://github.com/sanity-io/language-filter/issues/75) [#76](https://github.com/sanity-io/language-filter/issues/76) [#75](https://github.com/sanity-io/language-filter/issues/75) | ||
| - chore: add parentValue to filterField function (#75) ([193ec36](https://github.com/sanity-io/language-filter/commit/193ec36)), closes [#75](https://github.com/sanity-io/language-filter/issues/75) | ||
|
|
||
| ## <small>4.0.6 (2025-12-17)</small> | ||
|
|
||
| - fix(deps): allow sanity v5 as peer dependency (#74) ([f472f43](https://github.com/sanity-io/language-filter/commit/f472f43)), closes [#74](https://github.com/sanity-io/language-filter/issues/74) | ||
| - Update README.md ([e363cec](https://github.com/sanity-io/language-filter/commit/e363cec)) | ||
|
|
||
| ## [4.0.5](https://github.com/sanity-io/language-filter/compare/v4.0.4...v4.0.5) (2025-07-10) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - **deps:** allow studio v4 in peer dep ranges ([#73](https://github.com/sanity-io/language-filter/issues/73)) ([14abbd1](https://github.com/sanity-io/language-filter/commit/14abbd11cc8090ed504a8cdef04d7f3d1cf95248)) | ||
|
|
||
| ## [4.0.4](https://github.com/sanity-io/language-filter/compare/v4.0.3...v4.0.4) (2025-03-31) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - prevent the plugin from filtering out 'FieldError' members ([c551683](https://github.com/sanity-io/language-filter/commit/c551683302803290d133b0f67d0c6bb966c6e5a5)) | ||
|
|
||
| ## [4.0.3](https://github.com/sanity-io/language-filter/compare/v4.0.2...v4.0.3) (2024-12-17) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - make `@sanity/util` a regular dependency again ([15b9f6c](https://github.com/sanity-io/language-filter/commit/15b9f6c0b546f671ab4de0eca216251ed5dbc305)) | ||
| - make react 19 compatible ([#70](https://github.com/sanity-io/language-filter/issues/70)) ([1c92729](https://github.com/sanity-io/language-filter/commit/1c927297a5107e14e8128d05fa9065e26edefc9d)) | ||
|
|
||
| ## [4.0.2](https://github.com/sanity-io/language-filter/compare/v4.0.1...v4.0.2) (2024-04-09) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - animate popover ([6ec06c8](https://github.com/sanity-io/language-filter/commit/6ec06c86d3585ecf5fc7c20c69e783bf31270753)) | ||
|
|
||
| ## [4.0.1](https://github.com/sanity-io/language-filter/compare/v4.0.0...v4.0.1) (2024-04-09) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - add provenance ([4f99791](https://github.com/sanity-io/language-filter/commit/4f99791881ab96a16c455d466d184b56b0020402)) | ||
|
|
||
| ## [4.0.0](https://github.com/sanity-io/language-filter/compare/v3.2.2...v4.0.0) (2024-04-09) | ||
|
|
||
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| - support strictESM | ||
|
|
||
| ### Features | ||
|
|
||
| - support strictESM ([810c823](https://github.com/sanity-io/language-filter/commit/810c823773b203711ffe2089657fff8958cc6020)) | ||
|
|
||
| ## [3.2.2](https://github.com/sanity-io/language-filter/compare/v3.2.1...v3.2.2) (2024-01-19) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - update dependencies ([#61](https://github.com/sanity-io/language-filter/issues/61)) ([dee0b9f](https://github.com/sanity-io/language-filter/commit/dee0b9f6fe1b93bca75bfef43ce1cbcca7c1a6c4)) | ||
|
|
||
| ## [3.2.1](https://github.com/sanity-io/language-filter/compare/v3.2.0...v3.2.1) (2023-07-20) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - ensure filterField runs on schema-configured types ([cbd7e6f](https://github.com/sanity-io/language-filter/commit/cbd7e6f35df79aec622449945de871674e1bca0e)) | ||
|
|
||
| ## [3.2.0](https://github.com/sanity-io/language-filter/compare/v3.1.2...v3.2.0) (2023-07-17) | ||
|
|
||
| ### Features | ||
|
|
||
| - async language support ([#48](https://github.com/sanity-io/language-filter/issues/48)) ([72dce7e](https://github.com/sanity-io/language-filter/commit/72dce7ee50b45d46be02e740ef1da980474319b7)) | ||
|
|
||
| ## [3.1.2](https://github.com/sanity-io/language-filter/compare/v3.1.1...v3.1.2) (2023-06-19) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - menu was open-by-default, better gif ([#45](https://github.com/sanity-io/language-filter/issues/45)) ([c40792d](https://github.com/sanity-io/language-filter/commit/c40792d360c326701dcd52ceaf52f108f79cae5c)) | ||
|
|
||
| ## [3.1.1](https://github.com/sanity-io/language-filter/compare/v3.1.0...v3.1.1) (2023-06-19) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - issue with defaultLanguages ([#44](https://github.com/sanity-io/language-filter/issues/44)) ([4e038d7](https://github.com/sanity-io/language-filter/commit/4e038d7f0615cb7454ca4d1a80530bc1e7b3382f)) | ||
|
|
||
| ## [3.1.0](https://github.com/sanity-io/language-filter/compare/v3.0.1...v3.1.0) (2023-06-19) | ||
|
|
||
| ### Features | ||
|
|
||
| - new studio-wide context and exported hooks ([#43](https://github.com/sanity-io/language-filter/issues/43)) ([cc99912](https://github.com/sanity-io/language-filter/commit/cc999120507d3de7e54385166afce26008210066)) | ||
|
|
||
| ## [3.0.1](https://github.com/sanity-io/language-filter/compare/v3.0.0...v3.0.1) (2023-03-08) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - prevent dropdown overflow when language list is too long ([62256cd](https://github.com/sanity-io/language-filter/commit/62256cdc3d771e4ded14a80ad0e13ae5610a4bfa)), closes [#27](https://github.com/sanity-io/language-filter/issues/27) | ||
|
|
||
| ## [3.0.0](https://github.com/sanity-io/language-filter/compare/v2.35.2...v3.0.0) (2022-11-25) | ||
|
|
||
| ### ⚠ BREAKING CHANGES | ||
|
|
||
| - initial Sanity Studio v3 release | ||
|
|
||
| ### Features | ||
|
|
||
| - initial Sanity Studio v3 release ([750f13a](https://github.com/sanity-io/language-filter/commit/750f13af998dd7149f97489933eb5677cba0c1fe)) | ||
| - initial v3 plugin impl ([#4](https://github.com/sanity-io/language-filter/issues/4)) ([0bc3072](https://github.com/sanity-io/language-filter/commit/0bc3072ee852e62dc1b2ce957b3a3aa798f37e7f)) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - compiled for sanity 3.0.0-rc.0 ([67b94ea](https://github.com/sanity-io/language-filter/commit/67b94ead55f4cda1ff981b2d5665a98d3b810473)) | ||
| - **deps:** @sanity/util ([2c00b6e](https://github.com/sanity-io/language-filter/commit/2c00b6e6f39ad9cb5c873a807059809b0c58d9b3)) | ||
| - **deps:** dev-preview.21 ([96b2250](https://github.com/sanity-io/language-filter/commit/96b2250050de0d417fa894061c4f34158974919c)) | ||
| - **deps:** dev-preview.22 ([36658f2](https://github.com/sanity-io/language-filter/commit/36658f2a6821dce0188b4bdc8d187d46b06fa063)) | ||
| - **deps:** pin dependencies ([#12](https://github.com/sanity-io/language-filter/issues/12)) ([6dc9c88](https://github.com/sanity-io/language-filter/commit/6dc9c8896b51871a48267658845767ef1f6e8b0e)) | ||
| - **deps:** pkg-utils & @sanity/plugin-kit ([5359efc](https://github.com/sanity-io/language-filter/commit/5359efc2a82da556b5b3db5ea2c1f370a5401cd9)) | ||
| - **deps:** sanity 3.0.0-dev-preview.17 ([efc0030](https://github.com/sanity-io/language-filter/commit/efc003094b3018c7842f0019d19c4cede7fedc3e)) | ||
| - **deps:** update sanity-ui-pin ([#13](https://github.com/sanity-io/language-filter/issues/13)) ([d061ad7](https://github.com/sanity-io/language-filter/commit/d061ad7b28ad3d5c5d17e757c0e57e3388541663)) | ||
| - documents without languge-filter should no longer crash ([6bffbe7](https://github.com/sanity-io/language-filter/commit/6bffbe7d1051be45f7f3a0c49e281305b929f857)) | ||
| - fields within fieldsets are now filtered ([afb7c14](https://github.com/sanity-io/language-filter/commit/afb7c1496fef4fe088fdfdd8af58fb789d7835d7)) | ||
| - removed some exports ([7656488](https://github.com/sanity-io/language-filter/commit/7656488f7ad876e3e8b1898ca003d1fc15a3a491)) | ||
|
|
||
| ## [2.36.0](https://github.com/sanity-io/language-filter/compare/v2.35.2...v2.36.0) (2022-11-25) | ||
|
|
||
| ### Features | ||
|
|
||
| - initial v3 plugin impl ([#4](https://github.com/sanity-io/language-filter/issues/4)) ([0bc3072](https://github.com/sanity-io/language-filter/commit/0bc3072ee852e62dc1b2ce957b3a3aa798f37e7f)) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - compiled for sanity 3.0.0-rc.0 ([67b94ea](https://github.com/sanity-io/language-filter/commit/67b94ead55f4cda1ff981b2d5665a98d3b810473)) | ||
| - **deps:** @sanity/util ([2c00b6e](https://github.com/sanity-io/language-filter/commit/2c00b6e6f39ad9cb5c873a807059809b0c58d9b3)) | ||
| - **deps:** dev-preview.21 ([96b2250](https://github.com/sanity-io/language-filter/commit/96b2250050de0d417fa894061c4f34158974919c)) | ||
| - **deps:** dev-preview.22 ([36658f2](https://github.com/sanity-io/language-filter/commit/36658f2a6821dce0188b4bdc8d187d46b06fa063)) | ||
| - **deps:** pin dependencies ([#12](https://github.com/sanity-io/language-filter/issues/12)) ([6dc9c88](https://github.com/sanity-io/language-filter/commit/6dc9c8896b51871a48267658845767ef1f6e8b0e)) | ||
| - **deps:** pkg-utils & @sanity/plugin-kit ([5359efc](https://github.com/sanity-io/language-filter/commit/5359efc2a82da556b5b3db5ea2c1f370a5401cd9)) | ||
| - **deps:** sanity ^3.0.0 (works with rc.3) ([8480344](https://github.com/sanity-io/language-filter/commit/84803444bcf7dc9a5df072cae7d76ce6edf77de6)) | ||
| - **deps:** sanity 3.0.0-dev-preview.17 ([efc0030](https://github.com/sanity-io/language-filter/commit/efc003094b3018c7842f0019d19c4cede7fedc3e)) | ||
| - **deps:** update sanity-ui-pin ([#13](https://github.com/sanity-io/language-filter/issues/13)) ([d061ad7](https://github.com/sanity-io/language-filter/commit/d061ad7b28ad3d5c5d17e757c0e57e3388541663)) | ||
| - documents without languge-filter should no longer crash ([6bffbe7](https://github.com/sanity-io/language-filter/commit/6bffbe7d1051be45f7f3a0c49e281305b929f857)) | ||
| - fields within fieldsets are now filtered ([afb7c14](https://github.com/sanity-io/language-filter/commit/afb7c1496fef4fe088fdfdd8af58fb789d7835d7)) | ||
| - removed some exports ([7656488](https://github.com/sanity-io/language-filter/commit/7656488f7ad876e3e8b1898ca003d1fc15a3a491)) | ||
|
|
||
| ## [3.0.0-v3-studio.10](https://github.com/sanity-io/language-filter/compare/v3.0.0-v3-studio.9...v3.0.0-v3-studio.10) (2022-11-04) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - **deps:** pkg-utils & @sanity/plugin-kit ([5359efc](https://github.com/sanity-io/language-filter/commit/5359efc2a82da556b5b3db5ea2c1f370a5401cd9)) | ||
|
|
||
| ## [3.0.0-v3-studio.9](https://github.com/sanity-io/language-filter/compare/v3.0.0-v3-studio.8...v3.0.0-v3-studio.9) (2022-11-04) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - **deps:** pin dependencies ([#12](https://github.com/sanity-io/language-filter/issues/12)) ([6dc9c88](https://github.com/sanity-io/language-filter/commit/6dc9c8896b51871a48267658845767ef1f6e8b0e)) | ||
| - **deps:** update sanity-ui-pin ([#13](https://github.com/sanity-io/language-filter/issues/13)) ([d061ad7](https://github.com/sanity-io/language-filter/commit/d061ad7b28ad3d5c5d17e757c0e57e3388541663)) | ||
|
|
||
| ## [3.0.0-v3-studio.8](https://github.com/sanity-io/language-filter/compare/v3.0.0-v3-studio.7...v3.0.0-v3-studio.8) (2022-11-03) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - **deps:** @sanity/util ([2c00b6e](https://github.com/sanity-io/language-filter/commit/2c00b6e6f39ad9cb5c873a807059809b0c58d9b3)) | ||
|
|
||
| ## [3.0.0-v3-studio.7](https://github.com/sanity-io/language-filter/compare/v3.0.0-v3-studio.6...v3.0.0-v3-studio.7) (2022-11-03) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - compiled for sanity 3.0.0-rc.0 ([67b94ea](https://github.com/sanity-io/language-filter/commit/67b94ead55f4cda1ff981b2d5665a98d3b810473)) | ||
|
|
||
| ## [3.0.0-v3-studio.6](https://github.com/sanity-io/language-filter/compare/v3.0.0-v3-studio.5...v3.0.0-v3-studio.6) (2022-10-27) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - **deps:** dev-preview.22 ([36658f2](https://github.com/sanity-io/language-filter/commit/36658f2a6821dce0188b4bdc8d187d46b06fa063)) | ||
|
|
||
| ## [3.0.0-v3-studio.5](https://github.com/sanity-io/language-filter/compare/v3.0.0-v3-studio.4...v3.0.0-v3-studio.5) (2022-10-07) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - **deps:** dev-preview.21 ([96b2250](https://github.com/sanity-io/language-filter/commit/96b2250050de0d417fa894061c4f34158974919c)) | ||
|
|
||
| ## [3.0.0-v3-studio.4](https://github.com/sanity-io/language-filter/compare/v3.0.0-v3-studio.3...v3.0.0-v3-studio.4) (2022-09-15) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - documents without languge-filter should no longer crash ([6bffbe7](https://github.com/sanity-io/language-filter/commit/6bffbe7d1051be45f7f3a0c49e281305b929f857)) | ||
|
|
||
| ## [3.0.0-v3-studio.3](https://github.com/sanity-io/language-filter/compare/v3.0.0-v3-studio.2...v3.0.0-v3-studio.3) (2022-09-15) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - **deps:** sanity 3.0.0-dev-preview.17 ([efc0030](https://github.com/sanity-io/language-filter/commit/efc003094b3018c7842f0019d19c4cede7fedc3e)) | ||
|
|
||
| ## [3.0.0-v3-studio.2](https://github.com/sanity-io/language-filter/compare/v3.0.0-v3-studio.1...v3.0.0-v3-studio.2) (2022-08-31) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - fields within fieldsets are now filtered ([afb7c14](https://github.com/sanity-io/language-filter/commit/afb7c1496fef4fe088fdfdd8af58fb789d7835d7)) | ||
|
|
||
| ## [3.0.0-v3-studio.1](https://github.com/sanity-io/language-filter/compare/v3.0.0-v3-studio.0...v3.0.0-v3-studio.1) (2022-08-31) | ||
|
|
||
| ### Bug Fixes | ||
|
|
||
| - removed some exports ([7656488](https://github.com/sanity-io/language-filter/commit/7656488f7ad876e3e8b1898ca003d1fc15a3a491)) | ||
|
|
||
| ## 1.0.0-firstpass-v3-impl.1 (2022-08-29) | ||
|
|
||
| ### Features | ||
|
|
||
| - initial v3 plugin impl ([f745b63](https://github.com/sanity-io/language-filter/commit/f745b6354ffb087e558b566bf290ed7e973bec1a)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2026 Sanity.io | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.