Releases: sanity-io/sanity-algolia
Releases · sanity-io/sanity-algolia
1.1.0
Whats changed
- No longer dependent on
@sanity/client
and you should be able to pass in any version of that library to this function. - Possibly fewer delete operations made in Algolia API after a logic change
- Added example of using this module with Netlify functions
Changelog
- Handle async SerializeFunction by @runeb in #15
- Update README.md by @afflexux in #18
- Clean up type dependency and imports by @runeb in #20
- Revert "Clean up type dependency and imports" by @runeb in #21
- Update README.md by @jleknes in #22
- fix: Remove dependency, add examples by @runeb in #36
- Export TypeConfig and IndexMap by @hyldmo in #35
- Fixed multiple delete calls for the same index by @stbychkov in #24
New Contributors
- @afflexux made their first contribution in #18
- @jleknes made their first contribution in #22
- @hyldmo made their first contribution in #35
- @stbychkov made their first contribution in #24
Full Changelog: 1.0.2...1.1.0
1.1.0-alpha
A preview release of new features for async serialization and indexing multiple Algolia records for a single Sanity document. More details in pull request #14
1.0.2
1.0.1
1.0.0
Version 1.0.0 brings some requested flexibility in how Sanity documents are fetched before you map them to Algolia records. It is now easy to resolve references. See the updated example in README.
Note that updating will require that you update your code slightly.
Before
const sanityAlgolia = indexer(
{
post: algoliaIndex
},
…
After
const sanityAlgolia = indexer(
{
post: {index: algoliaIndex}
},
…