Skip to content

Commit

Permalink
8.3.0 (#693)
Browse files Browse the repository at this point in the history
* feat: new methods base

* binary

* feat: fix issue 93

* r.call

* collectBy

* comparator

* compose.with

* prepare mr

---------

Co-authored-by: Deyan Totev <[email protected]>
  • Loading branch information
selfrefactor and Deyan Totev committed Jul 24, 2023
1 parent 882714a commit 5d7dfc7
Show file tree
Hide file tree
Showing 38 changed files with 986 additions and 448 deletions.
54 changes: 36 additions & 18 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,10 @@ Closing the issue is usually accompanied by publishing a new patch version of `R

<details>
<summary>
Click to see the full list of 72 Ramda methods not implemented in Rambda
Click to see the full list of 67 Ramda methods not implemented in Rambda
</summary>

- __
- binary
- call
- collectBy
- comparator
- composeWith
- construct
- constructN
- dissocPath
Expand Down Expand Up @@ -2120,6 +2115,10 @@ describe('R.assocPath - curried', () => {
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#assocPath)
### binary
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#binary)
### bind
```typescript
Expand Down Expand Up @@ -2450,6 +2449,10 @@ describe('R.both', () => {
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#both)
### call
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#call)
### chain
```typescript
Expand Down Expand Up @@ -2615,6 +2618,14 @@ It creates a deep copy of the `input`, which may contain (nested) Arrays and Obj
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#clone)
### collectBy
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#collectBy)
### comparator
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#comparator)
### complement
It returns `inverted` version of `origin` function that accept `input` as argument.
Expand All @@ -2633,6 +2644,10 @@ It performs right-to-left function composition.
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#compose)
### composeWith
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#composeWith)
### concat
It returns a new string or array, which is the result of merging `x` and `y`.
Expand Down Expand Up @@ -12625,7 +12640,7 @@ describe('R.product', () => {

```typescript
prop<P extends keyof never, T>(propToFind: P, value: T): Prop<T, P>
prop<_, P extends keyof never, T>(p: P, value: T): Prop<T, P>
```

It returns the value of property `propToFind` in `obj`.
Expand All @@ -12647,17 +12662,10 @@ const result = [
<summary>All TypeScript definitions</summary>

```typescript
prop<P extends keyof never, T>(propToFind: P, value: T): Prop<T, P>;
prop<P extends keyof never>(propToFind: P): {
<T>(value: Record<P, T>): T;
<T>(value: T): Prop<T, P>;
};
prop<P extends keyof T, T>(propToFind: P): {
(value: T): Prop<T, P>;
};
prop<P extends keyof never, T>(propToFind: P): {
(value: Record<P, T>): T;
};
prop<_, P extends keyof never, T>(p: P, value: T): Prop<T, P>;
prop<V>(p: keyof never, value: unknown): V;
prop<_, P extends keyof never>(p: P): <T>(value: T) => Prop<T, P>;
prop<V>(p: keyof never): (value: unknown) => V;
```

</details>
Expand Down Expand Up @@ -18579,6 +18587,16 @@ describe('R.zipWith', () => {

## ❯ CHANGELOG

8.3.0

Add the following methods:

- binary
- call
- collectBy
- comparator
- composeWith

8.2.0

Add the following methods:
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
8.3.0

Add the following methods:

- binary
- call
- collectBy
- comparator
- composeWith

8.2.0

Add the following methods:
Expand Down
13 changes: 7 additions & 6 deletions NEXT_VERSION_CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
fix https://github.com/selfrefactor/rambdax/issues/93

remove ramda imports in tests
release X
replace missing ramda methods with text that argument is missing

---
- binary
- call
- collectBy
- comparator
- composeWith
- construct
- construct - it is class helper and classes are not very functional oriented
- constructN

- dissocPath
Expand Down
54 changes: 36 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,10 @@ Closing the issue is usually accompanied by publishing a new patch version of `R

<details>
<summary>
Click to see the full list of 72 Ramda methods not implemented in Rambda
Click to see the full list of 67 Ramda methods not implemented in Rambda
</summary>

- __
- binary
- call
- collectBy
- comparator
- composeWith
- construct
- constructN
- dissocPath
Expand Down Expand Up @@ -2030,6 +2025,10 @@ describe('R.assocPath - curried', () => {
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#assocPath)
### binary
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#binary)
### bind
```typescript
Expand Down Expand Up @@ -2338,6 +2337,10 @@ describe('R.both', () => {
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#both)
### call
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#call)
### chain
```typescript
Expand Down Expand Up @@ -2493,6 +2496,14 @@ It creates a deep copy of the `input`, which may contain (nested) Arrays and Obj
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#clone)
### collectBy
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#collectBy)
### comparator
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#comparator)
### complement
It returns `inverted` version of `origin` function that accept `input` as argument.
Expand All @@ -2511,6 +2522,10 @@ It performs right-to-left function composition.
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#compose)
### composeWith
[![---------------](https://raw.githubusercontent.com/selfrefactor/rambda/master/files/separator.png)](#composeWith)
### concat
It returns a new string or array, which is the result of merging `x` and `y`.
Expand Down Expand Up @@ -11822,7 +11837,7 @@ describe('R.product', () => {

```typescript
prop<P extends keyof never, T>(propToFind: P, value: T): Prop<T, P>
prop<_, P extends keyof never, T>(p: P, value: T): Prop<T, P>
```

It returns the value of property `propToFind` in `obj`.
Expand All @@ -11836,17 +11851,10 @@ If there is no such property, it returns `undefined`.
<summary>All TypeScript definitions</summary>

```typescript
prop<P extends keyof never, T>(propToFind: P, value: T): Prop<T, P>;
prop<P extends keyof never>(propToFind: P): {
<T>(value: Record<P, T>): T;
<T>(value: T): Prop<T, P>;
};
prop<P extends keyof T, T>(propToFind: P): {
(value: T): Prop<T, P>;
};
prop<P extends keyof never, T>(propToFind: P): {
(value: Record<P, T>): T;
};
prop<_, P extends keyof never, T>(p: P, value: T): Prop<T, P>;
prop<V>(p: keyof never, value: unknown): V;
prop<_, P extends keyof never>(p: P): <T>(value: T) => Prop<T, P>;
prop<V>(p: keyof never): (value: unknown) => V;
```

</details>
Expand Down Expand Up @@ -17299,6 +17307,16 @@ describe('R.zipWith', () => {

## ❯ CHANGELOG

8.3.0

Add the following methods:

- binary
- call
- collectBy
- comparator
- composeWith

8.2.0

Add the following methods:
Expand Down
Loading

0 comments on commit 5d7dfc7

Please sign in to comment.