@sanity/document-internationalization 2.0.0-studio-v3-plugin-v2.6 → 2.0.0-studio-v3-plugin-v2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @sanity/document-internationalization
1
+ # @sanity/document-internationalization
2
2
 
3
3
  - This is a completely new, **Sanity Studio v3 exclusive version** of @sanity/document-internationalization released as v2.0.0 which contains new features and requires content migrations to upgrade from previous versions. There is an example code below.
4
4
 
@@ -113,7 +113,10 @@ Fortunately, the Sanity GraphQL API contains a similar filter for document refer
113
113
  ```graphql
114
114
  # In this example we retrieve a lesson by its `slug.current` field value
115
115
  query GetLesson($language: String!, $slug: String!) {
116
- allLesson(limit: 1, where: {language: {eq: $language}, slug: {current: {eq: $slug}}}) {
116
+ allLesson(
117
+ limit: 1
118
+ where: {language: {eq: $language}, slug: {current: {eq: $slug}}}
119
+ ) {
117
120
  _id
118
121
  title
119
122
  language
@@ -150,7 +153,7 @@ There are two scripts in the `./migrations` folder of this repository. They cont
150
153
 
151
154
  ## Roadmap
152
155
 
153
- - [ ] Stabilize bulk publishing feature
156
+ - [x] Stabilize bulk publishing feature
154
157
  - [x] Asynchronous language plugin config option
155
158
  - [ ] Export a validator to allow the same slug on connected translations
156
159
  - [ ] Guidance to copy/paste changes between documents