All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.16.2 (2023-08-30)
- @rallie/react: fix the bug that the state doesn't update when the dependencies change (828243a), closes #47
0.16.1 (2023-08-12)
Note: Version bump only for package ralliejs
0.16.0 (2023-03-08)
- @rallie/load-html: add the config
filter
to filter the element you do not want (bbe5b18)
0.15.1 (2023-03-07)
Note: Version bump only for package ralliejs
0.15.0 (2023-03-04)
- @rallie/block: bind the trigger name of event and methods on the
this
object of the listener (4957c54)
0.14.2 (2023-03-04)
- @rallie/block: remove the ability to get the trigger of event or methods (718ff08)
0.14.1 (2023-03-03)
- @rallie/block: method and event listener can get the trigger name by the last argument (b4de50b)
0.14.0 (2023-02-25)
- @rallie/block: remove the method
registerBlock
(92e4ff0)
0.13.2 (2023-02-22)
- @rallie/react): fix(@rallie/react: fixup the commit 45433cfa657e735115d3841a05ad63652bad5f3d (127c69b)
0.13.1 (2023-02-22)
0.13.0 (2023-02-21)
- core: remove activate parameters (c767592)
- core: remove the lifecycle
onBootstrap
,onDestroy
(e95d0d3)
0.12.0 (2023-02-13)
- block: move the method
initState
andexport
from CreatedBlock to RegisteredBlock (2169e20)
0.11.0 (2022-10-24)
- block: rename
rallie
to@rallie/block
(dd5a967)
0.10.0 (2022-10-23)
- core: remove
socket.waitState
(29c4e86)
0.9.2 (2022-10-21)
- cache connected block to avoid memory leak (28109b9)
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- change the generic parameter of
block.connect
- add
CreatedBlock.export()
andConnectedBlock.import()
- fixed some bugs
- replace the concept 'App' with 'Block'
- replace the concept 'App' with 'Block'
- add the parameter to declare dependencies for react hooks
- change the parammeter of
app.run
- refactor the logic to handle circular dependency
- remove
ctx.fetchScript
,ctx.excudeCode
andctx.conf
- fix the problem that the watching callbacks are executed multiple times when the state is modified multiple times
- fixed some bugs of
@rallie/react
- remove the argument
isWatchingEffect
ofsocket.watchState
- a string to describe the action is neccessary when calling
socket.setState
- remove
app.InHostMode
andapp.runInRemoteMode
- add
app.run
- fixed the ty type error
- fixed some bugs
- change the vue version of @rallie/vue's peer dependency to v2.0.0
- remove
@rallie/load-html
's dependencies ofcheerio
andpath-browserify
- allow
@rallie/load-html
to load content element
- fix some bugs
- add mixins for @rallie/vue to support vue2
- seprate name from
ctx
- remove the
publicState
andprivateState
, only remain thestate
- rename the
unicaster
tomethods
- fix some bugs
- rename the project to 'rallie'
- add the package rallie, @rallie/core, @rallie/react, @rallie/vue
- rename the library to @obvious-js/core
- reactive state
- event proxy
- change
ctx.loadJs
toctx.loadScript
- change
ctx.loadCss
toctx.loadLink
- change
ctx.fetchJs
toctx.fetchScript
- fix the bug that when loading a script without src attribute, the promise will not resolve
- change the definition of MiddlewareFnType
- change the return value of touchBus
- new Api: touchBus
- it's not neccessary any more to specify the bus's name while calling createBus and getBus
- support to pass a object parameter while calling ctx.loadScript and ctx.loadLink
- remove the Bus's property
maxDependencyDepth
andloadScriptByFetch
, use the new APIbus.config
instead - change the way to declare assets, remove the second parametor of Bus's constructor, use the new API
bus.config
instead - change the way to apply middleware, remove the third parametor of Bus's constructor, use the new API
bus.use
instead
- fix some bugs
- cancel deep clone when getting state
- change the Bus' property allowCrossOriginScript's name to loadScriptByFetch
- support better deep state which use the operator [] to indicate the index of an array
- new API: socket.existState
- add umd bundle
- enable to watch and set state deeply
- fix some bugs
- State and event communication capabilities
- Application scheduling capability
- Ability to access middleware