Releases: diogoneves07/bemtvjs
v0.9.0 - No “props” | Breaking Changes
This new release is the result of a month of work strengthening or removing weak links in the Bemtv API, as well as new features that have been built upon the design choices made for Bemtv so far.
Initially Bemtv had an API that allowed “props” similar to other frameworks, this decision was made to bring familiarity, but Bemtv has design choices that make it unique and therefore deserves a more powerful solution that fits with everything that she can offer.
I am pleased to introduce Bemtv's new feature: “component proxies”.
API changes:
-
useEl()
method has been deprecated and replaced with :useElManager()
,useFirstElManager()
andcreateElManager()
. -
.it
property has been deprecated and replaced with :.el
. -
autoImportComponents()
function has been deprecated and replaced with :lazy()
. -
match()
function has been deprecated and replaced with :Suspense special syntax
. -
share()
,use()
andreshare()
methods has been deprecated and replaced with :state functions
. -
Functional components
has been replaced with :onInst() - Functional components
. -
.css()
methods has been updated:.css() methods
. -
proxy()
,proxyFrom()
,useRouteControl()
andrun()
has been added! -
defineProps()
,$.props
,props()
andchildren()
has been deprecated.
These changes made the Bemtv API more solid. From now on, I intend to make this API stable and continue to improve Bemtv's performance and its documentation.
v0.8.0 - Bindings
This release fixes internal bugs and adds a binding system between component variables (compVars
) and HTML element properties.
v0.7.0 - Automatic routing | Breaking Changes
Bemtv's old routing system required the developer to do the entire routing process by creating and configuring routes, this version brings a new system that automates the entire process. This happens because Bemtv starts to treat the components as routes according to their use.
Read about at: https://github.com/diogoneves07/bemtvjs#router
v0.6.0 - SuperComponent and much more | Breaking Changes
In the last few days I've been thinking and working at Bemtv, thinking of a way to make it more attractive and innovative and maintain the qualities I had already achieved.
I am glad to be able to publish the result of my work, mainly because I believe I have achieved most of the goals:
Counter component:
import { _ } from "bemtv";
const { click$, $, css, template, render } = _`Counter`({ count: 0 });
click$(() => $.count++);
css`
padding: 20px;
color: blue;
`;
template`button[Cliked: $count ]`;
render();
Bemtv now has a cleaner, prettier syntax, with better error messages and better performance, as well as new features and static sugars that have given our library a new face.
As the big change and the new features the documentation has been redone, I ask you to go back and read the documentation again because you will see that the new features improve what already existed, there have also been important changes in the way of building and using certain features. Hope to bring you news soon and make the API stable as soon as possible, see you soon!
v0.5.1 - Router added!
This release brings bug fixes, improved source code and a Router!.
It enables the navigation among views of various components in a Bemtv Application, allows changing the browser URL, and keeps the UI in sync with the URL.
v0.4.5 - 100% test coverage
We are happy to cover all Bemtv features, obviously this does not eliminate all bugs, but it gives us security that developers can try the idea without major adversity.
v0.4.0 - Closer to stability
In the last few days, we started the work of creating good test suites and bug fixes for Bemtv to provide a better experience for those who are experimenting, we hope to reach 100% coverage soon.
System to detect template changes more efficient
Bemtv now uses a more sophisticated system to determine if there have been any changes to the template, continues using the browser repaint as a base, but reduces the number of checks as the user interacts with the page and the time the component takes to generate the template, this makes Bemtv much more efficient!
Bug Fixes
The first release!
Bemtv is starting to take its first steps!
The README already contains the project presentation and its documentation.
Take a look at the project and if you like it don't forget to leave your star, it encourages us a lot.
News and improvements will come soon!