Bump Foundatio.Parsers.LuceneQueries from 7.18.3 to 8.0.0#52
Merged
Conversation
--- updated-dependencies: - dependency-name: Foundatio.Parsers.LuceneQueries dependency-version: 8.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated Foundatio.Parsers.LuceneQueries from 7.18.3 to 8.0.0.
Release notes
Sourced from Foundatio.Parsers.LuceneQueries's releases.
8.0.0
v8.0.0
This is the first release Foundatio.Parsers 8.0, a major release centered on migrating Foundatio.Parsers.ElasticQueries from NEST to Elastic’s official Elastic.Clients.Elasticsearch stack, while keeping the Lucene parser and SQL/EF surfaces aligned with modern .NET.
Themes
QueryContainer,AggregationContainer,IElasticClient, etc.) are replaced by first-classElastic.Clients.Elasticsearchtypes (Query,AggregationMap,ElasticsearchClient, …). See #84 and commit d91818b.Breaking changes
Elastic.Clients.Elasticsearchis required for all Elasticsearch query, aggregation, sort, and mapping integration. Remove directNESTpackage references from consuming apps; add or rely onElastic.Clients.ElasticsearchviaFoundatio.Parsers.ElasticQueries. #84ElasticQueryParserbuild APIs return new typesBuildQueryAsync→Query(wasQueryContainer).BuildAggregationsAsync→AggregationMap(wasAggregationContainer); use.ToDictionary()/.Aggregations()as in the upgrade guide.BuildSortAsync→ICollection<SortOptions>(wasIEnumerable<IFieldSort>).UseMappingsand fluent mapping: builder shape moves from return-basedFuncto mutation-basedAction, andElasticsearchClientreplacesIElasticClient. See the mapping tables in the upgrade guide.SetQuery/GetQueryAsyncuseQuery; aggregation helpers useAggregationMap; sorts useSortOptions. Type substitution table: upgrade guide: Custom Visitor Migration.IElasticQueryVisitorContext: implementations must supplyGeoLocationResolverif they do not inherit from the default context type. Documented in the upgrade guide.IsValidResponseover NEST’sIsValidwhen validating client responses (see upgrade guide).minimum_should_matchon OR / bool should clauses where the old NEST|operator implied it. The parser sets this explicitly for parity. #84, upgrade guide.NestedQuery, not only the inner clause). upgrade guide.bool.filterfor non-scoring queries (equivalent but different JSON shape). upgrade guide.@field_typemetadata with the new client’s conventions. upgrade guide.Added
AggregationMap: bridges parser aggregation building to the new client’s discriminated-unionAggregationmodel (see #84 and AggregationMap.cs).Changed
net8.0andnet10.0(see build/common.props).min-release-agefrom 7 to 3 days; 0d005b7 updates.npmrcfor the documentation workspace.... (truncated)
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)