|
1 | 1 | Changelog
|
2 | 2 | =========
|
3 | 3 |
|
| 4 | +0.28.0 |
| 5 | +------ |
| 6 | + |
| 7 | +Includes a wide variety of improvements: |
| 8 | + |
| 9 | +- support ``currentTime`` attr of audio/video elements |
| 10 | +- support for the ``files`` attribute from the target of input elements |
| 11 | +- model children are passed to the Javascript ``mount()`` function |
| 12 | +- began to add tests to client-side javascript |
| 13 | +- add a ``mountLayoutWithWebSocket`` function to ``idom-client-react`` |
| 14 | + |
| 15 | +and breaking changes, the most significant of which are: |
| 16 | + |
| 17 | +- Refactor existing server implementations as functions adhering to a protocol. This |
| 18 | + greatly simplified much of the code responsible for setting up servers and avoids |
| 19 | + the use of inheritance. |
| 20 | +- Switch to a monorepo-style structure for Javascript enabling a greater separation of |
| 21 | + concerns and common workspace scripts in ``package.json``. |
| 22 | +- Use a ``loadImportSource()`` function instead of trying to infer the path to dynamic |
| 23 | + modules which was brittle and inflexible. Allowing the specific client implementation |
| 24 | + to discover where "import sources" are located means ``idom-client-react`` doesn't |
| 25 | + need to try and devise a solution that will work for all cases. The fallout from this |
| 26 | + change is the addition of `importSource.sourceType` which, for the moment can either |
| 27 | + be ``"NAME"`` or ``"URL"`` where the former indicates the client is expected to know |
| 28 | + where to find a module of that name, and the latter should (usually) be passed on to |
| 29 | + ``import()`` |
| 30 | + |
| 31 | + |
| 32 | +**Issues Fixed:** |
| 33 | + |
| 34 | +- :issue:`324` (partially resolved) |
| 35 | +- :issue:`375` |
| 36 | + |
| 37 | +**Highlighted Commits:** |
| 38 | + |
| 39 | +- xfail due to bug in Python - :commit:`fee49a7` |
| 40 | +- add importSource sourceType field - :commit:`795bf94` |
| 41 | +- refactor client to use loadImportSource param - :commit:`bb5e3f3` |
| 42 | +- turn app into a package - :commit:`b282fc2` |
| 43 | +- add debug logs - :commit:`4b4f9b7` |
| 44 | +- add basic docs about JS test suite - :commit:`9ecfde5` |
| 45 | +- only use nox for python tests - :commit:`5056b7b` |
| 46 | +- test event serialization - :commit:`05fd86c` |
| 47 | +- serialize files attribute of file input element - :commit:`f0d00b7` |
| 48 | +- rename hasMount to exportsMount - :commit:`d55a28f` |
| 49 | +- refactor flask - :commit:`94681b6` |
| 50 | +- refactor tornado + misc fixes to sanic/fastapi - :commit:`16c9209` |
| 51 | +- refactor fastapi using server protocol - :commit:`0cc03ba` |
| 52 | +- recactor sanic server - :commit:`43d4b4f` |
| 53 | +- use server protocol instead of inheritance - :commit:`abe0fde` |
| 54 | +- support currentTime attr of audio/video elements - :commit:`975b54a` |
| 55 | +- pass children as props to mount() - :commit:`9494bc0` |
| 56 | + |
| 57 | + |
4 | 58 | 0.27.0
|
5 | 59 | ------
|
6 | 60 |
|
|
0 commit comments