pickBy,omitBy: Don't partialize simple records (#706) (fdeb3e2), closes #696
v2.0.0
🎉 We are excited to announce the release of Remeda v2! 🎉
It's been nearly two years since our last major update, and this version is packed with the improvements and changes you've been waiting for. This release focuses on modernization and simplification, gathering many important updates into one comprehensive release.
Modernized Runtime and TypeScript Support: Remeda is now compiled with a target of ES2022, and the minimum TypeScript version is now 5.1, allowing us to leverage the latest features for improved type safety and better runtime performance.
Removed Variants: The indexed and strict variants are now merged into the base functions, with indexed parameters and improved typing as defaults, respectively.
Headless Invocation Changes: Functions like keys and identity should now be called with no parameters to get their dataLast implementation; only type-guards remain headless.
Function Renames and Removals: We have aligned function names with ECMAScript standards (e.g., toPairs is now entries), and removed redundant functions that can be replaced with combinations of other functions (e.g., compact replaced with filter(isTruthy)).
Object Keys Handling: Typing changes better reflect JavaScript's handling of symbol and number keys.
Re-Implementations: Several functions, including clone, difference, and intersect, have had their runtime implementations and semantics adjusted to handle edge cases more consistently.
We believe these changes will enhance your development experience, making Remeda more powerful and easier to use. Thank you for being a part of the Remeda community. If you encounter any issues or have questions, please reach out on our GitHub Issues page. Happy coding!
To install Sass 1.77.3, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Dart API
Deprecation.duplicateVariableFlags has been deprecated and replaced with Deprecation.duplicateVarFlags to make it consistent with the duplicate-var-flags name used on the command line and in the JS API.
Support passing Version input for fatalDeprecations as string over
embedded protocol.
Fix a bug in the JS Embedded Host where Version could be incorrectly accepted
as input for silenceDeprecations and futureDeprecations in pure JS.
1.77.3
Dart API
Deprecation.duplicateVariableFlags has been deprecated and replaced with
Deprecation.duplicateVarFlags to make it consistent with the
duplicate-var-flags name used on the command line and in the JS API.
Commits
21eeb4d Parse Deprecation.forVersion on compiler side (#2248)
1073c7b Generate deprecations list from the language repo (#2253)
fc24fec Use pubspec_parse dependency equality (#2254)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the production-dependencies group with 4 updates: @types/jsdom, remeda, sass and webring.
Updates
@types/jsdom
from 21.1.6 to 21.1.7Commits
Updates
remeda
from 1.61.0 to 2.0.1Release notes
Sourced from remeda's releases.
... (truncated)
Commits
fdeb3e2
fix(pickBy,omitBy): Don't partialize simple records (#706)e31c1a1
test(mapValues): add tests for using branded types as record keys (#707)f87d15c
chore(codecov): Add secret to action (#705)09ca207
chore(deps-dev): bump the minor group in /docs with 2 updates (#704)6157b42
chore(deps-dev): bump the patches group in /docs with 2 updates (#703)b617640
chore(deps-dev): bump semantic-release from 23.1.1 to 24.0.0 (#702)006b46e
chore(deps-dev): bump@​types/node
from 20.12.13 to 20.13.0 in the minor group...5d50cb5
docs: pipeable -> lazy (#699)cbc80fa
docs(mobile): fix layout (#698)3b9d27a
docs: Update .map example in docs home page (#697)Updates
sass
from 1.77.2 to 1.77.4Release notes
Sourced from sass's releases.
Changelog
Sourced from sass's changelog.
Commits
21eeb4d
Parse Deprecation.forVersion on compiler side (#2248)1073c7b
Generate deprecations list from the language repo (#2253)fc24fec
Usepubspec_parse
dependency equality (#2254)Updates
webring
from 0.0.2 to 1.0.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show