Ghost/ghost
Rishabh Garg a81620e37d
🐛 Fixed invalid expiry for member tier subscriptions (#16174)
refs https://github.com/TryGhost/Team/issues/2476

When upgrading from a Complimentary subscription with an expiry, to a paid Subscription of the same Tier, the Member was eventually losing access to the Tier when the complimentary subscription expires as the `expiry_at` on the mapping was not removed. This change fixes the code by setting expiry as null when a member upgrades their subscription to paid. This also adds 2 migrations to fix any side-effects on existing sites -

- Removed invalid expiry tier expiry date for paid members
- Restored missing tier mapping for paid members
2023-01-25 13:59:43 +05:30
..
adapter-manager Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
admin Update sentry-javascript monorepo to v7.33.0 2023-01-25 08:40:51 +01:00
api-framework Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
api-version-compatibility-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
audience-feedback Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
bootstrap-socket Added version information to log lines 2023-01-20 13:18:44 +01:00
constants Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
core 🐛 Fixed invalid expiry for member tier subscriptions (#16174) 2023-01-25 13:59:43 +05:30
custom-theme-settings-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
data-generator Added WebMentions to data generator 2023-01-23 17:39:00 +00:00
domain-events Added version information to log lines 2023-01-20 13:18:44 +01:00
dynamic-routing-events Added dynamic-routing-events package 2023-01-23 16:33:41 +08:00
email-analytics-provider-mailgun Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
email-analytics-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
email-content-generator Update dependency fs-extra to v11 2022-12-13 10:59:55 +07:00
email-events Added 100% test coverage for EmailEventStorage 2023-01-10 16:36:41 +01:00
email-service Updated email sending to remove invalid recipient emails (#16171) 2023-01-24 16:13:10 +05:30
email-suppression-list Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
express-dynamic-redirects Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
i18n Update dependency i18next to v22.4.9 2023-01-19 17:58:16 +00:00
importer-revue Updated Koenig packages 2023-01-04 11:27:39 +01:00
job-manager Added version information to log lines 2023-01-20 13:18:44 +01:00
link-redirects Update dependency @types/express to v4.17.15 2022-12-14 07:33:05 +07:00
link-replacer Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
link-tracking Lowered threshold for link-tracking coverage 2023-01-04 11:27:39 +01:00
magic-link Update dependency @types/nodemailer to v6.4.7 2023-01-03 18:46:57 +01:00
mailgun-client Added version information to log lines 2023-01-20 13:18:44 +01:00
member-attribution Added outbound link tagging setting (#16146) 2023-01-20 13:41:36 +01:00
member-events Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
members-api Added version information to log lines 2023-01-20 13:18:44 +01:00
members-csv Update dependency fs-extra to v11 2022-12-13 10:59:55 +07:00
members-events-service Added version information to log lines 2023-01-20 13:18:44 +01:00
members-importer Added version information to log lines 2023-01-20 13:18:44 +01:00
members-ssr Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
minifier Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
mw-api-version-mismatch Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
mw-cache-control Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-error-handler Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
mw-session-from-token Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-update-user-last-seen Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
mw-vhost Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
oembed-service Update metascraper to v5.33.5 2023-01-23 12:04:33 +00:00
offers Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
package-json Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
payments Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
portal Update sentry-javascript monorepo to v7.33.0 2023-01-25 08:40:51 +01:00
referrers Added new urls to known referrers list for source attribution 2023-01-20 18:13:05 +05:30
security Updated @tryghost dependencies (#16005) 2022-12-14 11:18:55 +07:00
session-service Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
settings-path-manager Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
staff-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
stats-service Update dependency knex to v2.4.2 2023-01-23 13:00:53 +01:00
stripe Added version information to log lines 2023-01-20 13:18:44 +01:00
tiers Bumped TryGhost-owned dependencies and lockfile 2023-01-02 20:55:22 +01:00
update-check-service Added version information to log lines 2023-01-20 13:18:44 +01:00
verification-trigger Improved email verification required checks (#16060) 2023-01-04 11:22:12 +01:00
version-notifications-data-service Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
webmentions Added BookshelfMentionRepository implementation (#16156) 2023-01-20 14:32:50 +01:00