Skip to content

Releases: crxjs/chrome-extension-tools

Introducing extend-chrome.dev

20 Aug 18:40
Compare
Choose a tag to compare

We have a new docs site! Check it out at https://extend-chrome.dev/rollup-plugin

  • docs: fix badge alt text 7c7c71a
  • docs: update README to point to docsite d430d87

v3.6.0...v3.6.1

Supporting MV3

18 Aug 20:14
Compare
Choose a tag to compare

MV3 support is now available in the main branch! 🎉

We haven't written the docs yet, but no special config is required. Even the simple reloader works, but only if a content script is open.

You can try it out on NPM:

npm i rollup-plugin-chrome-extension@latest -D

All that is required is a valid MV3 manifest.json file. If you want to use our JSON schema in VSCode to get auto-completion and validation, add the following to .vscode/settings.json:

{
  "json.schemas": [
    {
      "fileMatch": ["manifest.json"],
      "url": "https://raw.githubusercontent.com/extend-chrome/rollup-plugin-chrome-extension/main/manifest.schema.json"
    }
  ],
}

Please report any issues you encounter! 🙏

Commits

v3.5.7...v3.6.0

Ironing out MV3 bugs

13 Aug 22:25
Compare
Choose a tag to compare
Ironing out MV3 bugs Pre-release
Pre-release

This release irons out some MV3 content script bugs.

  • feat: simplify MV3 content script approach 2f149dc
  • fix duplicate map calls e50361a
  • fix duplicate match patterns 977c787
  • fix: convert content script match patterns (#100) 620c076
  • fix deprecation warning condition 9d71dda

v3.6.0-7...v3.6.0-8

Beta Testing

You can install this branch on npm:

npm i rollup-plugin-chrome-extension@beta -D

Supporting manifest files in TypeScript

13 Aug 00:07
Compare
Choose a tag to compare
Pre-release

This release adds support for manifest files as TS files in addition to JSON files.

Type checking and environment variables are here!

// rollup.config.js

export default {
  input: 'manifest.ts',
  output: { ... }
}
// manifest.ts

import { ManifestV3 } from 'rollup-plugin-chrome-extension'

const config: ManifestV3 = {
  content_scripts: [
    {
      js: ['content.ts'],
      matches: ['https://*/*', 'http://*/*'],
    },
  ],
  manifest_version: 3,
}

export default config

Beta Testing

You can install this branch on npm:

npm i rollup-plugin-chrome-extension@beta -D

v3.6.0-6...v3.6.0-7

Fixing the schema

12 Aug 17:03
Compare
Choose a tag to compare
Fixing the schema Pre-release
Pre-release

Fixes a schema bug that didn't validate content script match patterns with ports (eg, http://localhost:5000).

  • fix: allow ports in schema url match patterns 85d7bb1
  • chore: fix build error 3289f25

v3.6.0-5...v3.6.0-6

Building MV3

11 Aug 23:01
Compare
Choose a tag to compare
Building MV3 Pre-release
Pre-release

This release adds the ability to build MV3 extensions 🎉

Beta Testing

You can install this branch on npm:

npm i rollup-plugin-chrome-extension@beta -D

Please note, this release is BETA. Use at your own risk.

v3.6.0-3...v3.6.0-5

Supporting internationalization

06 Aug 20:01
Compare
Choose a tag to compare
Pre-release

This release will be available on npm:

v3.6.0-2...v3.6.0-3

Parsing MV3

05 Aug 23:11
Compare
Choose a tag to compare
Parsing MV3 Pre-release
Pre-release

This release adds the ability to parse MV3. It still won't output MV3, but we're one step closer 😅

v3.6.0-1...v3.6.0-2

Validating MV3

04 Aug 23:23
Compare
Choose a tag to compare
Validating MV3 Pre-release
Pre-release

This release adds a JSON schema that supports MV3.

  • chore: remove aliases b9a3b3f
  • chore: add alias to jest c55cbc8
  • chore: fix types build step 25a9519
  • chore: remove comment from rollup config e28e7f2
  • chore: support node >= 12 0a876fc
  • chore: include schema on npm ecb2538
  • Fix integration bugs with new schema (#90) e83143c
  • Add MV3 types and JSON schema (#89) fc83a2f

v3.6.0-0...v3.6.0-1

Delaying the simple reloader

02 Aug 16:59
Compare
Choose a tag to compare
Pre-release
  • tests: wait for reloader delay skip delay if delay is 0 b0d6e26
  • fix: delay reload by 100ms b9a34e2

v3.5.7...v3.6.0-0