Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Releases: guardian/discussion-rendering

v15.0.0

21 Jun 14:49
0db7e07
Compare
Choose a tag to compare

Major Changes

  • b6d2cb3: Update TS to version 5.1.3

v14.0.0

25 Apr 09:08
25c1a0a
Compare
Choose a tag to compare

Major Changes

  • d0721e7: Update project to React 18:

    • Update react, react-dom & corresponding types.
    • Use the new react-dom createRoot syntax for rendering
    • Upgrade @guardian dependencies to latest version, including source-react-components v13 which is on React 18
    • Upgrade @testing-library dependencies to support React 18
    • Upgrade Typescript to v4.9.5

v13.0.0

01 Feb 16:03
a518c5f
Compare
Choose a tag to compare

Major Changes

v12.0.0

19 Jan 13:51
cf53218
Compare
Choose a tag to compare

Major Changes

  • 22c1d98: ### What
    Add required prop idApiUrl to the discussion App. The url is coming from CAPI and passed via DCR.

    Why

    The previous version of discussion-rendering had the prod identity url hardcoded and was hitting this regardless of environment. This was causing CORS errors when trying to post a comment as https://m.code.dev-theguardian.com/ is not one of the allowed domains to hit the prod api.

    How to consume

    This change handles the consumption of idApiUrl by the application.

v11.0.3

02 Nov 12:02
13029ab
Compare
Choose a tag to compare

Patch Changes

  • 18ac401: Drop sourcemaps from build

Drop sourcemap

01 Nov 13:47
Compare
Choose a tag to compare
Drop sourcemap Pre-release
Pre-release
  • fix: drop source maps from build 18ac401
  • Merge pull request #635 from guardian/dependabot/npm_and_yarn/babel/plugin-transform-runtime-7.19.6 cc47821
  • chore(deps-dev): bump @babel/plugin-transform-runtime f5cccb7
  • Merge pull request #639 from guardian/dependabot/npm_and_yarn/rollup-3.2.5 417ca71
  • chore(deps-dev): bump rollup from 2.79.1 to 3.2.5 1900224

v11.0.2...v11.0.3-0

v11.0.2

01 Nov 10:12
Compare
Choose a tag to compare

Patch Changes

Remove injection of JSX in build

28 Oct 15:33
Compare
Choose a tag to compare
Pre-release
  • docs(vite): explain configuration of JSX 9d828ac
  • chore(deps): bump Emotion packages 97dc679
  • fix: handle JSX correctly 99b038d
  • feat: format vite config 359c3c7
  • feat: add Babel options types f6cfdf3
  • fix: catch formatting errors with prettier 132125f
  • refactor: remove React imports 0d542f7

v11.0.1...v11.0.2-1

Test a new bundling strategy for vite

28 Oct 14:50
Compare
Choose a tag to compare
Pre-release

v11.0.1...v11.0.2-0

v11.0.1

27 Oct 09:47
1ae5900
Compare
Choose a tag to compare

Patch Changes

  • 33e5bc7: Externalise react-is and react/jsx-runtime