Skip to content

Releases: gebn/Brush

Brush v1.2.0

27 Feb 20:56
v1.2.0
b6a53f8
Compare
Choose a tag to compare

This is a minor release, fully compatible with v1.0.x.

Improvements

  • Update languages list.

Bug fixes

  • Update scrape-formats.php which was broken by a Pastebin website update.

Brush v1.1.0

28 Sep 22:10
v1.1.0
f587bfd
Compare
Choose a tag to compare

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's hasCustomAvatar() method always returning false, due to the default Pastebin avatar URL changing.

Brush v1.0.2

20 Feb 14:11
v1.0.2
c077f7f
Compare
Choose a tag to compare

This is a minor release, fully compatible with v1.0.x.

Improvements

  • Added new formats:
    • Ceylon
    • Kotlin
    • Markdown

Brush v1.0.1

12 Jul 10:51
Compare
Choose a tag to compare

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 than ups.

Brush v1.0.0

25 Feb 00:20
Compare
Choose a tag to compare

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

15 Nov 01:21
Compare
Choose a tag to compare

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

11 May 23:44
Compare
Choose a tag to compare

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's getPastes() 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 than array[string]).

Bug fixes

  • Fixed old namespaces in \Brush\Pastes\Options\Format.
  • Corrected various spelling errors in documentation.

Brush v0.11

23 Oct 20:26
Compare
Choose a tag to compare

This is a minor release that is fully compatible with Brush v0.1.

Improvements

Changes

  • If a user has not set their website URL in their settings on the Pastebin website, Brush\Accounts\User's getWebsiteUrl() method will now return null 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's getName() method.

Brush v0.1

14 Sep 15:42
Compare
Choose a tag to compare

Initial stable release.