Version Release#74
Merged
Merged
Conversation
Pull Request Test Coverage Report for Build 19066578026Details
💛 - Coveralls |
22848da to
db790a7
Compare
db790a7 to
a96f127
Compare
fox1t
approved these changes
Nov 6, 2025
This file contains hidden or 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
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
valkeyrie@0.8.0
Minor Changes
ef32a4b: feat: add
fromandfromAsyncfactory functions for database populationThis adds two new static factory methods to create and populate Valkeyrie databases from existing data sources:
Valkeyrie.from(iterable, options)- Create and populate a database from synchronous iterables (arrays, Sets, Maps, custom iterables)Valkeyrie.fromAsync(asyncIterable, options)- Create and populate a database from async iterables (async generators, streams, async iterators)Key Features:
Example:
This is especially useful for data migrations, imports, seeding databases, and creating databases from API responses or streams.
Patch Changes
1893805: Complete documentation overhaul with new structure and missing feature documentation
New Documentation Structure:
Previously Missing Documentation:
New Guides:
docs/guides/getting-started.md- Complete beginner tutorialdocs/guides/schema-validation.md- Type-safe operations with Zod, Valibot, ArkTypedocs/guides/factory-methods.md- Create databases from arrays and streamsdocs/guides/serializers.md- Choose and configure serializersdocs/guides/advanced-patterns.md- Watch API, atomic operations, real-world patternsAPI Reference:
docs/api/api-reference.md- Complete method referencedocs/api/types.md- TypeScript types and interfacesImprovements:
docs/README.mdindexThe old
docs/documentation.mdhas been archived asdocs/documentation.md.old.065368c: Implement database-level versionstamp generation for multi-instance concurrency and fix watch stream cancel bug
Multi-Instance Concurrency (fixes Multi-instance concurrency issues with atomic operations #64):
inTransactionstate trackingBEGIN IMMEDIATE TRANSACTIONfor exclusive database locks to ensure cross-process atomicityBug Fix:
cancel()callback to correctly use closure-scoped controllercontroller.close()call in cancel handler (stream infrastructure handles this)Test Coverage:
This prevents race conditions and lost updates when multiple Valkeyrie instances share the same SQLite database file.