github blitz-js/blitz v0.27.0

latest releases: blitz@2.0.0-alpha.26, @blitzjs/rpc@2.0.0-alpha.26, @blitzjs/next@2.0.0-alpha.26...
17 months ago

💥 Breaking Changes

  • Change passport adapter to accept an array of objects with authenticate options for each strategy: #1564
    • This allows setting different authenticateOptions for each provider
export default passportAuth({
  successRedirectUrl: "/",
-  authenticateOptions: {scope: "openid email profile"},
  strategies: [
-    new TwitterStrategy(...)
+    {
+       strategy: new TwitterStrategy(...),
+       authenticateOptions: {scope: "openid email profile"}
+    }
  ]
})

🚀 Minor Changes

🐞 Patches

  • Fix module not found issues by moving isomorphic resolver imports behind experimental flag: #1574
  • Fix message in the blitz generate pages edit page: #1552
  • Fix blitz generate folder names to always be kebab-case: #1554
  • Fix broken blitz install: #1571
  • Upgrade next.js: 10.0.2 → 10.0.3: #1568

⚡️ Changes to the New App Template

  • Change useCurrentUser hook to not use useSession (fixes UX): #1563

👩‍🍳 Recipes

  • Update Emotion recipe to v11: #1559
  • Add Theme UI recipe (including MDX!): #1366

Internal Meta Changes

Credits

Huge thanks to @markylaing, @jonstuebe, @Khaledgarbaya, @wKovacs64, and @tundera for helping!

Don't miss a new blitz release

NewReleases is sending notifications on new releases.