- Stitch >
- Release Notes
MongoDB Stitch Release Notes¶
Releases
January, 2020¶
- GraphQL (Beta)
- You can now expose data stored in a linked MongoDB cluster through the GraphQL API. Stitch automatically generates GraphQL types based on collection schemas and enforces rules on every request.
- Stitch CLI
- You can now use the replace by name import strategy when you import a Stitch application through the CLI.
December, 2019¶
- Functions
- Functions now have a maximum runtime of 90s, increased from 60s.
- Stitch will now run multiple external requests in parallel.
- Authentication
- You may now use a remote JWK URI to configure signing keys for the Custom JWT authentication provider.
- Dependency Resolution (Beta)
- Stitch now allows you to upload dependencies from
npm
to use in your functions. For a list of supported built-in Node modules, see Function Constraints.
- Stitch now allows you to upload dependencies from
November, 2019¶
- Document Schemas
- Stitch can now sample existing documents in a collection to automatically generate a new schema for the collection.
- You can now validate a sample of documents in a collection against the collection schema.
- For more information, see Enforce a Document Schema.
- Custom User Data
- You can associate custom data in a MongoDB collection with your application users and expose that data through user context in Stitch functions and rules.
- Custom Function Authentication Provider
- Stitch now offers the Custom Function authentication provider which allows you to define your own user authentication logic inside of a Stitch Function.
October, 2019¶
- User Management
- You can now see a list of unconfirmed email/password users in the Stitch UI.
September, 2019¶
- Query Filters
- MongoDB query filters now allow you to specify a projection in addition to the filter query.
- Email/Password Authentication
- The email/password authentication provider can now automatically confirm new users when they register instead of requiring them to follow a confirmation link.
- Services
- The AWS Service now supports Comprehend and Textract.
August, 2019¶
- Rules Usability
- Changes to the Rules UX and Stitch Logs designed to make it simpler to create more performant rules and understand the impact of Rules to your requests.
- Performance metrics and write/validation failures now available in Stitch Logs.
- Warnings for overly permissive Rules in the Stitch UI.
- Additional context.request information available in Functions/Rules.
- Improved surfacing of errors when working with Stitch Rules.
- Stitch Functions
- Extensions to Stitch Functions and Webhooks designed to make writing Stitch Function more intuitive and simplify API creation.
- Remote IP address from request available in Stitch Logs.
- Can Evaluate added to Incoming Webhooks.
- Atlas Triggers
- Improvements identified by user testing.
July, 2019¶
- Stitch Static Hosting GA
- Improvements to Static Hosting’s experience, stability, and ability to customize, readying it for GA.
- Streamlined configuration for single page applications.
- Folder upload via UI.
- Atlas Triggers
- Integration of Stitch Triggers directly into the Atlas UI, making it easy for Atlas customers to write code which reacts to changes within their instance or create regularly running workloads without the overhead of creating a Stitch application.
- Collection-level
watch()
- Extended the capabilities of watch() within the Stitch SDKs to enable watching a collection as a whole (or a filtered view of a collection via
$match
).
- Extended the capabilities of watch() within the Stitch SDKs to enable watching a collection as a whole (or a filtered view of a collection via
- CLI Support for Programmatic API Keys
- Added support for Atlas’ programmatic API keys within the Stitch CLI.
- Code Deployment
- Broad improvements to how code is written and deployed within Stitch, making it simpler and safer to write production code.
- Allow users to draft/test changes made across their Stitch App via the UI before making a single, atomic deploy.
- Enables Stitch to link applications to GitHub repositories with Automatic Deployment whenever there is a change in the corresponding repository.
- Improving Stitch Functions
- Extensions to Stitch Functions and Webhooks designed to make writing Stitch Function more intuitive and simplify API creation.
- Support for digest authentication in Stitch’s HTTP Service.
- Incoming webhooks can now accept multiple HTTP verbs.
- Find/Replace enabled within Stitch text editors.
- Expanded support for AES/RSA in Functions (crypto.util).
- The region in which functions run now available via Logs.
- Improving Stitch Authentication
- Features targeted at Stitch’s authentication methods making it easier to get started, customize, and integrate Stitch authentication.
- Ability to configure provider rotated keys for Custom authentication.
- Metadata from JWT is now refreshed upon user login.
- Enabled automatic confirmation of email/password users.
- Reformatted user confirmation/password for email/password authentication.
- Stitch Alerting
- Stitch now sends email alerts to notify users when critical events take place within their application. To start, we now provide alerts when a Stitch Trigger fails or when a user’s URL for Hosting is confirmed.
April, 2019¶
- Automatic Sync Versioning
- A major improvement to Stitch Mobile Sync - automatic versioning streamlines how applications listen to changes and simplifies the code developers need to write for their applications to listen to changes.
- Stitch Secrets
- Stitch Secrets provide a new method to configure sensitive details (such as API Keys or service credentials) within Stitch making the process simpler and more secure.
March, 2019¶
- Read Preference
- Enables users to set the read preference for any cluster linked to a Stitch application.
- HTTP Utility
- A new HTTP utility for use within Stitch Functions, allowing outgoing HTTP calls without setting up an HTTP service.
- Scheduled Triggers
- A long-awaited improvement allowing developers to schedule a Trigger to fire on a regular cadence using CRON syntax.
February, 2019¶
- General Improvements
- Added a Last Modified column in Stitch.
- Made defined namespaces available in Rules/Triggers.
- Defined alternative aud field for Custom Auth.
- Raised the maximum documents returned to 50,000.
- Mobile Sync Performance Improvements
- Addressed bottlenecks when initially syncing large numbers of documents to enable higher numbers of documents to be synced and improve overall performance.
- findOneAnd<action> Support
- Support for
findOneAnd[Update, Replace, Delete]
within Stitch Functions and the JS SDK. Addditional SDK support is planned.
- Support for
- Multi-user Support in Stitch SDKs
- Introduced controls to allow multiple users to log into, switch profiles, and sync data within the same mobile or web application.
- System Stitch Functions (expanded MDB access)
- Stitch Functions can now be marked to run as a “System User” enabling these functions to bypass Stitch Rules. When a function is run as a System User it will have access to all CRUD/Aggregation commands. This includes commands disallowed when Rules are in place, such as
$lookup
,$facet
,$text
, and$geoNear
.
- Stitch Functions can now be marked to run as a “System User” enabling these functions to bypass Stitch Rules. When a function is run as a System User it will have access to all CRUD/Aggregation commands. This includes commands disallowed when Rules are in place, such as
January, 2019¶
- iOS Sync in Public Beta
- Stitch’s Swift SDK now allows applications to seamlessly sync data, operate offline, and intelligently resolve conflicts. More details here.
- watch() Support
- Stitch’s JS, Android, and iOS SDKs now support watch() - making it simple for users to build applications that update in realtime.
- Stitch Usability
- In Function Editor,
Cmd
(OSX) orCtrl
+ Enter runs debug console. - Improvements to Webhooks UX.
- Redirect to previous page when log-in is required.
- Improvements to Username/Password UX.
- Delete Anonymous Users after 90 Days.
- In Function Editor,
December, 2018¶
- Static Hosting (Beta)
- Stitch now allows you to host static assets alongside the rest of your Stitch application, making it simple to build an end-to-end website using only Stitch and Atlas. More details here.
- Multi-Region Stitch Applications (Part 2)
- You now have a choice of deploying your Stitch application to a single AWS region (US East, US West 2, EU West, or APAC Southeast) or having it distributed across all available regions. Any existing application can change its region via a request to Cloud Support. More details here.
- Unordered Database Triggers
- A major point of feedback from customers around Database Triggers is that they were slow on executing for batch jobs (where Trigger execution order didn’t matter). For this, we’ve released the option to turn off ordering for Database Triggers, allowing a significant improvement in processing time when order is not required.
Note
There is still a 50/s Trigger execution limit.
November, 2018¶
- Stitch Mobile Sync (Beta - Android)
- Now in public beta, Stitch’s Android SDK allows applications to seamlessly sync data, operate offline, and intelligently resolve conflicts. Support for iOS and
watch()
in JavaScript is upcoming. More details here.
- Now in public beta, Stitch’s Android SDK allows applications to seamlessly sync data, operate offline, and intelligently resolve conflicts. Support for iOS and
- Support for Multiple Clusters
- Stitch now supports linking to multiple Atlas clusters within a project, allowing applications to combine data from multiple clusters in a single request or use Stitch Triggers to propagate information from one cluster to another. More details here.
- Multi-Region Stitch Applications (Part 1)
- Stitch now supports 4 AWS regions (US East, US West, Dublin, and Sydney) and automatically distributes applications across them - ensuring that requests execute optimally for end users. More details here.
September, 2018¶
- Wire Protocol Support
- You can now connect to Stitch over the ref:wire protocol <wire-protocol-usage-connect-to-stitch>.
- More Flexible Authentication
- Targeted at supporting configuration with popular authentication/IDaaS systems such as Cognito, AAD, and Okta, these improvements added support for RS256 encryption and more flexible metadata mapping when using Stitch’s Custom Authentication.
- Improved Browser Support
- Addressed issues for UI support on Microsoft Edge and Internet Explorer.
August, 2018¶
- Webhooks
- You can now set a webhook to not require validation.
- User Interface
- You can now save your edits in the Stitch function editor by using your system’s save hotkeys (
CMD + S
orCTRL + S
). - Tables that list Triggers, Functions, Services, and Logs can now be sorted.
- When editing a Stitch Value the window will now expand more than previously.
- You can now save your edits in the Stitch function editor by using your system’s save hotkeys (
July, 2018¶
- Services
Released the AWS Service.
The Generic AWS Service allows you to connect to most AWS services through Stitch. Check out the AWS Service docs for a full list of supported services as well as details on configuring and using the service. .. note:
With the release of the AWS Service, the existing AWS services (:doc:`S3 </services/amazon-s3>` and :doc:`SES </services/amazon-ses>`) are officially deprecated.
- Functions
- Added the utils.crypto utility in Stitch functions, supporting SHA256, SHA1, and MD5.
- Client SDKs
- Released the new React Native Client SDK.
- CLI
- You can now use npm to install
stitch-cli
.
- You can now use npm to install
- Logs
- Unhandled promise rejections will now appear in Stitch Logs.
June, 2018¶
- Mobile
Released MongoDB Mobile into Beta.
In mobile apps, you can now store data locally using idiomatic MongoDB Query Language syntax. MongoDB Mobile is optimized to run on mobile devices and is integrated with the Android and iOS SDKs. Check out the MongoDB Mobile docs for more information.
- MongoDB
MongoDB Rules are now more expressive and easier to configure.
Updates include:
- A new, unified user interface for configuring rules across all of your MongoDB databases and collections.
- Document-level Roles and Permissions.
- Support for document schema validation with JSON Schema.
- Support for editing the raw JSON configuration for your rules.
- CLI
- You can now export a Stitch app configuration as a template that is stripped of app-specific IDs and values.
- Triggers
Released serverless database triggers.
You can now run functions automatically in response to changes in your MongoDB collections. Check out the Triggers docs for details on configuring and using triggers in your application.