-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[deps] Platform: Update lowdb to v7 #7931
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/lowdb-7.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+20
−33
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Internal tracking:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7931 +/- ##
=======================================
Coverage 59.08% 59.08%
=======================================
Files 1048 1048
Lines 27083 27083
Branches 5418 5418
=======================================
Hits 16002 16002
Misses 9757 9757
Partials 1324 1324 ☔ View full report in Codecov by Sentry. |
No New Or Fixed Issues Found |
7f39df6
to
60881b8
Compare
3e1fb57
to
b58cbf7
Compare
6fa6595
to
2600829
Compare
2600829
to
5516aef
Compare
bd63af0
to
5516aef
Compare
5516aef
to
c50bf11
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.0
->7.0.1
Release Notes
typicode/lowdb (lowdb)
v7.0.1
Compare Source
v7.0.0
Compare Source
🚀 Simplified syntax with
db.update
, new adapter for more file format, consistent presets, automatic write error retry, and a TS error fix!What's New
db.update
for easier updates and writes.DataFile
adapters for supporting various formats likeYAML
,JSON5
, ... and adding features like encryption with minimal code.Breaking Changes
JSONPreset
toJSONFilePreset
JSONSyncPreset
toJSONFileSyncPreset
.Code Examples
If you were using the
JSONPreset
, please rename itEnjoy the simplified syntax with
db.update
Easily support other formats:
Sponsors
Special thanks to lowdb's current sponsor: Mockend.
Your support is essential, you can sponsor this project on GitHub Sponsors ❤️
v6.1.1
Compare Source
JSONPreset
andJSONSyncPreset
v6.1.0
Compare Source
New presets
Before
Now
This will also use the
Memory
adapter automatically whenNODE_ENV=test
making tests faster.TypeScript
Lowdb now supports the broader
fs.PathLike
type which lets you useURL
type in addition tostring
. This is useful for ESM.v6.0.1
Compare Source
What's Changed
New Contributors
Full Changelog: typicode/lowdb@v6.0.0...v6.0.1
v6.0.0
Compare Source
What's Changed
defaultData
parameter forLow
andLowSync
constructors to improve TypeScript experienceHow to upgrade:
If you like lowdb, please sponsor my work. If you cannot, a star or tweet is always appreciated.
Thank you!
v5.1.0
Compare Source
What's Changed
New Contributors
Full Changelog: typicode/lowdb@v5.0.4...v5.1.0
v5.0.5
Compare Source
v5.0.3
Compare Source
v5.0.2
Compare Source
v5.0.1
Compare Source
v5.0.0
Compare Source
Better support for front-end tools like Vite, CodeSandbox, ...
To achieve this, Node and Browser (localStorage) adapters are now split in two.
Besides that, there are no other breaking changes.
Node
lowdb/node
exportsJSONFile
,JSONFileSync
,TextFile
andTextFileSync
.Browser
lowdb/browser
exportsLocalStorage
.v4.0.1
Compare Source
v4.0.0
Compare Source
v3.0.0
Compare Source
#
instead of TypeScriptprivate
keyword for adaptersMany thanks to Mockend and everyone on GitHub Sponsors for supporting this project ❤️ 🦉
v2.1.0
Compare Source
TextFile
andTextFileSync
adapters to simplify writing to different formats (YAML, XML, ...) and make encryption easier.v2.0.3
Compare Source
v2.0.2
Compare Source
v2.0.1
Compare Source
v2.0.0
Compare Source
db.data
To help with OSS funding, lowdb v2 is released under Parity license for a limited time. It'll be released under MIT license once the goal of 100 sponsors is reached (currently at 55) or in five months. See README for complete explanation.
You can sponsor me on GitHub Sponsors.
Thank you!
Migrate
Lowdb v1
Lowdb v2
If you're using TypeScript, data can now be typed:
To continue using lodash with lowdb:
Breaking changes
The following methods and properties have been removed:
db.getState
(usedb.data
instead)db.setState
(usedb.data = ...
instead)db._
Configuration
📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.