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

Update Elixir version test matrix #602

Merged
merged 2 commits into from Mar 15, 2024
Merged

Conversation

zorbash
Copy link
Contributor

@zorbash zorbash commented Mar 14, 2024

See: #601

- {otp: '25', elixir: '1.11'}
- {otp: '25', elixir: '1.12'}
- {otp: '26', elixir: '1.10'}
- {otp: '26', elixir: '1.11'}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.11 is not supported anymore if I read this correctly:

https://hexdocs.pm/elixir/1.16.2/compatibility-and-deprecations.html

Maybe we can remove an extra one?

@@ -68,10 +68,17 @@ jobs:
otp: ['22', '23', '24', '25', '26']
elixir: ['1.11', '1.12', '1.13', '1.14', '1.15', '1.16']
exclude:
- {otp: '25', elixir: '1.10'}
- {otp: '22', elixir: '1.14'}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- {otp: '22', elixir: '1.14'}
- {otp: '22', elixir: '1.14'}

Elixir 1.14 does not officially support OTP 22 https://hexdocs.pm/elixir/1.16.2/compatibility-and-deprecations.html#between-elixir-and-erlang-otp

Copy link
Contributor

@thbar thbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest we remove as many combinations as possible based on the compatibility matrix over here:

https://hexdocs.pm/elixir/1.16.2/compatibility-and-deprecations.html#between-elixir-and-erlang-otp

Some combinations listed here are just not supported by Elixir itself.

EDIT: @zorbash let me know if you need a hand on this!

@zorbash zorbash force-pushed the update-elixir-version-test-matrix branch from cb0140d to 928a442 Compare March 15, 2024 10:24
@zorbash zorbash merged commit 3bfa049 into master Mar 15, 2024
14 checks passed
@zorbash zorbash deleted the update-elixir-version-test-matrix branch March 15, 2024 10:47
@zorbash
Copy link
Contributor Author

zorbash commented Mar 15, 2024

Tests are 🟢 now. Appreciate the help @thbar!

hou8 pushed a commit to hou8/open_api_spex that referenced this pull request Apr 18, 2024
* Update Elixir version test matrix

* Fix map key order dependent test
hamir-suspect added a commit to renderedtext/open_api_spex that referenced this pull request May 14, 2024
* Exclude empty paths from spec (open-api-spex#583)

* Exclude empty paths from spec

* fix: assert_operation_response header lookup (open-api-spex#584)

* fix: assert_operation_response header lookup

* Release version 3.18.1

* Fix 'AllOf cast returns a map, but I expected a struct' (open-api-spex#592)

* Add failing test

* Cast result of AllOf cast into a struct

* Shorter module name

* Add missing NoneCache test

* Release version 3.18.2

* Relax dependency constraint on ymlr to allow version ~> 5.0 (open-api-spex#586)

* relax dependency on ymlr, and fix some tests

* test with more elixir versions

* Update Elixir version test matrix (open-api-spex#602)

* Update Elixir version test matrix

* Fix map key order dependent test

* Release version 3.18.3

* Support response code ranges

See: https://swagger.io/docs/specification/describing-responses/

* Release version 3.19.0

* Add notice that body params are not merged into Conn.params whne using cast and validate plug (open-api-spex#589)

* Set nonces on <script> and <style> elements if configured (open-api-spex#593)

* Allow script and style nonces

* Allow nonces on the SwaggerUIOAuth2Redirect plug as well

---------

Co-authored-by: Alisina Bahadori <alisina.bm@gmail.com>
Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
Co-authored-by: Dimitris Zorbas <dimitrisplusplus@gmail.com>
Co-authored-by: Angelika Tyborska <angelikatyborska@fastmail.com>
Co-authored-by: Aleksandr Lossenko <aleksandr.lossenko@memsource.com>
Co-authored-by: Nathan Alderson <me@nathanalderson.com>
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

2 participants