Bump version to 0.8.0

This commit is contained in:
Wout De Puysseleir 2023-06-03 14:23:58 -07:00
parent 97edfc8be5
commit 58758c57f4
No known key found for this signature in database
GPG key ID: 3DE9371B50FEC46A
5 changed files with 14 additions and 8 deletions

View file

@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.7.0] - 2023-06-03
## [0.8.0] - 2023-06-03
### Added
- Added [LiveSvelte Components Macro](https://github.com/woutdp/live_svelte#the-components-macro) - [PR](https://github.com/woutdp/live_svelte/pull/50)
## [0.7.1] - 2023-06-03
### Fixed

View file

@ -85,7 +85,7 @@ If you don't want SSR, you can disable it by not setting `NodeJS.Supervisor` in
```elixir
defp deps do
[
{:live_svelte, "~> 0.7.1"}
{:live_svelte, "~> 0.8.0"}
]
end
```
@ -169,7 +169,7 @@ end
If your component is in a directory, for example `assets/svelte/some-directory/SomeComponent.svelte` you need to include the directory in your name: `some-directory/SomeComponent`.
### The Components Macro
### The Components Macro
There is also an Elixir macro which checks your `assets/svelte` folder for any Svelte components, and injects local function `def`s for those components into the calling module.
@ -178,7 +178,7 @@ This allows for an alternative, more JSX-like authoring experience inside Livevi
e.g. in the below example, a Svelte component called `Example` is available to be called inside the Liveview template:
```elixir
use LiveSvelte.Components
use LiveSvelte.Components
def render(assigns) do
~H"""

View file

@ -1,7 +1,7 @@
defmodule LiveSvelte.MixProject do
use Mix.Project
@version "0.7.1"
@version "0.8.0"
@repo_url "https://github.com/woutdp/live_svelte"
def project do

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "live_svelte",
"version": "0.7.1",
"version": "0.8.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "live_svelte",
"version": "0.7.1",
"version": "0.8.0",
"license": "MIT",
"devDependencies": {
"prettier": "2.8.7",

View file

@ -1,6 +1,6 @@
{
"name": "live_svelte",
"version": "0.7.1",
"version": "0.8.0",
"description": "",
"license": "MIT",
"module": "./priv/static/live_svelte.esm.js",