npm blitz 0.27.0
v0.27.0

latest releases: 2.0.8, 2.0.7, 0.0.0-turbopack-20240403083540...
3 years 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

  • Docs: add jonstuebe as a contributor: #1553
  • Docs: add Khaledgarbaya as a contributor: #1576
  • Docs: add tundera as a contributor: #1577
  • Docs: add markylaing as a contributor: #1578
  • Add @ugogo as a contributor: 6bb5b04
  • Add @saintmalik as a contributor: e58dbf3

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.