brainCloud Product Updates logo
Back to Homepage Subscribe to Updates

Product Updates

See the latest features, improvements, and product updates

Labels

  • All Posts
  • release
  • Announcement
  • Improvement
  • Fix
  • blog

Jump to Month

  • March 2025
  • January 2025
  • November 2024
  • September 2024
  • May 2024
  • February 2024
  • November 2023
  • September 2023
  • July 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • July 2022
  • June 2022
  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • June 2021
  • May 2021
  • March 2021
  • November 2020
  • September 2020
  • July 2020
  • April 2020
  • February 2020
  • December 2019
  • November 2019
  • September 2019
  • June 2019
  • May 2019
  • February 2019
  • December 2018
  • October 2018
  • July 2018
  • March 2018
  • January 2018
  • December 2017
  • October 2017
  • July 2017
  • June 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • October 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • June 2014
  • May 2014
Changelog byAnnounceKit

Create yours, for free!

releaseAnnouncement
10 years ago

Cloud Code Love! (Release 2.4)

Just in time for Valentine’s Day – brainCloud 2.4!

In this release, we’ve greatly improved our Cloud Code system.  We’ve expanded upon what can be done, and improved our documentation on how to do it.  That said, Cloud Code is a big area, and it’s difficult to anticipate every possible usage of the system.  If you have questions, just hit the green Chat button and we’ll help!

Highlights

  • New Cloud Code Features!  We’ve greatly expanded our Cloud Code feature set.
    • API Hooks – cloud code scripts can now be configured to run automatically before or after (pre or post) core API methods
    • New Security – cloud code scripts must now be specifically enabled to be callable from the client – ensures that your most sensitive scripts are only invokable server-side (note – existing scripts default to client-callable)
    • Server-to-server (S2S) Scripts  – our new S2S feature allows you to call your scripts from custom servers and tools. Unlike client callable scripts, S2S scripts don’t require the context of an end-user session to run.
    • S2S Server configuration – to safeguard S2S scripts you must declare the servers that they will be called from.  Each server has it’s own secret, and you can even specify a set of ip ranges that will be used to validate requests.  The new S2S Config screen can be found in Design | Core Game Info | S2S Config.
    • S2S Explorer – Of course, you need to be able to test your S2S scripts – so we’ve added a new S2S Explorer for just that purpose.  You’ll find it at Design | Cloud Code | S2S Explorer.
    • Updated Clode Code documentation – cloud-callable APIs are now documented in the reference in the “CC” (i.e. “Cloud Code”) tabs of methods. We’ve also got more information on how scripts and the service bridges work.
  • Updated Javascript Library.  We’ve updated our Javascript library – you’ll find it on the Client Libs download page.
  • Updated C++ for Android Library.  Includes all the functionality present in the iOS C++ library. We’ve also upgraded our Cocos2d-x example project and tutorial to use it.  You’ll find the library in the Client Libs download page.
brainCloud S2S API
brainCloud S2S API

 

Portal Changes

  • (New) Ability to edit player [user] entities – now not only can you view player entities, you can actually edit them straight from the portal and save the updates.  Great for debugging and user support.
  • (New) Ability to edit global entities – like player entities, you can now edit and save global entities.  Note – we plan to further add the ability to create global entities from the editor in the future (think by end-of-March).
  • (New) Newly added players screen – super handy during development and testing – you’ll see it when you first select Player Monitoring.  We’ll be further adding new player search features in the next release.
  • (New) User Platforms – The Player Summary screen now shows what platforms a user has logged in from.
Window
Newly added players screen

 

API Changes

  • Javascript library now available for download
  • C++ for Android library now available for download
  • AuthenticateFacebook added to the brainCloud Wrapper class for Unity/C#
  • New client-callable permission is configurable for cloud scripts. By default (for best security), all new cloud scripts will have client-callable set to false.

Misc Fixes

  • Recent Logs screen now only selects Sys Error and App Error filters by default – App Warning and App Info messages are by default suppressed
  • Server version has been added to the detailed Stack Info page of Recent Logs.  Helps to diagnose if an error might be related to a specific release of the software.
  • Cloud Code APIs have now been documented
  • Supported Localization languages has been expanded to 32 – go to Design | Core Game Info | Localization for the full list.
  • All client libs (except Android) are now capturing region, timezone and language during authentication (useful for segments)