Releases: brantburnett/couchbase-index-manager
Releases · brantburnett/couchbase-index-manager
Update dependencis for security vulnerabilities
0.7.2 Update dependencis for security vulnerabilities (#51)
Security Upgrades
0.7.1 Update NPM key for publish
New "validate" command
The new "validate" command can be used by CI processes to validate index definition files, in advance of applying them to an actual cluster. For example, pull requests for index changes could validate that the definition files are valid before allowing the pull request to be merged.
Breaking Change
Validation of index definitions is now stricter for the "sync" command as well. For example, truthiness is no longer sufficient for boolean properties, they must be true or false.
0.6.1: Reverse order of PARTITION and WHERE clauses (#39)
Motivation ------------- WHERE clause was being added before the PARTITION clause in cases where both were used, causing invalid N1QL to be generated. Modifications ------------------ Moved the addition of the WHERE clause to be after the PARTITION clause (if any) is added. Limit Node.js version to 8 in Travis
Index Collation and Partitions, Oh My!
- Support for DESC index collations
- Support for partitioned indexes in Couchbase 5.5 Beta
- Improved plan output for Update items
- Issue Update items for reducing automatic replicas to zero
0.5.0: Issue #24: Use Couchbase to perform index def normalization (#26)
Motivation ---------- Reduce occurences of index updates when there aren't actually any index changes by normalizing index_key and condition using the same approach as Couchbase. Modifications ------------- Instead of normalizing as the index definition is built, normalize once (and asynchronously) before generating mutations. Perform normalization by using EXPLAIN to get the query plan for creating the index and analyzing the output plan. Results ------- index_key and condition are now prenormalized by Couchbase before comparing to the existing index, preventing unnecessary index updates.
0.4.1: Issue #21: Correct update node format for manual replicas (#22)
Motivation ---------- Updating manual replicas is showing nodes for all replicas, not just the specific replica being updated. Modifications ------------- Use withClause so that the display is for the specific nodes on this update. Show both the current and new node assignments. Results ------- Information is now accurate.
Replicas on the Move
This release adds support for:
- Automatic replica scaling on CB >= 5.0 as an unsafe
operation - Automatic replica moving on CB >= 5.5 as a safe operation,
moves are skipped with a warning on 5.0 and 5.1. - Manual replica scaling and moving, and is safe so long as
there is at least one replica. - Other update operations, such as index_key and condition, are now safe
operations for any index with at least one replica and running in manual
replica mode.
Show Index Build Timings
Show timings during index builds (#13) Motivation ---------- If you are watching a couchbase-index-manager via `kubectl logs` there is a 5 minute timeout if there is no console output. Modifications ------------- Include an ongoing status output every 10 seconds during the index build process. Results ------- Kubernetes logs should no longer timeout waiting for index build.