Skip to content

Commit

Permalink
chore: release v0.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 19, 2023
1 parent 6307da4 commit 97c87bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
20 changes: 1 addition & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,72 +4,57 @@ All notable changes to this project will be documented in this file.

## Unreleased

## 0.4.5 - 2023-07-19
### Added

- `name` route property, similar to `vue-router`.
- `titleTransform` handler to preprocess the title before applying it.
- `createStore` similar to `writable` store in `svelte`

### Changed

- `navigate` now accepts a number or an object for a `named` route.

### Deprecated

- `useKey` is now replaced with `createStore`.
- `Store` as it is becoming useless.

## 0.4.4 - 2023-07-06

### Added

- Add `switch`, `case` and `case:default` directives.
- Attach host `Branch` object to dom node.
- `ref` typing.

### Changed

- `useState` accepts an initilizer function, and a setter callback.
- improved project structure.
- improved typing.

## 0.4.3 - 2023-07-01

### Changed

- refactored project structure for a smaller bundle size.

## 0.4.2 - 2023-06-28

## 0.4.1 - 2023-06-28

### Added

- `else` and `else-if` directives that goes with `if` directive, similar to `vue.js`

### Changed

- improve `JSX.Element`s typing
- better `svg` elements typing

## 0.4.0 - 2023-06-25

### Added

- `if` directive which accepts a boolean to determine if a component should be rendered or not.
- `PropWithUtility` that allow the developer to initialize a prop type with optional `children`, `key` and `if` properties.
- `getPathname` returns the current url without the `base`.

### Changed

- `useReactive` uses `@riadh-adrani/utils/createReactive` to create reactive object instances.
- `mountRouter` config is now optional.
- deperecated `getRoute` in favor of `getPathname`.

## 0.3.0 - 2023-06-22

### Added

- `useContext`, same as `react.js`.
- `useReactive`, similar to `vue.js`'s `reactive`.
- `usePromise`, a hook that allows the user to fetch data while tracking the request state and return value.
Expand All @@ -82,13 +67,10 @@ All notable changes to this project will be documented in this file.
- add `<Portal/>` component, allowing to teleport elements in another DOM container.

### Fixed

- `scrollToTop` not having any effect, when a new page is loaded.

## 0.2.0 - 2023-06-02

### Added

- JSX syntax for writing expressive and reusable UI components.
- Function components for a modular and composable code structure.
- Hooks for managing state, performing side effects, and custom logic reuse: `useState`, `useEffect`, `useMemo`, `useCallback`, `useId` and `useRef`.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "git",
"url": "https://github.com/RiadhAdrani/ruvy"
},
"version": "0.4.4",
"version": "0.4.5",
"type": "module",
"types": "./build/index.d.ts",
"exports": "./build/index.js",
Expand Down

0 comments on commit 97c87bf

Please sign in to comment.