's Avatar

@discordphp.org

4
Followers
4
Following
10
Posts
15.11.2024
Joined
Posts Following

Latest posts by @discordphp.org

Preview
Release v10.3.0 · discord-php/DiscordPHP What's Changed Deafen and Undeafen members by @valzargaming in #1272 Collection enhancements by @valzargaming in #1277 Full Changelog: v10.2.2...v10.3.0

🎉 **DiscordPHP v10.3.0 Release!** 🎉
The `v10.3.0` tag is now live!

✨ New Methods:
- `shift`, `fill`, `slice`, `diff`, `intersect`, `walk`, `reduce`, `unique`, `values`.

🎤 Channel Updates:
- `deafenMember` & `undeafenMember`.

Check it out! 🚀
🔗 github.com/discord-php/...

18.01.2025 03:07 👍 2 🔁 1 💬 0 📌 0
Preview
Release v10.2.2 · discord-php/DiscordPHP What's Changed ✨ Add sort method to Collections by @valzargaming and @Log1x in #1276 ✨ Add slide, sort, map methods to Collections and Repositories by @valzargaming ✨ Add parameters to serialize f...

We’re excited to keep improving! Let us know what features or improvements you'd love to see next. Feedback is always welcome. 💬

👉 Full release notes here: github.com/discord-php/...

17.01.2025 03:31 👍 2 🔁 0 💬 0 📌 0
Post image

Want a practical example? Check this out:
Ever needed the last 10 people who joined your guild? Now you can do it in one clean expression:

17.01.2025 03:31 👍 0 🔁 0 💬 1 📌 0

We’ve also enhanced the serialize method for Collections! 🛠️
You can now pass parameters like JSON_PRETTY_PRINT to json_encode. Your debug outputs and file exports just got a glow-up! 🌟

17.01.2025 03:31 👍 0 🔁 0 💬 1 📌 0

The return type of these methods has been updated to use a new CollectionInterface type hint in the docs.
⚠️ Don’t worry, no code changes are needed on your end. It’s fully backwards compatible!
These improvements will be more significant in v11, so stay tuned. 👀

17.01.2025 03:31 👍 0 🔁 0 💬 1 📌 0

This release focuses on Collections and Repositories with 3 new methods:
✅ sort – Inspired by illuminate/collections. Sorts your data and returns a fresh Collection object.
✅ map – Mapping now works for Repositories too! Bug fixed.
✅ slice – Extract new Collections with ease!

17.01.2025 03:31 👍 0 🔁 0 💬 1 📌 0

🎉 DiscordPHP v10.2.2 Official Release! 🎉
DiscordPHP v10.2.2 is live! While Discord hasn’t released any exciting new features for us to build on, we’ve been hard at work improving the developer experience (DX). 🚀

17.01.2025 03:31 👍 0 🔁 0 💬 1 📌 0

DiscordPHP v10.1.1 has officially been released and is now available under the v10.1.1 tag. Versions ^10.1.0 will mandate the usage of React/Promise v3. Any bots that still require v2 should lock their composer.json to use v10.0.0.
#discord #reactphp #php #opensource #devtools

02.12.2024 14:54 👍 2 🔁 0 💬 0 📌 0
Preview
Release v3.0.0 · reactphp/promise A major new feature release, see release announcement. We'd like to emphasize that this component is production ready and battle-tested. We plan to support all long-term support (LTS) releases fo...

React/Promise v3 changes are now live for testing on dev-master. See github.com/reactphp/pro... for BC recommendations, such as replacing any existing instances of resolve() and reject() in your code to resolve($value) and reject(\Throwable $exception)
#Discord #ReactPHP #PHP #OpenSource #DevTools

20.11.2024 16:48 👍 2 🔁 0 💬 0 📌 0
Preview
DiscordPHP Community - Discord Servers DiscordPHP and wider PHP community server!

I'm excited to announce the official launch of the DiscordPHP library's latest version & our new website: discordphp.org!

Full docs & guides on github.discordphp.org
Join us for support: discord.gg/dphp

#DiscordPHP #OpenSource #DevTools

15.11.2024 19:51 👍 1 🔁 0 💬 0 📌 0