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

Releases: helpscout/proxypack

v0.3.2

10 Dec 22:14

Choose a tag to compare

  • Merge pull request #13 from helpscout/add-csp-for-external-mappings 82c2d84
  • Add CSP for external mappings ca88974

v0.3.1...v0.3.2

v0.3.1

29 Oct 22:32

Choose a tag to compare

  • Fix permissions bug for launching FireFox 5fe5677

v0.3.0...v0.3.1

Various Fixes

25 Oct 04:15

Choose a tag to compare

Changed how Public Path was Modified in the Webpack Plugin

We were previously using a 3rd Party plugin for this functionality.

Webpack allows to automatically split and load code using require.ensure or dynamic import import(). Those modules are fetched on-demand when your main bundle is running in browser.

Webpack loads the modules (chunks) from a static URL, which is determined by config.output.publicPath of webpack configuration in the compiler.

In this case we are over writing this path to make sure that dynamic imports are resolved via ProxyPack's local node server.

This url is injected into the web browser, via the domain interceptor, but since web pack compiles this path we also need to make reference to it in source code (which is also better because we no longer need to inject it, we just write it into the bundled files).

Changed how WebPack compiler hooks are handled in ProxyPack
Since we are adding additional hooks to the compiler process, also added a way to manage hooks if they are legacy < 4 or > 4.

Fixed Firefox not being able to be opened from CLI
This was broken when we added a better way to manage SSL. The library we were using can't handle setting that pref.

We now manage FireFox independently by creating a custom profile and passing it when we want to open FireFox from the bin file. This will also make future updates to any FireFox functionality much easier to manage.

Added a way to set a Proxy in Safari
ProxyPack was never working in Safari, as there is not a way to setup a Proxy when you open Safari, however there is a way to setup a WebProxy and a SecureWebProxy in MacOSx that Safari respects.

Fixes bug in Domain Interceptor caused by 0.2.3

28 Aug 17:33

Choose a tag to compare

Fixes bug in Domain Interceptor caused by 0.2.3

Simple Cache and Splat Params

24 Aug 15:33

Choose a tag to compare

1 - this adds nested routes to localMappings in ProxyPack. This makes it possible to easily map a nested folder structure.

2 - this also adds a simple cache to reduce reads from local filesystem

For example if your images dir contained app1 and app2 and you wanted to map all these directories to the local filesystem with the following structure:

--|images|app1|dir1|thing.gif
--|images|app2|dir2|dir3|thing2.gif
You would use the following path to proxy all locally mapped assets in the ProxyPack plugin:

https://.cloudfront.net//images/*folders/:image': ${__dirname}/site/images/

Note: *folders is a splat parameter. Splat parameters are like wildcards, only that they will capture the value of the identifier that comes after the *.

v0.2.2...v0.2.3

Adds install function

06 Aug 17:04

Choose a tag to compare

  • this adds openssl as a dependency
  • we now generate our own certificate authority, and make ssl certs
  • hoxy requires the CA key, and cert
  • our webpack server requires the server cert
  • for mac osx the SSL certs will be auto added to keychain
  • adds an install command

v0.1.10...v0.2.0

Don't add CSP Headers if the don't exist

19 Jul 17:31

Choose a tag to compare

The local domain doesn't need to be added to CSP unless a CSP header already exists, otherwise we grab the existing CSP header and merge the local domain in.

v0.1.9

03 Jun 20:27

Choose a tag to compare

  • Remove disabling of extensions 4b1a640

v0.1.8...v0.1.9

Fixes CSP Headers

25 May 02:40

Choose a tag to compare

Fixes CSP Headers Pre-release
Pre-release

This update mainly fixes 2 issues:

  • we now merge the CSP headers from the origin server in the intercept
  • fixed a bug where domain / browser wasn't being applied when the browser was being opened

v0.1.7...v0.1.8

v0.1.7

22 May 23:46

Choose a tag to compare

v0.1.7 Pre-release
Pre-release

v0.1.6...v0.1.7