{"version":"2.1.280","anchor":"first-upload-hook-added-to-a-syncsession-config-path","canonical_anchor":"first-upload-hook-added-to-a-syncsession-config-path","heading":"First-upload hook added to a sync\/session config path","tier":"internal","area":"Session Sync","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/first-upload-hook-added-to-a-syncsession-config-path","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### First-upload hook added to a sync\/session config path\n\nSession sync config gains a firstUpload hook for initial uploads\n\n**Unclear.** The finding does not say what the firstUpload handler actually does.\n\n**What**\n\nThe configuration object used when syncing or attaching a session, which already includes things like credentials, `allowBundle`, and `seedDirSync`, now also has a `firstUpload` field pointing to a named handler.\n\n**Why**\n\nThis gives the sync process a dedicated hook to run specifically on the first upload of a session, separate from later uploads.\n\n- Area: Session Sync\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}