Skip to content

Commit

Permalink
Bump version to 0.0.13 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
sn3p authored Jan 11, 2019
1 parent 548d936 commit 904b877
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 24 deletions.
46 changes: 25 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,87 +1,91 @@
# v0.0.13

- Update dependencies.

# v0.0.12

* Use Phoenix.Controller.put_view to address the view that's shown since
render/4 is being depricated in 1.4 (#44)
- Use Phoenix.Controller.put_view to address the view that's shown since
render/4 is being deprecated in 1.4 (#44)

# v0.0.11

* Added fallback when `data: nil` to prevent errors (#39) (#40).
- Added fallback when `data: nil` to prevent errors (#39) (#40).

# v0.0.10

* Introduced an extra argument to the containers that creates a unique ID. The unique ID is used to create specific cell elements. The cell elements function can be used by passing a function instead of content that contains a map with a `element` function (#35) (#36).
- Introduced an extra argument to the containers that creates a unique ID. The unique ID is used to create specific cell elements. The cell elements function can be used by passing a function instead of content that contains a map with a `element` function (#35) (#36).

# v0.0.9

## Changes

* Reworked the approach to render the containers. It now uses an adapter that
- Reworked the approach to render the containers. It now uses an adapter that
you have to configure. The adapter is used to output the actual HTML. For now,
the adapter provided is the
[CellJS adapter](https://github.com/DefactoSoftware/cells-js) (#30)
* The CellJS adapter no longer accepts a `closing_tag` attribute as added in the
- The CellJS adapter no longer accepts a `closing_tag` attribute as added in the
previous release. The CellJS adapter no automatically closes self closing tags
(#31)

# v0.0.8

## Changed

* Use Phoenix.content_tag instead of Phoenix.tag by default and add option to
- Use Phoenix.content_tag instead of Phoenix.tag by default and add option to
remove the closing tag by adding `closing_tag: false` to the options (#27)
* The attribute name is now used to set the `data-cell` attribute and can be
- The attribute name is now used to set the `data-cell` attribute and can be
overridden to allow prefixing (#28)

# v0.0.7

## Changed

* Added a cell render method to ExCell.Controller to directly render cells as a
- Added a cell render method to ExCell.Controller to directly render cells as a
view (#23)

## Fixed

* Removed unused Base alias in `lib/ex_cell/base.ex` (#22)
- Removed unused Base alias in `lib/ex_cell/base.ex` (#22)

# v0.0.6

## Changed

* Updated `README.md` with more elaborate examples and install instructions
- Updated `README.md` with more elaborate examples and install instructions
(#19)
* Removed the need for a `MockCellAdapter` in tests (#18)
* Restructured the code to allow documentation (#18)
- Removed the need for a `MockCellAdapter` in tests (#18)
- Restructured the code to allow documentation (#18)

## Removed

* The option to provide a `MockCellAdapter` in the configuration (#18)
- The option to provide a `MockCellAdapter` in the configuration (#18)

# v0.0.5

## Changed

* Cell module didn't use a fallback adapter for the `__using__` macro (#16)
* Added back the `View.relative_path` method (#15)
- Cell module didn't use a fallback adapter for the `__using__` macro (#16)
- Added back the `View.relative_path` method (#15)

# v0.0.4

## Changed

* Fixed a bug where the Mix configuration wasn't allowing empty configurations
- Fixed a bug where the Mix configuration wasn't allowing empty configurations
(#13)

# v0.0.3

## Added

* Adapters can are now in a `config.ex` (#10)
- Adapters can are now in a `config.ex` (#10)

## Changed

* Removed the need to specify an adapter for views and controllers (#10)
* ExCell.Controller is imported instead of using the `__using__` macro (#10)
- Removed the need to specify an adapter for views and controllers (#10)
- ExCell.Controller is imported instead of using the `__using__` macro (#10)

## Removed

* It's no longer possible to specify the adapter through the `__using__` Macro
- It's no longer possible to specify the adapter through the `__using__` Macro
(#10)
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A module for creating coupled modules of CSS, Javascript and Views in Phoenix.
Add the following to the dependencies in `mix.exs`:

```ex
{:ex_cell, "~> 0.0.12"}
{:ex_cell, "~> 0.0.13"}
```

In Phoenix 1.3.0+ add the following to `lib/app_web/web.ex`:
Expand Down Expand Up @@ -130,7 +130,7 @@ This would generate the following HTML when you render the cell:

```html
<span class="AvatarCell" data-cell="AvatarCell" data-cell-params="{}">
<img src="/images/foo/avatar.jpg" class="AvatarCell-Image" alt="foo">
<img src="/images/foo/avatar.jpg" class="AvatarCell-Image" alt="foo" />
</span>
```

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule ExCell.Mixfile do
use Mix.Project

@version "0.0.12"
@version "0.0.13"

def project do
[
Expand Down

0 comments on commit 904b877

Please sign in to comment.