Releases: gebn/Brush
Releases · gebn/Brush
Brush v1.2.0
Brush v1.1.0
This is a minor release, largely compatible with v1.0.x. It is a minor rather than patch as the change to Expiry::getOffset()
could throw up some surprises.
Improvements
- Added support for 6 month and 1 year paste expiry times. (#5)
- Upgrade all requests to HTTPS to ensure Brush keeps working after the 2017-12-01 deadline. (#6)
Changes
Expiry::getOffset()
now regards a month as 730 hours (30 days, 10 hours) rather than 28 days. This brings it in line with WolframAlpha's definition.
Bug fixes
- Fix
User
'shasCustomAvatar()
method always returningfalse
, due to the default Pastebin avatar URL changing.
Brush v1.0.2
This is a minor release, fully compatible with v1.0.x.
Improvements
- Added new formats:
- Ceylon
- Kotlin
- Markdown
Brush v1.0.1
This is a minor maintenance release fully compatible with v1.0.0.
Improvements
- Added new formats:
- Euphoria
- Filemaker
- Open Object Rexx
- PL/I
- Added convenience
hasCustomAvatar()
method for Pastebin users. - Added
ShowAccountInfo
example. - Added
__toString()
overrides to aid debugging.
Changes
- UPC now carries the code
upc
rather thanups
.
Brush v1.0.0
This release is fully compatible with Brush v0.1x. The key novelties are the ability to retrieve the content of private pastes, and fixes to composer.json
.
Improvements
- To keep up with a recent API improvement, Brush can now retrieve the content of private pastes.
- Implemented formats scraper, allowing
Configuration/formats.ini
to be regenerated automatically. - Updated paste content retrieval to use new endpoint (
/raw/{key}
from/raw.php?i={key}
). - Updated Crackle dependency to latest version.
Changes
- We're now using semantic versioning.
Bug fixes
composer.json
(thanks to @barricas for reporting!).
Brush v0.13
This is a minor release that is fully compatible with Brush v0.1x.
Improvements
- Added nine new formats: b3d, bmx, json, julia, pawn, puppet, sqf, sclang and swift.
- Brush now throws a
ValidationException
if the content of a private paste is requested. Unfortunately this is not currently supported by Pastebin's API. - Made examples more command line friendly.
Changes
- Crackle is now included as a git submodule. Be sure to use
--recursive
when cloning to pull it down.
Bug fixes
- Fixed the txt file extension incorrectly pointing to the None format code. The correct format code is text, which defaults to None.
- Reverted the way paste sizes are calculated. As per the Pastebin website, this is supposed to be the number of bytes in a paste, not the number of characters.
Brush v0.12
This is a minor release that is fully compatible with Brush v0.1 and v0.11.
Improvements
- Made it clearer that the second parameter of
\Brush\Accounts\Account
'sgetPastes()
method is a limit, and the method will return pastes in descending order of date created.
Changes
- Updated PHPDoc to use the correct array syntax (e.g.
string[]
rather thanarray[string]
).
Bug fixes
- Fixed old namespaces in
\Brush\Pastes\Options\Format
. - Corrected various spelling errors in documentation.
Brush v0.11
This is a minor release that is fully compatible with Brush v0.1.
Improvements
- Added support for the 18 new languages added on 22nd October '14.
Changes
- If a user has not set their website URL in their settings on the Pastebin website,
Brush\Accounts\User
'sgetWebsiteUrl()
method will now returnnull
rather than an empty string. - The long name for the dos format has changed from DOS to Batch. This change was introduced by Pastebin as part of the new supported languages update, and only affects developers using
Brush\Pastes\Options\Format
'sgetName()
method.
Brush v0.1
Initial stable release.