Skip to content

Tags: goforj/wire

Tags

v1.2.0

Toggle v1.2.0's commit message
perf: custom loader (up to 70x+ improvements) (#3)

* feat: incremental loading

* feat(incremental): reuse unchanged local packages in fast path and harden fallback behavior

* perf(incremental): trim cold bootstrap work and keep warm shape changes fast

* perf(incremental): load deps conditionally

* chore(incremental): clear session cache

* fix(cli): improve wire error coloring and solve error labeling

* feat(incremental): harden loader and scenario tooling

* feat: custom loader initial

* feat: external loader caching

* chore: remove local caching strat

* feat: local caching from wire perspective

* feat: go dep cache

* feat(loader): cache unchanged root output

* chore: bench tweaks

* chore: re-implement cache

* fix: provider discovery

* chore: benchmark update

* fix: ci

* fix: ci

* fix: windows tmpdir issue

* fix: windows bench executable path

* fix(loader): strengthen artifact keys for replaced external modules

* test(loader): harden cache invalidation and discovery parity coverage

* fix(loader): treat replaced workspace deps as local and harden runtests

* fix(loader): make cache-hardening tests and runtests portable

* fix(loader): use valid file GOPROXY URLs in proxy-based tests

* fix(loader): format file GOPROXY URLs correctly on windows

* fix(loader): normalize test path comparisons across platforms

* refactor: remove unused loader and wire helpers

* refactor: dedupe command and custom loader helpers

* refactor: make loader artifact policy explicit

* refactor: dedupe custom loader import linking

* refactor: share import target resolution in custom loader

* refactor: centralize types info setup in custom loader

* refactor: share parse error conversion in custom loader

* refactor: share source parsing in custom loader

* refactor: centralize semantic artifact cache inputs

* refactor: isolate semantic artifact cache io

* refactor: isolate semantic provider set artifact lookup

* refactor: extract semantic provider set item application

* refactor: share semantic struct field helpers

* refactor: share semantic package object lookup

* refactor: share semantic output type assembly

* refactor: share struct provider shell assembly

* refactor: share allowed struct field inputs

* refactor: share selected struct field inputs

* refactor: share field output assembly for FieldsOf

* refactor: share quoted struct field lookup

* refactor: share semantic pointer expansion

* refactor: reuse field parent struct resolution

* refactor: share field object assembly

* refactor: share named struct type resolution

* refactor: share semantic type name lookup

* refactor: share semantic package member lookup

* refactor: share semantic error wrapping

* refactor: share provider set finalization

* refactor: add isolated output cache gate

* refactor: make provider set fallback policy explicit

* refactor: share custom loader root loading path

* refactor: share custom loader metadata root graph

* refactor: isolate semantic provider set support rule

* refactor: fold back weak cleanup abstractions

* refactor: narrow loader semantic artifact coupling

* refactor: unify semantic provider set support rules

* fix: restore local loader artifact safety gate

* refactor: disable semantic reconstruction by default

* refactor: remove semantic reconstruction path

* refactor: remove semantic cache layer

* refactor: add import benchmark profile filter

* refactor: trim redundant discovery cache metadata

* refactor: remove redundant discovery cache cloning

* refactor: split external benchmark profiles

* refactor: share custom typed load pipeline

* refactor: centralize custom metadata loading

* refactor: share loader fallback reason policy

* refactor: add targeted local profile benchmark

* refactor: add one-shot import profile harness

* perf: reuse root discovery for generate loads

* style: format loader discovery changes

* perf: content-hash based cache keys for CI compatibility (#5)

Replace mtime-based cache invalidation with content hashing:
- artifact_cache: use SHA-256 of file content instead of ModTime
- discovery_cache: use content hash for file matching, add WIRE_DISCOVERY_CACHE_DIR env var
- Bump cache versions (artifact v4, discovery v4)

This enables wire cache to work correctly in CI environments where
file mtimes are not preserved across runs (e.g., S3 cache restore,
git checkout).

* refactor: share wire cache base directory

* docs: add readme in internal for future travelers

* feat: support method expression providers (#6)

* feat(caching): content based caching to discovery, loader, output

---------

Co-authored-by: jungooji <zzzz465@naver.com>

v1.1.0

Toggle v1.1.0's commit message
feat: wire watch

v1.0.0

Toggle v1.0.0's commit message
docs: readme