Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

Latest commit

 

History

History
145 lines (120 loc) · 5.78 KB

CHANGELOG.md

File metadata and controls

145 lines (120 loc) · 5.78 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • API Compatability with latest Snaps implementation (#114)
  • License file (#88)
  • --stripComments option (#65)

Changed

  • Use Node 14 (#77)
  • Prevent serve command from caching files (#90)
  • Restore crypto to eval environment (#87)
  • Fix applyConfig behavior (#85, #84)
  • Alias for suppressWarnings to --sw (#81)
  • Use workers as the execution environment (#60)
  • Use ses@^0.11.0 (#60)

Removed

  • 3box example
  • Environment option (#86)

Fixed

  • File existence checks init command (#73)
  • fs.exists and fs.readdir error handling (#71)

Uncategorized

  • Rename plugin option to bundle, but keep alias
  • Bugfixes after renaming

Uncategorized

  • Rename package to snaps-cli
  • Rename CLI entry point to snap
    • Maintain mm-plugin entry point alias and mm-plugin.config.json config files

Uncategorized

  • Fix fatal watch command bug

Uncategorized

  • Use existing package.json for mm-plugin init, if it exists

Uncategorized

  • Stop publishing example builds to npm
  • Add buildExamples script to package.json
    • Use this to build all examples with source maps
  • Rename build and watch option debug to sourceMaps
    • Maintain debug alias for backwards compatibility

Uncategorized

  • Add optional source mapping via debug option to build and watch commands

Uncategorized

  • Fix undefined port in package.json on build
  • The populate option for mm-plugin manifest (and mm-plugin build, which calls manifest by default) no longer has the alias p
    • p is now in every case reserved as an alias for port.

Uncategorized

  • Update readme

Uncategorized

  • mm-plugin manifest now populates package.json:web3Wallet.bundle.url using config values
    • It only does this if bundle.url is missing or starts with http://localhost.
    • It applies: bundle.url = 'http://localhost:${port}/${bundlePath}'
  • Basic handling of HTML comment syntax in bundle
    • <!-- and --> can be valid JavaScript, but are always forbidden by SES. They are now destructed into <! -- and -- >. This may break code in some edge cases.

Uncategorized

  • Update faulty ignore files; package size decreased

Uncategorized

  • Updated examples to work with metamask-plugin-beta as of this commit

Uncategorized

  • mm-plugin watch should no longer terminate on on parse or write errors

Uncategorized

  • Update realms-shim

Uncategorized

  • Handle SES edge cases
    • Babel: regeneratorRuntime global variable
    • Browserify: modules that use Buffer
      • Added regex that replaces lines in the bundle of the form (function (Buffer){

Uncategorized

  • Rename .mm-plugin.json to mm-plugin.config.json
    • Still support .mm-plugin.json for backwards compatibility

Uncategorized

  • Remove default command; at least one command must now be specified
  • Add init command

Uncategorized

  • Specifying web3Wallet.bundle.local or dist in .mm-plugin.json no longer overwrites the default for the serve command's root directory argument

Uncategorized

  • Use named rather than positional arguments