Skip to content

Latest commit

 

History

History
2354 lines (1156 loc) · 152 KB

CHANGELOG.md

File metadata and controls

2354 lines (1156 loc) · 152 KB

3.1.2 (2024-11-13)

Bug Fixes

  • ensure localized segments object is an object, not array (#1364) (3b2403f)

3.1.1 (2024-11-11)

Bug Fixes

3.1.0 (2024-10-08)

Bug Fixes

  • check for non-preview logged in user on account criteria (#1347) (9f6f062)
  • prioritize ras overlays for delayed prompts (21c3091)
  • prioritize ras overlays for delayed prompts #1341 (c0027d1)
  • verify delayed prompt can still be displayed before showing (#1344) (235f36b)

Features

3.0.1 (2024-09-04)

Bug Fixes

  • segmentation: handle bad MC API key (aecc659)

3.0.0 (2024-08-13)

Bug Fixes

  • update dependencies to support @wordpress/scripts (#1316) (a541907)

BREAKING CHANGES

  • Updates dependencies for compatibility with WordPress 6.6., but breaks JS in WordPress 6.5. and below. If you need support for WP 6.5.*, please do not upgrade to this new major version.

  • chore: refactor for updating dependencies in newspack-scripts

  • chore: update NPM version to lts/*

  • chore: update package-lock.json

  • refactor: use proxy script for eslint and stylelint scripts

  • fix: peer dependencies

  • deps: [email protected]; remove ajv

  • deps: update lint-staged (4066519d9c0f43aacb6961efa403994a4d8dd7a2)

  • chore: update newspack-scripts to v5.6.0-alpha.3

  • chore: add .stylelintrc.js

  • fix: remove outdated "main" entrypoint from package.json

  • chore: update newspack-scripts to v5.6.0-alpha.4

  • fix: add missing Prettier config files

  • chore: update newspack-scripts to 5.6.0-alpha.5

  • fix: stylelint scripts with [email protected]

  • fix: stylelint version with [email protected]

  • fix: reformat SCSS

  • chore: update newspack-scripts to v5.6.0-alpha.8

  • chore: update .blog URL

  • chore: add NPM scripts for PHP

  • chore: update newspack-components to v3.0.0

  • chore: bump newspack-scripts to v5.5.2

2.34.1 (2024-07-12)

Bug Fixes

  • use loose type comparison for list__in and list__not_in (#1326) (1872c96)

2.34.0 (2024-07-01)

Bug Fixes

Features

  • ensure regenerator-runtime is available (for WP 6.6) (8ee878e)

2.33.1 (2024-06-18)

Bug Fixes

  • prevent prompt expiration with invalid expiration date (#1318) (a83cf2a)

2.33.0 (2024-06-12)

Features

2.32.0 (2024-05-28)

Bug Fixes

  • improved attribute handling (f3eb1ae)

Features

  • update header hook to a more standard one (#1302) (fe756a4)

Reverts

  • automated file updates [skip ci] (b59282c)

2.31.3 (2024-04-26)

Bug Fixes

  • disable manual & custom placement prompts when prompts are disabled (#1299) (aff5777)

2.31.2 (2024-04-23)

Bug Fixes

  • improved attribute handling (b53415a)

2.31.1 (2024-04-08)

Bug Fixes

2.31.1-alpha.1 (2024-03-28)

Bug Fixes

2.31.0 (2024-03-04)

Bug Fixes

  • preview: handle additional_classes (c201f43)

Features

  • ci: add epic/* release workflow and rename master to trunk (#1271) (ed459fe)

2.31.0-alpha.2 (2024-02-23)

Bug Fixes

  • preview: handle additional_classes (c201f43)

2.31.0-alpha.1 (2024-02-08)

Features

  • ci: add epic/* release workflow and rename master to trunk (#1271) (ed459fe)

2.30.1 (2024-02-06)

Reverts

  • Revert "feat: use custom capability_type for the CPT (#1259)" (9366118), closes #1259

2.30.0 (2024-02-06)

Bug Fixes

Features

2.30.0-alpha.1 (2024-02-01)

Features

2.29.2-alpha.1 (2024-01-26)

Bug Fixes

2.29.1 (2024-01-25)

Bug Fixes

2.29.1-alpha.1 (2024-01-17)

Bug Fixes

2.29.0 (2024-01-17)

Features

2.28.0 (2024-01-08)

Features

  • add support for prompt revisions (b2571a7)

2.28.0-alpha.1 (2023-12-15)

Features

  • add support for prompt revisions (b2571a7)

2.27.0 (2023-12-11)

Features

  • don't enqueue criteria if popups are disabled for post (3fbd4b6)
  • segmentation: detect duplicated segments (#1244) (3cfc89a)

2.27.0-alpha.1 (2023-11-30)

Features

  • don't enqueue criteria if popups are disabled for post (3fbd4b6)
  • segmentation: detect duplicated segments (#1244) (3cfc89a)

2.26.1 (2023-11-17)

Bug Fixes

2.26.0 (2023-11-13)

Features

  • segmentation criteria for subscriptions and memberships (#1230) (bef21e0)

2.26.0-alpha.1 (2023-10-31)

Features

  • segmentation criteria for subscriptions and memberships (#1230) (bef21e0)

2.25.0 (2023-10-31)

Bug Fixes

  • deduplication strategy for Homepage Posts block (#1228) (bbb952d)

Features

2.25.0-alpha.2 (2023-10-20)

Features

2.25.0-alpha.1 (2023-10-16)

Bug Fixes

  • deduplication strategy for Homepage Posts block (#1228) (bbb952d)

Features

  • remove is_non_interactive method (adabea2)

2.24.0 (2023-10-09)

Bug Fixes

  • data-api: handle errored default donation settings (#1224) (76b70b6)

Features

2.24.0-alpha.3 (2023-09-29)

Bug Fixes

  • data-api: handle errored default donation settings (#1224) (76b70b6)

2.24.0-alpha.2 (2023-09-29)

Features

2.24.0-alpha.1 (2023-09-28)

Features

2.23.1 (2023-09-13)

Bug Fixes

  • avoid SQL error if legacy table doesn't exist (#1211) (f091a24)

2.23.1-alpha.1 (2023-09-06)

Bug Fixes

  • avoid SQL error if legacy table doesn't exist (#1211) (f091a24)

2.23.0 (2023-08-24)

Bug Fixes

  • account for frequency presets in printed config (#1203) (a97bc8f)
  • add .hidden styles for above header prompts (#1207) (a19d64d)
  • ensure url param segment is set (#1197) (dc6c130)
  • eslint new rule declaration-block-no-redundant-longhand-properties (d1bf215)
  • include missing file (#1194) (d5fe344)
  • move the close button when Hide Padding is enabled (#1165) (20d17d9)
  • remove string from overlay prompt (#1204) (232f05a)

Features

2.23.0-alpha.4 (2023-08-23)

Bug Fixes

  • add .hidden styles for above header prompts (#1207) (a19d64d)
  • eslint new rule declaration-block-no-redundant-longhand-properties (d1bf215)

2.23.0-alpha.3 (2023-08-21)

Bug Fixes

Features

  • add segmentation README and more useful info to debug object (#1195) (b501d9a)

2.23.0-alpha.2 (2023-08-18)

Bug Fixes

2.23.0-alpha.1 (2023-08-17)

Bug Fixes

  • move the close button when Hide Padding is enabled (#1165) (20d17d9)

Features

2.22.0 (2023-07-17)

Features

2.22.0-alpha.2 (2023-07-11)

Bug Fixes

  • when comparing filtered vs post content, compare only 1st paragraph (#1160) (b47449e)

2.21.1 (2023-07-11)

Bug Fixes

  • when comparing filtered vs post content, compare only 1st paragraph (#1160) (b47449e)

2.21.0 (2023-07-03)

Bug Fixes

  • ensure inline posts are inserted into main post content only (#1137) (624bd56)
  • remove dismissed event after form is submitted (#1143) (b470efd)
  • render prompts on metered content (#1152) (05b5f76)

Features

2.21.0-alpha.1 (2023-06-22)

Bug Fixes

  • ensure inline posts are inserted into main post content only (#1137) (624bd56)
  • remove dismissed event after form is submitted (#1143) (b470efd)
  • render prompts on metered content (#1152) (05b5f76)

Features

2.20.0 (2023-06-19)

Bug Fixes

  • attempt to create config file on every host (#1121) (8ba33b7)
  • escape value when creating config file (#1123) (53232e5)

Features

  • ras: add segmentation support for NRH donations (#1124) (d2b0ca8)

2.20.0-alpha.1 (2023-06-15)

Bug Fixes

  • attempt to create config file on every host (#1121) (8ba33b7)
  • escape value when creating config file (#1123) (53232e5)

Features

  • ras: add segmentation support for NRH donations (#1124) (d2b0ca8)

2.19.0 (2023-06-15)

Bug Fixes

  • remove dismissed event after form is submitted (#1143) (1e85c26)

Features

2.18.1 (2023-06-13)

Bug Fixes

  • don’t include inactive segments in API request payload (#1127) (f913e13)

2.18.0 (2023-06-05)

Features

2.18.0-alpha.1 (2023-05-30)

Features

2.17.0 (2023-05-30)

Features

  • record timestamp when RAS setup wizard is completed (#1118) (c6b225c)

2.16.0 (2023-05-08)

Bug Fixes

  • adjust pre-commit hook (#1086) (19de3f0)
  • pre commit and add pre push (#1084) (1f0a59d)
  • ras-defaults: allow override values via $_GET for previewing presets (#1107) (58736a5)
  • ras-defaults: turn on feature to always subscribe to newsletters by default (#1111) (283e0d8)

Features

2.16.0-alpha.4 (2023-05-08)

Bug Fixes

  • ras-defaults: turn on feature to always subscribe to newsletters by default (#1111) (283e0d8)

2.16.0-alpha.3 (2023-05-03)

Features

  • increase max length of default prompt input fields (#1109) (6b759a1)

2.16.0-alpha.2 (2023-05-03)

Bug Fixes

  • ras-defaults: allow override values via $_GET for previewing presets (#1107) (58736a5)

2.16.0-alpha.1 (2023-04-28)

Bug Fixes

Features

2.15.0 (2023-04-10)

Bug Fixes

  • ensure the plugin works when performance-lab plugin is active (0f8bc55)
  • fatal error if wp_cache_* functions do exist (003b6c4)
  • fatal error if wp_cache_* functions do exist #1073 (ce1f563)
  • hide lightbox when modal checkout (#1077) (1da8f6b)
  • memberships: restriction check for inline prompt insertion (#1079) (89f4142)

Features

2.15.0-alpha.1 (2023-03-31)

Bug Fixes

  • ensure the plugin works when performance-lab plugin is active (0f8bc55)
  • fatal error if wp_cache_* functions do exist (003b6c4)
  • fatal error if wp_cache_* functions do exist #1073 (ce1f563)
  • hide lightbox when modal checkout (#1077) (1da8f6b)
  • memberships: restriction check for inline prompt insertion (#1079) (89f4142)

Features

2.14.0 (2023-03-14)

Bug Fixes

  • avoid notice on php 8 (6fde157)
  • prevent PHP warning when previewing prompts (5a85939)

Features

  • add popup info to donation block (85ec525)
  • add popup info to donation block (7a01172)
  • add popups ids to forms in prompts (b41aff9)
  • allow overlays to be dismissed on background tap (#1062) (97a040b)

2.14.0-alpha.1 (2023-03-03)

Bug Fixes

  • avoid notice on php 8 (6fde157)
  • prevent PHP warning when previewing prompts (5a85939)

Features

  • add popup info to donation block (85ec525)
  • add popup info to donation block (7a01172)
  • add popups ids to forms in prompts (b41aff9)
  • allow overlays to be dismissed on background tap (#1062) (97a040b)

2.13.0 (2023-02-21)

Features

  • add feature to disable reader data caching via flag (#1049) (cabe310)

2.12.0 (2023-02-16)

Bug Fixes

  • force invalid "full" size value to correct "full-width" value (#1043) (131aba8)

Features

  • add prune data CLI command (486ea9f)

2.12.0-alpha.1 (2023-01-26)

Bug Fixes

  • force invalid "full" size value to correct "full-width" value (#1043) (131aba8)

Features

  • add prune data CLI command (486ea9f)

2.11.0 (2023-01-25)

Features

2.11.0-alpha.1 (2023-01-13)

Features

2.10.0 (2023-01-09)

Bug Fixes

  • allow every pageview frequency for overlays in editor (#1036) (d792ea6)
  • hide the 'Prompts Visible' button in the admin panel (a443eca)

Features

2.10.0-alpha.2 (2022-12-22)

Bug Fixes

  • allow every pageview frequency for overlays in editor (#1036) (d792ea6)

Features

  • CLI command to add ras defaults segments and prompts (#1032) (7cf8898)

2.10.0-alpha.1 (2022-12-20)

Bug Fixes

  • hide the 'Prompts Visible' button in the admin panel (a443eca)

Features

2.9.2 (2022-12-20)

Bug Fixes

2.9.2-hotfix.1 (2022-12-20)

Bug Fixes

  • prevent API bot exit without referer (b9f5c56)

2.9.1 (2022-12-20)

Bug Fixes

2.9.0 (2022-12-12)

Bug Fixes

  • ga: add custom dimensions via Newspack instead of a remote config (#1014) (fc49f4d), closes #325
  • update CI orb newspack-scripts (2bec2ad)

Features

2.9.0-alpha.1 (2022-12-01)

Bug Fixes

  • ga: add custom dimensions via Newspack instead of a remote config (#1014) (fc49f4d), closes #325
  • update CI orb newspack-scripts (2bec2ad)

Features

2.8.3 (2022-11-16)

Bug Fixes

  • also limit query to fetch reconciled session client IDs (09422f2)

2.8.2 (2022-11-16)

Bug Fixes

  • limit reconciled sessions to max of 10 per reader (a1e9cd9)

2.8.1 (2022-11-16)

Bug Fixes

2.8.1-hotfix.1 (2022-11-16)

Bug Fixes

  • handle ESP exception on login fetch (e7018da)

2.8.0 (2022-11-14)

Bug Fixes

  • clarify padding vs. border styles in overlay vs. inline (#998) (7c86755)

Features

2.8.0-alpha.2 (2022-11-11)

Features

2.8.0-alpha.1 (2022-11-03)

Bug Fixes

  • clarify padding vs. border styles in overlay vs. inline (#998) (7c86755)

Features

2.7.2 (2022-10-25)

Bug Fixes

  • invoke wp polyfills for compatibility (#997) (3c8f790)

2.7.1 (2022-10-20)

Bug Fixes

  • enqueue AMP scripts for non-AMP (e13ecae)
  • remove async attribute from script (43a677f)

Reverts

  • Revert "feat: polyfill amp-access script" (7cb2467)
  • polyfill fallback behavior from PR #961 (a6d0409)

2.7.0 (2022-10-19)

Bug Fixes

  • analytics: only add form info to form submission events (#960) (72ff629)
  • lower visibility threshold for prompt_seen events (#976) (607c20d)
  • release: use newspack-scripts with fixed semantic-release config (52119cd)

Features

  • treat logged-in admins and editors as preview sessions (#979) (516d076)

2.7.0-alpha.3 (2022-10-13)

Bug Fixes

  • prompt visibility animation (b278793)

2.6.2 (2022-10-13)

Bug Fixes

  • prompt visibility animation (b278793)

2.6.1 (2022-10-10)

Bug Fixes

2.6.0 (2022-09-27)

Bug Fixes

  • fallback to AMP script polyfills if AMP scripts are blocked (#961) (923e4fb)

Features

  • add concept of prompt styles and add large style (0d3ad81)
  • polyfill amp-access script (9271111), closes #193
  • remove wp-dom-ready, medialement dependencies for frontend script (b4c930c)
  • segmentation: by former donor status (#954) (0859c54)

2.6.0-alpha.2 (2022-09-26)

Features

  • add concept of prompt styles and add large style (0d3ad81)

2.6.0-alpha.1 (2022-09-21)

Bug Fixes

  • fallback to AMP script polyfills if AMP scripts are blocked (#961) (923e4fb)

Features

  • polyfill amp-access script (9271111), closes #193
  • remove wp-dom-ready, medialement dependencies for frontend script (b4c930c)
  • segmentation: by former donor status (#954) (0859c54)

2.5.0 (2022-09-21)

Features

  • improved frequency options no longer experimental; clearer UI (v2) (#966) (3fea259)

2.4.0 (2022-09-15)

Bug Fixes

  • force release build (e25a11e)
  • remove duplicate newspack-popups class name (#947) (ff0d82f)

Features

  • allow custom frequencies as long as NEWSPACK_EXPERIMENTAL_READER_ACTIVATION is true (#953) (a8cfc42)
  • analytics: prevent marking client as a subscriber if subscribing to only the master list (0dd5390)
  • log reg form info to analytics events (#951) (026361b)
  • polyfills for some amp scripts (#946) (245fcac)
  • simplify overlay max-height (#950) (c9c6001)
  • tapping on overlay background no longer dismisses prompt (#948) (fe34eef)

2.4.0-alpha.1 (2022-09-06)

Bug Fixes

  • remove duplicate newspack-popups class name (#947) (ff0d82f)

Features

  • allow custom frequencies as long as NEWSPACK_EXPERIMENTAL_READER_ACTIVATION is true (#953) (a8cfc42)
  • analytics: prevent marking client as a subscriber if subscribing to only the master list (0dd5390)
  • log reg form info to analytics events (#951) (026361b)
  • polyfills for some amp scripts (#946) (245fcac)
  • simplify overlay max-height (#950) (c9c6001)
  • tapping on overlay background no longer dismisses prompt (#948) (fe34eef)

2.3.1 (2022-08-18)

Bug Fixes

  • update frequency options disabled status when prompt type is changed (#941) (d2c2b12)

2.3.0 (2022-08-16)

Bug Fixes

  • category/tag exclusion fields in block editor (#935) (3b4f85d)
  • remove unneeded arg from preview pruning (9fa5f4e)
  • segment matching when no segment is the best-priority (#930) (d1a46a7)
  • simplify WC donation handling (#922) (43edced)

Features

  • featured images for overlay prompts (#924) (1e42665)
  • lookup unknown email addresses in ESP to determine status (#923) (c352517)
  • newsletters-data: handle no lists update (#926) (df77f1c)
  • read ESP donation metadata on login and supply to segmentation (#927) (2778b53)
  • segmentation: handle pre-authenticated users (#911) (211bbe0), closes #903

2.3.0-alpha.1 (2022-08-05)

Bug Fixes

  • remove unneeded arg from preview pruning (9fa5f4e)
  • segment matching when no segment is the best-priority (#930) (d1a46a7)
  • simplify WC donation handling (#922) (43edced)

Features

  • featured images for overlay prompts (#924) (1e42665)
  • lookup unknown email addresses in ESP to determine status (#923) (c352517)
  • newsletters-data: handle no lists update (#926) (df77f1c)
  • read ESP donation metadata on login and supply to segmentation (#927) (2778b53)
  • segmentation: handle pre-authenticated users (#911) (211bbe0), closes #903

2.2.1 (2022-08-02)

Bug Fixes

  • utm_source suppression if segment also matches (#931) (869054d)

2.2.0 (2022-08-01)

Bug Fixes

  • check subscriber status earlier and restore utm_medium=email logic (#892) (d71c23e)
  • retrieve events from persistent cache, if available (#915) (96eb998)

Features

  • improved frequency options (#908) (f86d22f)
  • newsletters: handle subscribe form block event (#917) (e89cd14)
  • styling: smaller padding on smaller viewports (#909) (81262ec)
  • use existing options to restrict display size of overlay prompts (#897) (15f3da8)

2.2.0-alpha.3 (2022-07-20)

Features

2.2.0-alpha.2 (2022-07-18)

Bug Fixes

  • retrieve events from persistent cache, if available (#915) (96eb998)

2.2.0-alpha.1 (2022-07-14)

Bug Fixes

  • check subscriber status earlier and restore utm_medium=email logic (#892) (d71c23e)

Features

  • styling: smaller padding on smaller viewports (#909) (81262ec)
  • use existing options to restrict display size of overlay prompts (#897) (15f3da8)

2.1.0 (2022-06-27)

Bug Fixes

Features

  • disable prompts by default for protected pages (#879) (410ec3e)

2.1.0-alpha.3 (2022-06-24)

Bug Fixes

2.0.2 (2022-06-24)

Bug Fixes

2.0.1 (2022-06-24)

Bug Fixes

  • misnamed variable in GA non-AMP config filter (40ae65b)

2.0.0 (2022-05-30)

Bug Fixes

  • force alpha release (5e7525c)
  • overlays should have a background by default (#875) (e831d4c)

Features

  • api: improve web crawler handling (#863) (a0a43e9)
  • new option to not display an overlay background (#867) (6a7fb47)
  • remove permanent suppression features (#866) (1477205)

BREAKING CHANGES

  • Removes permanent suppression options. All prompts will be displayed to all readers who meet both segmentation and frequency requirements for the prompt, even if those prompts were previously dismissed by those readers. Prompts containing newsletter signup or donation blocks will no longer be suppressed automatically under any circumstances.

  • feat: remove permanent suppression features

  • test: remove tests related to permanent suppression

2.0.0-alpha.1 (2022-05-27)

Features

  • new option to not display an overlay background (#867) (6a7fb47)
  • remove permanent suppression features (#866) (1477205)

BREAKING CHANGES

  • Removes permanent suppression options. All prompts will be displayed to all readers who meet both segmentation and frequency requirements for the prompt, even if those prompts were previously dismissed by those readers. Prompts containing newsletter signup or donation blocks will no longer be suppressed automatically under any circumstances.

  • feat: remove permanent suppression features

  • test: remove tests related to permanent suppression

1.53.0-alpha.1 (2022-05-19)

Features

1.52.2 (2022-05-10)

Bug Fixes

  • prevent duplicated pageviews if amp-analytics was loaded externally (2ca79ec)

1.52.1 (2022-04-20)

Bug Fixes

1.52.1-hotfix.1 (2022-04-20)

Reverts

  • Revert "fix: insertion of prompts around Group blocks (#855)" (b9917f2), closes #855

1.52.0 (2022-04-20)

Bug Fixes

  • insertion of prompts around Group blocks (#855) (6ae5ea9)
  • make "scroll" the default inline trigger_type (#846) (a2ffee4)

Features

  • support other newsletter signup forms (#836) (c30702d)

1.52.0-alpha.1 (2022-04-20)

Bug Fixes

  • insertion of prompts around Group blocks (#855) (6ae5ea9)

Features

  • support other newsletter signup forms (#836) (c30702d)

1.51.1-alpha.1 (2022-04-18)

Bug Fixes

  • make "scroll" the default inline trigger_type (#846) (a2ffee4)

1.51.0 (2022-04-05)

Bug Fixes

  • donation landing page setting (#826) (9b057b8)
  • restore "Announcements" category and move segments to label (9c429a6)
  • track logged-in users interactions (#839) (82f1296), closes #838

Features

  • add "undismissible" option for inline prompts (#832) (f766dac)
  • allow segmentation by user login status (#825) (affdbea)
  • analytics: add segment name to event_category (5a9f7c3)
  • show prompts to logged-in admin and editor users (#824) (cba27f5)

1.51.0-alpha.2 (2022-04-05)

Bug Fixes

1.51.0-alpha.1 (2022-03-31)

Bug Fixes

  • donation landing page setting (#826) (9b057b8)
  • restore "Announcements" category and move segments to label (9c429a6)

Features

  • add "undismissible" option for inline prompts (#832) (f766dac)
  • allow segmentation by user login status (#825) (affdbea)
  • analytics: add segment name to event_category (5a9f7c3)
  • show prompts to logged-in admin and editor users (#824) (cba27f5)

1.50.0 (2022-03-22)

Features

  • segmentation: add filter to designate additional product IDs as donations (#818) (c9a00c8)

1.50.0-alpha.1 (2022-03-15)

Features

  • segmentation: add filter to designate additional product IDs as donations (#818) (c9a00c8)

1.49.1 (2022-03-10)

Bug Fixes

  • prefix preview query param keys to avoid collisions (b6b82ed)

1.49.1-hotfix.1 (2022-03-10)

Bug Fixes

  • prefix preview query param keys to avoid collisions (b6b82ed)

1.49.0 (2022-03-08)

Bug Fixes

  • allow overlay_opacity to be set to 0 for prompts (#803) (1e3f68b), closes #632
  • count inner blocks' content toward post length (#807) (f745419)
  • ensure correct option is selected for trigger dropdown (#802) (b9210b2)
  • only count donation products for donor segmentation (#814) (b471dad)
  • prevent default category on term deletion (#806) (465c907)
  • prevent non-page post types from appearing in settings dropdown (#813) (bc1cead)
  • preview: pass url params to links within single-prompt preview iframes (#792) (6cad2c0), closes #663

Features

1.49.0-alpha.2 (2022-03-02)

Bug Fixes

  • only count donation products for donor segmentation (#814) (b471dad)
  • prevent non-page post types from appearing in settings dropdown (#813) (bc1cead)

1.49.0-alpha.1 (2022-02-24)

Bug Fixes

  • allow overlay_opacity to be set to 0 for prompts (#803) (1e3f68b), closes #632
  • count inner blocks' content toward post length (#807) (f745419)
  • ensure correct option is selected for trigger dropdown (#802) (b9210b2)
  • prevent default category on term deletion (#806) (465c907)
  • preview: pass url params to links within single-prompt preview iframes (#792) (6cad2c0), closes #663

Features

1.48.0 (2022-02-22)

Bug Fixes

  • don't strip URL query params if there's a hash in the URL (#798) (4deea2e)

Features

  • allow admins to define merge fields for donors (#777) (183aa59)
  • api: remove forcing HTTP; tweak referer verification (5bd188b)

Performance Improvements

  • segmentation: limit query results when fetching segmentation reach data (#797) (eb95a04), closes #627

1.48.0-alpha.1 (2022-02-10)

Bug Fixes

  • don't strip URL query params if there's a hash in the URL (#798) (4deea2e)

Features

  • allow admins to define merge fields for donors (#777) (183aa59)
  • api: remove forcing HTTP; tweak referer verification (5bd188b)

Performance Improvements

  • segmentation: limit query results when fetching segmentation reach data (#797) (eb95a04), closes #627

1.47.2 (2022-02-01)

Bug Fixes

  • class-newspack-popups-model.php: fire the "Form Submission" event on submit, not submit success (#790) (c9bfbbb)

1.47.2-alpha.1 (2022-02-01)

Bug Fixes

  • class-newspack-popups-model.php: fire the "Form Submission" event on submit, not submit success (#790) (c9bfbbb)

1.47.1 (2022-01-25)

Bug Fixes

  • view.js conflict with mediaelement.js (#771) (748451e)

1.47.1-alpha.1 (2022-01-24)

Bug Fixes

  • view.js conflict with mediaelement.js (#771) (748451e)

1.47.0 (2021-12-15)

Features

  • add a filter for supported post types (#726) (bd94d2a)

Performance Improvements

  • shorten query params for preview iframe URLs (#732) (42af58f)

1.47.0-alpha.1 (2021-12-15)

Features

  • add a filter for supported post types (#726) (bd94d2a)

Performance Improvements

  • shorten query params for preview iframe URLs (#732) (42af58f)

1.46.0 (2021-12-14)

Bug Fixes

Features

  • api: add HTTP reponse codes to error reponses (7572ff2)

1.46.0-alpha.2 (2021-12-10)

Bug Fixes

1.46.0-alpha.1 (2021-12-09)

Bug Fixes

Features

  • api: add HTTP reponse codes to error reponses (7572ff2)

1.45.2 (2021-12-02)

Bug Fixes

1.45.2-alpha.1 (2021-12-02)

Bug Fixes

1.45.1 (2021-12-01)

Bug Fixes

1.45.1-alpha.1 (2021-12-01)

Bug Fixes

1.45.0 (2021-11-30)

Bug Fixes

  • prevent insertions which break layout; improve classic-content insertion (#647) (3a19928), closes #555

Features

1.45.0-alpha.1 (2021-11-30)

Features

1.44.1-alpha.1 (2021-11-18)

Bug Fixes

  • prevent insertions which break layout; improve classic-content insertion (#647) (3a19928), closes #555

1.44.0 (2021-11-18)

Bug Fixes

  • segmentation: change MC API key option name (#638) (fcf8161)
  • post type support conditions (dfea3da)

Features

1.44.0-alpha.1 (2021-11-16)

Bug Fixes

  • segmentation: change MC API key option name (#638) (fcf8161)
  • post type support conditions (dfea3da)

Features

1.43.0 (2021-11-09)

Bug Fixes

Features

  • editor: handle archive placement in preview (ac67699)

1.42.1 (2021-11-03)

Bug Fixes

1.42.0 (2021-10-19)

Features

  • initialize prompt creation by manual placement (#639) (9e45159)

1.41.0 (2021-10-05)

Bug Fixes

  • fix prompt previewe permalink for archive placement (cb4a2ad)

Features

  • add archive page types filter for inline prompts (bce176a)
  • handle in archive pages placement when adding a prompt (c97baf7)
  • inline prompt: add a new placement option for the archive pages (83ae398), closes #450

Performance Improvements

  • prune rows from DB tables with data larger than a certain size (#634) (4b4fc5a)

1.40.0 (2021-09-28)

Features

  • segmentation: improve how Mailchimp merge fields are handled (f76db06)

1.39.1 (2021-09-08)

Bug Fixes

  • ensure only popup CPTs are handled (fdc1bdd)

1.39.0 (2021-08-31)

Bug Fixes

Features

1.38.0 (2021-08-25)

Features

  • targeting campaigns by post type (91b056b), closes #567

1.37.2 (2021-08-17)

Bug Fixes

  • amp analytics polyfill tweak (e8de420)

1.37.1 (2021-08-10)

Bug Fixes

  • email substitution in newsletter forms (73bd4cf)
  • donations: update WC webhook if needed (7a3e61d)

1.37.0 (2021-08-03)

Bug Fixes

Features

  • remove options whitelist (3f08781)

1.36.0 (2021-07-27)

Features

  • sanitize utm suppression setting (#585) (95890c3), closes #428
  • api: remove reader data if no updates in 30 days (#584) (e5db8de), closes #583
  • enable retrieving prompts from trash (736098f)

1.35.1 (2021-07-19)

Bug Fixes

  • allow custom placement prompts to be displayed if in widget blocks (#578) (aaedc03)
  • allow manual-only prompts to appear in widget blocks (#574) (a1c5f65)
  • assume DB prefix; ensure https (fee1cae)
  • wp-5.8: avoid an editor crash due to missing data in widgets block editor (#572) (db47c64), closes #570

1.35.0 (2021-06-30)

Features

1.34.0 (2021-06-15)

Bug Fixes

  • prevent prompts in account related posts (ef56ccc), closes #430

Features

1.33.0 (2021-05-26)

Features

  • single prompt block and manual-only placement option (#547) (1f1d83b)

1.32.1 (2021-05-13)

Bug Fixes

  • analytics: form selector (9ba35b6)

1.32.0 (2021-05-05)

Bug Fixes

  • bump query limit up to 100 for eligible prompts (#536) (bebf6ec)
  • use filter to decide which post types to insert ads into content (#537) (dafa550)

Features

1.31.1 (2021-04-28)

Bug Fixes

  • interaction of above-header prompts in non-AMP mode (0c3a7c5)
  • segments: filter out non-existing categories (#529) (d0160ef), closes #491
  • deduplicate popups for amp-access (9aaf006)
  • empty blocks handling (#524) (fba0154)
  • hide WC client ID field even if not on Newspack theme (4c1ebe6)
  • prevent overlay prompts animation conflicts (a8af34b), closes #526

1.31.0 (2021-04-13)

Bug Fixes

Features

  • handle classic content for inline prompt insertion (#521) (d361d5c)
  • new option to show border for inline prompts (#513) (78647ca)

1.30.1 (2021-04-09)

Bug Fixes

  • tags criterion for displaying popups (#515) (13d2be7)

1.30.0 (2021-04-06)

Bug Fixes

  • shortcode, amp-access fixes (#505) (b17cb94)
  • tag filtering (#506) (e88e7c7)
  • when previewing "everyone" segment, show only prompts with no segments (#507) (8c800d8)

Features

  • api: ignore web crawler traffic (#509) (95ada9d)
  • remove preview sessions data from DB daily; save last update date (f0dea91)
  • retrieve widget popups ids from options (ba0ad47), closes #470
  • simplify retrieval (b3299b2), closes #416

1.29.0 (2021-03-30)

Features

  • use RadioControls for prompt type selection (#501) (ebb6776)

1.28.0 (2021-03-24)

Bug Fixes

  • allow filters to suppress popups better (#487) (12030e3)
  • give blacklisted blocks a nominal length for 0% insertion logic (2f66203)
  • introduce override blocks to ignore when inserting prompts (14c82b4)
  • remove default category on prompt activation (#482) (84d96db)

Features

1.27.0 (2021-03-17)

Bug Fixes

  • process custom dimensions as strings (7443e67), closes #461

Features

  • add timestamp column to custom transients table (fd2bc0b)

1.26.2 (2021-03-12)

Bug Fixes

  • render_block causes Homepage Posts to render wrong post (#484) (239368f)

1.26.1 (2021-03-09)

Bug Fixes

  • inline positions computation (32836f1)
  • no amp-access auth check for inactive prompts (#474) (95b7f63)
  • prevents segmentation-derived custom dimensions reporting in non-interaction mode (#464) (c241e58)

1.26.0 (2021-03-03)

Features

1.25.0 (2021-02-25)

Bug Fixes

Features

  • validate segmentation sort operations (#455) (8b17170)

1.24.1 (2021-02-16)

Bug Fixes

  • increase max number of prompts to retrieve (#446) (fb380bf)

1.24.0 (2021-02-11)

Bug Fixes

  • add cache control headers (#434) (3a0d7f5)
  • prevent category overlays from being fetched erroneously (#439) (14f3c88)
  • preview functionality by campaign/group (#438) (fb79dfa)
  • set segment id to null if segment doesn't exist (#425) (ef70393)

Features

1.23.1 (2021-01-29)

Bug Fixes

  • insertion edge case bug (6e783ed)

1.23.0 (2021-01-28)

Features

  • add donor landing page setting (#408) (a3be6ca)
  • segmentation: handle referrer exclusion segmentation (#415) (011e0eb), closes #386

1.22.2 (2021-01-22)

Bug Fixes

  • admin bar shown on front end logged out (#411) (e9c53fa)

1.22.1 (2021-01-21)

Bug Fixes

  • bug that causes admin bar to be hidden (#409) (4b67894)

1.22.0 (2021-01-21)

Bug Fixes

  • corrected logic for above header display (#403) (3ca5d71)
  • handle missing GA id (f27f84a)
  • in preview tab, allow previewing without choosing groups (#399) (c9de7e9)
  • install composer dependencies on release job (#368) (f814d27)
  • remove dismiss button preview when empty (#402) (688d575)
  • remove inline class for above header campaigns (#401) (212f39e)
  • remove trailing question mark from cleaned non-AMP URLs (#376) (25363ae)
  • segmentation and frequency conflict (#383) (47a5af0), closes #379
  • segmentation category affinity fixes (16a6500)
  • session read count in view-as logic (#362) (33b65c7)
  • view-as-segment should always take min count values (#404) (e69a97a)

Features

1.21.0 (2020-12-15)

Bug Fixes

  • editor colors (69472f3)
  • insert time-triggered overlay campaigns above header (#297) (d2c473b), closes #4

Features

  • editor: hide post visibility selector (ce7aa98)
  • add above header placement option (#292) (06a863e), closes #260
  • make campaign groups a hierarchical taxonomy (#344) (da4b26a)
  • render a preview of the dismiss button in the editor (#336) (fa7dc05)

1.20.0 (2020-12-08)

Bug Fixes

  • do create config file on the atomic platform (14120a8)

Features

  • move custom GA config endpoint to lightweight API (326fb10)

1.19.0 (2020-12-02)

Bug Fixes

  • do not render popups with 'never' frequency (f1c80f3)

Features

  • report segmentation-related data as custom dimension to GA (#325) (648b70b), closes #259
  • segmentation: segment size computation (#324) (c152cd9)
  • prune segmentation data (c11c686), closes #251

1.19.0 (2020-12-02)

Bug Fixes

  • do not render popups with 'never' frequency (f1c80f3)

Features

  • report segmentation-related data as custom dimension to GA (#325) (648b70b), closes #259
  • segmentation: segment size computation (#324) (c152cd9)
  • prune segmentation data (c11c686), closes #251

1.18.0 (2020-11-24)

Bug Fixes

Features

  • Improve configuration file handling (#315) (be40334)
  • polyfill amp-analytics script (#306) (6066651), closes #193
  • reorganize editor sidebar and add notice when test mode is enabled (#307) (59e522c), closes #310
  • retrieve client email and donor status from Mailchimp (#305) (4ffc44d), closes #304

1.17.0 (2020-11-11)

Bug Fixes

  • do not enqueue scripts if post has Campaigns disabled (af32c62)
  • handle MC4WP forms when assessing if campaign has newsletter form (74cfbae)
  • inject campaigns into posts and pages only (#296) (c162379)

Features

1.16.0 (2020-10-29)

Bug Fixes

  • allow only one overlay campaign per page (#286) (231d862)

Features

1.15.1 (2020-10-28)

Bug Fixes

  • add posts_read array to legacy client data (#281) (126a5f3)

1.15.0 (2020-10-27)

Bug Fixes

  • handle no WooCommerce installed (d6b7b7c)
  • non-post visits; prevent overwriting client data (#276) (6f13857)
  • editor: disable "Every page" frequency for overlay campaigns (#268) (700c07e), closes #105
  • allow inline campaigns to appear before first block (23b86ce), closes #209
  • setting sitewide default (8e3037f), closes #72
  • testing of overlay popups (79f9f0d), closes #62

Features

1.14.0 (2020-10-20)

Bug Fixes

Features

1.13.0 (2020-10-07)

Features

1.12.2 (2020-09-30)

Bug Fixes

  • scroll-triggered popups on non-AMP pages (6b55e13)

1.12.1 (2020-09-29)

Bug Fixes

1.12.0 (2020-09-22)

Bug Fixes

  • api: config creation (#228) (d06daa5)
  • prevent a test category popup from taking the place of a sitewide default (c610ad0), closes #219
  • reporting view on overlay campaigns (#221) (6f63f5b), closes #220
  • api: enable drafts handling for setting options and categories (4828355)

Features

  • api: allow requests from AMP Cache (#226) (e0f7aaf)
  • create config if not exists (#212) (0bdc4a3)
  • use single request for amp-access; lightweight POST endpoint (#213) (e7c3356)

1.11.0 (2020-09-15)

Bug Fixes

  • handle false get_transient return value (#211) (11c9f3b)

Features

1.10.0 (2020-08-26)

Features

1.9.4 (2020-08-18)

Bug Fixes

  • dismissal events as non-interaction (164ce5f)

1.9.3 (2020-08-11)

Bug Fixes

  • add permission_callback to REST route defn (2626bb6)

1.9.2 (2020-07-22)

Bug Fixes

  • a typo in one of the campaign settings options (7ddd1c8)
  • js error on non-AMP pages (81e01fc)

1.9.1 (2020-07-15)

Bug Fixes

  • utm paramers suppression conflict (b2c577c)

1.9.0 (2020-07-14)

Bug Fixes

  • decode URL when checking utm_source suppression; fix transient (#178) (cd55311), closes #177
  • settings: styling (2c77bd4)

Features

  • hide non-test campagins for logged-in users (#169) (476e5c0)
  • settings: suppress all newsletter campaigns if one was dismissed (#175) (ed91a73)
  • add option to suppress newsletter campaigns if visiting from email (e1371f5)

1.8.0 (2020-07-09)

Bug Fixes

  • make popupseen non-interactive event (4278a17)

Features

  • mark load event as non interaction (9abff5d)

1.7.2 (2020-07-07)

Bug Fixes

  • duplicate execution of the_content filter (2692867)

1.7.1 (2020-06-30)

Bug Fixes

  • ad insertion in overlay campaigns (d036de1), closes #158

1.7.0 (2020-06-23)

Bug Fixes

  • insert all campaigns into content in one pass (#150) (3c30b8e)
  • non-amp form handling for inline campaigns (#154) (12b27b4)

Features

  • analytics: use newspack-plugin's filter where possible (#155) (0ee60bc)
  • add class names for newsletter prompts, for analytics tracking (9ca1f83)

1.6.0 (2020-06-18)

Bug Fixes

  • namespace use in register_rest_route (5c69bd7)
  • related posts in campaigns (#144) (caef323)

Features

1.5.3 (2020-06-09)

Bug Fixes

  • handle default background and overlay colors in the editor (e51c5d8), closes #56
  • remove amp-form in non-amp requests (#127) (77c2f2f)

1.5.2 (2020-05-15)

Bug Fixes

  • insertion: fix insertion of overlay scroll-triggered popups (6dc4427), closes #124
  • dont load popups on products because of amp-form (8eb5ebc)

1.5.1 (2020-05-12)

Bug Fixes

1.5.0 (2020-05-07)

Bug Fixes

  • fix couple issues with popup utm suppression (c4f5a1b)
  • resolve issue causing admin bar to display incorrectly (#116) (97270ea)

Features

  • convenience method for updating pop-up options (#112) (4f14604)
  • support for draft popups (c7c7fe5)

1.4.1 (2020-04-29)

Bug Fixes

  • prevent infinite loop with inline popups and paywalled content (83633ee)

1.4.0 (2020-04-24)

Bug Fixes

Features

  • add as filter (9f74644)
  • add assessment in insert_popups_amp_access (09c9d5d)
  • change settings UI (e5bef8f)
  • enable disabling popups for specific posts and pages (2cdaf31)
  • enqueue script for posts and pages only (4d15744)

1.3.1 (2020-04-22)

Bug Fixes

  • amp: disable popups on non-AMP pages with POST form elements (366407d)

1.3.0 (2020-04-21)

Bug Fixes

  • dont count pageviews when initializing popup analytics (969d3b6)
  • prevent reporting analytics data for popup previews (5eaec91)

Features

  • add class to pop-up if display title is enabled (#98) (ee37d73)

1.2.0 (2020-04-01)

Bug Fixes

  • correct query reset that can reset the loop (#91) (66b6389)

Features

  • add style to subscribe pattern 1 (#93) (98ddaa1)
  • handle MC4WP forms submissions (95c8073)
  • handle multiple inline popups (#89) (6c303ca)

1.1.1 (2020-03-24)

Bug Fixes

  • clear floats when using inline popup (#87) (6e7991f)
  • resolve inline popup collisions with super cool ad inserter content (#86) (2fbd806)
  • analytics: handle non-AMP pages and Mailchimp (#83) (d53bb02)