Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Releases: guardian/image-rendering

v7.0.0

28 Jun 16:43
7c0facb
Compare
Choose a tag to compare

Caption Styles

The only known breaking change in this release are some alterations to caption styles that will cause the FigCaption and BodyImage components to look visually different. See #287.

Node 10 Deprecation

We're no long testing against Node 10 in CI as it has reached EOL. Given that this library builds to ES2020, this shouldn't have an impact on end users. See #264.

Dependency Bumps

The other changes are internal and/or dependency bumps. None of them should cause breaking changes:

  • Bump @typescript-eslint/parser from 4.14.2 to 4.16.1 (#228)
  • Bump @emotion/react from 11.1.4 to 11.1.5 (#215)
  • Bump ts-loader from 8.0.14 to 8.0.17 (#219)
  • Bump @types/node from 14.14.22 to 14.14.31 (#224)
  • Bump @types/react from 17.0.1 to 17.0.3 (#234)
  • Bump @types/react-test-renderer from 17.0.0 to 17.0.1 (#230)
  • Bump @guardian/prettier from 0.4.2 to 0.5.0 (#236)
  • Bump @guardian/src-foundations from 3.1.0 to 3.3.0 (#235)
  • Bump ts-jest from 26.4.4 to 26.5.3 (#233)
  • Bump @babel/preset-env from 7.12.13 to 7.13.10 (#238)
  • Bump @babel/core from 7.12.13 to 7.13.10 (#242)
  • Bump @babel/cli from 7.12.13 to 7.13.10 (#241)
  • Bump @guardian/eslint-config-typescript from 0.4.2 to 0.5.0 (#245)
  • Bump chromatic from 5.6.1 to 5.7.0 (#244)
  • Bump @typescript-eslint/eslint-plugin from 4.14.2 to 4.18.0 (#249)
  • Ignore "tmp" Directory When Linting And Testing (#252)
  • Bump @emotion/jest from 11.1.0 to 11.3.0 (#257)
  • Bump eslint-config-prettier from 7.2.0 to 8.3.0 (#263)
  • Bump eslint from 7.19.0 to 7.28.0 (#279)
  • Bump chromatic from 5.7.0 to 5.9.2 (#281)
  • Bump typescript from 4.1.3 to 4.3.4 (#283)

v6.0.0

24 Feb 18:07
abb250e
Compare
Choose a tag to compare

Types v4, Emotion v11, React v17, Source v3

v5.0.2

12 Jan 16:08
a311903
Compare
Choose a tag to compare

Bumps the version of @guardian/types to v1.1.0, as seen in #184.

v5.0.1

07 Jan 18:07
c5fec3a
Compare
Choose a tag to compare

This release covers internal dependency updates - it shouldn't affect functionality for external consumers. The full list of changes can be found here.

v5.0.0

11 Dec 11:31
3490601
Compare
Choose a tag to compare

The Role Of Role In Image-Rendering

Removes the Role type from Image-Rendering, as it now lives in @guardian/types. See #153 for more information.

This is a breaking change because it removes the Role type from Image-Rendering's exports.

v4.1.0

10 Dec 15:28
d704d4a
Compare
Choose a tag to compare

Srcsets

Introduced a module to allow Image-Rendering to generate src and srcset attributes for images. See #152 for more details.

v4.0.2

08 Dec 17:14
0b3e60a
Compare
Choose a tag to compare

Lots of internal dependency updates, the full changes can be viewed here: v4.0.1...f67a71f.

v4.0.1

30 Nov 15:11
18212e5
Compare
Choose a tag to compare

These changes are the same as for v4.0.0, but this time with the package.json and package-lock.json version numbers bumped.

v4.0.0

30 Nov 13:44
4065224
Compare
Choose a tag to compare

@guardian/types v1.0.0

The headline change in this release is the move to v1.0.0 of @guardian/types (#131). This is a breaking change due to the requirement on consumers of image-rendering to also be on v1.0.0 of @guardian/types (this is reflected in the fact that image-rendering now marks it as a peerDependency).

Dev Tools

The other changes in this release shouldn't affect consumers of the library, they're focused on quality-of-life improvements for developers:

  • Bumping Storybook to v6.1 (#124)
  • Introduction of Chromatic for visual regression testing with component snapshots (#125)
  • Addition of linting via ESLint, Prettier and the Guardian linting config (#126 and #127)

v3.0.5

12 Nov 14:22
c1bb8a3
Compare
Choose a tag to compare

Internal dependency updates:

  • ts-loader, #116
  • babel-loader, #117
  • @guardian/src-foundations, #120