Skip to content

Commit

Permalink
Create CHANGELOG, update version
Browse files Browse the repository at this point in the history
  • Loading branch information
vanessa-passage committed Dec 6, 2023
1 parent accacd3 commit 1838b52
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Changelog

All notable changes to this project will be documented in this file.

## [0.3.0] - 2023-12-06

### Added

- Generate types and api calls with openapi generator.
- Version constant instead of parsing gemspec.


### Deprecate

- `user.signout()` -> `auth.revoke_user_refresh_tokens()`
- `auth.authenticate_request()` -> `auth.validate_jwt()`


### Possible Breaking Changes

- Type names may change.
2 changes: 1 addition & 1 deletion lib/passageidentity/user_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def initialize(app_id, api_key)

gemspec = File.join(__dir__, "../../passageidentity.gemspec")
spec = Gem::Specification.load(gemspec)
header_params = { "Passage-Version" => "passage-ruby #{spec.version}" }
header_params = { "Passage-Version" => "passage-ruby #{Passage::VERSION}"}
header_params["Authorization"] = "Bearer #{@api_key}" if @api_key != ""

@req_opts = {}
Expand Down
2 changes: 1 addition & 1 deletion lib/passageidentity/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Passage
VERSION = '0.2.3'
VERSION = '0.3.0'
end

0 comments on commit 1838b52

Please sign in to comment.