Skip to content

Commit cb8b78b

Browse files
Merge pull request #90 from tag1consulting/release/v1.0.0-rc3
Release 1.0.0-rc3
2 parents da15bbf + d96a630 commit cb8b78b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ This project uses [Semantic Versioning](https://semver.org/). Major versions are
66

77
## [Unreleased]
88

9+
_No changes yet._
10+
11+
## [1.0.0-rc3] - 2026-05-13
12+
913
### Fixed
1014

1115
- **`expand_primary_weight` now correctly weights original vs. expansion results.** The config key existed in `ScoltaConfig` and was exported to the browser as `EXPAND_PRIMARY_WEIGHT`, but the JS merge step applied the value to expanded results instead of original results — the opposite of what the config name and docs describe. `scolta.js` now passes `expand_primary_weight` as the weight for the original result set and `1 − expand_primary_weight` for the expansion set in `merge_results()`. Per-term expansion weights likewise start at `1 − expand_primary_weight` instead of `expand_primary_weight`. `AiEndpointHandler` now accepts `expandPrimaryWeight` as a constructor parameter and includes it in the expand-query response payload alongside the terms array. Fixes [#86](https://github.com/tag1consulting/scolta-php/issues/86).

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tag1/scolta-php",
3-
"version": "1.0.0-rc2",
3+
"version": "1.0.0-rc3",
44
"description": "AI-powered search with Pagefind \u2014 PHP language binding",
55
"type": "library",
66
"license": "MIT",

0 commit comments

Comments
 (0)