From 8b879ce096d2451bebd0d12485c927056f83e99a Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Mon, 20 Jul 2020 22:05:54 -0400 Subject: [PATCH] chore: release version v0.11.0 --- CHANGELOG.md | 307 ++++-------------- README.md | 10 +- documentation/introduction/getting_started.md | 2 +- mix.exs | 4 +- 4 files changed, 81 insertions(+), 242 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc5f750bb..651b5d93f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,17 +5,12 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline -## [v1.4.1](https://github.com/ash-project/ash/compare/1.4.0...v1.4.1) (2020-07-20) - - - - -### Bug Fixes: - -* simplify dsl building using `on_load` +## [v0.11.0](https://github.com/ash-project/ash/compare/0.11.0...v0.11.0) (2020-07-21) +### Breaking Changes: -## [v1.4.0](https://github.com/ash-project/ash/compare/1.3.1...v1.4.0) (2020-07-16) +* remove initial subscriptions pass +* remove atom type, add docs @@ -23,116 +18,65 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline * allow editing join association attributes -## [v1.3.1](https://github.com/ash-project/ash/compare/1.3.0...v1.3.1) (2020-07-16) - - - - -### Bug Fixes: - -* use proper errors everywhere - -## [v1.3.0](https://github.com/ash-project/ash/compare/1.2.1...v1.3.0) (2020-07-15) - - - - -### Features: - * various small refactors + validations -## [v1.2.1](https://github.com/ash-project/ash/compare/1.2.0...v1.2.1) (2020-07-13) - - - - -### Bug Fixes: - -* changeset + set_state issues - -## [v1.2.0](https://github.com/ash-project/ash/compare/1.1.3...v1.2.0) (2020-07-13) - - - - -### Features: - * refactor changes into changesets -## [v1.1.3](https://github.com/ash-project/ash/compare/1.1.2...v1.1.3) (2020-07-09) - - - - -## [v1.1.2](https://github.com/ash-project/ash/compare/1.1.1...v1.1.2) (2020-07-09) - - - - -## [v1.1.1](https://github.com/ash-project/ash/compare/1.1.0...v1.1.1) (2020-07-09) - - - - -### Bug Fixes: - -* small fixes - -## [v1.1.0](https://github.com/ash-project/ash/compare/1.0.3...v1.1.0) (2020-07-09) - - - - -### Features: - * lots of docs, simplify query generation * validate relationship keys -## [v1.0.3](https://github.com/ash-project/ash/compare/1.0.2...v1.0.3) (2020-07-08) - - +* general improvements +* list types -## [v1.0.2](https://github.com/ash-project/ash/compare/1.0.1...v1.0.2) (2020-07-07) +* refactor ash types to modules, add constraints +* add less_than and greater_than filter support +* validate all related resources in API +* cross data layer filters -## [v1.0.1](https://github.com/ash-project/ash/compare/1.0.0...v1.0.1) (2020-07-07) +* cross data layer filtering +* section option configuration +* boolean filter refactor (#78) +* predicate behaviour -## [v1.0.0](https://github.com/ash-project/ash/compare/0.10.0...v1.0.0) (2020-07-07) -### Breaking Changes: +* extension section module imports, generated .formatter.exs (#71) -* remove initial subscriptions pass +* rebuild DSL inner workings for extensibility (#70) +* add `after_compile` and validate primary key +* remove name/type from ash core -### Features: +* use option schemas in the interface (#30) -* general improvements +* add data layer custom filters -### Bug Fixes: +* various fixes, upsert, relationship changes -* in predicate + engine errors +* add side_load -## [v0.10.0](https://github.com/ash-project/ash/compare/0.9.1...v0.10.0) (2020-07-02) -### Breaking Changes: +* add `timestamps/0` to attributes -* remove atom type, add docs +* support writeable?: false attributes +### Bug Fixes: +* simplify dsl building using `on_load` -### Features: +* use proper errors everywhere -* list types +* changeset + set_state issues -* refactor ash types to modules, add constraints +* small fixes -### Bug Fixes: +* in predicate + engine errors * remove benchee, ensure mnesia always uses transactions @@ -146,221 +90,108 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline * require that resources have primary keys -## [v0.9.1](https://github.com/ash-project/ash/compare/0.9.0...v0.9.1) (2020-06-30) - - - - -### Bug Fixes: - * move to simpler transaction logic -## [v0.9.0](https://github.com/ash-project/ash/compare/0.8.0...v0.9.0) (2020-06-29) - - - - -### Features: - -* add less_than and greater_than filter support - -* validate all related resources in API - -### Bug Fixes: - * fix tests/credo * fix tests, add tests for gt/lt filters -## [v0.8.0](https://github.com/ash-project/ash/compare/0.7.0...v0.8.0) (2020-06-29) - - - - -### Features: - -* cross data layer filters - -* cross data layer filtering - -## [v0.7.0](https://github.com/ash-project/ash/compare/0.6.5...v0.7.0) (2020-06-27) - - - - -### Features: - -* section option configuration - -### Bug Fixes: - * set persistent_term properly -## [v0.6.5](https://github.com/ash-project/ash/compare/0.6.4...v0.6.5) (2020-06-22) - - - - -### Bug Fixes: - * use authorization filters in side loads -## [v0.6.4](https://github.com/ash-project/ash/compare/0.6.3...v0.6.4) (2020-06-22) - - - - -### Bug Fixes: - * remove reverse relationships -## [v0.6.3](https://github.com/ash-project/ash/compare/0.6.2...v0.6.3) (2020-06-22) - - - - -### Bug Fixes: - * many filter/side load fixes/improvements -## [v0.6.2](https://github.com/ash-project/ash/compare/0.6.1...v0.6.2) (2020-06-20) - - - - -### Bug Fixes: - * allow side_load option on create/update -## [v0.6.1](https://github.com/ash-project/ash/compare/0.6.0...v0.6.1) (2020-06-20) - - - - -### Bug Fixes: - * raised error message contents * parent error messages * relationship path clause -## [v0.6.0](https://github.com/ash-project/ash/compare/0.5.2...v0.6.0) (2020-06-19) - - - - -### Features: - -* boolean filter refactor (#78) - -* predicate behaviour - -## [v0.5.2](https://github.com/ash-project/ash/compare/0.5.1...v0.5.2) (2020-06-15) - - - - -### Bug Fixes: - * consider nested entities in ash.formatter -## [v0.5.1](https://github.com/ash-project/ash/compare/0.5.0...v0.5.1) (2020-06-15) - - - - -### Bug Fixes: - * compile application in ash.formatter task -## [v0.5.0](https://github.com/ash-project/ash/compare/0.4.0...v0.5.0) (2020-06-15) - - - - -### Features: - -* extension section module imports, generated .formatter.exs (#71) - -## [v0.4.0](https://github.com/ash-project/ash/compare/0.3.0...v0.4.0) (2020-06-14) - - - - -### Features: - -* rebuild DSL inner workings for extensibility (#70) - -* add `after_compile` and validate primary key - -### Bug Fixes: - * dialyzer warnings * honor the `authorize?` flag -### Improvements: +* account for action/actor args to interface -* add `date` support (#68) +* remove the rest of the deps on name/type -## [v0.3.0](https://github.com/ash-project/ash/compare/0.2.0...v0.3.0) (2020-06-05) +* add `resource_module?/1` back to `Ash` + +* references to error handling code +* fix empty filter checks +* typo in workflow +* set HEX_API_KEY environment from secret -### Features: +* typo in version name -* remove name/type from ash core +* remove broken CI key -### Bug Fixes: +* typo in function name -* account for action/actor args to interface +* remove test warning from git_ops -* remove the rest of the deps on name/type +* combine filters properly -* add `resource_module?/1` back to `Ash` +* dependencies -## [v0.2.0](https://github.com/ash-project/ash/compare/0.1.9...v0.2.0) (2020-06-05) +* honor returned check filters +* side_load queries +* many to many relationship side loads +* protect against double data resolution -### Features: +* various small improvements -* use option schemas in the interface (#30) +* various bugs -## [v0.1.9](https://github.com/ash-project/ash/compare/0.1.8...v0.1.9) (2020-06-04) +* `verbose?` now prints auth log +* read generated fields after writes +* more fixes +* fetch_attr right -### Bug Fixes: +* attribute defaults -* references to error handling code +* use attribute name in error -* fix empty filter checks +* fetch_attr return value -## [v0.1.8](https://github.com/ash-project/ash/compare/0.1.7...v0.1.8) (2020-06-02) +* writeable is not a word -This release is a test of our automatic hex.pm package publishing +* correct writeable attribute logic -## [v0.1.7](https://github.com/ash-project/ash/compare/0.1.6...v0.1.7) (2020-06-02) +* required attribute validations -This release is a test of our automatic hex.pm package publishing +* use resource's primary key config -## [v0.1.6](https://github.com/ash-project/ash/compare/0.1.5...v0.1.6) (2020-06-02) +* fix resolvable requests logic -This release is a test of our automatic hex.pm package publishing +### Improvements: -## [v0.1.5](https://github.com/ash-project/ash/compare/0.1.4...v0.1.5) (2020-06-02) +* add `date` support (#68) -This release is a test of our automatic hex.pm package publishing +* huge query/filter overhaul -## [v0.1.4](https://github.com/ash-project/ash/compare/0.1.3...v0.1.4) (2020-06-02) +* remove pagination, add query struct (unused) -This release covers the initial linting/dialyzing improvements +* filters: simplify/improve inspect logic -## (2020-06-01) +* add DslBuilder pattern for deriving dsl blocks -### Changelog Begins +* add new types diff --git a/README.md b/README.md index 1bd7e501c..49c767bc5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,15 @@ ## Alpha -Despite the package being versioned > 1.0.0, Ash is still very much in its alpha phase, and will be in its alpha for a while. +Ash is in a very early alpha. There are versions 1.0.0+ published, but they have been deprecated. I'm trying to get them taken down, but until then this notice will have to suffice. + +``` +def deps do + [ + {:ash_core, "~> 0.11.0"} + ] +end +``` ## Documentation diff --git a/documentation/introduction/getting_started.md b/documentation/introduction/getting_started.md index 4eab12815..0502708dc 100644 --- a/documentation/introduction/getting_started.md +++ b/documentation/introduction/getting_started.md @@ -6,7 +6,7 @@ For information on creating a new Elixir application, see [this guide](https://e ## Add Ash -Add `ash` to your dependencies in `mix.exs`. The latest version can be found by running `mix hex.info ash`. +Add `ash` to your dependencies in `mix.exs`. The latest version can be found by running `mix hex.info ash_core`. ## Create an Ash API diff --git a/mix.exs b/mix.exs index 00aae9a59..a69f93f0e 100644 --- a/mix.exs +++ b/mix.exs @@ -7,7 +7,7 @@ defmodule Ash.MixProject do designed to be used by multiple front ends. """ - @version "1.4.1" + @version "0.11.0" def project do [ @@ -77,7 +77,7 @@ defmodule Ash.MixProject do defp package do [ - name: :ash, + name: :ash_core, licenses: ["MIT"], links: %{ GitHub: "https://github.com/ash-project/ash"