2.4 KiB
2.4 KiB
v1.0.5
- This version of Ultraviolet fixes a minor bug with
blob:URLs.
v1.0.4
- This version of Ultraviolet introduces support for passing a list of Bare servers in the
uv.config.jsfile. This allows users to specify multiple servers that the service worker can choose from, improving reliability and failover. - Minor bug fixes (caught with ESLint) and improvements.
- The @tomphttp/bare-client package has been implemented, allowing users to use Ultraviolet with Bare server V2 and older versions of the Bare server.
- In previous versions, the
uv.client.jsscript was bundled withuv.bundle.js. In this version,uv.client.jsis separate and needs to be included separately in any workflows that use it.
v1.0.3
- In previous versions, the
uvPathexport was the default export from the Ultraviolet module. In this version,uvPathis no longer the default export and needs to be imported explicitly. - Here is an example of how to import the library:
import { uvPath } from '@titaniumnetwork-dev/ultraviolet';
v1.0.2
- This version of Ultraviolet is built using CommonJS, which means it can be used with CommonJS-based module systems such as Node.js.
- This version also includes a stock
sw.jsscript that users can use as a starting point for their service worker.
v1.0.1
- In the
sw.jsscript, users must now importuv.bundle.jsanduv.config.jsin that order. This is becauseuv.config.jsrelies onuv.bundle.js, and the paths to these files cannot be hard-coded in thesw.jsscript. - Minor bug fixes and improvements.
- Users must still use the
uv.config.jsfile to specify the paths to all the Ultraviolet scripts, includinguv.bundle.jsanduv.config.js. - Here an example of the changes you might make to your
sw.jsscript in this Ultraviolet version:
+ importScripts('./uv/uv.bundle.js');
+ importScripts('./uv/uv.config.js');
importScripts('./uv/uv.sw.js');
const sw = new UVServiceWorker();
self.addEventListener('fetch', (event) => event.respondWith(sw.fetch(event)));
v1.0.0
- This is the first official release of the Ultraviolet library.
- The
uv.bundle.jsscript is built using Webpack, allowing users to easily bundle their own scripts and dependencies with Ultraviolet. - This project is still under active development, and future releases will include new features and improvements.