Changelog History
Page 2
-
v0.11.7 Changes
April 24, 2022Fix regexp mapper to do full, ruby version specific unicode property mapping.
-
v0.11.6 Changes
April 10, 2022Fix forward arg mutations.
-
v0.11.5 Changes
April 03, 2022 -
v0.11.4 Changes
February 13, 2022Add full Ruby 3.1 support.
-
v0.11.3 Changes
February 13, 2022Change to parser/unparser that works on 3.1 syntax. This does not mean mutant is yet fully 3.1 compatible. Mostly that mutant does not block the parser dependency anymore. And unparser is ready for Ruby 3.1.
-
v0.11.2 Changes
November 15, 2021Prevent multipath matches. Should multiple match expessions evaluate to the same subject, mutant now only visits that subject once.
This prevents blowing up the mutation testing work on bigger applications with more complex match expressions.
Add descendants matchers. These matchers allow to select subjects in inheritance trees that are not namespace based.
This is very useful for non namespaced (rails) applications. As users can now use match expressions like
descendants:ApplicationController
to match all descants ofApplicationController
includingApplicationController
.This feature is not bound to rails inheritance trees and can be used with any inheritance tree.
-
v0.11.1 Changes
November 08, 2021Improve matching speed. This is especially noticeable in larger projects. Mutant now creates way less objects while matching subjects.
Fix: #1273
Prevent crashes on degenerate object interfaces where method reflection returns methods that are later not accessible via
#instance_method
.Add ability to set environment variables via the CLI. The environment variables are inserted before the application is loaded. This is especially useful to load rails in test mode via setting
RAILS_ENV=test
.For CLI use the
--env
argument. For config file use theenvironment_variables
key. -
v0.11.0 Changes
October 18, 2021Add sorbet method matching. Allows mutant to operate on methods with a sorbet signature. Does not yet use the signature to constrain the mutations.
This adds a direct
sorbet-runtime
dependency to mutant. Note that Mutant intents to use sorbet directly for its own code.sorbet-runtime
is itself a clean dependency, that unless told to: Will not perform core extensions.As mutant is a development dependency it should not be an issue for a project that mutant itself will soon use sorbet type checks to accelerate its development.
Please report any issues the addition of the
sorbet-runtime
dependency to mutant causes.Bumping minor version to signal this more out of the ordinary change.
-
v0.10.35 Changes
October 17, 2021- #1269
Add
mutant environment irb
command. Starts an IRB session for the configured mutant environment. Very useful for iterating on environment setup issues.
- #1269
Add
-
v0.10.34 Changes
August 30, 2021#1252 Remove not universally useful binary left negation operator.
#1253 Remove support for Ruby-2.5, which is EOL.
#1255 Remove invalid mutations to invalid syntax
#1257 Fix crash on numblock mutations.
#1258 Add improved UI on detecting 0 tests. This should be beneficial in onboarding scenarios or after manual persistend rspec selections.