Releases: floodfx/liveviewjs
Releases · floodfx/liveviewjs
@liveviewjs/[email protected]
@liveviewjs/[email protected]
[email protected]
@liveviewjs/[email protected]
@liveviewjs/[email protected]
0.4.3
0.4.2
0.4.1
- 73ce475 update jest, ts-jest, and jest-mock-extended
- 7b868c1 use npm ci for auto-release
- e975567 - add rollup to express - regenerate express dist - update package.json to build and publish properly
- b7d1ce0 - refactor volunteers example - update rollup with additional external libraries for example - update zod version and example lib version - rerun dist
- 74fa558 - refactor deno to use liveview factory methods and related changes - update deno to import nanoid via import map
- cc3d111 Update zod, rerun test, rerun dist
- 13cb3b1 Rewrote README with tons more detail...
- c09b830 - minor LiveView documentation improvements - minor LiveSocket documentation improvements - removed old TODO from form control - add istanbul ignore for diffArrays2 - remove handling of Promises of HtmlSafeStrings and throw error instead telling dev to wrap in a Promise.all - add a couple of tests to htmlSafeString
- 37b8c31 update dist
- 59bd521 update coverage
- b25d2be update package-lock
- d73c4a1 Create more robust generation of "myself" id for LiveComponents - use cid counter to track and calculate next component id - add test
- 40c76ef Add support for HtmlSafeStrings to support building Parts tree with Arrays<Promise> - add support for case without normal HtmlSafeStrings - add support for case with live components (encoded in HtmlSafeStrings)
- 3668a19 - don't hide env files
- 6ba6c6a - clean up sendInternal cruft - use liveCompoent code to generate a compoent "class" since we don't have a constructor - revert diff back to original diffArray algo - update rollup config to make nanoid external - bump version to 0.4.1
- ecda827 implement parts tree builder to make single static part directly into a string
- f4d15e8 minor documentation improvements
- 66ed440 remove chart.js imports
- 85a807a remove console.logs, remove chart.js, nodemon, rebuild
- 9e5b754 use refactored @liveviewjs/examples
- e980d0a refactored examples to use 0.4.0 liveviewjs API
- 007a32d bump version to 0.4.0 and build dist files
- 6540c78 format
- 70a74d1 Fix diff of live component parts and string parts
- e0a5e5e make live_component helper not care about TEvent and TInfo
- 70d6199 fix diffing by saving full partsTree between renders and diffing new full parts tree
- 4880477 - Work on making LiveComponents better supported - make handleEvent optional for LiveComponents - add createLiveComponent factory function - improve typing for LiveViewMeta - add event typing for future use - Add back diffing for parts - Fix LiveViewRouter typing for factory functions
- 26094d1 Add TInfo type annotation to LiveComponentSocket; rename send to sendParentInfo and allow info event to be a string;
- 1ef336a Add missing type annotation to socket type; add Matt P's code (commented out)
- 48ef6f9 rebuilt dist
- 577e506 test coverage updates
- 8ebadf2 Add npm and node engines to package
- 08e9f60 Some doc cleanup; Support string Info events; complete LiveViewSocket typing for BaseLiveViewSocket
- 2fb854d refactor a couple of examples to use createLiveView factory function
- 3c741b8 mess around with createLiveView factory function
- 2d9d92b add ability to auto-info TInfos type in functional LiveView factory method
- 8930228 add .npmrc
- 5fd8fdf add functional createLiveView method; change order of mount params and related updates; tick minor version because of param ordering change
0.4.0
- 9e5b754 use refactored @liveviewjs/examples
- e980d0a refactored examples to use 0.4.0 liveviewjs API
- 007a32d bump version to 0.4.0 and build dist files
- 6540c78 format
- 70a74d1 Fix diff of live component parts and string parts
- e0a5e5e make live_component helper not care about TEvent and TInfo
- 70d6199 fix diffing by saving full partsTree between renders and diffing new full parts tree
- 4880477 - Work on making LiveComponents better supported - make handleEvent optional for LiveComponents - add createLiveComponent factory function - improve typing for LiveViewMeta - add event typing for future use - Add back diffing for parts - Fix LiveViewRouter typing for factory functions
- 26094d1 Add TInfo type annotation to LiveComponentSocket; rename send to sendParentInfo and allow info event to be a string;
- 1ef336a Add missing type annotation to socket type; add Matt P's code (commented out)
- 48ef6f9 rebuilt dist
- 577e506 test coverage updates
- 8ebadf2 Add npm and node engines to package
- 08e9f60 Some doc cleanup; Support string Info events; complete LiveViewSocket typing for BaseLiveViewSocket
- 2fb854d refactor a couple of examples to use createLiveView factory function
- 3c741b8 mess around with createLiveView factory function
- 2d9d92b add ability to auto-info TInfos type in functional LiveView factory method
- 8930228 add .npmrc
- 5fd8fdf add functional createLiveView method; change order of mount params and related updates; tick minor version because of param ordering change
- 30e0777 use deno browser js instead of github browser js
- 70f58e3 use github hosted liveviewjs client code from examples
- d531124 use npm hosted liveview libs in package.json
- 7a7bb52 use 0.3.0 liveviewjs package
- 45596d8 update import_map.json to use deployed 0.3.0 packages
- 027995c fix readme
0.3.0
Basically a re-architecture, refactoring of LiveViewJS into multiple different packages primarily to support both NodeJS and Deno runtimes.
Package structure is:
<root>
- "Core" LiveViewJS package that defines the main types, implement the LiveViewProtocol, and management of LiveViews for HTTP and Websockets. This is written in TS that works both on NodeJS and Deno.packages/examples
- numerous LiveViewJS examples show both simple and complex LiveViews which are usable in both NodeJS and Denopackages/deno
- Code that enables developers to use LiveViewJS in their Deno + Oak applications along with a working example Deno + Oak server which loads the LiveView examples frompackages/example
.packages/express
- Code that enables developers to use LiveViewJS in their NodeJS + ExpressJS applications along with a working example NodeJS + Express server which loads the LiveView examples frompackages/example
.
In addition, we cleaned up the type system, refactored a bunch of types, fixed bugs, written tests, and generally learned a lot! Also fixed #25, #30 , #36
- 6d08a8d tests work locally so skip for this release.
- 0825ade fix osx file name capitalization issue
- e3e8f91 try adding singleProcessPubSub directly
- b0b00e5 rerun tests and npm install
- 84129d4 fix barrel for pubsub and update workflow to add tests back
- 4835b69 rebuild
- fc4eb8e add check command; update some deps
- ab74247 refactored src
- 4221bef update README
- a43b976 update README and refactor src
- 851adbd refactored node/express package
- 5999e01 rebuild and update README
- d03ed0f minor README updates
- f9cebd7 update README and little refactor of src
- 8d595d8 add prettier
- af759b3 update README docs; update version; rebuild dist and coverage
- 7dd1bdf add the LiveViewServerAdaptor interface
- 823b69d fix some tests
- 552bfbf add current url to LiveViewMeta
- d470f08 rename send to sendInfo and queue up these events until after the current lifecycle has sent a response to process
- a2c75a8 tick release candidate version
- 2270f86 improve flash adaptor and tests
- bd0b8bf lastest dist and coverage
- 0dcaffb add flash adaptor and lv:clear-flash handling back
- 8ca3aee build and package.json cleanup
- 22c3a26 update tsconfig .vscode dist/ and coverage/
- b28bcac remove flash
- 4849073 fixed all the tests and coverage back up
- 192420c add example liveview browser javascript, building with esbuild, and add to dist
- 7f87ae4 refactor / rename / cleanup based on latest liveviewjs refactor
- 6aaac29 get wsMessageRouter test working
- a3f1bc2 so more refactoring
- e93ec95 big ole refactor
- 2ae0231 rename component to live
- 41adaa4 add better docs to changeset types
- cd11678 clean up, comment, refactor, simplify, and otherwise make it easy for folks to grok liveviewjs with express
- b4dc5f2 ran deno fmt
- c778375 simplify, clean up, comment, update vscode settings to look at import_map.json, add README, and generally make project easy to grok
- d897cd0 make deno and express apps use liveViewRoot template and clean up a bit; refactor express away from live view server
- 8a79b60 little refactoring
- bfb3b18 use liveviewjs name instead of liveview
- f30c3f3 update based on latest liveviewjs release; improve build; use liveviewjs org
- c44619f import liveview-example from deno.land; improve deps.ts