Blazor.BrowserExtension

Build browser extensions easily with Blazor.

MIT License

Stars
330
Committers
6

Bot releases are visible (Hide)

Blazor.BrowserExtension - v0.6.1

Published by mingyaulee about 3 years ago

  • Avoid use of class property declaration due to restrictions in Mozilla addons linter
  • Added JsBind.Net as a direct dependency
Blazor.BrowserExtension - v0.6.0

Published by mingyaulee about 3 years ago

  • Update WebExtensions to v0.9.0
  • Use rollup to bundle JavaScript content files
  • Always clean browser extension output directory before copy task
  • Fix broken debugging by adding target to replace tokens in original build output and loading Blazor JS from debugging path

Breaking changes:
WebExtensions.Net no longer ships JavaScript content files, which is now handled by its dependency JsBind.Net and the JavaScript content files are included as RCL content, which is in the path /content/JsBind.Net. Therefore, the manifest.json needs to be updated from "WebExtensionsScripts/" to "content/"

Blazor.BrowserExtension - v0.5.2

Published by mingyaulee about 3 years ago

Updated build and publish targets to output to a separate directory instead of manipulating default output directory.

Note: The directory of the browser extension output is now browserextension instead of wwwroot

Blazor.BrowserExtension - v0.5.1

Published by mingyaulee over 3 years ago

Fixed build error in template

Blazor.BrowserExtension - v0.5.0

Published by mingyaulee over 3 years ago

  • Updated default routing to physical file routing
  • Removed obsolete/deprecated codes from v0.3.x

Template:

  • Improved experience in VS new project dialog
Blazor.BrowserExtension - v0.4.4

Published by mingyaulee over 3 years ago

  • Updated bundled Brotli decode.js and decode.min.js
  • Switched to use minified version of Brotli decode JS
Blazor.BrowserExtension - v0.4.3

Published by mingyaulee over 3 years ago

  • Fixed issue when running dotnet publish --no-build the property RazorComponent is not defined
  • Added PublishBlazorToBrowserExtension build property
  • Updated WebExtension package reference version from v0.7.1 to v0.7.2
  • Fixed Background.razor content for bootstrapping project
  • Improved logging in build and publish
Blazor.BrowserExtension - v0.4.2

Published by mingyaulee over 3 years ago

  • Added support for processing Blazor physical file routing
  • Updated WebExtension package reference version from v0.7.0 to v0.7.1
Blazor.BrowserExtension - v0.4.0

Published by mingyaulee over 3 years ago

  • Added JsHttpClient to support http calls to browser extension URLs
    Usage: Update the HttpClient service registration in Program.cs to
    builder.Services.AddScoped<HttpClient>(sp => new JsHttpClient(sp) { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
  • Fixed manifest.json content for bootstrapping
Blazor.BrowserExtension - v0.3.8

Published by mingyaulee over 3 years ago

Updated WebExtension package reference version from v0.6.0 to v0.7.0

Blazor.BrowserExtension - v0.3.7

Published by mingyaulee over 3 years ago

Updated options page definition in extension manifest to options_ui from options_page.

Blazor.BrowserExtension - v0.3.5

Published by mingyaulee over 3 years ago

  • Core.js handles debugging mode and CoreDebug.js is deprecated
  • Upgrade browser-polyfill to v0.8.0
Blazor.BrowserExtension - v0.3.3

Published by mingyaulee over 3 years ago

Fixed issue #3: _content folder from RCL is not renamed during publish.

Blazor.BrowserExtension - v0.3.2

Published by mingyaulee over 3 years ago

Added dotnet template for creating new project.

Blazor.BrowserExtension - v0.3.0

Published by mingyaulee over 3 years ago

  • Updated WebExtension package reference version from v0.5.1 to v0.6.0

Breaking changes:

  • WebExtension property in base page is renamed to WebExtensions
  • WebExtension namespace is renamed to WebExtensions
  • Class names containing WebExtension is renamed to WebExtensions

Upgrading guide:

  1. Change all usage of WebExtension namespace and property to WebExtensions
  2. Update the manifest.json for the web_accessible_resources value "WebExtensionScripts/*" to "WebExtensionsScripts/*"
Blazor.BrowserExtension - v0.2.1

Published by mingyaulee over 3 years ago

  • Moved background page routing from JavaScript to BackgroundPage class.
  • Some injected properties and methods in BasePage are deprecated.
  • Added support for dotnet publish and loading from compressed brotli files
Blazor.BrowserExtension - v0.2.0

Published by mingyaulee over 3 years ago

  • Updated WebExtension package reference version from v0.3.3 to v0.5.1
  • Added debugging mode using mock WebExtension API
  • Introduced IBrowserExtensionEnvironment to get the browser extension mode (Standard/ContentScript/Debug) instead of using IWebAssemblyHostEnvironment
  • Introduced build variable BrowserExtensionEnvironment to set the environment of application

Breaking change:

  • Refer to the release notes of WebExtension.Net
  • JavaScript API BlazorBrowserExtension.InitializeAsync now accepts environment name instead of project name.
Blazor.BrowserExtension - v0.1.12

Published by mingyaulee over 3 years ago

  • Fix: Only static web assets file manifest matching project name is processed
  • Fix: Warning when building .Net 6 Blazor project
Blazor.BrowserExtension - v0.1.9

Published by mingyaulee over 3 years ago

Added bootstrapping in build package to allow easier first time setup. Refer to readme for more details.

Blazor.BrowserExtension - v0.1.8

Published by mingyaulee over 3 years ago

Core JavaScripts are now imported as ES6 modules.
Breaking change: previously undocumented JavaScript API BlazorBrowserExtension.Initialize is now renamed to BlazorBrowserExtension.InitializeAsync

Package Rankings
Top 9.63% on Proxy.golang.org
Badges
Extracted from project README
Nuget GitHub Workflow Status Sonar Quality Gate
Related Projects