From 2c11061871c7fdb1cced4cd1d2520ce4fa741d9d Mon Sep 17 00:00:00 2001 From: Alex Koutmos Date: Fri, 15 Apr 2022 17:12:21 -0400 Subject: [PATCH] 0.2.0 release --- CHANGELOG.md | 16 ++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 4 ++-- mix.exs | 4 ++-- 4 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 CHANGELOG.md create mode 100644 LICENSE diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a9475eb --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,16 @@ +# Changelog + +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). + +## [Unreleased] + +## [0.2.0] - 2021-04-15 + +### Added + +- Ability to render MJML component partials in MJML templates via `render_component` +- Macros for MJML templates +- Custom EEx engine to compile MJML EEx template to HTML diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c9e31c7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Alexander Koutmos + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index db2055f..f41a3df 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ dependencies in `mix.exs`: ```elixir def deps do [ - {:mjml_eex, "~> 0.1.0"} + {:mjml_eex, "~> 0.2.0"} ] end ``` @@ -78,7 +78,7 @@ Checkout my [GitHub Sponsorship page](https://github.com/sponsors/akoutmos) if y ### Basic Usage -Add `{:mjml_eex, "~> 0.1.0"}` to your `mix.exs` file and run `mix deps.get`. After you have that in place, you +Add `{:mjml_eex, "~> 0.2.0"}` to your `mix.exs` file and run `mix deps.get`. After you have that in place, you can go ahead and create a template module like so: ```elixir diff --git a/mix.exs b/mix.exs index 7f04335..d293a97 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule MjmlEEx.MixProject do def project do [ app: :mjml_eex, - version: "0.1.0", + version: "0.2.0", elixir: ">= 1.11.0", elixirc_paths: elixirc_paths(Mix.env()), name: "MJML EEx", @@ -41,7 +41,7 @@ defmodule MjmlEEx.MixProject do defp package do [ name: "mjml_eex", - files: ~w(lib mix.exs README.md), + files: ~w(lib mix.exs README.md LICENSE CHANGELOG.md), licenses: ["MIT"], maintainers: ["Alex Koutmos"], links: %{