CrossfireSync v0.0.2: Enhanced Documentation and Developer Experience
Introducing CrossfireSync v0.0.2
Released on June 27, 2024, CrossfireSync v0.0.2 brings significant improvements to developer experience and documentation for this powerful multi-region Firestore synchronization library. While the core functionality remains unchanged, this release makes it easier than ever to understand, deploy, and maintain cross-region Firestore replication in your GCP applications.
What’s New
Visual Architecture Documentation
The standout feature of v0.0.2 is the addition of detailed Mermaid architecture diagrams that illustrate both supported replication modes:
Single Region Primary Mode: Perfect for use cases where all writes are directed to a primary region while reads can be served from any replicated region. The new diagram clearly shows how FirestoreChangePublisher operates only in the primary region while PubSubChangeConsumer runs across all regions.
Multi Region Primary Mode: Enables bidirectional synchronization allowing writes to any region. The architecture visualization includes documentation of the internal document attributes that CrossfireSync manages:
crossfiresync:timestampcrossfiresync:sourcedatabasecrossfiresync:delete
These diagrams eliminate ambiguity about how data flows between regions and help developers choose the right replication strategy for their use case.
Getting Started Guide
New to CrossfireSync? The updated documentation now includes a comprehensive getting started section featuring:
- Ready-to-use Maven dependency snippet for quick project integration
- Complete reference of required environment variables (
REPLICATION_MODE,DATABASE,GOOGLE_CLOUD_PROJECT,TOPIC) - Direct links to example Cloud Function applications for immediate deployment
Enhanced Documentation Badges
The project README now features badges linking directly to:
- Maven Central repository for version verification
- Javadoc documentation for API reference
Why It Matters
While v0.0.2 doesn’t introduce new functionality, it significantly lowers the barrier to entry for developers looking to implement multi-region Firestore deployments. The visual architecture diagrams address one of the most common challenges in distributed systems development: understanding data flow across regions.
For existing users, this release provides:
- Clearer deployment patterns: Visual guides reduce implementation errors
- Faster onboarding: New team members can understand the architecture at a glance
- Better troubleshooting: The diagrams help identify where issues might occur in the replication pipeline
The dependency updates included in this release also ensure you’re running the latest stable versions of Google Cloud libraries, JUnit, Mockito, and other essential components for improved security and compatibility.
Upgrade Instructions
Upgrading to v0.0.2 is straightforward with no breaking changes or migration steps required:
<dependency>
<groupId>com.unitvectory</groupId>
<artifactId>crossfiresync</artifactId>
<version>0.0.2</version>
</dependency>
The library maintains full backward compatibility with v0.0.1 - your existing configuration and deployments will continue to work without modification. Just update the version number in your pom.xml file.
Quick Start Example Projects
Get hands-on experience with these companion projects:
- crossfiresync-firestore - Cloud Function example for Firestore-triggered replication
- crossfiresync-pubsub - Cloud Function example for Pub/Sub-triggered replication
Stay Connected
CrossfireSync is available on Maven Central with full API documentation at javadoc.io. For questions or contributions, visit the GitHub repository.
Transparency Note: This release announcement was AI-generated using the unsloth/Qwen3.5-122B-A10B-GGUF:Q4_K_M model. It was generated on behalf of the UnitVectorY-Labs organization for the crossfiresync v0.0.2 release (June 27, 2024). Author: release-storyteller