# PocketBase v0.9.0 — Release & Upgrade Intelligence
- **Product:** PocketBase (https://pocketbase.io)
- **Version:** v0.9.0
- **Released:** Dec 06, 2022
- **Impact Score:** 7/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/pocketbase/updates/v0.9.0/

## Executive Summary (TL;DR)
PocketBase v0.9.0. Source highlight: ⚠️ **As always, make sure to have a copy of your pb_data directory before upgrading.**

## Breaking Changes & Deprecations
- This is a minor breaking change if you are using `filesystem.Serve` (eg. as part of a custom `OnFileDownloadRequest` hook):
- - Changed the `mailer.Mailer` interface (**minor breaking if you are sending custom emails**):

## New Features
- Added the raw OAuth2 user data (`meta.rawUser`) and OAuth2 access token (`meta.accessToken`) to the auth response (#654).
- Added `Record.OriginalCopy()` method that returns a new `Record` copy populated with the initially loaded record data (useful if you want to compare old and new field values).
- Added new event hooks:
- Added support for `Partial/Range` file requests (#1125).
- Added new `Dao` helpers to make it easier fetching and updating the app settings from a migration:

## Bug Fixes
- Fixed concurrent multi-relation cascade update/delete (#1138).
- Other minor UI fixes and improvements
