๐ Compatibility Dates
Miniflare uses compatibility dates to opt-into backwards-incompatible changes from a specific date. If one isn't set, it will default to some time far in the past.
const mf = new Miniflare({ compatibilityDate: "2021-11-12",});
Miniflare also lets you opt-in/out of specific changes using compatibility flags:
const mf = new Miniflare({ compatibilityFlags: [ "formdata_parser_supports_files", "durable_object_fetch_allows_relative_url", ],});
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark