17 August 2021

HIGHLIGHTS 🌟

Snippets ✂️ - Share API Endpoints with the Community

Have you ever created an API endpoint that you wish you could share with the Xano community? Now you can easily do so with Xano Snippets! Snippets allow you to easily publish and share API endpoints to other Xano users so they can re-use them on their own projects. Even if people don't have a Xano account, they are able to preview the snippet the API in a sandbox workspace!

You can browse Snippets created by the community, preview them in a sandbox workspace, or add them directly to your instance at xano.com/snippet. Want to learn more about Snippets and how they work? You can find the details here and watch the tutorial.

Search and Sort the Database 🔎

We've added the ability for you to search and sort your records from the spreadsheet view of database tables. This feature has been often requested and the initial version is finally here. Search allows you to input a search value, which shows records matching that value across all your fields. Sort allows you to sort your records based on a column - or multiple - in either ascending or descending order.

Response Caching ⚡️

Last month we released Data Caching functions powered by Redis. Now, you can enable Response Caching on your API endpoints and functions for ultra-performant data retrieval. Response Caching stores the response of your query on local memory making it immediately available for data retrieval. You can read more about in our documentation and watch the tutorial on YouTube. Response caching is available on our dedicated resource plans.

New Debugger 🕵️

Our debugger received a major upgrade! We've made it easier to see a clear breakdown of each step from inputs, to the function stack and the functions within them (including nested functions), and the response. You can easily expand a step to get a clearer picture than before of what inputs, variables, and the response resulted in.

NOTABLE NEW TUTORIALS ▶️

Snippets

Snippets allow you to easily share API endpoints or a collection of API endpoints with the Xano Community. In this tutorial see a quick overview of how to create a Snippet and install a Snippet to your Xano account.

Response Caching: Powered by Redis

Response Caching is an abstracted way to cache the response of your API endpoints and Custom Functions. It helps cover certain use cases that data caching functions can power but by stripping away some of the complexities. You will learn how to use Response Caching, its different settings, and use cases of when you might want to use the different settings.

Data Caching Functions: Powered by Redis

Data Caching functions give you advanced control over caching data, doing on the fly counters, and rate limiting. In this tutorial you will see an overview of what each function is and how you can leverage them in your backend while building your business logic.

UPDATED: Authenticating (Login) with Xano+Bubble

Check out this updated tutorial of how you can use Xano powered user authentication to have your users login with Bubble as your front-end. The original tutorial shows how to pass the authentication token through the URL as a parameter in Bubble. This updated version shows how you can use local storage in Bubble to pass the authentication token from page to page.

PRODUCT ENHANCEMENTS & FIXES 🛠️

FEATURES

  • [New] Clone a workspace - You can now clone an entire workspace. From the settings page of a workspace, click the menu icon in the top right corner and select clone workspace. Cloning your workspace clones all the schema and business logic - it does not clone your database records. Note: you must be on a plan with multiple workspaces to clone a workspace.

  • [New] Recent update detection - Many of our users work in multiple tabs. This has caused confusion when making an update in one tab but forgetting to update another tab before starting to work in it. We've added recent update detection to prompt you to refresh a tab if there was recently an update somewhere else in the same workspace.

  • [New] Calculate distance function - We added a new Utility Function called Calculate Distance. It takes in the longitude and latitude of two points and finds the distance between them.

  • [New] Improved saving on Conditionals, binds/joins, by custom query, While Loop, Precondition - We are actively looking for ways to improve the saving experience in Xano. We've added an auto-save-like feature for the expression statement of Conditionals, binds and joins, by custom query filtering, While Loop, and Preconditions.

  • [New] UI for Functions, Addons, Tasks, API groups, and API endpoints - We've given a cleaner look to Functions, Addons, and Tasks in an effort to make it easier to sift through them when you have many. Additionally, we've changed the UI for API Groups and have added insightful data to API endpoints so you can see how many inputs, functions, and responses are included in each one.

  • [New] Random sort with distinct - Support was added for doing random sort while detecting distinct values on the return of query all records function.

FILTERS

  • [New] XML_decode - We added a filter that will decode an XML object.

  • [New] Math filters - Several new math filters were added expanding the ease of math functionality in Xano: acos, acosh, asin, asinh, atan, atanh, deg2rad, pow, rad2deg, exp, sin, cos, and tan. Explanations can be seen when selecting a filter.

  • [New] Create_object - You can now create an object based on a list of keys and a list of values.

  • [New] Set_conditional - Sets a value at the path within the object and returns the updated object, if the conditional expression is true.

  • [New] sha512 filters - New cryptography filters for sha512 encyrption were added: hmac_sha512 - Returns a SHA512 signature representation of the value using a shared secret via the HMAC method. sha512 - Returns a SHA512 signature representation of the value.

FIXES

  • [Fix] Auto-complete settings for table references - There was a bug that prevented customization of what data should be displayed for table references.

  • [Fix] Indexes - An issue was fixed that prevented adding indexes to database tables.

  • [Fix] Delete all records - A bug was fixed where a deleted all records did not clear the cache and a browser refresh was required.

  • [Fix] Length filter - A bug was fixed where the length filter threw an error when used in by custom query filtering of the query all records function.

JOIN THE XANO COMMUNITY 🤝

COMMUNITY.XANO.COM

Don't forget to join the Xano Community to see the latest announcements, product updates, tutorials, get help on your Xano project, and so much more!