---
title: "Shopify Named dates deprecated in segment queries: 2026-10-01 | Harbyn"
description: "Shopify Named dates deprecated in segment queries, announced Oct 1, 2026."
canonical: "https://harbyn.com/changes/shopify/2026-10-01-updated-function-syntax-on-the-segment-query-language"
last-updated: 2026-10-03
---

# Shopify Named dates deprecated in segment queries

Markdown version of <https://harbyn.com/changes/shopify/2026-10-01-updated-function-syntax-on-the-segment-query-language>.

Deprecation - Shopify. low severity. In effect.

The segment query named dates 12\_months\_ago, 90\_days\_ago, 30\_days\_ago and 7\_days\_ago are deprecated, with no removal date given. Use date offsets instead, for example -12m in place of 12\_months\_ago.

## Facts

| Fact | Value |
| --- | --- |
| Vendor | [Shopify](https://harbyn.com/vendors/shopify.md) |
| Kind | Deprecation |
| Severity | low |
| Status | In effect |
| Announced | Oct 1, 2026 |
| Added to Harbyn | Oct 3, 2026 |
| Lead time | No dated deadline |
| Symbols | `12_months_ago`, `90_days_ago`, `30_days_ago`, `7_days_ago` |
| Vendor page | <https://shopify.dev/changelog/updated-function-syntax-on-the-segment-query-language> |
| Review | Reviewed by a person, extracted by a model |

## Find it in your code

```sh
npx harbyn scan
```

This change names no identifier the scanner can match line by line, so the scan tells you whether your repository uses Shopify, from its packages and API hosts. Nothing leaves your machine.

## Sources

Where this event comes from: the page we read, when we read it, and the hash of that snapshot.

- <https://shopify.dev/changelog/feed.xml> (changelog, fetched 2026-10-03 05:27 UTC, sha256 `8fa8550cc939244de80fdd1db7e7b30d257c21fa84af76ee054e9fa6f647c3e5`)

## Related changes

### More from Shopify

- [Discounts can be part of Rollouts, exposed through Discount.rollouts](https://harbyn.com/changes/shopify/2026-10-01-discounts-can-now-be-included-in-rollouts.md) (Behavior change, announced Oct 1, 2026)
- [metafieldInteger collection conditions removed in API version 2027-01](https://harbyn.com/changes/shopify/2026-10-01-metafieldinteger-collection-condition-removed-in-api-version-2027-01.md) (Breaking change, announced Oct 1, 2026)
- [Tax calculated on return shipping fees for eligible US orders](https://harbyn.com/changes/shopify/2026-10-01-new-tax-fields-for-return-shipping-fees-in-the-graphql-admin-api-2.md) (Behavior change, effective Oct 23, 2026)
- [CustomerPhoneNumber gets smsMarketingConsent; flat SMS consent fields deprecated](https://harbyn.com/changes/shopify/2026-10-01-sms-marketing-consent-now-available-on-the-customerphonenumber-object.md) (Deprecation, announced Oct 1, 2026)

### Changes at other vendors

- [AWS Lambda: Python 3.10 runtime deprecation](https://harbyn.com/changes/aws-lambda/2026-10-08-python-3-10-runtime-deprecation.md) (effective Oct 31, 2026)
- [Jira / Atlassian Cloud: Atlassian Analytics dashboard subscriptions being removed](https://harbyn.com/changes/atlassian-jira/2026-08-10-atlassian-analytics-dashboard-subscriptions-being-removed.md) (effective Nov 2, 2026)
- [Google Cloud Run and Functions: .NET 8 runtime deprecation](https://harbyn.com/changes/google-cloud/2026-10-08-net-8-runtime-deprecation.md) (effective Nov 10, 2026)
- [GitHub: X-GitHub-Stateless-S2S-Token header ignored from 2026-11-30](https://harbyn.com/changes/github/2026-10-02-x-github-stateless-s2s-token-header-ignored-from-2026-11-30.md) (effective Nov 30, 2026)

[All upcoming deadlines](https://harbyn.com/deadlines.md)
