이전 버전입니다. 현재 최신 버전은 2.8.10입니다. Mockzilla 2.8.10 · 출시일:
설치 파일 2.8.0
| 아키텍처 | 형식 | 설치 범위 | 파일 크기 | 다운로드 | SHA256 |
|---|---|---|---|---|---|
| 64비트 | 포터블 | — | — | github.com | VirusTotal |
| ARM64 | 포터블 | — | — | github.com | VirusTotal |
링크와 SHA256은 Windows 패키지 관리자 커뮤니티 매니페스트에서 가져왔습니다. 실행하기 전에 다운로드한 파일의 해시를 비교해 보십시오.
릴리스 노트
What's Changed
- Fix admin UI double-prepending origin when AppConfig.BaseURL is absolute by @jbn2336mz in #54
- Always pass opts to generated service methods by @jbn2336mz in #55
Generated service methods take the options argument for every operation, including endpoints that declare no parameters. Those endpoints used to be handed only a context, which put response generation and the raw HTTP request out of reach exactly where the spec was thinnest.
Handlers now look the same across a whole API. The generate-then-tweak workflow, request headers, and cookies are available everywhere, and adding the first parameter to an endpoint no longer changes its handler signature.
Breaking change
Regenerating an existing service breaks compilation of hand-written service files that implement parameterless endpoints. Add the options argument to those methods, and drop the interface assertion near the top of the file if it is still there. The compiler points at every spot.
Runtime behavior is unchanged, and endpoints that already received options are untouched.
Full Changelog: v2.7.5...v2.8.0