Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: Add Install steps, improve Getting started and Release notes #146

Merged
merged 3 commits into from
Nov 25, 2022

Conversation

VojtechVitek
Copy link
Contributor

No description provided.

@VojtechVitek VojtechVitek merged commit 3b543f4 into webrpc:master Nov 25, 2022
@VojtechVitek VojtechVitek deleted the install_steps branch November 25, 2022 11:04
luochuanyuewu added a commit to luochuanyuewu/webrpc that referenced this pull request Apr 6, 2023
commit 664a6c1
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Mar 23 13:45:43 2023 +0100

    Regenerate examples

commit cbf618c
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Mar 23 13:35:04 2023 +0100

    Bump version to v0.12.x-dev

commit 9f39e57
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Mar 23 12:41:18 2023 +0100

    Add release notes / changelog for v0.11.0 (webrpc#201)

    * Add release notes / changelog for v0.11.0

    * Regenerate using latest golang@v0.11.0

    * Improve .md formatting

commit bf6dd73
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Wed Mar 15 01:35:22 2023 +0100

    Update to latest Go and TS gens with schema support (webrpc#200)

    Update to latest Go and TS gens with schema errors support

commit 1e5d18b
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sat Mar 11 20:53:01 2023 +0100

    Update links to migration guide

commit 71d6e69
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sat Mar 11 18:36:57 2023 +0100

    Bump to v0.11.0 - regenerate examples (webrpc#199)

commit e442000
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sat Mar 11 18:20:47 2023 +0100

    Bump to v0.11.0

commit ee01a05
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sat Mar 11 18:05:53 2023 +0100

    Add interoperability test for error cause (webrpc#198)

commit e8a5e62
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sat Mar 11 16:09:41 2023 +0100

    Schema errors: HTTP status code must be between 400-599 (webrpc#197)

    If someone defined HTTP 200 for a schema error, the webrpc
    clients wouldn't recognize it as an error. Instead, they'd
    treat the response body as a regular response data object.

commit a6758ac
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sat Mar 11 16:01:27 2023 +0100

    Add built-in webrpc errors (webrpc#196)

    * Add built-in webrpc errors

    * Regenerate interoperability tests

commit 503d4b5
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Mar 9 18:07:15 2023 +0100

    Add Go 1.20 to CI matrix (webrpc#195)

    * Add Go 1.20 to CI matrix

    * Go 1.20 must be string, so yaml doesn't round it to 1.2

commit 5de497d
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Mar 9 16:36:27 2023 +0100

    Implement interoperability tests for schema errors (v0.11.0) (webrpc#193)

    * Implement interoperability tests for schema errors

    * Update test RIDL to be backward compatible with legacy errors

    * Regenerate interoperability tests with github.com/webrpc/gen-golang@tags/errors

    * Make httpStatus a required field

commit 4babe29
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Mar 9 16:09:08 2023 +0100

    gen/README.md: Document schema errors, fix link (webrpc#194)

commit bf9d1a7
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Fri Mar 3 16:19:51 2023 +0100

    Fix default error HTTP status code, add more RIDL tests (webrpc#192)

    * Add RIDL tests for custom errors

    * Default HTTP status code should be 400

commit 58ba5e0
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Fri Mar 3 15:28:43 2023 +0100

    Update the RIDL error syntax & parser (webrpc#191)

    * Remove noisy log in TestSyntaxError()

    * Update the RIDL error syntax & parser

    error <code> <name> <message> [HTTP <status code>]

commit 28be4f5
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sat Jan 14 01:35:04 2023 +0100

    Fix clean GH Actions cache job (webrpc#189)

commit 382045b
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sat Jan 14 01:04:38 2023 +0100

    Add interoperability RIDL<->JSON golden test file (webrpc#188)

    * Add golden JSON schema file test to tests/

    * Improve schema.ToJSON()

    - Remove optional parameter from the schema pkg API
    - Always pretty print JSON schema
    - Golden files changes will be more readable
    - Schema hash will be still predictable
    - Improve performance via buf.String() on stack

    * Regenerate examples/tests

    * Remove unused schema.HasFieldType() method

commit a06c25d
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Fri Jan 13 23:27:40 2023 +0100

    Define custom errors in RIDL (webrpc#187)

    * Rename schema.go to embed.go

    * Custom errors: Define API errors in RIDL

    Split off "v2" branch by @pkieltyka.

    Originally introduced in
    https://github.com/webrpc/webrpc/tree/schema-v2
    webrpc#134
    webrpc#123

    * Regenerate examples

commit c9b52ec
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Jan 5 15:49:44 2023 +0100

    Remove unnecessary schema.VarName type (webrpc#186)

    * Remove unused schema.VarName methods

    * Remove unnecessary schema.VarName type

    It was difficult to work with schema.VarName (custom string type) in Go templates.
    Calling `{{ $type.Name }}` failed with the following error:
        ```
        command failed: template: struct.go.tmpl:9:17: executing "struct" at <.Name>: wrong type for value; expected string; got schema.VarName
        ```

    This change will remove type-casting via `{{ printf "%v" $typeName }}` from templates and improve readability.

commit 38d2e8e
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Jan 5 15:28:31 2023 +0100

    gen/README.md: Fix join() template function documentation (webrpc#185)

commit 830018c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Jan 5 15:08:41 2023 +0100

    Bump json5 from 1.0.1 to 1.0.2 in /_examples/node-ts/webapp (webrpc#184)

    * Bump json5 from 1.0.1 to 1.0.2 in /_examples/node-ts/webapp

    Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
    - [Release notes](https://github.com/json5/json5/releases)
    - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
    - [Commits](json5/json5@v1.0.1...v1.0.2)

    ---
    updated-dependencies:
    - dependency-name: json5
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    * Update to javascript@v0.10.0

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Vojtech Vitek <vojtech.vitek@golang.cz>

commit aabb887
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Fri Dec 30 18:50:59 2022 +0100

    Bump to webrpc@v0.10.0 (webrpc#182)

    * Bump to webrpc@v0.10.0

    * make generate

    * Document Interoperability tests in generators docs

    * Document v0.10.0 breaking changes in CHANGELOG

    * Add table of contents to CHANGELOG

commit 3f2508a
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Fri Dec 30 18:28:24 2022 +0100

    Improve interoperability test suite: Add more RPC methods to TestApi (webrpc#181)

    * Improve interoperability test server

    * Rename tests/schema/api.ridl to test.ridl

    * Rename ComplexApi to TestApi

    * Implement new TestApi RPC methods

    * Define fixtures, use cpm.Equal() and cpm.Diff() for comparison

    * Reverse cmp.Diff() arguments to make diff logical

    * Fix interoperability tests by using float64 in fixtures

    * Fix webrpc-test build

commit 4fed3b0
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Dec 29 20:41:10 2022 +0100

    Accept io.FS in RIDL parser (webrpc#178)

    * Remove unused schema from templateFuncMap()

    * Accept io.FS in RIDL parser

    Fixes webrpc#173

    * Simplify reading JSON schema file

    * Remove invalid wrapping of nil error

    * Remove ridl.mockImport

    * Fix building all tests

    * Don't regenerate golden file on each test run

    * Improve RIDL parser tests

    * TestRIDLImports(): Use fstest.MapFS, test import ../parent.ridl

    * TestRIDLImportsExampleDir(): Use os.DirFS() to test _example/ dir

    * TestRIDLImports(): Test imported struct types

commit 92e3dbe
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Dec 29 20:40:28 2022 +0100

    v0.9.0 changelog: Document ENUM type JSON schema changes (webrpc#179)

commit 4326cfc
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Dec 29 20:07:11 2022 +0100

    Invalidate Github Actions cache every day (webrpc#180)

    Github cache eviction policy:
    - GitHub will remove any cache entries that have not been accessed in over 7 days.

commit e7fd8ea
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Thu Dec 29 17:17:54 2022 +0100

    Fix CI: Regenerate all _examples/ (webrpc#177)

    * Fix CI: Regenerate all _examples/

    Turns out "go generate ./.." didn't regenerate _examples/ directory because of the leading underscore character.

    * make generate

commit 0339b83
Author: Lukas Jenicek <lukas.jenicek5@gmail.com>
Date:   Thu Dec 29 15:48:34 2022 +0100

    Allow webrpc-test binary to print out ridl scheme (webrpc#176)

    Allow test binary to print out ridl scheme

commit 25708e7
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Wed Dec 28 18:34:44 2022 +0100

    v0.9.0: Rename RIDL "message" to "struct", schema "messages" to "types" (webrpc#171)

    * RIDL: Rename "message" to "struct"

    Split off webrpc#134 by @pkieltyka

    * Schema: Rename "messages" to "types"

    Split off webrpc#134 by @pkieltyka

    * Fix tests

    * Update .json schemas & provide migrate.js script

    * Fix generating templates

    * Regenerate examples

    * Re-add two template functions to docs

commit 80d284b
Author: Lukas Jenicek <lukas.jenicek5@gmail.com>
Date:   Wed Dec 28 17:04:15 2022 +0100

    Improve testing suite (webrpc#174)

    * Fix typo

    * Replace sleep with netcat to check if server is ready

commit 5e6d1b8
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sat Dec 24 16:49:27 2022 +0100

    v0.9.0: Fix non-deterministic schema hash (webrpc#172)

    * Fix non-deterministic schema hash

    Schema hash was generated from schema.JSON(nil) including Imports
    pointing at absolute paths. The CI generated different hash compared
    to my development setup when there were RIDL imports involved.

    1. Can we simply disable the Imports field from Schema JSON?
    2. Do we need to keep schema.Imports around at all?

    * Remove schema.Imports

commit 945fe4c
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Wed Dec 21 21:03:53 2022 +0100

    Move VERSION to top-level package (webrpc#169)

commit 30ed299
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Wed Dec 21 20:51:52 2022 +0100

    Internal renaming (webrpc#168)

    Split off webrpc#134 by @pkieltyka.

commit d84328a
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Wed Dec 21 18:49:59 2022 +0100

    Github CI: Run client-server interoperability test (golang@latest <-> golang@latest) (webrpc#163)

    * make test: Run client-server (both golang@latest) interoperability test

    * Ensure tests & examples are ran against current ./bin/webrpc-gen

    * Makefile supports exporting PATH globally

    * Wait for test server to come up

    * make test: Wait for test server to finish

    * webrpc-test -server: Exit success on normal shutdown

    * Run Go 1.19 before Go 1.16 tests

    Before this change, the Go 1.19 test was canceled automatically
    if the slower Go 1.16 test failed (which is more likely).

    * make generate: Fix directory name in the output

commit d4cca79
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Wed Dec 21 17:12:45 2022 +0100

    Relax template cache invalidation (webrpc#165)

    - Fixes webrpc#164
    - Refresh cache only if we can fetch all files from remote git
    - Fall-back to old cache (over TTL) on git fetch error
    - Fetch *.go.tmpl files only (was *.tmpl)
    - Pre-fetch all template files when FS is initially loaded
    - Print new webrpc-gen cache summary

    $ webrpc-gen -schema=./tests/schema/api.ridl -target=golang -pkg=client -client -out=./tests/client/client.gen.go
    =======================================
    |      webrpc generated summary       |
    =======================================
     webrpc-gen version : v0.8.x-dev
     target             : github.com/webrpc/gen-golang
     target cache       : /var/folders/23/vc4gzw8n52gc17yx4wfqfj3c0000gn/T/webrpc-cache/2568534563-gen-golang
     target cache age   : 1h51m3s (failed to refresh: get git repository: GET https://api.github.com/repos/webrpc/gen-golang: 403 API rate limit exceeded for 178.248.249.18. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.) [rate reset in 9m42s])
     schema file        : ./tests/schema/api.ridl
     output file        : ./tests/client/client.gen.go

commit 935d0a4
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Wed Dec 21 17:08:44 2022 +0100

    Github actions: Cache webrpc templates between CI jobs (webrpc#166)

commit 0b3c7e2
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sun Dec 18 22:36:04 2022 +0100

    Go releaser: Build webrpc-test binary (webrpc#162)

    * Go releaser: Build webrpc-test binary

    * Try to fix goreleaser build

    * Add brew tap for webrpc-test

    * Improve Docker release docs

    * Goreleaser brews must reference archive ids

    * Goreleaser: Builds > Archives > Brews

commit 9bb71d0
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sun Dec 18 17:44:58 2022 +0100

    Update the new testing suite (webrpc#161)

    * Make all tests use httptest.NewServer()

    - Remove `make test' running test server binary in background
    - The /shutdown endpoint was not 100% reliable based on my experience,
      the process still ran in the bacground and occupied port :9999 forever
    - I propose to spin up the test server binary against a client binary
      in a separate test via os.Exec(), mimicking what generator repos will do

    * webrpc-test -server -port=9988 -timeout=100s

    * webrpc-test -client -url=http://localhost:9988

    * Fix make build

commit fdd8f05
Author: Lukas Jenicek <lukas.jenicek@visioncritical.com>
Date:   Sat Dec 17 15:39:04 2022 +0100

    Update testing suite (webrpc#157)

    Test Interoperability

    - Generate new go server listening on 9999 port satisfying api schema
    defined in tests/schema/api.ridl

    - Generate go client and server during build step since it's required by
    webrpc-server binary

    - Clean test cache before each run

    - Test interoperability -> getting data from server, sending back and
    testing if everything stay the same

    - Implement shutdown http method on server to give client possibility of
    closing down the server

commit 3ea8210
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 12 22:34:24 2022 -0500

    Bump express from 4.16.4 to 4.17.3 in /_examples/node-ts/server (webrpc#159)

    Bumps [express](https://github.com/expressjs/express) from 4.16.4 to 4.17.3.
    - [Release notes](https://github.com/expressjs/express/releases)
    - [Changelog](https://github.com/expressjs/express/blob/master/History.md)
    - [Commits](expressjs/express@4.16.4...4.17.3)

    ---
    updated-dependencies:
    - dependency-name: express
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit a55acf6
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Dec 12 22:34:11 2022 -0500

    Bump qs from 6.5.2 to 6.5.3 in /_examples/node-ts/webapp (webrpc#158)

    Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
    - [Release notes](https://github.com/ljharb/qs/releases)
    - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
    - [Commits](ljharb/qs@v6.5.2...v6.5.3)

    ---
    updated-dependencies:
    - dependency-name: qs
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 918512a
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sat Dec 3 14:47:15 2022 -0500

    Bump decode-uri-component from 0.2.0 to 0.2.2 in /_examples/node-ts/webapp (webrpc#156)

    Bump decode-uri-component in /_examples/node-ts/webapp

    Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
    - [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
    - [Commits](SamVerschueren/decode-uri-component@v0.2.0...v0.2.2)

    ---
    updated-dependencies:
    - dependency-name: decode-uri-component
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit aa4402f
Author: Peter Kieltyka <peter.kieltyka@gmail.com>
Date:   Thu Dec 1 15:51:28 2022 -0500

    update print summary layout

commit 67409a6
Author: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Date:   Wed Nov 30 07:33:50 2022 -0500

    print summary after code generation (webrpc#155)

    * print summary after code generation

    * typo

commit 042aa56
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Nov 28 12:31:52 2022 +0100

    Bump minimatch from 3.0.4 to 3.1.2 in /_examples/node-ts/webapp (webrpc#151)

    Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
    - [Release notes](https://github.com/isaacs/minimatch/releases)
    - [Commits](isaacs/minimatch@v3.0.4...v3.1.2)

    ---
    updated-dependencies:
    - dependency-name: minimatch
      dependency-type: indirect
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit e4fadb8
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Mon Nov 28 12:30:00 2022 +0100

    Examples: Print available commands when invoking make (webrpc#152)

commit 5f36bea
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sun Nov 27 19:02:51 2022 +0100

    Improve release notes (webrpc#150)

commit 155fd9b
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Fri Nov 25 15:06:20 2022 +0100

    webrpc-gen v0.8.0: Implement template arrays (webrpc#149)

    * Split Template API functions to logical groups; Update docs

    * Implement array and append template functions

    * Add tests for array functions

commit e4b2391
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Fri Nov 25 13:24:50 2022 +0100

    webrpc-gen v0.8.0 - Add sort, trimPrefix and trimSuffix template functions (webrpc#147)

    * Add trimPrefix and trimSuffix template functions

    * Implement sort template function, add documentation

    * Bump webrpc-gen minor version because of template API change

    * Re-generate examples

commit 3b543f4
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Fri Nov 25 12:04:44 2022 +0100

    README: Add Install steps, improve Getting started and Release notes (webrpc#146)

    * Fix -version flag value built in CI

    * README: Add Install steps & improve Getting started

    * Goreleaser: Add Install steps to release notes

commit c479a6f
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Mon Nov 21 19:37:27 2022 +0100

    Build and publish Docker image on new git tag (webrpc#145)

    Build and publish webrpc-gen Docker image on new git tag

commit 703a53e
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Mon Nov 21 14:15:36 2022 +0100

    Publish webrpc-gen as a Homebrew tap automatically (webrpc#144)

commit 09fd29b
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sun Nov 20 16:05:15 2022 +0100

    CI: Run Goreleaser on new git tag (webrpc#142)

    Build webrpc-gen binary for multiple OS/archs.
    Create a Github release with changelog & attach the binaries.

commit bd231de
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sat Nov 19 18:02:40 2022 +0100

    Fix go install (webrpc#140)

    We can't enforce the golang.org/x/sys version with the go.mod "replace"
    directive, as it breaks the `go install` command.

    See golang/go#44840

    $ go install github.com/webrpc/webrpc/cmd/webrpc-gen@v0.7.2
    go: downloading github.com/webrpc/webrpc v0.7.2
    go install github.com/webrpc/webrpc/cmd/webrpc-gen@v0.7.2: github.com/webrpc/webrpc@v0.7.2
    	The go.mod file for the module providing named packages contains one or
    	more replace directives. It must not contain directives that would cause
    	it to be interpreted differently than if it were the main module.

commit cb7195e
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sat Nov 19 16:53:12 2022 +0100

    Run CI tests against Go 1.16 and 1.19 (webrpc#139)

    * Run CI tests against Go 1.16 and 1.19

    * Downgrade golang.org/x/sys to support Go 1.16

    * Replace strings.Cut(), which was added in Go 1.18

commit 6c3057e
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Wed Nov 16 23:40:43 2022 +0100

    Downgrade go.mod "go" directive back to Go 1.16 (webrpc#138)

commit 25b42f6
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Wed Nov 16 19:10:24 2022 +0100

    Update dependencies (webrpc#137)

commit 7bcb3c4
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Wed Nov 16 16:48:09 2022 +0100

    Apply the fetch wrapper fixes from typescript/javascript generators (webrpc#136)

    webrpc/gen-typescript#1
    webrpc/gen-javascript#1

commit 5e1fb05
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Mon Nov 14 22:30:53 2022 +0100

    Fix methods with no response value (webrpc#133)

    The latest github.com/webrpc/gen-golang@v0.7.4 now fixes webrpc#74, webrpc#104 and webrpc#105.

    See
    https://github.com/webrpc/gen-golang/releases/tag/v0.7.4
    webrpc/gen-golang@7e1449e

commit 22c3a14
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Mon Nov 14 19:11:05 2022 +0100

    Update node-ts example with an empty response type (webrpc#131)

    This proves webrpc#74 is not caused by TypeScript generator

commit 3f15b9f
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Mon Nov 14 18:05:41 2022 +0100

    Upgrade golang-basics example to chi v5 (webrpc#130)

    * Upgrade golang-basics example to chi v4

    * Create Go module for golang-basic example

commit a052138
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Fri Nov 11 20:04:32 2022 +0100

    Export schema.VarType expression (webrpc#128)

    This allows external tools like https://github.com/golang-cz/go2webrpc to build full webrpc schema.

commit babae20
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Fri Nov 11 19:55:36 2022 +0100

    Schema: Remove unused kind T_Primitive (webrpc#126)

commit c16baec
Author: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Date:   Fri Nov 11 13:04:15 2022 -0500

    gen: use just the base filename of the cli in the template var (webrpc#129)

commit 638ff1c
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Wed Nov 9 15:07:27 2022 +0100

    Remove obsolete webrpc version variable (webrpc#125)

commit 9422d22
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Tue Nov 8 13:26:18 2022 +0100

    webrpc-gen CLI v2: Templates API v0.7.0 (webrpc#119)

    * Exploring Templates functions API

    * Implement "dict", "set" and "get" dictionary funcs for templates

    This will help us define type mapping in templates

    * Re-add some v0.6.0 functions for now

    * Refactor dict function, so we can pass it down to sub-templates

    * Add type helper funcmaps

    * Implement isBaseType function

    * Bring back some obsolete functions to keep generators v0.6.0 working

    * make diff

    * Fix the tests for now

    * Fix go.mod after git cherry-pick

    * Pass variables to templates via CLI -Flags, add error/fatal funcmaps

    * Remove gofmt/goimports for now

    * Implement printfStderr and exit funcs

    * Move VERSION to gen/ package, expose it as {{.WebrpcGenVersion}}

    * Expose {{.WebrpcTarget}} and {{.WebrpcGenCLI}}

    * Remove generator specific tests

    Each generator repo should be testing the schema/output on its own

    * Improve and document the template variables

    * Support old -client, -server and -pkg flags

    * Remove bunch of golang-specific funcmaps

    * Fix tests

    * Remove go-specific funcmaps for method inputs/outputs/arguments

    * Resolve rebase

    * Print "custom" target in case of local dir

    * Remove more go-specific funcmaps; rename "first" to "coalesce"

    * Gen: Remove all Go-spefific funcmaps/code

    * Remove last go-specific funcmaps

    * README: Table of generators

    * Remove "indent" and rename "stderrPrintf"

    * webrpc-gen: Return early when writing to stdout

    * webrpc-gen: Print fatal errors to stderr

    Otherwise the errors potentially ended up in the generated output file.

    * Execute "main" template as the required generator entrypoint

    * Add documentation about generator templates

    * Generator docs: Document schema object and add TOC

    * Document template functions

    * Implement minVersion function

    * Markdown: Escape column character in a table row

    * Document requiring webrpc-gen version from templates

    * Improve error message by naming the template after its target

    * Collect flags in its own function

    * Implement "default" function

    * Add "in" function, remove "str" function and gofmt

    * Implement ternary, split, first, last functions

    * Remove JavaScript-specific template functions

    * Finalize template functions for webrpc schema types

    * Remove last generic or TS-specific template functions

    * Update template functions docs

    * Update README & examples with new webrpc-gen targets

    * Bring back goimport/gofmt for golang targets

    * PR feedback: Use Go 1.16+

    * webrpc-gen CLI: Use v0.7.0 as an example target

    * Use os.WriteFile() instead of ioutil.WriteFile()

    * Improve isGolangTarget() so it works with local templates too

    * webrpc-gen -fmt=false: disable automatic code formatting

    * Lowercase all template option CLI flags, print target -help

    * Lowercase all generator options, update docs

    * Regenerate examples: Apply new DO NOT EDIT comment

commit dad76e4
Author: Peter Kieltyka <peter.kieltyka@gmail.com>
Date:   Thu Oct 27 07:44:06 2022 -0400

    v0.6.2

commit c057621
Author: Peter Kieltyka <pkieltyka@users.noreply.github.com>
Date:   Thu Oct 27 07:38:04 2022 -0400

    minor updates + git fetch cache support (webrpc#121)

commit 053e997
Merge: 4f527e2 4fa15b1
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Tue Oct 25 22:13:11 2022 +0200

    Merge pull request webrpc#118 from webrpc/v0-6-1

    v0.6.1

commit 4fa15b1
Author: Peter Kieltyka <peter.kieltyka@gmail.com>
Date:   Tue Oct 25 15:53:15 2022 -0400

    update

commit 3a2fa0e
Author: Peter Kieltyka <peter.kieltyka@gmail.com>
Date:   Tue Oct 25 15:51:20 2022 -0400

    v0.6.1

commit 2e077c4
Author: Peter Kieltyka <peter.kieltyka@gmail.com>
Date:   Tue Oct 25 14:25:28 2022 -0400

    add Vojtech to authors list, and bump to v0.6.1

commit 4f527e2
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Tue Oct 25 20:22:41 2022 +0200

    webrpc-gen CLI v2 (webrpc-gen v0.6.1) (webrpc#110)

commit f1bc82d
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Mon Oct 17 00:14:03 2022 +0200

    Regenerate examples in CI, error out on git diff (webrpc#115)

commit 00fd423
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sun Oct 16 16:03:28 2022 +0200

    Run CI tests in Github Actions (webrpc#112)

commit 5fa56db
Merge: 454e61e 4dd142d
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sun Oct 16 14:30:19 2022 +0200

    Merge pull request webrpc#111 from golang-cz/remove_binary

    Remove binary file from the source code

commit 4dd142d
Author: Vojtech Vitek <vojtech.vitek@golang.cz>
Date:   Sun Oct 16 14:28:08 2022 +0200

    Remove binary file from the source code

commit 454e61e
Author: Robert Ford <robfordww@gmail.com>
Date:   Fri Sep 30 00:43:48 2022 +0200

    different install method for go v1.17 and later (webrpc#107)

commit f3a4274
Author: Vojtech Vitek <vojtech.vitek@visioncritical.com>
Date:   Sat May 8 16:01:02 2021 +0200

    Replace //go:generate statik with //go:embed (webrpc#89)

commit 301a0e2
Author: Peter Kieltyka <peter.kieltyka@gmail.com>
Date:   Thu Feb 18 13:03:25 2021 -0500

    README

commit cbdad88
Author: Peter Kieltyka <peter.kieltyka@gmail.com>
Date:   Thu Feb 18 13:02:58 2021 -0500

    README

commit bd01519
Author: Peter Kieltyka <peter.kieltyka@gmail.com>
Date:   Thu Feb 18 13:00:51 2021 -0500

    README

commit 0f1ca67
Author: Peter Kieltyka <peter.kieltyka@gmail.com>
Date:   Thu Jan 21 09:48:16 2021 -0500

    bump version to v0.6.0

commit 1a6df36
Author: Peter Kieltyka <peter.kieltyka@gmail.com>
Date:   Thu Jan 21 09:47:15 2021 -0500

    Update dep to chi v1.5.1

# Conflicts:
#	cmd/webrpc-gen/main.go
#	gen/golang/embed/static.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant