rambda 10.3.0 → 10.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ 10.3.1
2
+
3
+ - Fix issue with wrong order of inputs in `R.createObjectFromKeys` - [Issue #779](https://github.com/selfrefactor/rambda/issues/779)
4
+
5
+ 10.3.1
6
+
7
+ - Fix issue with wrong order of inputs in `R.propEq` - [Issue #779](https://github.com/selfrefactor/rambda/issues/779)
8
+
9
+ - Fix issue with TypeScript definitions for `R.includes`- [Issue #781](https://github.com/selfrefactor/rambda/issues/781)
10
+
1
11
  10.3.0
2
12
 
3
13
  - Add `R.mapPropObject`
@@ -12,6 +22,9 @@
12
22
 
13
23
  - Remove option for `R.mapAsync` to be called outside of `R.pipeAsync`. This is done for consistency as all other methods follow this rule, i.e. they are all curried.
14
24
 
25
+ - Fix `R.pluck` to work without `R.pipe`
26
+ - Remove option for `R.mapAsync` to be called outside of `R.pipeAsync`. This is done for consistency as all other methods follow this rule, i.e. they are all curried.
27
+
15
28
  - Fix `R.pluck` to work without `R.pipe`
16
29
 
17
30
  10.2.0
@@ -473,771 +486,4 @@ Add the following methods:
473
486
 
474
487
  > Reason for breaking change - synchronize with Ramda `0.29.0` release:
475
488
 
476
- - change order of `R.propEq` - [Ramda MR](https://github.com/ramda/ramda/pull/2938/files)
477
-
478
-
479
- 7.5.0
480
-
481
- - IMPORTANT: Remove `export` property in `package.json` in order to allow `Rambda` support for projects with `"type": "module"` in `package.json` - [Issue #667](https://github.com/selfrefactor/rambda/issues/657)
482
-
483
- - Add `R.unnest` - [Rambdax issue 89](https://github.com/selfrefactor/rambdax/issues/89)
484
-
485
- - `R.uniq` is not using `R.equals` as Ramda does - [Issue #88](https://github.com/selfrefactor/rambdax/issues/88)
486
-
487
- - Fix `R.path(['non','existing','path'], obj)` TS definition as 7.4.0 release caused TS errors - [Issue #668](https://github.com/selfrefactor/rambda/issues/668)
488
-
489
- 7.4.0
490
-
491
- - Synchronize with `@types/ramda` - `R.prop`, `R.path`, `R.pickAll`
492
-
493
- - Remove `esm` Rollup output due to tree-shaking issues.
494
-
495
- - Upgrade all dev dependencies.
496
-
497
- 7.3.0
498
-
499
- - Important - changing import declaration in `package.json` in order to fix tree-shaking issue - [Issue #647](https://github.com/selfrefactor/rambda/issues/647)
500
-
501
- - Add `R.modify`
502
-
503
- - Allow multiple inputs in TypeScript versions of `R.anyPass` and `R.allPass` - [Issue #642](https://github.com/selfrefactor/rambda/issues/604)
504
-
505
- - Using wrong clone of object in `R.mergeDeepRight` - [Issue #650](https://github.com/selfrefactor/rambda/issues/650)
506
-
507
- - Missing early return in `R.where` - [Issue #648](https://github.com/selfrefactor/rambda/issues/648)
508
-
509
- - `R.allPass` doesn't accept more than 1 parameters for function predicates- [Issue #604](https://github.com/selfrefactor/rambda/issues/604)
510
-
511
- 7.2.1
512
-
513
- - Remove bad typings of `R.propIs` which caused the library to cannot be build with TypeScript.
514
-
515
- - Drop support for `Wallaby` as per [https://github.com/wallabyjs/public/issues/3037](https://github.com/wallabyjs/public/issues/3037)
516
-
517
- 7.2.0
518
-
519
- - Wrong `R.update` if index is `-1` - [PR #593](https://github.com/selfrefactor/rambda/pull/593)
520
-
521
- - Wrong curried typings in `R.anyPass` - [Issue #642](https://github.com/selfrefactor/rambda/issues/642)
522
-
523
- - `R.modifyPath` not exported - [Issue #640](https://github.com/selfrefactor/rambda/issues/640)
524
-
525
- - Add new method `R.uniqBy`. Implementation is coming from [Ramda MR#2641](https://github.com/ramda/ramda/pull/2641)
526
-
527
- - Apply the following changes from `@types/rambda`:
528
-
529
- -- [https://github.com/DefinitelyTyped/DefinitelyTyped/commit/bab47272d52fc7bb81e85da36dbe9c905a04d067](add `AnyFunction` and `AnyConstructor`)
530
-
531
- -- Improve `R.ifElse` typings - https://github.com/DefinitelyTyped/DefinitelyTyped/pull/59291
532
-
533
- -- Make `R.propEq` safe for `null/undefined` arguments - https://github.com/ramda/ramda/pull/2594/files
534
-
535
- 7.1.4
536
-
537
- - `R.mergeRight` not found on `Deno` import - [Issue #633](https://github.com/selfrefactor/rambda/issues/633)
538
-
539
- 7.1.0
540
-
541
- - Add `R.mergeRight` - introduced by Ramda's latest release. While Ramda renames `R.merge`, Rambda will keep `R.merge`.
542
-
543
- - Rambda's `pipe/compose` doesn't return proper length of composed function which leads to issue with `R.applySpec`. It was fixed by using Ramda's `pipe/compose` logic - [Issue #627](https://github.com/selfrefactor/rambda/issues/627)
544
-
545
- - Replace `Async` with `Promise` as return type of `R.type`.
546
-
547
- - Add new types as TypeScript output for `R.type` - "Map", "WeakMap", "Generator", "GeneratorFunction", "BigInt", "ArrayBuffer"
548
-
549
- - Add `R.juxt` method
550
-
551
- - Add `R.propSatisfies` method
552
-
553
- - Add new methods after `Ramda` version upgrade to `0.28.0`:
554
-
555
- -- R.count
556
- -- R.modifyPath
557
- -- R.on
558
- -- R.whereAny
559
- -- R.partialObject
560
-
561
- 7.0.3
562
-
563
- Rambda.none has wrong logic introduced in version `7.0.0` - [Issue #625](https://github.com/selfrefactor/rambda/issues/625)
564
-
565
- 7.0.2
566
-
567
- Rambda doesn't work with `pnpm` due to wrong export configuration - [Issue #619](https://github.com/selfrefactor/rambda/issues/619)
568
-
569
- 7.0.1
570
-
571
- - Wrong ESM export configuration in `package.json` - [Issue #614](https://github.com/selfrefactor/rambda/issues/614)
572
-
573
- 7.0.0
574
-
575
- - Breaking change - sync `R.compose`/`R.pipe` with `@types/ramda`. That is significant change so as safeguard, it will lead a major bump. Important - this lead to raising required TypeScript version to `4.2.2`. In other words, to use `Rambda` you'll need TypeScript version `4.2.2` or newer.
576
-
577
- Related commit in `@types/ramda` - https://github.com/DefinitelyTyped/DefinitelyTyped/commit/286eff4f76d41eb8f091e7437eabd8a60d97fc1f#diff-4f74803fa83a81e47cb17a7d8a4e46a7e451f4d9e5ce2f1bd7a70a72d91f4bc1
578
-
579
- There are several other changes in `@types/ramda` as stated in [this comment](https://github.com/ramda/ramda/issues/2976#issuecomment-990408945). This leads to change of typings for the following methods in **Rambda**:
580
-
581
- -- R.unless
582
-
583
- -- R.toString
584
-
585
- -- R.ifElse
586
-
587
- -- R.always
588
-
589
- -- R.complement
590
-
591
- -- R.cond
592
-
593
- -- R.is
594
-
595
- -- R.sortBy
596
-
597
- -- R.dissoc
598
-
599
- -- R.toPairs
600
-
601
- -- R.assoc
602
-
603
- -- R.toLower
604
-
605
- -- R.toUpper
606
-
607
- - One more reason for the breaking change is changing of export declarations in `package.json` based on [this blog post](https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#packagejson-exports-imports-and-self-referencing) and [this merged Ramda's PR](https://github.com/ramda/ramda/pull/2999). This also led to renaming of `babel.config.js` to `babel.config.cjs`.
608
-
609
- - Add `R.apply`, `R.bind` and `R.unapply`
610
-
611
- - `R.startsWith/R.endsWith` now support lists as inputs. This way, it matches current Ramda behavior.
612
-
613
- - Remove unused typing for `R.chain`.
614
-
615
- - `R.map`/`R.filter` no longer accept bad inputs as iterable. This way, Rambda behaves more like Ramda, which also throws.
616
-
617
- - Make `R.lastIndexOf` follow the logic of `R.indexOf`.
618
-
619
- - Change `R.type` logic to Ramda logic. This way, `R.type` can return `Error` and `Set` as results.
620
-
621
- - Add missing logic in `R.equals` to compare sets - [Issue #599](https://github.com/selfrefactor/rambda/issues/599)
622
-
623
- - Improve list cloning - [Issue #595](https://github.com/selfrefactor/rambda/issues/595)
624
-
625
- - Handle multiple inputs with `R.allPass` and `R.anyPass` - [Issue #604](https://github.com/selfrefactor/rambda/issues/604)
626
-
627
- - Fix `R.length` wrong logic with inputs as `{length: 123}` - [Issue #606](https://github.com/selfrefactor/rambda/issues/606).
628
-
629
- - Improve non-curry typings of `R.merge` by using types from [mobily/ts-belt](https://github.com/mobily/ts-belt).
630
-
631
- - Improve performance of `R.uniqWith`.
632
-
633
- - Wrong `R.update` if index is `-1` - [PR #593](https://github.com/selfrefactor/rambda/pull/593)
634
-
635
- - Make `R.eqProps` safe for falsy inputs - based on [this opened Ramda PR](https://github.com/ramda/ramda/pull/2943).
636
-
637
- - Incorrect benchmarks for `R.pipe/R.compose` - [Issue #608](https://github.com/selfrefactor/rambda/issues/608)
638
-
639
- - Fix `R.last/R.head` typings - [Issue #609](https://github.com/selfrefactor/rambda/issues/609)
640
-
641
- 6.9.0
642
-
643
- - Fix slow `R.uniq` methods - [Issue #581](https://github.com/selfrefactor/rambda/issues/581)
644
-
645
- Fixing `R.uniq` was done by improving `R.indexOf` which has performance implication to all methods importing `R.indexOf`:
646
-
647
- - R.includes
648
- - R.intersection
649
- - R.difference
650
- - R.excludes
651
- - R.symmetricDifference
652
- - R.union
653
-
654
- - R.without no longer support the following case - `without('0:1', ['0', '0:1']) // => ['0']`. Now it throws as the first argument should be a list, not a string. Ramda, on the other hand, returns an empty list - https://github.com/ramda/ramda/issues/3086.
655
-
656
- 6.8.3
657
-
658
- - Fix TypeScript build process with `rambda/immutable` - [Issue #572](https://github.com/selfrefactor/rambda/issues/572)
659
-
660
- - Add `R.objOf` method
661
-
662
- - Add `R.mapObjIndexed` method
663
-
664
- - Publish shorter README.md version to NPM
665
-
666
- 6.8.0
667
-
668
- - `R.has` use `Object.prototype.hasOwnProperty`- [Issue #572](https://github.com/selfrefactor/rambda/issues/572)
669
-
670
- - Expose `immutable.ts` typings which are Rambda typings with `readonly` statements - [Issue #565](https://github.com/selfrefactor/rambda/issues/565)
671
-
672
- - Fix `R.intersection` wrong order compared to Ramda.
673
-
674
- - `R.path` wrong return of `null` instead of `undefined` when path value is `null` - [PR #577](https://github.com/selfrefactor/rambda/pull/577)
675
-
676
- 6.7.0
677
-
678
- - Remove `ts-toolbelt` types from TypeScript definitions. Most affected are the following methods, which lose one of its curried definitions:
679
-
680
- 1. R.maxBy
681
- 2. R.minBy
682
- 3. R.pathEq
683
- 4. R.viewOr
684
- 5. R.when
685
- 6. R.merge
686
- 7. R.mergeDeepRight
687
- 8. R.mergeLeft
688
-
689
- 6.6.0
690
-
691
- - Change `R.piped` typings to mimic that of `R.pipe`. Main difference is that `R.pipe` is focused on unary functions.
692
-
693
- - Fix wrong logic when `R.without` use `R.includes` while it should use array version of `R.includes`.
694
-
695
- - Use uglify plugin for UMD bundle.
696
-
697
- - Remove `dist` folder from `.gitignore` in order to fix `Deno` broken package. [Issue #570](https://github.com/selfrefactor/rambda/issues/570)
698
-
699
- - Improve `R.fromPairs` typings - [Issue #567](https://github.com/selfrefactor/rambda/issues/567)
700
-
701
- 6.5.3
702
-
703
- - Wrong logic where `R.without` use `R.includes` while it should use the array version of `R.includes`
704
-
705
- This is Ramda bug, that Rambda also has before this release - https://github.com/ramda/ramda/issues/3086
706
-
707
- 6.5.2
708
-
709
- - Wrong `R.defaultTo` typings - changes introduced in v6.5.0 are missing their TS equivalent.
710
-
711
- - Update dependencies
712
-
713
- 6.5.1
714
-
715
- Fix wrong versions in changelog
716
-
717
- 6.5.0
718
-
719
- - `R.defaultTo` no longer accepts infinite inputs, thus it follows Ramda implementation.
720
-
721
- - `R.equals` supports equality of functions.
722
-
723
- - `R.pipe` doesn't use `R.compose`.
724
-
725
- - Close [Issue #561](https://github.com/selfrefactor/rambda/issues/561) - export several internal TS interfaces and types
726
-
727
- - Close [Issue #559](https://github.com/selfrefactor/rambda/issues/559) - improve `R.propOr` typings
728
-
729
- - Add `CHANGELOG.md` file in release files list
730
-
731
- 6.4.0
732
-
733
- - Close [Issue #560](https://github.com/selfrefactor/rambda/issues/560) - apply immutable lint to TypeScript definitions
734
-
735
- - Close [Issue #553](https://github.com/selfrefactor/rambda/issues/553) - fix problem with curried typings of `R.prop`
736
-
737
- - Fix wrong `R.last` typing
738
-
739
- - Upgrade all `rollup` related dependencies
740
-
741
- - `R.type` supports `Symbol` just like *Ramda*.
742
-
743
- - Remove file extension in `main` property in `package.json` in order to allow `experimental-modules`. See also this Ramda's PR - https://github.com/ramda/ramda/pull/2678/files
744
-
745
- - Import `R.indexBy`/`R.when`/`R.zipObj`/`R.propEq`/`R.complement` changes from recent `@types/ramda` release.
746
-
747
- - `R.tryCatch` stop supporting asynchronous functions; the previous behaviour is exported to *Rambdax* as `R.tryCatchAsync`
748
-
749
- 6.3.1
750
-
751
- - Fix missing `Evolved` declaration in TypeScript definition
752
-
753
- 6.3.0
754
-
755
- - Add `R.takeLastWhile`
756
-
757
- - Add `R.dropWhile`
758
-
759
- - Add `R.eqProps`
760
-
761
- - Add `R.dropLastWhile`
762
-
763
- - Add `R.dropRepeats`
764
-
765
- - Add `R.dropRepeatsWith`
766
-
767
- - Add `R.evolve`
768
-
769
- - Add typings for `R.takeWhile` when iterable is a string
770
-
771
- 6.2.0
772
-
773
- - Add `R.props`
774
-
775
- - Add `R.zipWith`
776
-
777
- - Add `R.splitAt`
778
-
779
- - Add `R.splitWhen`
780
-
781
- - Close [Issue #547](https://github.com/selfrefactor/rambda/issues/547) - restore `readonly` declaration in TypeScript definitions.
782
-
783
- - `R.append`/`R.prepend` now work only with arrays just like Ramda. Previous behaviour was for them to work with both arrays and strings.
784
-
785
- - Sync `R.pluck` typings with `@types/ramda` as there was a tiny difference.
786
-
787
- 6.1.0
788
-
789
- - Fix `R.and` wrong definition, because the function doesn't convert the result to boolean. This introduce another difference with `@types/ramda`.
790
-
791
- - Add `R.once`
792
-
793
- - Add `R.or`
794
-
795
- 6.0.1
796
-
797
- - Fix typing of `R.reject` as it wrongly declares that with object, it pass property to predicate.
798
-
799
- 6.0.0
800
-
801
- - Breaking change - `R.map`/`R.filter`/`R.reject`/`R.forEach`/`R.partition` doesn't pass index as second argument to the predicate, when looping over arrays. The old behaviour of *map*, *filter* and *forEach* can be found in Rambdax methods *R.mapIndexed*, *R.filterIndexed* and *R.forEachIndexed*.
802
-
803
- - Breaking change - `R.all`/`R.none`/`R.any`/`R.find`/`R.findLast`/`R.findIndex`/`R.findLastIndex` doesn't pass index as second argument to the predicate.
804
-
805
- - Change `R.assocPath` typings so the user can explicitly sets type of the new object
806
-
807
- - Typings of `R.assoc` match its `@types/ramda` counterpart.
808
-
809
- - Simplify `R.forEach` typings
810
-
811
- - Remove `ReadonlyArray<T>` pattern from TypeScript definitions - not enough value for the noise it adds.
812
-
813
- 5.13.1
814
-
815
- - Fix wrong `R.takeWhile`
816
-
817
- 5.13.0
818
-
819
- - Add `R.takeWhile` method
820
-
821
- - Fix `R.lensPath` issue when using string as path input. The issue was introduced when fixing [Issue #524](https://github.com/selfrefactor/rambda/issues/524) in the previous release.
822
-
823
- 5.12.1
824
-
825
- - Close [Issue #524](https://github.com/selfrefactor/rambda/issues/524) -
826
- wrong `R.assocPath` when path includes numbers
827
-
828
- - `R.includes` throws on wrong input, i.e. `R.includes(1, null)`
829
-
830
- 5.12.0
831
-
832
- - Add `R.move` method
833
-
834
- - Add `R.union` method
835
-
836
- - Close [Issue #519](https://github.com/selfrefactor/rambda/issues/519) -
837
- `ts-toolbelt` needs other type of export with `--isolatedModules` flag
838
-
839
- - Change `R.when` implementation and typings to match those of `Ramda`
840
-
841
- - `R.over` and `R.set` use `R.curry` instead of manual currying
842
-
843
- - `R.lensPath` typings support string as path, i.e. `'a.b'` instead of `['a', 'b']`
844
-
845
- - `R.equals` now supports negative zero just like `Ramda.equals`
846
-
847
- - `R.replace` uses `R.curry`
848
-
849
- 5.11.0
850
-
851
- Forgot to export `R.of` because of wrong marker in `files/index.d.ts`
852
-
853
- 5.10.0
854
-
855
- Close [Issue #514](https://github.com/selfrefactor/rambda/issues/514) -
856
- wrong `R.length` with empty string
857
-
858
- Close [Issue #511](https://github.com/selfrefactor/rambda/issues/511) - error in `ts-toolbelt` library
859
-
860
- Close [Issue #510](https://github.com/selfrefactor/rambda/issues/510) - `R.clamp` should throw if min argument is greater than max argument
861
-
862
- - [PR #508](https://github.com/selfrefactor/rambda/pull/508) - add `R.of`
863
-
864
- - Definition of `R.curry` are not same as those of `@types/ramda`
865
-
866
- - Definitions of `R.either` is same as that of `R.both`
867
-
868
- - Definitions of `R.ifElse` no longer use `any` type
869
-
870
- - Definition of `R.flatten` requires passing type for the output
871
-
872
- - Fix definition of `R.propOr`, `R.dissoc`
873
-
874
- - Fix curried definitions of `R.take`, `R.takeLast`, `R.drop` and `R.dropLast`
875
-
876
- - 5.9.0
877
-
878
- - `R.pickAll` definition allows passing string as path to search.
879
-
880
- - `R.propEq` definition is now similar to that in `@types/ramda`.
881
-
882
- - `R.none` matches `R.all` implementation and pass index as second argument to predicate input.
883
-
884
- - `R.reduce` - drop support for object as iterable. Now it throws the same error as Ramda. Also instead of returning the initial value when iterable is `undefined`, now it throws.
885
-
886
- Add index as additional argument to the TypeScript definitions of the following methods:
887
-
888
- - R.all
889
- - R.find
890
- - R.findLast
891
- - R.findIndex
892
- - R.findLastIndex
893
-
894
- - 5.8.0
895
-
896
- Add `R.mergeAll`
897
- Add `R.mergeDeepRight`
898
- Add `R.mergeLeft`
899
- Add `R.partition`
900
- Add `R.pathEq`
901
- Add `R.tryCatch`
902
- Add `R.unless`
903
- Add `R.whereEq`
904
- Add `R.where`
905
-
906
- - Add `R.last` typing for empty array
907
-
908
- - 5.7.0 Revert [PR #469](https://github.com/selfrefactor/rambda/pull/469) as `R.curry` was slow | Also now `R.flip` throws if arity is greater than or equal to 5
909
-
910
- - 5.6.3 Merge several PRs of [@farwayer](https://github.com/farwayer)
911
-
912
- - [PR #482](https://github.com/selfrefactor/rambda/pull/482) - improve `R.forEach` performance by not using `R.map`
913
-
914
- - [PR #485](https://github.com/selfrefactor/rambda/pull/485) - improve `R.map` performance
915
-
916
- - [PR #482](https://github.com/selfrefactor/rambda/pull/486) - improve `R.reduce` performance
917
-
918
- - Fix missing high arity typings for `R.compose/pipe`
919
-
920
- - `R.merge` definitions match those of `@types/ramda`
921
-
922
- - Remove `dist` folder from Rambda repo
923
-
924
- - 5.6.2
925
-
926
- Close [Issue #476](https://github.com/selfrefactor/rambda/issues/476) - typesafe `R.propEq` definitions
927
-
928
- Approve [PR #477](https://github.com/selfrefactor/rambda/pull/477) - fix `R.groupWith` when list length is 1
929
-
930
- - 5.6.1
931
-
932
- Update `ts-toolbelt` files as now there is update pipeline for it.
933
-
934
- Approve [PR #474](https://github.com/selfrefactor/rambda/pull/474) - intruduce internal `isArray` helper
935
-
936
- - 5.6.0
937
-
938
- Approve [PR #469](https://github.com/selfrefactor/rambda/pull/469) - R.flip supports any arity | implement `R.curry` with `R.curryN` add `R.applySpec`
939
-
940
- - 5.5.0
941
-
942
- Close [Issue #464](https://github.com/selfrefactor/rambda/issues/464) - `R.flip` should handle functions with arity above 2
943
-
944
- Close [Issue #468](https://github.com/selfrefactor/rambda/issues/468) - `fs-extra` should be dev dependency as it was wrongly added as production dependency in `5.2.0`
945
-
946
- `R.flip` typings now match `@types/ramda` typings
947
-
948
- Add `R.hasPath` method
949
-
950
- Add `R.mathMod` typings
951
-
952
- - 5.4.3
953
-
954
- Fix `R.omit` typings
955
-
956
- - 5.4.2
957
-
958
- Fix `R.pick` typings
959
-
960
- > Close [Issue #460](https://github.com/selfrefactor/rambda/issues/460) - `R.paths` should be curried
961
-
962
- - 5.4.1
963
-
964
- > Close [Issue #458](https://github.com/selfrefactor/rambda/issues/458) - wrong `R.propIs` typing
965
-
966
- - 5.4.0
967
-
968
- > Close [Issue #408](https://github.com/selfrefactor/rambda/issues/408) - add `R.chain`
969
-
970
- - 5.3.0
971
-
972
- > Close [Issue #430](https://github.com/selfrefactor/rambda/issues/430) - add `R.when`
973
-
974
- Also restore `R.converge`, `R.findLast`, `R.findLastIndex` and `R.curryN` as I have forgotten to export them when releasing `5.2.0`.
975
-
976
- - 5.2.1
977
-
978
- Fix TypeScript comment for every method
979
-
980
- - 5.2.0
981
-
982
- Release new documentation site
983
-
984
- `Ramda` repo now holds all `Rambdax` methods and tests
985
-
986
- - 5.1.1
987
-
988
- Add `R.converge` and `R.curryN` from [PR #412](https://github.com/selfrefactor/rambda/pull/412)
989
-
990
- Close [Issue #410](https://github.com/selfrefactor/rambda/issues/410) - wrong implementation of `R.groupWith`
991
-
992
- Close [Issue #411](https://github.com/selfrefactor/rambda/issues/411) - change the order of declared `R.map` typings rules
993
-
994
- - 5.0.0
995
-
996
- Move `R.partialCurry` to Rambdax(reason for major bump).
997
-
998
- Use new type of export in TypeScript definitions.
999
-
1000
- Approve [PR #381](https://github.com/selfrefactor/rambda/pull/381) - add `R.applySpec`
1001
-
1002
- - 4.6.0
1003
-
1004
- Approve [PR #375](https://github.com/selfrefactor/rambda/pull/375) - add lenses(Thank you [@synthet1c](https://github.com/synthet1c))
1005
-
1006
- Add `R.lens`
1007
-
1008
- Add `R.lensIndex`
1009
-
1010
- Add `R.lensPath`
1011
-
1012
- Add `R.lensProp`
1013
-
1014
- Add `R.over`
1015
-
1016
- Add `R.set`
1017
-
1018
- Add `R.view`
1019
-
1020
- > Sync with Ramda 0.27
1021
-
1022
- Add `R.paths`
1023
-
1024
- Add `R.xor`
1025
-
1026
- > Close [Issue #373](https://github.com/selfrefactor/rambda/issues/373)
1027
-
1028
- Add `R.cond`
1029
-
1030
- - 4.5.0 Add `R.clamp`
1031
-
1032
- - 4.4.2 Improve `R.propOr` typings
1033
-
1034
- - 4.4.1 Make `R.reject` has the same typing as `R.filter`
1035
-
1036
- - 4.4.0 Several changes:
1037
-
1038
- Close [Issue #317](https://github.com/selfrefactor/rambda/issues/317) - add `R.transpose`
1039
-
1040
- Close [Issue #325](https://github.com/selfrefactor/rambda/issues/325) - `R.filter` should return equal values for bad inputs `null` and `undefined`
1041
-
1042
- Approve suggestion for `R.indexBy` to accept string not only function as first argument.
1043
-
1044
- Edit of `R.path` typings
1045
-
1046
- - 4.2.0 Approve [PR #314](https://github.com/selfrefactor/rambda/pull/314) - add `R.and`
1047
-
1048
- - 4.1.1 Add missing typings for `R.slice`
1049
-
1050
- - 4.1.0 Add `R.findLast` and `R.findLastIndex`
1051
-
1052
- - 4.0.2 Fix `R.isEmpty` wrong behaviour compared to the Ramda method
1053
-
1054
- - 4.0.1 Approve [PR #289](https://github.com/selfrefactor/rambda/pull/289) - remove console.log in `R.values` method
1055
-
1056
- - 4.0.0 Multiple breaking changes as Rambda methods are changed in order to increase the similarity between with Ramda
1057
-
1058
- Add to `Differences`:
1059
-
1060
- ```text
1061
- R.type can return 'NaN'
1062
-
1063
- R.compose doesn't pass `this` context
1064
-
1065
- R.clone doesn't work with number, booleans and strings as input
1066
- ```
1067
-
1068
- All breaking changes:
1069
-
1070
- -- R.add works only with numbers
1071
-
1072
- -- Fix R.adjust which had wrong order of arguments
1073
-
1074
- -- R.adjust works when index is out of bounds
1075
-
1076
- -- R.complement support function with multiple arguments
1077
-
1078
- -- R.compose/pipe throws when called with no argument
1079
-
1080
- -- R.clone works with `Date` value as input
1081
-
1082
- -- R.drop/dropLast/take/takeLast always return new copy of the list/string
1083
-
1084
- -- R.take/takeLast return original list/string with negative index
1085
-
1086
- -- R.equals handles `NaN` and `RegExp` types
1087
-
1088
- -- R.type/R.equals supports `new Boolean/new Number/new Date/new String` expressions
1089
-
1090
- -- R.has works with non-object
1091
-
1092
- -- R.ifElse pass all arguments
1093
-
1094
- -- R.length works with bad input
1095
-
1096
- -- R.propEq work with bad input for object argument
1097
-
1098
- -- R.range work with bad inputs
1099
-
1100
- -- R.times work with bad inputs
1101
-
1102
- -- R.reverse works with strings
1103
-
1104
- -- R.splitEvery throws on non-positive integer index
1105
-
1106
- -- R.test throws just like Ramda when first argument is not regex
1107
-
1108
- -- R.values works with bad inputs
1109
-
1110
- -- R.zipObj ignores extra keys
1111
-
1112
- - 3.3.0
1113
-
1114
- This is pre `4.0.0` release and it contains all of the above changes
1115
-
1116
- Close [issue #287](https://github.com/selfrefactor/rambda/issues/287) - `ts-toolbelt` directory was changed but not reflected in `files` property in `package.json`
1117
-
1118
- - 3.2.5
1119
-
1120
- Close [issue #273](https://github.com/selfrefactor/rambda/issues/273) - ts-toolbelt needs other type of export when `isolatedModules` TypeScript property
1121
-
1122
- Close [issue #245](https://github.com/selfrefactor/rambda/issues/245) - complete typings tests for methods that have more specific TypeScript definitions
1123
-
1124
- - 3.2.1 Fast fix for [issue #273](https://github.com/selfrefactor/rambda/issues/273) - messed up typings
1125
-
1126
- - 3.2.0 There are several changes:
1127
-
1128
- Close [issue #263](https://github.com/selfrefactor/rambda/issues/263) - broken curry typing solved by `ts-toolbelt` local dependency.
1129
-
1130
- Add `R.partialCurry` typings.
1131
-
1132
- Approve [PR #266](https://github.com/selfrefactor/rambda/pull/266) that adds `R.slice` method.
1133
-
1134
- - 3.1.0 This might be breaking change for TypeScript users, as very different definitions are introduced. With the previous state of the definitions, it was not possible to pass `dtslint` typings tests.
1135
-
1136
- - `R.either` and `R.both` supports multiple arguments as they should.
1137
-
1138
- - Several methods added by [@squidfunk](https://github.com/squidfunk) - `R.assocPath`, `R.symmetricDifference`, `R.intersperse`, `R.intersection` and `R.difference`
1139
-
1140
- - 3.0.1 Close [issue #234](https://github.com/selfrefactor/rambda/issues/234) - wrong curry typing
1141
-
1142
- - 3.0.0 Deprecate `R.contains`, while `R.includes` is now following Ramda API(it uses `R.equals` for comparision)
1143
-
1144
- - 2.14.5 `R.without` needs currying
1145
-
1146
- - 2.14.4 Close [issue #227](https://github.com/selfrefactor/rambda/issues/227) - add index as third argument of `R.reduce` typings
1147
-
1148
- - 2.14.2 Use `R.curry` with `R.reduce` as manual curry there didn't work as expected.
1149
-
1150
- - 2.14.1 Fix wrong typescript with `R.head` - [PR #228](https://github.com/selfrefactor/rambda/pull/228) pushed by [@tonivj5](https://github.com/tonivj5)
1151
-
1152
- - 2.14.0 Add `R.groupWith` by @selfrefactor | Add `R.propOr`, `R.mathMod`, `R.mean`, `R.median`, `R.negate`, `R.product` by [@ku8ar](https://github.com/ku8ar)
1153
-
1154
- - 2.13.0 Add `R.identical` - [PR #217](https://github.com/selfrefactor/rambda/pull/217) pushed by [@ku8ar](https://github.com/ku8ar)
1155
-
1156
- - 2.12.0 Add `R.propIs` - [PR #213](https://github.com/selfrefactor/rambda/pull/213) and add `R.sum` - [issue #207](https://github.com/selfrefactor/rambda/issues/207)
1157
-
1158
- - 2.11.2 Close Rambdax [issue #32](https://github.com/selfrefactor/rambdax/issues/32) - wrong `R.type` when function is input
1159
-
1160
- - 2.11.1 Approve [PR #182](https://github.com/selfrefactor/rambda/pull/182) - Changed typings to allow object as input to `R.forEach` and `R.map`
1161
-
1162
- - 2.11.0 Approve [PR #179](https://github.com/selfrefactor/rambda/pull/179) - `R.adjust` handles negative index; `R.all` doesn't need `R.filter`
1163
-
1164
- - 2.10.2 Close [issue #175](https://github.com/selfrefactor/rambda/issues/175) - missing typescript file
1165
-
1166
- - 2.10.0 Approve huge and important [PR #171](https://github.com/selfrefactor/rambda/pull/171) submitted by [@helmuthdu](https://github.com/helmuthdu) - Add comments to each method, improve TypeScript support
1167
-
1168
- - 2.9.0 `R.toPairs` and `R.fromPairs`
1169
-
1170
- - 2.8.0 Approve [PR #165](https://github.com/selfrefactor/rambda/pull/165) `R.clone`
1171
-
1172
- - 2.7.1 expose `src` | Discussed at [issue #147](https://github.com/selfrefactor/rambda/issues/147)
1173
-
1174
- - 2.7.0 Approve [PR #161](https://github.com/selfrefactor/rambda/pull/161) `R.isEmpty`
1175
-
1176
- - 2.6.0 `R.map`, `R.filter` and `R.forEach` pass original object to iterator as third argument | Discussed at [issue #147](https://github.com/selfrefactor/rambda/issues/147)
1177
-
1178
- - 2.5.0 Close [issue #149](https://github.com/selfrefactor/rambda/issues/149) Add `R.partial` | `R.type` handles `NaN`
1179
-
1180
- - 2.4.0 Major bump of `Rollup`; Stop building for ES5
1181
-
1182
- - 2.3.1 Close [issue #90](https://github.com/selfrefactor/rambda/issues/90) | Add string type of path in `R.pathOr`
1183
-
1184
- - 2.3.0 Close [issue #89](https://github.com/selfrefactor/rambda/issues/89) | Fix missing `Number` TS definition in `R.type`
1185
-
1186
- - 2.2.0 `R.defaultTo` accepts indefinite number of input arguments. So the following is valid expression: `const x = defaultTo('foo',null, null, 'bar')`
1187
-
1188
- - 2.1.0 Restore `R.zip` using [WatermelonDB](https://github.com/Nozbe/WatermelonDB/) implementation.
1189
-
1190
- - 2.0.0 Major version caused by removing of `R.zip` and `R.addIndex`. [Issue #85](https://github.com/selfrefactor/rambda/issues/85) rightfully finds that the implementation of `R.addIndex` is not correct. This led to removing this method and also of `R.zip` as it had depended on it. The second change is that `R.map`, `R.filter` are passing array index as second argument when looping over arrays. The third change is that `R.includes` will return `false` if input is neigher `string` nor `array`. The previous behaviour was to throw an error. The last change is to increase the number of methods that are passing index as second argument to the predicate function.
1191
-
1192
- - 1.2.6 Use `src` folder instead of `modules`
1193
- - 1.2.5 Fix `omit` typing
1194
- - 1.2.4 Add missing TypeScript definitions - [PR#82](https://github.com/selfrefactor/rambda/pull/82)
1195
- - 1.2.2 Change curry method used across most of library methods
1196
- - 1.2.1 Add `R.assoc` | fix passing `undefined` to `R.map` and `R.merge` [issue #77](https://github.com/selfrefactor/rambda/issues/77)
1197
- - 1.2.0 Add `R.min`, `R.minBy`, `R.max`, `R.maxBy`, `R.nth` and `R.keys`
1198
- - 1.1.5 Close [issue #74](https://github.com/selfrefactor/rambda/issues/74) `R.zipObj`
1199
- - 1.1.4 Close [issue #71](https://github.com/selfrefactor/rambda/issues/71) CRA fail to build `rambda`
1200
- - 1.1.3 Approve [PR #70](https://github.com/selfrefactor/rambda/pull/67) implement `R.groupBy` | Close [issue #69](https://github.com/selfrefactor/rambda/issues/69)
1201
- - 1.1.2 Approve [PR #67](https://github.com/selfrefactor/rambda/pull/67) use `babel-plugin-annotate-pure-calls`
1202
- - 1.1.1 Approve [PR #66](https://github.com/selfrefactor/rambda/pull/66) `R.zip`
1203
- - 1.1.0 `R.compose` accepts more than one input argument [issue #65](https://github.com/selfrefactor/rambda/issues/65)
1204
- - 1.0.13 Approve [PR #64](https://github.com/selfrefactor/rambda/pull/64) `R.indexOf`
1205
- - 1.0.12 Close [issue #61](https://github.com/selfrefactor/rambda/issues/61) make all functions modules
1206
- - 1.0.11 Close [issue #60](https://github.com/selfrefactor/rambda/issues/60) problem with babelrc
1207
- - 1.0.10 Close [issue #59](https://github.com/selfrefactor/rambda/issues/59) add R.dissoc
1208
- - 1.0.9 Close [issue #58](https://github.com/selfrefactor/rambda/issues/58) - Incorrect `R.equals`
1209
- - 1.0.8 `R.map` and `R.filter` pass object properties when mapping over objects
1210
- - 1.0.7 Add `R.uniqWith`
1211
- - 1.0.6 Close [issue #52](https://github.com/selfrefactor/rambda/issues/52) - ES5 compatible code
1212
- - 1.0.5 Close [issue #51](https://github.com/selfrefactor/rambda/issues/51)
1213
- - 1.0.4 Close [issue #50](https://github.com/selfrefactor/rambda/issues/50) - add `R.pipe` typings
1214
- - 1.0.3 `R.ifElse` accept also boolean as condition argument
1215
- - 1.0.2 Remove `typedDefaultTo` and `typedPathOr` | Add `R.pickAll` and `R.none`
1216
- - 1.0.0 Major change as build is now ES6 not ES5 compatible (Related to [issue #46](https://github.com/selfrefactor/rambda/issues/46))| Making `Rambda` fully tree-shakeable| Edit TypeScript definition
1217
- - 0.9.8 Revert to ES5 compatible build - [issue #46](https://github.com/selfrefactor/rambda/issues/46)
1218
- - 0.9.7 Refactor for `Rollup` tree-shake | Remove `R.padEnd` and `R.padStart`
1219
- - 0.9.6 Close [issue #44](https://github.com/selfrefactor/rambda/issues/44) - `R.reverse` mutates the array
1220
- - 0.9.5 Close [issue #45](https://github.com/selfrefactor/rambda/issues/45) - invalid TypeScript typings
1221
- - 0.9.4 Add `R.reject` and `R.without` ([PR#41](https://github.com/selfrefactor/rambda/pull/41) [PR#42](https://github.com/selfrefactor/rambda/pull/42)) | Remove 'browser' field in `package.json` due to Webpack bug [4674](https://github.com/webpack/webpack/issues/4674)
1222
- - 0.9.3 Add `R.forEach` and `R.times`
1223
- - 0.9.2 Add `TypeScript` definitions
1224
- - 0.9.1 Close [issue #36](https://github.com/selfrefactor/rambda/issues/36) - move current behaviour of `defaultTo` to a new method `typedDefaultTo`; make `defaultTo` follow Ramda spec; add `pathOr`; add `typedPathOr`.
1225
- - 0.9.0 Add `R.pipe` [PR#35](https://github.com/selfrefactor/rambda/pull/35)
1226
- - 0.8.9 Add `R.isNil`
1227
- - 0.8.8 Migrate to ES modules [PR33](https://github.com/selfrefactor/rambda/pull/33) | Add R.flip to the API | R.map/filter works with objects
1228
- - 0.8.7 Change `Webpack` with `Rollup` - [PR29](https://github.com/selfrefactor/rambda/pull/29)
1229
- - 0.8.6 Add `R.tap` and `R.identity`
1230
- - 0.8.5 Add `R.all`, `R.allPass`, `R.both`, `R.either` and `R.complement`
1231
- - 0.8.4 Learning to run `yarn test` before `yarn publish` the hard way
1232
- - 0.8.3 Add `R.always`, `R.T` and `R.F`
1233
- - 0.8.2 Add `concat`, `padStart`, `padEnd`, `lastIndexOf`, `toString`, `reverse`, `endsWith` and `startsWith` methods
1234
- - 0.8.1 Add `R.ifElse`
1235
- - 0.8.0 Add `R.not`, `R.includes` | Take string as condition for `R.pick` and `R.omit`
1236
- - 0.7.6 Fix incorrect implementation of `R.values`
1237
- - 0.7.5 Fix incorrect implementation of `R.omit`
1238
- - 0.7.4 [issue #13](https://github.com/selfrefactor/rambda/issues/13) - Fix `R.curry`, which used to return incorrectly `function` when called with more arguments
1239
- - 0.7.3 Close [issue #9](https://github.com/selfrefactor/rambda/issues/9) - Compile to `es2015`; Approve [PR #10](https://github.com/selfrefactor/rambda/pull/10) - add `R.addIndex` to the API
1240
- - 0.7.2 Add `Promise` support for `R.type`
1241
- - 0.7.1 Close [issue #7](https://github.com/selfrefactor/rambda/issues/7) - add `R.reduce` to the API
1242
- - 0.7.0 Close [issue #5](https://github.com/selfrefactor/rambda/issues/5) - change name of `curry` to `partialCurry`; add new method `curry`, which works just like Ramda's `curry`
1243
- - 0.6.2 Add separate documentation site via `docsify`
489
+ - change order of `R.propEq` - [Ramda MR](https://github.com/ramda/ramda/pull/2938/files)