Skip to content

Latest commit

 

History

History
95 lines (64 loc) · 3.24 KB

CHANGELOG.md

File metadata and controls

95 lines (64 loc) · 3.24 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

v.0.4.0 - 2024-08-25

Added

v0.3.0 - 2024-07-10

Added

  • Added example_methods as a configuration option to add your own example methods. (thanks to @mskog - first code contributor 🎉)

v0.2.2 - 2024-06-23

Fixed

  • Suggest keeping spec/**/* in the exclude section of .solargraph.yml to avoid performance issues (see commit)
  • Fix let definitions when do/end keywords overlap with body definition
      let(:todo) do # "do" keyword overlap
        {
          'todo' => 'end' # "end" keyword overlap
        }
      end
  • Error handling in SpecWalker::FakeLetMethod

[0.2.1] - 2024-06-09

Added

  • Documentation for RSpec::ExampleGroups DSL methods like it, fit, example etc.

Fixed

  • Fix nameless subject method completion inside nested context blocks
  • (Hack-ish) Fix described_class type collision when RSpec.describe SomeClassWithoutNamespace

[0.2.0] - 2024-05-20

Added

  • let and subject type inference 🚀 (Resolves: Issue #1)

Changed

  • Migrate from parser gem to using ruby's built-in RubyVM::AbstractSyntaxTree (see why)

Fixed

  • Fix subject without name block completion: subject { ... }
  • Fix subject return class overlap with Rspec::ExampleGroups:: when class has no namespace

[0.1.1] - 2024-05-13

Removed

  • Removed redundant active_support dependency (Issue #2)

Fixed

  • Fixed completions inside subject and subject! blocks

[0.1.0] - 2024-05-11 (First Release 🎉)

Added

  • describe and it methods completion
  • memoized let and let! methods completion
  • implicit and explicit subject methods
  • described_class with appropriate type inference
  • RSpec::Matchers methods completion
  • Completes normal ruby methods within describe/context blocks
  • RSpec DSL suggestions (eg. it, describe, fit.. etc.)