<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/currententrychange-now-returns-the-previous-page-in-event-from-for-customer-account-full-page-extens-sab9ze8oy" -->

---
title: currententrychange now returns the previous page in...
description: Shopify's Navigation API changes what event.from means in currententrychange for customer account full-page extensions starting in API version 2027-01. The...
canonical: https://daily.dev/posts/currententrychange-now-returns-the-previous-page-in-event-from-for-customer-account-full-page-extens-sab9ze8oy
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: currententrychange now returns the previous page in event.from for customer account full-page extensions | daily.dev
og:description: Shopify's Navigation API changes what event.from means in currententrychange for customer account full-page extensions starting in API version 2027-01. The...
og:url: https://daily.dev/posts/currententrychange-now-returns-the-previous-page-in-event-from-for-customer-account-full-page-extens-sab9ze8oy
og:image: https://api.daily.dev/og/posts/saB9ZE8oY.png
og:image:alt: currententrychange now returns the previous page in event.from for customer account full-page extensions
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# currententrychange now returns the previous page in event.from for customer account full-page extensions

**[Shopify Developer changelog](https://daily.dev/sources/shopifychangelog)** · 2 min read · 0 upvotes · 0 comments

## Summary

Shopify's Navigation API changes what event.from means in currententrychange for customer account full-page extensions starting in API version 2027-01. The from property will return the previous page instead of the new page, reversing its current behavior. Extensions on 2026-10 or earlier keep the old behavior. Developers should replace reads of event.from.url with shopify.navigation.currentEntry.url, a fix that already works on API version 2025-10 and later, so it can be applied before upgrading.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://shopify.dev/changelog/currententrychange-now-returns-the-previous-page-in-event-from-for-customer-account-full-page-extensions>

## Questions this post answers

### Why does event.from in Shopify's currententrychange handler show the old page instead of the new one after upgrading to API version 2027-01?

Starting in Shopify API version 2027-01, event.from in the Navigation API's currententrychange event was changed to return the page the customer navigated away from, rather than the new page. In version 2026-10 and earlier, event.from had returned the new entry, the same value as currentEntry. Code reading event.from.url for the new page should instead use shopify.navigation.currentEntry.url.

_Tracking Shopify API breaking changes like this before you upgrade is easier with daily.dev._

### How do I fix a Shopify customer account extension that reads the wrong page from the currententrychange event?

Replace reads of event.from.url with shopify.navigation.currentEntry.url inside the currententrychange handler. This updated code already works on API version 2025-10 and later, so the fix can be applied before moving the extension to API version 2027-01, where event.from's meaning changes. Test by navigating between routes and confirming each shows the page navigated to.

_Developers migrating Shopify extensions can keep tabs on API changes like this via daily.dev._

## Similar posts on daily.dev

- [Detect when a POS extension screen finishes navigating](https://daily.dev/posts/detect-when-a-pos-extension-screen-finishes-navigating-kro9inzui) · Shopify Developer changelog · 0 upvotes · 0 comments
- [App Events: Send events from Checkout and Customer Account UI extensions](https://daily.dev/posts/app-events-send-events-from-checkout-and-customer-account-ui-extensions-bhquzkutl) · Shopify Developer changelog · 0 upvotes · 0 comments
- [Navigation API Reaches Baseline Newly Available as Replacement to the History API](https://daily.dev/posts/navigation-api-reaches-baseline-newly-available-as-replacement-to-the-history-api-ttq0nwviu) · InfoQ · 6 upvotes · 0 comments
- [The JavaScript Navigation API Handles Every Route Change. Most Developers Still Use pushState.](https://daily.dev/posts/the-javascript-navigation-api-handles-every-route-change-most-developers-still-use-pushstate--ucdorqvcz) · Medium · 0 upvotes · 0 comments
- [Final Soft Navigations origin trial starting in Chrome 147](https://daily.dev/posts/final-soft-navigations-origin-trial-starting-in-chrome-147-tietnqt8l) · Chrome Developers · 1 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#shopify](https://daily.dev/tags/shopify)

[View this post on daily.dev](https://daily.dev/posts/currententrychange-now-returns-the-previous-page-in-event-from-for-customer-account-full-page-extens-sab9ze8oy)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"currententrychange now returns the previous page in event.from for customer account full-page extensions","url":"https://daily.dev/posts/currententrychange-now-returns-the-previous-page-in-event-from-for-customer-account-full-page-extens-sab9ze8oy","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/currententrychange-now-returns-the-previous-page-in-event-from-for-customer-account-full-page-extens-sab9ze8oy"},"datePublished":"2026-11-02T23:08:29.481Z","dateModified":"2026-11-02T23:08:51.282Z","description":"Shopify's Navigation API changes what event.from means in currententrychange for customer account full-page extensions starting in API version 2027-01. The...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Shopify Developer changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Shopify Developer changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aefcb5d2c1ca4b45b5d2256b9e2a9cc3","url":"https://daily.dev/sources/shopifychangelog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/currententrychange-now-returns-the-previous-page-in-event-from-for-customer-account-full-page-extens-sab9ze8oy","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"javascript,shopify","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Shopify Developer changelog","item":"https://daily.dev/sources/shopifychangelog"},{"@type":"ListItem","position":3,"name":"currententrychange now returns the previous page in event.from for customer account full-page extensions"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/currententrychange-now-returns-the-previous-page-in-event-from-for-customer-account-full-page-extens-sab9ze8oy#faq","mainEntity":[{"@type":"Question","name":"Why does event.from in Shopify's currententrychange handler show the old page instead of the new one after upgrading to API version 2027-01?","acceptedAnswer":{"@type":"Answer","text":"Starting in Shopify API version 2027-01, event.from in the Navigation API's currententrychange event was changed to return the page the customer navigated away from, rather than the new page. In version 2026-10 and earlier, event.from had returned the new entry, the same value as currentEntry. Code reading event.from.url for the new page should instead use shopify.navigation.currentEntry.url. Tracking Shopify API breaking changes like this before you upgrade is easier with daily.dev."}},{"@type":"Question","name":"How do I fix a Shopify customer account extension that reads the wrong page from the currententrychange event?","acceptedAnswer":{"@type":"Answer","text":"Replace reads of event.from.url with shopify.navigation.currentEntry.url inside the currententrychange handler. This updated code already works on API version 2025-10 and later, so the fix can be applied before moving the extension to API version 2027-01, where event.from's meaning changes. Test by navigating between routes and confirming each shows the page navigated to. Developers migrating Shopify extensions can keep tabs on API changes like this via daily.dev."}}]}
```

