From 58758c57f4e00f9c64fc5dfbb257861a7515fb9f Mon Sep 17 00:00:00 2001 From: Wout De Puysseleir Date: Sat, 3 Jun 2023 14:23:58 -0700 Subject: [PATCH] Bump version to 0.8.0 --- CHANGELOG.md | 8 +++++++- README.md | 6 +++--- mix.exs | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d858c5c..853678e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 6b11d33..27adbdb 100644 --- a/README.md +++ b/README.md @@ -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""" diff --git a/mix.exs b/mix.exs index 52165f2..0a9f0dd 100644 --- a/mix.exs +++ b/mix.exs @@ -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 diff --git a/package-lock.json b/package-lock.json index e824fbd..32317d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 20050eb..b81027a 100644 --- a/package.json +++ b/package.json @@ -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",