NEW Firebase Features Just Dropped

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • Firebase just announced a bunch of big new features like SSR hosting for Next.js, aggregation queries for Firestore, an extensions marketplace, and more in at Firebase Summit 2022.
    Become a PRO member at fireship.io/pro to see these features in action.

Комментарии • 185

  • @jjaaccekk
    @jjaaccekk Год назад +633

    am I the only one who thinks that Jeff has taught a text to speech model his voice and he has been using that in his videos for some time?

    • @ricko13
      @ricko13 Год назад +12

      Lol kinda

    • @Formula7Driver
      @Formula7Driver Год назад +2

      taught*

    • @AdityaTripathi
      @AdityaTripathi Год назад +3

      Of course, I thought we all know this already

    • @Kirshach
      @Kirshach Год назад +12

      True, I no longer hear kids in the background

    • @Adomas_B
      @Adomas_B Год назад +4

      15% chance

  • @shadown1992010
    @shadown1992010 Год назад +24

    During #AskFirebase they said that COUNT() would cost one read per 1000 documents!

  • @sidforreal
    @sidforreal Год назад +40

    Omg I remember 4 year ago creating a project and could find any simple way to count documents. Can’t believe they took so long for this 😅

  • @shep9194
    @shep9194 Год назад +39

    The collection size is awesome, firestore finally learned how to count

  • @user-rg1jp2us4o
    @user-rg1jp2us4o Год назад +11

    I'm a bit disappointed they still didn't add search. Google, the search engine company, is yet to add search to firebase.
    I do see potential with extensions though, maybe the people could provide what google seemingly can't.

    • @John-qt6qk
      @John-qt6qk Год назад

      And they won't son, You betta go to MongoDB I just did

  • @ricko13
    @ricko13 Год назад +5

    Ok but still no default full text search without extensions...

  • @wlockuz4467
    @wlockuz4467 Год назад +7

    Note: Firebase functions are not included in the free plan anymore, you still get 2 million function invocations for free but you have to upgrade to their pay as you go plan. You can't set a limit on the number of invocations, you can only set notifications for a certain $ budget.
    So if you wrote some bad code, your card might rack up some serious charges.
    One such example is having a firestore trigger on a document update, but this trigger modifies the document again. This type of pattern will cause an infinite chain of function invocations.

  • @YuriG03042
    @YuriG03042 Год назад +10

    Counting documents is literally the biggest reason why i use MongoDB over Firebase on my projects. Implementing pagination without knowing your document count is hell and I've implemented several ways to circumvent it (even writing to a JSON file every time a document is deleted/created!). This certainly levels the playing field now.
    Hopefully the aggregation queries also allow us to chain filtering, because that's also something that MongoDB does better.

  • @desirechiduku964
    @desirechiduku964 Год назад +2

    😅quick question how do you manage 2 Accounts + a school?

  • @BaldeepSingh24
    @BaldeepSingh24 Год назад +8

    When i used Firebase for a project, i found it to be so easy and cool. Like real time updates, authentication and so much more that i wondered why someone would write a backend for a small application but then i found that it couldn't even count ffs. Atleast that is no longer an issue.

    • @alb12345672
      @alb12345672 Год назад +2

      Could get extremely expensive too. We replaced it with Postgres and websockets. Some things it just couldn't do for us.

  • @AbdullahAbdullah-je4uw
    @AbdullahAbdullah-je4uw Год назад +1

    still no support for any other language except for JS for firebase functions.

  • @yoshcode
    @yoshcode Год назад +7

    This is cool but what I really want from firebase is just better performance. The bundle size is too big and should be even more modular. It adds too much overhead to your Lighthouse performance scores, even when you are using the latest versions of firebase/firestore

    • @beyondfireship
      @beyondfireship  Год назад +19

      I'm using Firebase on fireship.io and have a smaller bundle than hello world react. The key is to split firestore from the bundle if possible

    • @hi9313
      @hi9313 Год назад +1

      You can lazy loan both firestore and firebase. It's a pain still tho that they have not got the bundle size down over the years. I tried different solutions, and deferring both with lazyloader is the key to getting perfect lighthouse scores. Using nextjs to build static means I can get homepage loading instantly, and then by the time user navigate to another page firestore is up.

  • @rafaelzasas9421
    @rafaelzasas9421 Год назад +2

    Support for SSG and SSR hosting channels is also on the way. Stay tuuuned

  • @gducrash
    @gducrash Год назад +3

    This is one of the bases of all time!!!1

  • @flonmackenzie2876
    @flonmackenzie2876 Год назад +2

    OMG the hours I have spent writing and testing count functions. Finally!!!

  • @dreamerslab
    @dreamerslab Год назад +1

    search is still missing.... I thought they were gonna add it.

  • @ajfalo-fi3721
    @ajfalo-fi3721 Год назад +1

    But are those features available on the free tier?

  • @anweshandev
    @anweshandev Год назад +2

    As soon as I joined the firebase summit, I knew Jeff's new video 😄

  • @elijahstorm9740
    @elijahstorm9740 Год назад +4

    Literally so awesome! These features have been something I wanted for so long!!!

  • @JeanDidier
    @JeanDidier Год назад +3

    Support for Next is huge addition

  • @user-jchjkitv77896
    @user-jchjkitv77896 Год назад +2

    Wow this is the update I have been waiting for

  • @karuppusamy.d
    @karuppusamy.d Год назад +1

    Please make a video about how to host the next.js app on firebase with advantages and disadvantages of both

  • @shortkeys73
    @shortkeys73 Год назад +1

    Go to 1:14:00 of the Summit, I asked the exact question about the cost of aggregation queries. They said you get charged 1 read per 1000 documents counted.

  • @RoystonMalcomber
    @RoystonMalcomber Год назад +1

    COUNT! COUNT! COUNNNNNNNNNNTT!!!!
    There's something really wrong, when in 2022, I'm excited about a document store offering count functionality.

  • @toastrecon
    @toastrecon Год назад +3

    Very cool! Looking forward to the new courses.

  • @itssidhere
    @itssidhere Год назад +3

    The main problem in my opinion about ttl is you need an explicit timestamp for the expiration date. When you use server timestamp you can't really add a duration on FieldValue, you have to rewrite the expiration date Incase you use FieldValue. It would be great if they gave an option to specify a timestamp and a duration, so that we don't have to add a separate timestamp

  • @lucasgiunta8874
    @lucasgiunta8874 Год назад +9

    Do you think the SSR hosting will be possible with Astro SSR as well ? Or it is only specific to next and angular ssr ? Like to access to the users from the astro props and share sessions you showed would be amazing.

    • @loic8939
      @loic8939 Год назад

      i bet there will be an option to configure the deployment steps individually, don't you think?

    • @charlesm.2604
      @charlesm.2604 Год назад

      Firestore has always had modern approaches so it wouldn't surprise me if all of this deployment stuff would be tightly integrated with the CD pipeline tools you're using.

    • @JamesDaniels0
      @JamesDaniels0 Год назад +1

      Astro will likely be leaning on the Vite integration in the mid-term, given their (and our) roadmaps. We're closely watching what Vite's abstractions over SSR will be, once a clear pattern emerges we'll jump on it.

    • @charlesm.2604
      @charlesm.2604 Год назад

      @@JamesDaniels0 Well wasn't Vite created after the former project that the Astro team was working on ?
      I'm pretty sure Vite started out as a continuation of Astro team's build tool for which the development got abandoned.

    • @JamesDaniels0
      @JamesDaniels0 Год назад

      @@charlesm.2604 not sure on the history there. I’ve not followed it as closely as I should, historically speaking. I’ve been very busy on the Firebase side working on the tooling by which we can ship the integrations.
      Vite certainly seems to be taking the ecosystem by storm & making our lives easier.
      Since we’ve added first class support, any framework that uses Vite should “just work” on Firebase-even if it’s not explicitly called out.

  • @tntg5
    @tntg5 Год назад

    I can finally get rid of some machinery I have put in place that increment/decrement a value for each collection when I create or delete data.
    The question is, will we be able to query a collectiom with ordering and pagination? Like get from XXX, order by ZZZ desc, page 0, limit 100 ?

  • @volmitsoftware7986
    @volmitsoftware7986 Год назад +17

    Blocking as in a non-blocking event.
    The blocking function has nothing to do with rejecting signups, it has to do with (blocking) the "process" of signing up to run your function before the user is fully created instead of listening on event which would happen AFTER the user signs up. This essentially allows you to ensure all docs are created before the user finishes signing up.

    • @benaloney
      @benaloney Год назад

      Pretty sure this is incorrect ^
      They're described as running synchronously during the signup flow, and if you throw a specific error, it will block the signup, thus rejecting...

    • @lizerd
      @lizerd Год назад +2

      @@benaloney They’re talking about reasoning behind its name, not what it can also do by design. Synchronous call = Blocking.

  • @rea9lizer
    @rea9lizer Год назад

    BTW now I hope Google fixes GCP web interface, it's unacceptably lagging..

  • @fourlokouva
    @fourlokouva Год назад

    jam packed with info!!! the only channel I actually slow down to 0.75x

  • @TechySpeaking
    @TechySpeaking Год назад +1

    First

  • @cryptophrenik8968
    @cryptophrenik8968 Год назад

    I heard he coded a custom AI version of himself and flew to the Mars habitat he had remote AI powered robots building these last 6 months. He is sippin on top shelf margaritas in his BioDome reading our comments and chuckling to himself I suspect.

  • @mulwelimushiana8388
    @mulwelimushiana8388 Год назад

    I'm disappointed that they didn't include full database search 😓

  • @Tonaldo90
    @Tonaldo90 Год назад

    This even fortifies my earlier thought that this channel is just disguised Firebase ad channel

  • @ourtrishan8884
    @ourtrishan8884 Год назад +1

    Love from Kolkata, India. You are awesome Jeff! ❤️❤️❤️

  • @breezycodes
    @breezycodes Год назад

    No full text search for firestore? *Walks away again*

  • @chinmayghule8272
    @chinmayghule8272 Год назад +1

    I didn't understand most of it but all this sounds pretty cool. 👍

  • @KartikTech2020
    @KartikTech2020 Год назад

    i have an application built using nextjs but, i can't get currentUser on server side, in firebase docs i cant understand how to get res.locals

  • @hyderoxxx
    @hyderoxxx Год назад +2

    Finally I can get rid of my "counters" collection 😱

  • @nikolazivkovic5707
    @nikolazivkovic5707 Год назад

    i really apreciate your help with dowloanding this software

  • @Ca-rp7bv
    @Ca-rp7bv Год назад

    I'm waiting the next firebase update in 2028

  • @azatecas
    @azatecas Год назад +1

    firebase released all this because pocketbase had that cool eye automation

  • @weho_brian
    @weho_brian Год назад

    anything that sounds or looks cool will kost me money!!!!

  • @manunowo214
    @manunowo214 Год назад

    Just simply put the code, it works! thanks!

  • @Vivek2062
    @Vivek2062 Год назад +6

    I am disappointed Firebase, I thought this might change the game in implementing real-time search without using paid service third party integration like Algolia, I know this is a major drawback from Firebase from the very start, it would be much better if they would've provided some solution on searching for content from client side in Firestore since everyone wants to search for some content in the top bar of a website if user is willing to stay on your web app.

    • @kaedenmurphy9937
      @kaedenmurphy9937 Год назад +1

      Funny thing, at 3:03 it shows an extension called Meilisearch which is a direct competitor to Algolia (and open source!) It’s worked really well for me in the past, you should try it out

    • @Vivek2062
      @Vivek2062 Год назад +1

      @@kaedenmurphy9937 I know, the thing is that this is a core feature for every website and just because of this drawback business decisions changes if your user base relies heavily on searching for something, what I’m saying is that this should not be an extension, it should be a core feature wrapped up tightly in a function!

    • @adxxtya
      @adxxtya Год назад

      @@Vivek2062 the extensions will be open source and thus a lot of good programmers can contribute to a good search extension which will eventually be used by everyone like many of the vs code extensions

    • @Vivek2062
      @Vivek2062 Год назад

      @@adxxtya could be true, however, in other databases this is a core feature and doesn’t require any extensions, yes the end goal could be accomplished, but having a look at firebase’s reputation and popularity, this should be a core feature and not an extension!

    • @kaedenmurphy9937
      @kaedenmurphy9937 Год назад +1

      @@Vivek2062 oh yeah, that's a fair point

  • @xylvnking
    @xylvnking Год назад +7

    As a new dev with no budget i just desperately want to be able to set a spending limit. I know there's ways to handle it, but it's all a lot more difficult than it is to get going so makes deploying any real app a potential disaster and raises the complexity floor by a lot. I would literally just not be able to pay a large bill, so I can't take the risk that google would forgive it.

    • @TheMitchingHour
      @TheMitchingHour Год назад +3

      I totally agree. I'd be happy to pay if I could set a limit, but without a safety net I just don't have the confidence that something won't go wrong.

    • @charlesm.2604
      @charlesm.2604 Год назад

      Self host open sourced alternatives

    • @xylvnking
      @xylvnking Год назад

      @@charlesm.2604 Yeah I've been looking at supabase. It's just a bummer because my needs are so simple and I have them all covered already with firebase, except being able to set that limit.

    • @xylvnking
      @xylvnking Год назад

      @@charlesm.2604 Yeah I started asking myself the same thing. I use next which satisfied the api needs I have, and I've actually been using the Notion api recently since I already use the software a lot and have the unlimited plan. For my needs it honestly might be enough haha. I used cloudinary for a project recently too and it was great.

    • @charlesm.2604
      @charlesm.2604 Год назад +1

      @@xylvnking I wasn't aware of the existence of Notion it seemed like a complete collaboration tool. I'll ask my team to look into it and potentially integrate it in our pipeline.
      If you're learning I'd still suggest you to mess around with back-end stuff. Just doing side silly projects like a local file streaming server, some (web)socket-involved software (chat, notification system, collaboration editing, etc...) or even just a simple social media mock-up.
      It's gonna help you a whole lot later on. :)

  • @thomas6502
    @thomas6502 Год назад

    (One of my favorite walled gardens.)

  • @nonstopper
    @nonstopper Год назад

    Youre saying we get to finally leave Vercel. Thank god

  • @_vicary
    @_vicary Год назад

    Finally a count? I feel lucky for leaving it alone all these years.

  • @dongums
    @dongums Год назад

    wow I just ask him in Twitter about this yesterday

  • @andreschubert4400
    @andreschubert4400 Год назад +2

    Thought about using supabase for my next project but these changes are awesome! So I might stick with firebase 🎉

    • @charlesm.2604
      @charlesm.2604 Год назад +1

      Document collection count is billed 1 read by 1000 documents.
      Self host supabase.

    • @poolkrooni
      @poolkrooni Год назад

      @@charlesm.2604 Self-hosting supabase is pretty limited compared to the service offering :/

  • @shamaldesilva9533
    @shamaldesilva9533 Год назад +1

    Still no full text search 😖😖😪

  • @ludologian
    @ludologian Год назад

    And I will see you in the nex ....
    Going fast

  • @Peter911
    @Peter911 Год назад

    Nothing about searching and indexing 😢

  • @DanielTames
    @DanielTames Год назад +1

    Amazing!!
    each time getting better and better

  • @Karaku5
    @Karaku5 Год назад +2

    SSR will also work with nuxt?

    • @JulienReszka
      @JulienReszka Год назад

      I want to know too

    • @JamesDaniels0
      @JamesDaniels0 Год назад

      Yes, Nuxt is a work in progress! We should be ready to deploy your apps soon

  • @TheHasanJr
    @TheHasanJr Год назад

    Vercel may go bankrupt!

  • @codediporpal
    @codediporpal Год назад

    LOL, quickly getting a count of the number of object in a collection???? It's like we're finally reinventing basic tech from 40 years ago! But hey, at least we get to deal with 20 configuration files! Progress!!!

    • @thienhuynh7962
      @thienhuynh7962 Год назад

      To get a count in firebase requires you to iterate through the entire collection, which means 1 read per doc and it gets very expensive. Firebase’s solution is to reduce the read 1000 times less but still get the actual count of all docs in the collection if you use the count prop.

  • @jurgel
    @jurgel Год назад

    sum() function please.

  • @MysterCannabis
    @MysterCannabis Год назад

    Will you update the course?

  • @PubuduDodangoda
    @PubuduDodangoda Год назад

    for for for 🤣
    Asking for for forever

  • @weho_brian
    @weho_brian Год назад

    wait, people still use firebase?

  • @achalxyz
    @achalxyz Год назад

    Firebase Summit 2023: We'll be shutting down Firebase within a month.

  • @yogenp
    @yogenp Год назад

    Finally, can deploy NextJS apps to firebase hosting.

  • @stockiten3369
    @stockiten3369 Год назад

    I can't believe how much time I invested in writing my pagination logic because the query does not have a count method to get the query length in total! FINALLYYYYYY!! data.count() has been implemented!
    thank you jeff for the amazing video
    thanks firebase for the hard work

  • @danvilela
    @danvilela Год назад

    Awesome news! Now.. if they dont mess with my firebase menu collapsing it automatically I would be really grateful!

  • @Arthur_Morgan_007
    @Arthur_Morgan_007 Год назад

    I don't know why but my app just stopped loading just 18 hours after its first deployment. I was in a free tier.

  • @xDMrGarrison
    @xDMrGarrison Год назад

    I couldn't care less about whatever the hell Firebase is, but you are hilarious so I'm just gonna watch the video.

  • @drtron1507
    @drtron1507 Год назад

    Great compilation!

  • @neociber24
    @neociber24 Год назад

    Great content,
    But I'm curious about how is this channel different from fireship, because this video could be a "the code report"

  • @dinoscheidt
    @dinoscheidt Год назад

    Has firebase GraphQL now? Dropped it for that reason four years ago

    • @attesilen4893
      @attesilen4893 Год назад

      What do you mean by asking if _Firebase_ has GraphQL? Nothing is stopping you for using GraphQL in a cloud function.

  • @monkaSisLife
    @monkaSisLife Год назад

    I love all these Tools but unfortunately you can use pretty much none of them because of EU-GDPR

  • @wenxuanchen4694
    @wenxuanchen4694 Год назад

    Actually huge update

  • @adolfjamesurian6510
    @adolfjamesurian6510 Год назад

    Is firebase hosting + nextjs with ssr free? Since it needs to run server side code will it cost price?

    • @JamesDaniels0
      @JamesDaniels0 Год назад

      If you deploy with SSR or any other features that require a backend (e.g, Image Optimization), your project will need a payment method and will cost you money once you exceed the free tier of 2 million req/month.

  • @BlaQsheeeP
    @BlaQsheeeP Год назад

    "Laughs in Django"

  • @core-hacked
    @core-hacked Год назад

    0:44 there is a typo: NEXT IMAGE *OPTIMZATION*

  • @greendsnow
    @greendsnow Год назад

    still too expensive

  • @WilliamWelsh
    @WilliamWelsh Год назад

    Crazy that it took this long to be able to just import or export data, but also crazy that we have to go into the ugly Cloud UI app outside of Firebase

  • @АркадийГайдаржи

    Why are you the only one on RUclips how scale code editor enough for conveniently reading code on iPhone 7 screen?

  • @rubenheymans1988
    @rubenheymans1988 Год назад

    public extensions is huge ! nice updates however no full text search too bad

  • @potsuaye69
    @potsuaye69 Год назад

    from the start of watching fireship to now i always thought firebase was a site Jeff owned but turns out its not

  • @sanesanyo
    @sanesanyo Год назад +1

    When deploying the NextJS app on Firebase with this new hosting, do API routes get deployed as well? I am not sure about it but just wondering. I have a NextJS app which I have deployed using Cloudrun but using all other firebase functionalities so it would be awesome if I can also deploy the whole thing using Firebase hosting.

    • @misterbelgic
      @misterbelgic Год назад

      Same Q here. Did you find an answer? I tried hosting but if it deployed the API routes as well, I'm not sure how to access them..

    • @sanesanyo
      @sanesanyo Год назад

      @@misterbelgic Nope i haven't. Did you see if it deployed those API routes as cloud functions? Could you access the API routes from your components? If not then I guess they are not deployed. My sense is that you have to deploy the API routes as cloud functions yourself and hosting bit in this case is more server side rendering of static pages. I am going to explore it more in future ans will let you know as soon as I figure it out

    • @JamesDaniels0
      @JamesDaniels0 Год назад +1

      API routes will be deployed alongside the static content in a Cloud Function ;) Happy coding!

    • @misterbelgic
      @misterbelgic Год назад

      @@sanesanyo I only see one cloud function which is the ssr one that's automatically generated

    • @sanesanyo
      @sanesanyo Год назад

      @@JamesDaniels0 Thanks

  • @josemurillorios
    @josemurillorios Год назад

    I wonder if some of these features will be available in their REST API

  • @kollpotato
    @kollpotato Год назад +1

    Potato

  • @NinjaNuggets21
    @NinjaNuggets21 Год назад

    I’d really love a UI that looks like an excel sheet. Supabase seems to have this.

  • @maskman4821
    @maskman4821 Год назад

    Awesome 😍

  • @luichyluichy
    @luichyluichy Год назад +1

    Nice!

  • @temptrue3322
    @temptrue3322 Год назад

    all features are tightly coupled and price tiers on each one of them

  • @sohailyunusmogambo
    @sohailyunusmogambo Год назад

    HTMX

  • @cheveuxdelin_
    @cheveuxdelin_ Год назад

    hi

  • @DominikGiroux7
    @DominikGiroux7 Год назад

    Thank you so much! I hadn't had the time to watch the summit

  • @misterbelgic
    @misterbelgic Год назад

    If you create a pages/api route in Next.js, how do you access that same endpoint once it's hosted on firebase. Anyone know?

    • @JamesDaniels0
      @JamesDaniels0 Год назад

      you can just hit the /api/*** url, if the CDN cache is missed it will fall through automatically to a backing Cloud Function

    • @misterbelgic
      @misterbelgic Год назад

      @@JamesDaniels0 That's what I've been trying but doesn't seem to be working. I dunno if the root url is meant to be different maybe?

    • @JamesDaniels0
      @JamesDaniels0 Год назад

      @@misterbelgic file a bug on the firebase-tools repo, happy to look into it

  • @himbary
    @himbary Год назад

    Thanks for keeping us updated Jeff

  • @crl7598
    @crl7598 Год назад

    🔥🔥💦

  • @cmdv42
    @cmdv42 Год назад

    🙌💯✨

  • @youcefmoulla1828
    @youcefmoulla1828 Год назад +1

    And no FullText Search yet

    • @beyondfireship
      @beyondfireship  Год назад +3

      I don't think it ever will natively, but there are extensions for meillisearch, algolia, and typesense.

    • @youcefmoulla1828
      @youcefmoulla1828 Год назад

      @@beyondfireship You are right, the extensions market will change everything , thank you for reply ❤

    • @user-jchjkitv77896
      @user-jchjkitv77896 Год назад

      What about better filters like mongo db

  • @matt5g
    @matt5g Год назад

    So with the new doc count feature, I'm going to assume this will make reading a random document a lot easier, is that right or am I thinking about this wrong? Any thoughts are appreciated

    • @deneychuk1
      @deneychuk1 Год назад

      It will make knowing how many documents in query/collection much cheaper(about 1000 times cheaper than what it has been)

  • @lucaban
    @lucaban Год назад

    What about Nuxt?

    • @JamesDaniels0
      @JamesDaniels0 Год назад

      It's on the way! Nuxt3 RC broke a couple things on us in the lead up to Firebase Summit, so we put it on the back burner until the dust settled from the launch.

  • @agbaiiroha8014
    @agbaiiroha8014 Год назад

    Still no relational db tho lol