Skip to content

Releases: Shopify/packwerk

1.1.2

12 Jan 14:40
5ae7846

Choose a tag to compare

What's Changed

New Features

  • Give more helpful error message if privatized constant can not be resolved #89 (@exterm)

Bug Fixes

  • Convert autoload paths to strings to resolve a Sorbet type violation #91 (@steve-low)
  • Improve types on interface implementations for stronger Sorbet type checking #92 (@samuelgiles)
  • Extract an interface out of PackWerk::OutputStyles and enforce stronger type checking #93 (@samuelgiles)

1.1.1

09 Dec 16:33
ef13eac

Choose a tag to compare

What's Changed

Bug Fixes

  • self::SOME_CONSTANT doesn't break the parser anymore #54 (thanks @shageman)
  • fixes Sorbet TypeError during packwerk init on fresh install #77 (thanks @mikelkew)
  • fix Ruby warnings #82 (thanks @santib)
  • refactor packwerk detect-stale-violations and packwerk update-deprecations #78 (thanks again @santib)
  • fix a bug in packwerk check due to empty packwerk.yml file #87 (thanks @alexblackie and @jaruserickson)

1.1.0

24 Nov 21:25
8481b29

Choose a tag to compare

What's Changed

New features

  • Detect stale violations for Packwerk command #61

  • Support array of paths in PackageSet #71

  • Support providing a custom ERB parser class #67

1.0.2

16 Nov 19:52
e69081f

Choose a tag to compare

What's Changed

Bug fixes

  • Fix inflections bug that resulted in missed constant associations violations #53

This bug fix may result in additional valid violations being found / recorded in applications with custom inflections.

  • Add missing .realpath that was causing validation error #65

This release also includes other refactors to improve the codebase.

1.0.1

30 Oct 18:02
19c916f

Choose a tag to compare

What's Changed

This release is broken. Please use v1.0.0

Changes

  • packwerk update deprecated in favour of packwerk update-deprecations
    • This will update messaging in deprecated_references.yml files

Bug Fixes

  • Vendored gems will no longer be included when packwerk is run

1.0.0

23 Sep 22:06
6ae9550

Choose a tag to compare

Packwerk has been developed in conjunction with the Shopify codebase by several developers. This initial release extracts the existing code from the private repository into a public gem to be open sourced.