Skip to content

v1.1.1

Compare
Choose a tag to compare
@gburgett gburgett released this 30 Jun 14:28
· 220 commits to master since this release
f42a82a

Changelog From v1.1.0 To v1.1.1

#255 Explicit Webhook route @gburgett merged 2022-02-16

Allow specifying an explicit webhook route

Needed for watermarkchurch/paper-signs#2729
Usage:

      WCC::Contentful::WebhookEnableJob.set(wait: 10.seconds).perform_later({
        management_token: config.management_token,
        space: config.space,
        environment: config.environment,
        default_locale: config.default_locale,
        connection: config.connection,
        webhook_username: config.webhook_username,
        webhook_password: config.webhook_password,

        # The webhook is mounted under the "papyrus" namespace
        receive_url: URI.join(config.app_url, 'papyrus/webhook/receive').to_s,
      })
#254 Bump ajv from 6.5.4 to 6.12.6 @dependabot[bot] merged 2022-02-14
#252 Support Operator "in" @gburgett merged 2022-02-14

Support the :in operators on CDN Adapter

This is required for watermarkchurch/paper-signs#2702 and watermarkchurch/paper-signs#2703
In order to resolve Properties that link to the blog post's Categories, I want to execute this query within a blog post:

Papyrus::Property.find_all(
  categories: { id: categories_ids }
)

which should result in a query similar to this:

https://cdn.contentful.com/spaces/xxxxxx/entries?content_type=property&fields.categories.sys.id%5Bin%5D=3snRTIDPQFaAUiLda3QdTc,63V41sK2c5lXhKv3y7bZnH&include=0

I have confirmed that the above query results in the correct data via the Contentful CDN

Issues closed in this release:

    • created by @