Skip to content

Commit

Permalink
Merge pull request #489 from jeremyjh/jh-bump-for-release
Browse files Browse the repository at this point in the history
Bump version & Update Changelog for 1.3
  • Loading branch information
jeremyjh authored Apr 8, 2023
2 parents d2b4074 + 77162cf commit 8dc1e9c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 36 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,22 @@ 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/)

## Unreleased changes post [1.2.0]
## Unreleased changes post [1.3.0]

## [1.3.0] - 2023-04-08

### Added
- Elixir 1.15 support.
- Support for warning `:callback_not_exported`.

### Changed
- Several improvements to documentation, particularly Github CI documentation.

### Removed
- Support for `:race_conditions` flag which was [removed from Erlang](https://github.com/erlang/otp/pull/5502).

### Fixed
- Crash when `mix.lock` is missing.

## [1.2.0] - 2022-07-20
### Added
Expand Down
35 changes: 1 addition & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Dialyxir

[![Build Status](https://travis-ci.org/jeremyjh/dialyxir.svg?branch=master)](https://travis-ci.org/jeremyjh/dialyxir)
[![Module Version](https://img.shields.io/hexpm/v/dialyxir.svg)](https://hex.pm/packages/dialyxir)
[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/dialyxir/)
[![Total Download](https://img.shields.io/hexpm/dt/dialyxir.svg)](https://hex.pm/packages/dialyxir)
Expand All @@ -9,28 +8,16 @@

Mix tasks to simplify use of Dialyzer in Elixir projects.

## Changes in 1.0

Elixir 1.6 is required, to support the new pretty printing feature. If your
project is not yet on 1.6, continue to specify 0.5 in your mix deps.

Warning messages have been greatly improved, but are filtered through the legacy formatter to support your existing ignore files. You can optionally use the new Elixir [term format](#elixir-term-format) for ignore files. You may want to use the `--format short` argument in your CI pipelines. There are several formats, also there is a new `explain` feature - for details see CLI [options](#command-line-options).

## Quickstart
If you are planning to use Dialyzer with an application built with the [Phoenix Framework](http://www.phoenixframework.org/), check out the [Quickstart wiki](https://github.com/jeremyjh/dialyxir/wiki/Phoenix-Dialyxir-Quickstart).

## Installation

Dialyxir is available on [hex.pm](https://hex.pm/packages/dialyxir).

You can either add it as a dependency in your mix.exs, or install it globally as an archive task.

To add it to a mix project, just add a line like this in your deps function in mix.exs:

```elixir
defp deps do
[
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:dialyxir, "~> 1.3", only: [:dev], runtime: false},
]
end
```
Expand Down Expand Up @@ -82,26 +69,6 @@ To use Dialyzer in CI, you must be aware of several things:
2) The PLT should be cached using the CI caching system
3) The PLT will need to be rebuilt whenever adding a new Erlang or Elixir version to build matrix

### Travis

`.travis.yml`
```markdown
language: elixir

elixir:
- 1.8

otp_release:
- 21.0

script:
- mix dialyzer

cache:
directories:
- priv/plts
```

### Github Actions

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

@source_url "https://github.com/jeremyjh/dialyxir"
@version "1.2.0"
@version "1.3.0"

def project do
[
Expand Down

0 comments on commit 8dc1e9c

Please sign in to comment.