Releases: bbc/simorgh
Release 4.3109.0
Merge pull request #13594 from bbc/WS-HOT-FIX
WS-HOT-FIX: Remove x6 and referrer values
Release 4.3108.0
Merge pull request #13590 from bbc/dependabot/npm_and_yarn/node-forge-1.3.3
Bump node-forge from 1.3.1 to 1.3.3
Release 4.3107.0
Release 4.3106.0
Bump next from 15.5.7 to 16.1.1 in the next group (#13578)
* Bump next from 15.5.7 to 16.1.1 in the next group
Bumps the next group with 1 update: next.
Updates next from 15.5.7 to 16.1.1
- Release notes
- Changelog
- Commits
---
updated-dependencies:
- dependency-name: next
dependency-version: 16.1.1
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: next
...
Signed-off-by: dependabot[bot] [email protected]
* Add --webpack flag
* Remove sharp version pinning
* Remove now unneeded npmAuditIgnoreAdvisories
---------
Signed-off-by: dependabot[bot] [email protected]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Moore [email protected]
Release 4.3105.0
Move ATI Analytics Tests to Article Page (#13576)
* refactor:move ATIAnalytics tests to article page
* refactor:add .amp and .lite tests coverage
* refactor:update news logic for amp tests
Release 4.3104.0
Remove av-embeds URL check override (#13584)
Co-authored-by: Toby Cox [email protected]
Release 4.3103.0
Release 4.3102.0
Fix service parsing in _app (#13583)
* Fix service parsing in _app
* Remove console log
Release 4.3101.0
Set onion, vary and Link headers in Next.js app (#13547)
* Move sw.js rewrite to next.config
* Update next.config.js
* Logic to set headers from _document
* Fix tsc error
* Remove middleware
* Check hostname
* Update _document.page.tsx
* Update index.ts
* Replace cspHeaderResponse with DocumentContext version
* Fetch toggles from _document.page.tsx
* Pass args as object
* Add extractHeaders function to global page props
* Pass isNextJs: true down
* Remove toggle check from augmentWithDisclaimer
The toggle is checked within the Disclaimer component itself, so this seems redundant to just not add the small block type to the page data
* Remove toggles from getServerSideProps in pages
* Remove toggles fetch from getPageData
* Remove toggles from old article fetcher to fix TS error
* fallback to index if no id on block
* Remove platform flags from handleArticleRoute
* Remove platform flag from handleAvRoute
* Remove platform flags from downloads page
* Remove platform flags from live page
* Remove platform flags from send page
* Remove platform flag from watch page
* Remove platform flags from catch-all route
* Remove platform flags from wrapped page
* Remove platform flags from languages page
* Remove unneeded import
* Remove extractHeaders from articles route
* Remove extractHeaders from av-embeds route
* Remove extractHeaders from downloads route
* Remove extractHeaders from live route
* Remove extractHeaders from send route
* Remove extractHeaders from watch route
* Remove extractHeaders from catch-all route
* Remove extractHeaders from wrapped route
* Remove duplicate ctx.res?.setHeader
* Move logic from _document and move to _app
* Fix type imports
* Remove appProps and add comment
* Use cached version of toggles
* Rename CSP header tests to be more reflective of intent
* Make toggles destruct more readable
* Add service to toggles fetch from ctx
* Pass service down to csp header function to simplify logic
* Move comment for clarity
* Get service from path instead of query
* Update augmentWithDisclaimer.test.ts
* Remove toggles fetch and common props from Offline page
* Remove async/await from header setting
* Update _app.page.tsx
* Add Unknown page type
* Remove manual Unknown type unions
* Separate out header setting
* Move csp header function call logic into cspHeaderResponse function
* Fix tests
* Rename folder
* Move into separate utils folder
* Remove server experiments logic from articles route
* add tests
* Convert _app to class component to be consistent with _document
* Remove unneeded type cast
* Move handleServerLogging to separate file
* Update _app.page.tsx
* Update _app.page.tsx
* Update _app.page.tsx
* Update _app.page.tsx
* Add page type tests to derivePageType
* Use page-type header first if available
* Fix import order
* Update _app.page.tsx
* Update _app.page.tsx
* Update index.test.ts
* Convert _error page to class component
* Update _error.page.tsx
* Use UNKNOWN_PAGE const
* Mock url typo
* Check localhost domain using some
* Change instances of %27unknown%27 page type to use const
* Update _error.page.tsx
* Make type import consistent
* un-pluralise vary header function
* Add Link header function
* Fix typo in process.env setting in test
* Change getAssetOrigins to TS
* Move consts out of function
* Update ws-nextjs-app/utilities/derivePageType/index.test.ts
Co-authored-by: Harvey Peachey [email protected]
* Update responseHeaderTests.ts
* typo
* Extend responseHeaderTests integration tests
- CSP can%27t be fully tested as integration uses localhost for the domain and CSP headers aren%27t set on localhost
* Update responseHeaderTests.ts
---------
Co-authored-by: Harvey Peachey [email protected]
Release 4.3100.0
feat: disable pwa_promo_prompt experiment optimzely tracking (#13564)