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

Releases: guardian/discussion-rendering

v15.0.0

Choose a tag to compare

@github-actions github-actions released this 21 Jun 14:49
0db7e07

Major Changes

  • b6d2cb3: Update TS to version 5.1.3

v14.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Apr 09:08
25c1a0a

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

Choose a tag to compare

@github-actions github-actions released this 01 Feb 16:03
a518c5f

Major Changes

v12.0.0

Choose a tag to compare

@github-actions github-actions released this 19 Jan 13:51
cf53218

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

Choose a tag to compare

@github-actions github-actions released this 02 Nov 12:02
13029ab

Patch Changes

  • 18ac401: Drop sourcemaps from build

Drop sourcemap

Drop sourcemap Pre-release
Pre-release

Choose a tag to compare

@mxdvl mxdvl released this 01 Nov 13:47
  • 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

Choose a tag to compare

@github-actions github-actions released this 01 Nov 10:12

Patch Changes

Remove injection of JSX in build

Pre-release

Choose a tag to compare

@mxdvl mxdvl released this 28 Oct 15:33
  • 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

Pre-release

Choose a tag to compare

@mxdvl mxdvl released this 28 Oct 14:50

v11.0.1...v11.0.2-0

v11.0.1

Choose a tag to compare

@github-actions github-actions released this 27 Oct 09:47
1ae5900

Patch Changes

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