The format is based on Keep a Changelog
The unreleased
heading is updated automatically to the right version and
release date when you use npm version
(see README.md
).
-
Simpler ways to use CLI:
- make the only useful
run
comand the default one - default
location
argument to the current directory - treat
localhost:8080
ashttp://localhost:8080
Example:
webxdc-dev localhost:8080
- make the only useful
- use
@webxdc/types
instead of own types declaration
0.18.0 - 2024-11-16
- package renamed to
@webxdc/webxdc-dev
- Apps being unable to
fetch()
anything or useblob:
anddata:
resource because ofconnect-src
CSP indexedDB
not getting cleared onclear()
- fix usage inside of stackblitz.com online IDE
0.17.0 - 2023-06-08
- support for
webxdc.sendToChat()
API - support for
webxdc.importFiles()
API
0.16.0 - 2023-02-21
-
Add a timestamp to messages.
-
Add a
fake-update
endpoint to the backend. This can be used to send fake delta-chat client generated updates. There is no UI yet. -
A button to remove instances.
-
A way to resize some UI sections.
0.15.1 - 2022-07-04
- Previously when a instance was connected and then disconnected, received and clear messages for that instance would still show up in the messages tab. Now we detect that the message could not be sent to this client and we don't record it.
0.15.0 - 2022-07-04
- A new "chat" panel is introduced in the sidebar. This contains any
summary
information as well as a table ofinfo
messages.
0.14.2 - 2022-07-04
- By default, the command-line does not show messages anymore. If you
turn on
-v
then it prints all the messages.
-
Fix to CSP issue on Safari - Safari's CSP implementation does not implement
connect-src
self
correctly yet so introduce a workaround. w3c/webappsec-csp#7 -
CSP was inadvertently blocking hot module reloading in systems like Vite which use a websocket to a proxied host. Now make special exception in CSP for this use case.
-
Fixed a bug where all instances in the UI would be set to stopped each time a new instances was added.
0.14.1 - 2022-07-04
- Added
--no-csp
command-line option to disable the CSP. Turn off CSP in early development before you've removed all access to external resources. Or turn it off if things aren't working for you correctly, and think about filing an issue withwebxdc-dev
.
0.14.0 - 2022-06-30
-
Main tab is now completely renewed (based on what was the mobile tab). Instances and messages are integrated into this.
-
Added Content Security Policy for instances - the same one as DeltaChat Desktop.
- Reload button is now disabled when instance is not started.
- Refactored implementation of mobile tab and cleaned it up.
- Remove
--open
automatic open option as it makes little sense with the new UI.
0.13.1 - 2022-06-30
- There is now a connect message when you first connect or reload an instance.
-
The mobile tab devices now default to opening closed. This way the user can determine when to first open them or open them externally. This makes the behavior closer to what the old instances tab does.
-
Rename the 'clear' button to 'reset'. It also wipes out messages in the messages panel.
0.13.0 - 2022-06-30
-
The ability to turn on and off a device in mobile
-
The ability to open a device in an external tab in mobile
-
Icon buttons
-
Sidebar with messages is collapsible
-
Scroll to new device when added
-
Scroll to last new message when a message appears
-
Show currently selected message in sidebar
-
Allow for large contents of JSON in details panel
0.12.1 - 2022-06-29
- A few tooltips and tweaks to the mobile UI.
0.12.0 - 2022-06-29
-
A new mobile tab. This shows the instances in iframes. Console log messages are instrumented so that the instance port number and color is shown ahead of the log message itself.
-
An instance when connecting requests information from the backend, which now tells it basic information about the application. This allows us to set the name of the webxdc app in the title of each instance tab.
- The version number in the info tab should now show properly in the released version.
0.11.0 - 2022-06-28
-
Show version number of dev tool in info tab.
-
Add
--version
command-line argument forwebxdc-dev
to see its version number. -
The title of instances is now overridden by the simulator to titles like "Instance 7001".
-
Log
clear
events to instance console too. -
Add favicon for dev tool.
-
Add
--open
option to automatically open instances on startup and as soon as they're created.
-
Better handling of command-line arguments.
-
Pull
backend/instance.ts
module out ofbackend/app.ts
.
0.10.0 - 2022-06-28
-
An info tab which displays information about the webxdc application you are running, including name, icon, source URL.
-
When you launch
webxdc-dev
for the wrong XDC file/directory/URL you get an error message on the command-line describing what is wrong. -
The instances overview page has links to
sent
andreceived
from the table heading to see just sent messages or received messages. -
Various tooltips in the instances screen to explain what each link does.
-
The dev server now broadcasts to all connected sockets for an instance instead of just one. This shouldn't make much of an operational difference expect if you open multiple browser windows for the same instance (which may have unpredictable effects for other reasons).
-
webxdc-dev
now waits to start until the URL it is proxying is available. This because it needs to retrieve manifest and icon information.
0.9.0 - 2022-06-27
-
The instances table now contains links to inspect messages for a client; all of them, sent or received. A client-side router is introduced, so the back button does what you expect.
-
You can see how many messages were sent and received per client.
- Better link styling
0.8.0 - 2022-06-24
- Introduces a tabbed UI with a second "messages" tab which displays a list of all messages sent and received.
- webxdc instances now use the name
Instance {port number}
instead of just the port number. The address has also been updated to use "instance" instead of "device".
0.7.0 - 2022-06-23
-
Prettier UI.
-
"Clear" button which resets both server and client state, including
localStorage
,sessionStorage
, etc. This makes it easy to restart the clients in a clean slate. When you restartwebxdc-dev
each client will also start with a clean state.
- Updated the documentation to start with more basic use cases first.
0.6.0 - 2022-06-22
- Added the ability to run an
.xdc
file directly withwebxdc-dev run
.
0.5.2 - 2022-06-22
-
Improved documentation
-
Changed the default port number of webxdc-dev to
7000
as3000
conflicted with the vite default. We want to avoid any conflicts, so here's a run-down of defaults:-
vite uses
3000
-
webpack-dev-server uses
8080
-
parcel dev server uses
1234
So with
7000
we should be safe. -
0.5.1 - 2022-06-22
- There was a problem of applications breaking when running against a dev server on a URL. The websocket at /webxdc/.socket is now properly filtered out so that the applications start up correctly again.
0.5.0 - 2022-06-21
-
Added the ability to run Webxdc applications on a URL. This means you can start your dev server on, say,
http://localhost:8000
and then use:webxdc-dev run http://localhost:8000
This is handy when you have a development server such as webpack or vite running for your Webxdc project.
0.4.0 - 2022-06-21
setUpdateListener
now correctly resolves the promise once messages have been received.
-
Backend now sends multiple messages at once to support
setUpdateListener
promise. -
Transport mechanism for webxdc client.
-
Tests for webxdc client.
0.3.1 - 2022-06-20
- The build was broken due to the addition of the
types
directory. Unbreak the build.
0.3.0 - 2022-06-20
- Better implementation of webxdc: when you reload or reconnect, you get the correct messages.
- Make it so that we use an absolute path to find the
dist
directory in development mode so that the path where you start the tool shouldn't matter anymore.
0.2.1 - 2022-06-20
- Use
version-changelog
to maintain changelog as it lets us maintain a manual changelog.
-
Start maintaining this changelog.
-
Ability to set base port number using
--port
on the CLI. -
Log WebXDC traffic on browser console with
send
andrecv
messages.
-
Messages are sent to self too, not just to other instances.
-
Better
selfAddr
andselfName
.