# What changed in vega-loader

> 4 changes in vega-loader 5 from its official release notes, upgrade guides and advisories: 1 security, 2 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/vega-loader/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## vega-loader 5

### Security

- Fixes a security advisory for v5 releases by improving expressions. (5.33.1) — [release notes](https://github.com/vega/vega/releases/tag/v5.33.1)

### New APIs and options

- Adds a response option for processing direct fetch responses. (5.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v5.0.0)
- Adds a responseType property to format read methods. (5.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v5.0.0)

### Fixes and other changes

- The loader copies the rel option to the output result, which the scenegraph handler uses as the HTML rel attribute of a generated a element. (5.0.0) — [release notes](https://github.com/vega/vega/releases/tag/v5.0.0)
