Skip to content

Commit c394f11

Browse files
committed
Change CHANGELOG and version to 0.1.5
1 parent 34d12e5 commit c394f11

File tree

3 files changed

+78
-44
lines changed

3 files changed

+78
-44
lines changed

CHANGELOG.md

Lines changed: 40 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
# Changelog for MishkaDeveloperTools 0.1.5
2+
3+
---
4+
5+
> **The decision was made that this version will be a long-term version, and it will also include features that are several versions behind the existing version. However, because of the pressing issues with the builder's loading speed and the solution to those issues, it was decided to release this version sooner with fewer features than it had originally planned.**
6+
7+
---
8+
9+
### Features:
10+
11+
- [x] Add `condition_field` fields inside `__information__` function
12+
- [x] <del>Inside module derive, in nested struct we can call from `caller`</del>
13+
- [x] Add `uuid` from `ecto`
14+
- [x] Add keys and enforce keys in `__information__` function
15+
- [x] Add some helpers like: `timestamp`, `validated_user?` and validation `username`
16+
17+
### Improvement:
18+
19+
- [x] Speed problem in the derive section, and before this part of app V0.1.4, [#30](https://github.com/mishka-group/mishka_developer_tools/issues/30)
20+
- [x] Fix performance issue inside sanitizer and validation, when we are using external `deps`
21+
- [x] Fix `main_validator` and **halt** the error when we have errors inside `validator` and not load `main_validator`
22+
- [x] Add some information and helper to be compatible for Mnesia (need more in the future)
23+
- [x] Fix bug and Add `NaiveDateTime`, `DateTime`, `Date` struct to map parser
24+
25+
### Extra
26+
27+
- [x] Mnesia wrapper for Elixir, [#28](https://github.com/mishka-group/mishka_developer_tools/issues/28)
28+
- [x] Add Erlang guard convertor for Elixir (simple helper function)
29+
- [x] Add `Mnesia` pagination (infinite_scroll, numerical)
30+
- [x] Add some helper to work with `Mnesia` data
31+
132
# Changelog for MishkaDeveloperTools 0.1.4
233

334
### Features:
@@ -33,10 +64,11 @@
3364
- [x] Support pre-check derives inside conditional fields
3465
- [x] Normalize conditional fields errors
3566
- [x] Normalize validator errors
36-
- [x] Normalize errors `hint`
67+
- [x] Normalize errors `hint`
3768
- [x] Normalize `derives` errors
3869
- [x] Fix `dialyzer` warning
3970
- [x] Support derive in normal conditional field without validator
71+
4072
```elixir
4173
conditional_field(:id, String.t()) do
4274
field(:id, String.t(), derive: "sanitize(tag=strip_tags) validate(url, max_len=160)")
@@ -48,11 +80,12 @@ end
4880

4981
- [x] Add LiveBook
5082

51-
5283
# Changelog for MishkaDeveloperTools 0.1.3
5384

5485
**Features**:
86+
5587
- [x] Support List `conditional_field`
88+
5689
```elixir
5790
"actor": [
5891
"http://joe.example.org",
@@ -64,17 +97,20 @@ end
6497
:test
6598
]
6699
```
100+
67101
- [x] Covering `hint` inside derive `conditional_field` and normal `derive`
68102
- [x] Support `domain` key inside children fields
69103
- [x] Support new derives: `not_flatten_empty`, `not_flatten_empty_item` as validation
70104
- [x] Support `not_empty` and `max_len`, `min_len` for list in validation derive.
71105

72106
**Fixed bugs**:
107+
73108
- [x] Fix and Remove `downcase` bug in `strip_tags`
74109
- [x] Fix and Remove preventer of calling a `struct` inside itself
75110
- [x] Fix domain core key to prevent it not to check domain when the key is `nil`
76111

77112
**Improvements**:
113+
78114
- [x] Changing the structure of on core key based on the value of the caller
79115
- [x] Support calling struct inside itself
80116
- [x] Separate all test of `GuardedStruct` macro in different files
@@ -83,7 +119,9 @@ end
83119
# Changelog for MishkaDeveloperTools 0.1.2
84120

85121
---
122+
86123
- [x] Solving the problem of creating extra `atom` in case of a mistake or an attack on the system. It could be a `security` issue, please update.
124+
87125
---
88126

89127
- [x] Add allowed parent domain core key `Enum` derive style
@@ -98,7 +136,6 @@ end
98136
- [x] Add Supporting new validation for `:string_float`
99137
- [x] Add Supporting new validation for `:some_string_float`
100138

101-
102139
# Changelog for MishkaDeveloperTools 0.1.1
103140

104141
- [x] Add `derive` for sanitizing and validating `Either`
@@ -120,7 +157,6 @@ end
120157
- [x] Re-structured outputs for new capabilities with backward compatibility
121158
- [x] Add permission access module in runtime
122159

123-
124160
# Changelog for MishkaDeveloperTools 0.1.0
125161

126162
- [x] Add Guardedstruct macro
@@ -160,11 +196,3 @@ end
160196
- [x] Fix tests for Elixir `1.15`
161197
- [x] Make all dependencies optional based on user requirements
162198
- [x] improve documents
163-
164-
# Changelog for MishkaDeveloperTools 0.0.8
165-
166-
- [x] Improve CRUD macro `callbacks` and `specs` return for `dialyzer`
167-
- [x] Add new delete macro and function
168-
- [x] Support UUID and the other type of ID
169-
- [x] Improve testing
170-
- [x] Improving and updating the coding structure

README.md

Lines changed: 37 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,24 @@
22

33
We tried to deliver a series of our client's [**CMS**](https://github.com/mishka-group/mishka-cms) built on [**Elixir**](https://elixir-lang.org/) at the start of the [**Mishka Group**](https://github.com/mishka-group) project, but we recently archived this open-source project and have yet to make plans to rework and expand it. This system was created using [**Phoenix**](https://www.phoenixframework.org/) and [**Phoenix LiveView**](https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html). After a long period, a series of macros and functional modules emerged from this project and our other projects, which we are gradually publishing in this library.
44

5-
> **NOTICE**: Do not use the master branch; this library is under heavy development. Expect version `0.1.4`, and for using the new features, please wait until a new release is out.
5+
> **NOTICE**: Do not use the master branch; this library is under heavy development. Expect version `0.1.5`, and for using the new features, please wait until a new release is out.
66
77
---
88

99
- ### [GuardedStruct](https://github.com/mishka-group/mishka_developer_tools/blob/master/guidance/guarded-struct.md)
10-
> The creation of this macro will allow you to build `Structs` that provide you with a number of important options, including the following:
11-
> 1. Validation
12-
> 2. Sanitizing
13-
> 3. Constructor
14-
> 4. It provides the capacity to operate in a nested style simultaneously.
10+
11+
> The creation of this macro will allow you to build `Structs` that provide you with a number of important options, including the following:
12+
>
13+
> 1. Validation
14+
> 2. Sanitizing
15+
> 3. Constructor
16+
> 4. It provides the capacity to operate in a nested style simultaneously.
1517
1618
- ### [PermissionAccess](https://github.com/mishka-group/mishka_developer_tools/blob/master/guidance/permission-access.md)
1719

1820
> Consider the scenario in which you are responsible for maintaining each user's access level in the database related to users.
1921
> **It is unix like way**.
2022
21-
2223
- ### [Basic CRUD](https://github.com/mishka-group/mishka_developer_tools/blob/master/guidance/crud.md)
2324

2425
> **This part of the project is deprecated, please do not use it. In the future, a good update may be provided for it.**
@@ -27,15 +28,14 @@ We tried to deliver a series of our client's [**CMS**](https://github.com/mishka
2728

2829
> **Mishka developer tools** provides some macros and modules to make creating your elixir application as easy as possible
2930
30-
3131
## Installation
3232

3333
The package can be installed by adding `mishka_developer_tools` to your list of dependencies in `mix.exs`:
3434

3535
```elixir
3636
def deps do
3737
[
38-
{:mishka_developer_tools, "~> 0.1.4"}
38+
{:mishka_developer_tools, "~> 0.1.5"}
3939
]
4040
end
4141
```
@@ -45,34 +45,40 @@ The docs can be found at [https://hexdocs.pm/mishka_developer_tools](https://hex
4545
[![Run in Livebook](https://livebook.dev/badge/v1/pink.svg)](https://livebook.dev/run?url=https%3A%2F%2Fgithub.com%2Fmishka-group%2Fmishka_developer_tools%2Fblob%2Fmaster%2Fguidance%2Fguarded-struct.livemd)
4646

4747
---
48+
4849
# Donate
4950

5051
If the project was useful for you, the only way you can donate to me is the following ways
5152

52-
| **BTC** | **ETH** | **DOGE** | **TRX** |
53-
| ----------------------------------| --------------------------------- | --------------------------------- | --------------------------------- |
54-
| <img src="https://github.com/mishka-group/mishka_developer_tools/assets/8413604/230ea4bf-7e8f-4f18-99c9-0f940dd3c6eb" width="200">| <img src="https://github.com/mishka-group/mishka_developer_tools/assets/8413604/0c8e677b-7240-4b0d-8b9e-bd1efca970fb" width="200">|<img src="https://github.com/mishka-group/mishka_developer_tools/assets/8413604/3de9183e-c4c0-40fe-b2a1-2b9bb4268e3a" width="200">|<img src="https://github.com/mishka-group/mishka_developer_tools/assets/8413604/aaa1f103-a7c7-43ed-8f39-20e4c8b9975e" width="200">|
53+
| **BTC** | **ETH** | **DOGE** | **TRX** |
54+
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
55+
| <img src="https://github.com/mishka-group/mishka_developer_tools/assets/8413604/230ea4bf-7e8f-4f18-99c9-0f940dd3c6eb" width="200"> | <img src="https://github.com/mishka-group/mishka_developer_tools/assets/8413604/0c8e677b-7240-4b0d-8b9e-bd1efca970fb" width="200"> | <img src="https://github.com/mishka-group/mishka_developer_tools/assets/8413604/3de9183e-c4c0-40fe-b2a1-2b9bb4268e3a" width="200"> | <img src="https://github.com/mishka-group/mishka_developer_tools/assets/8413604/aaa1f103-a7c7-43ed-8f39-20e4c8b9975e" width="200"> |
5556

5657
<details>
5758
<summary>Donate addresses</summary>
5859

59-
**BTC**:‌
60-
```
61-
bc1q24pmrpn8v9dddgpg3vw9nld6hl9n5dkw5zkf2c
62-
```
63-
64-
**ETH**:
65-
```
66-
0xD99feB9db83245dE8B9D23052aa8e62feedE764D
67-
```
68-
69-
**DOGE**:
70-
```
71-
DGGT5PfoQsbz3H77sdJ1msfqzfV63Q3nyH
72-
```
73-
74-
**TRX**:
75-
```
76-
TBamHas3wAxSEvtBcWKuT3zphckZo88puz
77-
```
60+
**BTC**:‌
61+
62+
```
63+
bc1q24pmrpn8v9dddgpg3vw9nld6hl9n5dkw5zkf2c
64+
```
65+
66+
**ETH**:
67+
68+
```
69+
0xD99feB9db83245dE8B9D23052aa8e62feedE764D
70+
```
71+
72+
**DOGE**:
73+
74+
```
75+
DGGT5PfoQsbz3H77sdJ1msfqzfV63Q3nyH
76+
```
77+
78+
**TRX**:
79+
80+
```
81+
TBamHas3wAxSEvtBcWKuT3zphckZo88puz
82+
```
83+
7884
</details>

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
defmodule MishkaDeveloperTools.MixProject do
22
use Mix.Project
3-
@version "0.1.4"
3+
@version "0.1.5"
44

55
def project do
66
[

0 commit comments

Comments
 (0)