Skip to content

Commit f4238a0

Browse files
committed
Prepare for version 0.18.0 release
1 parent 575e325 commit f4238a0

3 files changed

Lines changed: 10 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [0.18.0] - 2026-01-06
2+
* Add OAuth 2.0 authentication with token refresh support (d4c03cb)
3+
* Add AccountUploader for profile image and banner uploads (7833dd2)
4+
* Raise InvalidMediaType error for unsupported file extensions (2b6eacc)
5+
* Prioritize errors array over title/detail in error messages (75279b9)
6+
17
## [0.17.0] - 2025-12-02
28
* Add MediaUploader.upload_binary method (9f2f108)
39
* Don't forward filename during media upload (492214d)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ See other common usage [examples](https://github.com/sferik/x-ruby/tree/main/exa
7575

7676
## History and Philosophy
7777

78-
This library is a rewrite of the [Twitter Ruby library](https://github.com/sferik/twitter). Over 16 years of development, that library ballooned to over 3,000 lines of code (plus 7,500 lines of tests), not counting dependencies. This library is about 500 lines of code (plus 1000 test lines) and has no runtime dependencies. That doesn’t mean new features won’t be added over time, but the benefits of more code must be weighed against the benefits of less:
78+
This library is a rewrite of the [Twitter Ruby library](https://github.com/sferik/twitter). Over 16 years of development, that library ballooned to over 3,000 lines of code (plus 7,500 lines of tests), not counting dependencies. This library is about 750 lines of code (plus 1335 test lines) and has no runtime dependencies. That doesn’t mean new features won’t be added over time, but the benefits of more code must be weighed against the benefits of less:
7979

8080
* Less code is easier to maintain.
8181
* Less code means fewer bugs.
@@ -91,10 +91,10 @@ This code is not littered with comments that are intended to generate documentat
9191

9292
## Features
9393

94-
If this entire library is implemented in just 500 lines of code, why should you use it at all vs. writing your own library that suits your needs? If you feel inspired to do that, don’t let me discourage you, but this library has some advanced features that may not be apparent without diving into the code:
94+
If this entire library is implemented in just 750 lines of code, why should you use it at all vs. writing your own library that suits your needs? If you feel inspired to do that, don’t let me discourage you, but this library has some advanced features that may not be apparent without diving into the code:
9595

9696
* OAuth 1.0 Revision A
97-
* OAuth 2.0 Bearer Token
97+
* OAuth 2.0
9898
* Thread safety
9999
* HTTP redirect following
100100
* HTTP proxy support

lib/x/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
module X
44
# The current version of the X gem
5-
VERSION = Gem::Version.create("0.17.0")
5+
VERSION = Gem::Version.create("0.18.0")
66
end

0 commit comments

Comments
 (0)