All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
5.0.6 - 2021-10-07
- Pin MIQ loggers to 0.4.0 to maintain monkey patchability
5.0.5 - 2021-06-17
- Support total counts for GraphQL #229
5.0.4 - 2021-05-25
- Ensure UTF-8 compatibility for ErrorDocument#to_h.to_json #227
5.0.3 - 2021-05-14
- Change to support object id with different patterns #224
5.0.2 - 2021-04-05
- Allow to load GraphQL erb templates outside of repo #221
- Add not_eq comparators #223
- Bind to 127.0.0.1 instead of localhost #220
5.0.1 - 2021-01-26
- Pinning
graphql
gem to 1.11.7 due to breaking change in version 1.12.0
5.0.0 - 2021-01-13
- Make
Parameters#params_for_update
only include writeable fields in permit-hash #213 - Use custom error_message if a policy exposes it #214
4.1.5 - 2020-10-01
- Fixed to log error messages in with_request block #208
4.1.4 - 2020-09-25
- Remove POST / PATCH from redirects #173
4.1.3 - 2020-08-26
- Pin cloudwatchlogger gem to ~> 0.2.1 #207
4.1.2 - 2020-07-30
- Add openapi-validator.sh script for reference from API repos. #202
- Add github workflow to release to rubygems automatically #199
- Define custom metric methods even if port is zero #203
- Make sure Pundit exception's query type is String #205
- Excluding existing 'nullable' attributes #198
4.1.1 - 2020-06-09
- Add the ability to disable metrics by setting METRICS_PORT=0 #196
- Handle Pundit::NotAuthorizedError exceptions differently than general exceptions #185
4.1.0 - 2020-06-02
- Improve serializer to exclude attributes that should not be needed #181
4.0.3 - 2020-05-13
- Add support for custom prometheus metrics defined by the application #184
4.0.2 - 2020-05-13
- Enforce unique operation ids #182
- ManangeIQ Logger is deprecating the use of current_request #183
- The status field in the error object is string #188
- Switched to insights-rbac-api-client from rubygems #189
4.0.1 - 2020-04-27
- Percolate errors from different micro services #180
4.0.0 - 2020-04-15
- Added args to the base_query call #177
3.10.0 - 2020-04-14
- Remove the RBAC Client limit and offset parameters to get data in single call #175
- Use rack to get proper status code from symbols #179
3.9.0 - 2020-04-02
- Update documentation for sort_by and filter with associations #170
- Upgrade openapi_parser dependency #174
- Enable filtering by association attributes #159
- RBAC: Implement group_uuid filtering #172
3.8.0 - 2020-03-24
- RBAC - Added support for scopes in permissions #171
- Enable sorting by association attributes and counts #167
- Allow filtering of tag join records based on tag attributes #149
- Accept user defined headers in RBAC calls #168
- Updated the OpenAPI generator for the object schema of sort_by #169
3.7.0 - 2020-03-10
- Moving to object syntax for the sort_by parameter with PaginatedResponseV2 #165
- removed unused RBAC Utilities file #166
3.6.0 - 2020-02-28
- Use add_role_to_group during RBAC seeding #138
- Separate RBAC network error out from common errors #163
- Move RBAC group validation to separate class and add specs #164
3.5.0 - 2020-02-24
- Add the act_as_taggable_on mixin to API::Common #158
- Allow machine credentials access to the API #162
- According to the IPP auth_type is in identity #161
3.4.2 - 2020-02-13
- Change BYPASS_RBAC to only check for the value "true" #157
3.4.1 - 2020-02-05
- Fix status page not expecting URL params in DATABASE_URL #154
3.4.0 - 2020-01-30
- Add a concern for the #tag and #untag methods to share common code #153
- Add a StatusController for use in healthchecks that can be mapped to /health #143
- Removed unwanted RBAC files #152
3.3.1 - 2020-01-15
- Log errors as well as returning them in the response #147
3.3.0 - 2020-01-09
- Switched from semver to simver (only x.y) versioning for the OpenAPI doc #144
- Removed RBAC log message #142
3.2.0 - 2019-12-18
- Add support for instance/tag and instance/untag with an Array request body #136, #139, #140
3.1.0 - 2019-11-13
- Loosen ties between controllers and models. Allow schema overrides #131
3.0.0 - 2019-11-08
- Rename gem from manageiq-api-common to insights-api-common-rails and rename all classes. #132
- Fix params_for_update to support Hash/Array #133
2.1.0 - 2019-11-07
- Add support for sorting result collections #122
- Change RBAC sharing/unsharing to be account based #130
2.0.1 - 2019-10-23
- Fix permitted params for nested objects #129
- Fix regex and add tests for filtering #128
- Pull in missed seeding PR #126
- Fix error responses for filtering #125
2.0.0 - 2019-10-17
- Add ExceptionHandling mixin and consolidate ApiError rescue_from #114
- Update to openapi_parser v0.6.1 (will break tests due to changed error messages) #124
- Import shared RBAC code #106
- Add 404 responses to the openapi generator #117
1.1.0 - 2019-10-15
- Add support for case insensitive filtering #123
1.0.2 - 2019-10-07
- Fix reference to GraphQLRequest #120
1.0.1 - 2019-10-07
- Fix next and prev page links on collections #118 & #119
1.0.0 - 2019-10-04
- Namespace dynamically defined GraphQL API version modules under ManageIQ::API::Common::GraphQL::Api #105
- New entitlements for Ansible and Migrations #113 and use them #115
- Forwarding of persona headers #109
- Extract GraphQLRequest to a schema object rather than inline #110
- Update to openapi_parser v0.5.0 #108
- Fixed errors around already defined constants in GraphQL #112
- Allow GraphQL generator to support paths with IDs like /primary/{primary_id}/ #107
- Constant problems related to GraphQL namespace #105