Releases: mongodb/intellij
Releases · mongodb/intellij
v0.1.13
0.1.13 - 2025-09-17
Added
- INTELLIJ-223 Support for partial indexes on queries that depend on constant values.
- INTELLIJ-226 Consider sort direction specified in the user code when suggesting indexes.
- INTELLIJ-232 Consider selectivity of a field over cardinality when suggesting indexes.
- INTELLIJ-219 Implement index consolidation of a query and it's siblings.
- INTELLIJ-222 Implement the ESR guideline for index suggestions.
- INTELLIJ-221 Add a new setting for a soft maximum number of indexes per collection for index suggestions.
- INTELLIJ-230 Officially introduce support for Reactive Spring Data. Syntax was similar, so it was already partially working, now we have a fully-fledged test suite to ensure we don't break it.
- INTELLIJ-211 Introduce a new configurable plugin setting
sampleSizewhich dictates how many documents to be fetched and used for analysing a collection's schema. - INTELLIJ-199 Add support for parsing, inspecting and autocompleting in method call used for chaining a
Sortobject on top of a Criteria chain in Spring data MongoDB usingQuery.with()call. - INTELLIJ-197 Add support for generating shell syntax for $group stage and supported accumulators when running queries.
- INTELLIJ-198 New modal to provide default values when generating queries with unknown runtime expressions.
- INTELLIJ-175 Add support for parsing, inspecting and autocompleting in a group stage written using
Aggregation.groupand chainedGroupOperations usingsum,avg,first,last,max,min,pushandaddToSet. - INTELLIJ-196 Add support for $sort when generating the query into DataGrip.
- INTELLIJ-195 Add support for $unwind when generating the query into DataGrip.
- INTELLIJ-194 Add support for $addFields when generating the query into DataGrip.
- INTELLIJ-193 Add support for generating aggregates with $match and $project.
- INTELLIJ-189 Add support for generating update queries.
- INTELLIJ-177 Add support for parsing, inspecting and autocompleting in a addFields stage written using
Aggregation.addFieldsand chainedAddFieldsOperations usingaddFieldWithValue,addFieldWithValueOf,addField().withValue()andaddField().withValueOf(). Parsing boxed Java values is not supported yet. - INTELLIJ-174 Add support for parsing, inspecting and autocompleting in a sort stage written using
Aggregation.sortand chainedSortOperations usingand. All the overloads of creating aSortobject are supported. - INTELLIJ-188 Support for generating sort in the query generator.
- INTELLIJ-186 Support for parsing Sorts in the Java Driver.
- INTELLIJ-187 Use safe execution plans by default. Allow full execution
plans through a Plugin settings flag. - INTELLIJ-180 Telemetry when inspections are shown and resolved.
It can be disabled in the Plugin settings. - INTELLIJ-176 Add support for parsing, inspecting and autocompleting in an unwind stage written using
Aggregation.unwind. - INTELLIJ-173 Add support for parsing, inspecting and autocompleting in a project stage written using
Aggregation.matchand chainedProjectionOperationsusingandIncludeandandExclude. - INTELLIJ-172 Add support for parsing, inspecting and autocompleting in an aggregation written using Spring Data MongoDB (
MongoTemplate.aggregate,MongoTemplate.aggregateStream) and a match stage written usingAggregation.match. - INTELLIJ-179 Telemetry when Create Index intention is clicked.
It can be disabled in the Plugin settings. - INTELLIJ-178 Telemetry when the Run Query button is clicked.
It can be disabled in the Plugin settings. - INTELLIJ-153 Add support for parsing, linting and
autocompleting fields in Accumulators.topN and Accumulators.bottomN - INTELLIJ-104 Add support for Spring Criteria
in/nin operator, like inwhere(field).in(1, 2, 3) - INTELLIJ-61 Add support for Spring Criteria
not operator, like inwhere(field).not().is(value) - INTELLIJ-49 Add support for Spring Criteria
update operators. - INTELLIJ-44 Ability to load the Spring configuration from
the current project's application.yml - INTELLIJ-91: Ability to trigger autocompletion automatically for string constants
in a query. - INTELLIJ-73: Ability to run Java queries, both with the Java Driver and
Spring Criteria, in the Data Explorer console. - INTELLIJ-93: Inline warning when a query does not use an index and
a quick action to generate the index template. - INTELLIJ-74: Generate index template from code inspection in queries not
covered by an index. - INTELLIJ-70: Code action that allows running a Java query from within the code
on the current data source. - INTELLIJ-81: Inspections in code when a database or collection does not exist
in the current data source. - INTELLIJ-43: Extract the configured database from application.properties
in projects with Spring Boot. - INTELLIJ-51: Add an inline warning when querying a field that does not
exist in the target collection in a Spring Criteria project. - INTELLIJ-53: Add an inline warning when the type of the provided value
for a field in a filter / update query does not match the expected type of the field in a Spring Criteria project. - INTELLIJ-23: Add an inline warning when the type of the provided value
for a field in a filter / update query does not match the expected type of the field. - INTELLIJ-52: Support for autocomplete for collections specified with
@Documentand fields in Criteria chains. - INTELLIJ-24: Supports for autocompletion in database names, collections and fields on queries. Requires
a connection to a MongoDB cluster set up in the editor. - INTELLIJ-30: Add an inline warning when querying a field that does not exist in the target
collection. - INTELLIJ-29: Shows an inlay hint near a Java query that shows in which collection the query is
going to be run in case it could be inferred. - INTELLIJ-17: Added a toolbar that allows to attach a MongoDB data source to the current editor.
This data source is used for autocompletion and type checking. - INTELLIJ-14: Send telemetry when a connection to a MongoDB Cluster fails.
- INTELLIJ-13: Send telemetry when successfully connected to a MongoDB Cluster.
- INTELLIJ-12: Notify users about telemetry, and allow them to disable it.
- INTELLIJ-11: Flush pending analytics events before closing the IDE.
Fixed
- INTELLIJ-288: Add timezone indicator to sample date formatting in RunQueryModal
- INTELLIJ-236: Do not fail if we can't infer the cardinality of an empty BsonAnyOf
- INTELLIJ-235: Detect .iterator queries written in the Java Driver.
- INTELLIJ-231: Gracefully fail if the JVM does not give us access to plugin metadata.
- INTELLIJ-158: Autocomplete does not work when triggered inside valid positions but wrapped in a parseable Java Iterable.
- INTELLIJ-157: Unable to parse and hence inspect
Filters.and,Filters.orandFilters.nor, in code that uses Java Driver, when argument for these method calls is a parseable Java Iterable.