1
0

changelog.txt 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. =====================
  2. JokeAPI Changelog
  3. - Version 2.3.2 -
  4. =====================
  5. [Planned for future releases]
  6. - Allow definition of max requests per minute per each client (issue #37)
  7. - Add positive flags and a "?whitelistFlags" param (issue #127)
  8. - Add Unit Tests (issue #121)
  9. - Serve docs with nginx to speed up page load times (issue #118)
  10. [CURRENT: 2.3.2] - Joke update
  11. - Added new jokes
  12. - Rewrote the submission script to make it much more streamlined (issue #340)
  13. - Rewrote the add-joke script so it's easier for me to use
  14. - Added a new info script to make working with JokeAPI easier for me
  15. - Added a global CLI interface (issue #344)
  16. - API now adjusts environment-dependent settings automatically (issue #343)
  17. [2.3.1] - The Safe Mode Hotfix, because bugs exist for some reason (PR #214)
  18. - Fixed bug "API Error 500 - Cannot read property 'msBeforeNext' of null" (issue #212)
  19. - Fixed bug where API responded with Error 106 when using format=txt on endpoint /joke (issue #218)
  20. - Re-flagged joke 79 (issue #220)
  21. - API now automatically adds modification date <meta> tag to the docs (issue #223)
  22. - /info endpoint now gives the number of safe jokes per language (issue #224)
  23. - Added dependent jonathanbossenger/devdadjokes (issue #225)
  24. - Added translations to joke submission parser
  25. - Made static content not indexable by web crawlers
  26. [2.3.0] - The Safe Mode Update
  27. - JokeAPI now has its own domain - https://jokeapi.dev/
  28. - Version 2 of the API should be called @ https://v2.jokeapi.dev/ but can also be called with the old domain and https://jokeapi.dev/
  29. - The stage version is @ https://stage.jokeapi.dev/
  30. - Version 3 will be available @ https://v3.jokeapi.dev/
  31. - Implemented safe mode (issue #196)
  32. - Added contributors to the documentation
  33. - Added the blacklist flag "explicit" to filter out jokes containing explicit language
  34. - Improved the documentation a little bit again
  35. - Small sub-headers can now be linked to, too
  36. - Added some unit tests to make JokeAPI more reliable
  37. - Endpoint "/info"
  38. - Endpoint "/langcode/{LANGUAGE}"
  39. - Parameter "safe-mode" on Endpoint "/joke/{CATEGORY}"
  40. - Added a URL parameter to dry-run the /submit endpoint (issue #187)
  41. - API now tells clients how many requests they have left by providing some headers (issue #188)
  42. - Added changelog generation in Markdown format (thanks to Sahithyan Kandathasan / issue #191)
  43. - Changelog link in docs now redirects to the markdown file on GitHub (issue #192)
  44. - Added a few category aliases
  45. - Miscellaneous for Misc
  46. - Coding for Programming
  47. - Development for Programming
  48. - Halloween for Spooky
  49. - Renamed category "Miscellaneous" to "Misc" but kept old name "Miscellaneous" as an alias
  50. - Added two new wrapper libraries
  51. - sv443-joke-api for Node.js / TS (issue #190)
  52. - jokeapi-go for Golang (issue #193)
  53. - Updated C# code example in the docs (issue #207)
  54. - Increased Rate Limiting budgets (issue #208)
  55. - When using GET: from 60 to 120
  56. - When using POST: from 3 to 5
  57. [2.2.2] - The Seasonal Update
  58. - Added some new seasonal categories (issue #180)
  59. - Spooky (Halloween)
  60. - Christmas (thanks for the suggestion Dan)
  61. - Added dependent ToastIT-dev/PoshBot.Joker (issue #173)
  62. - Added a bunch of joke submissions
  63. - Reliability improvements in the documentation (issue #181)
  64. - Added POST as a method to submit data to the API since it makes more sense than PUT (maybe deprecating that some time)
  65. [2.2.1] - Version 2.2 Hotfix
  66. - Added the Czech translation (PR #137) - provided by @ThatCopy (https://github.com/ThatCopy) - thanks :)
  67. - Added a missing conversion mapping when using format `txt` and the `amount` parameter on endpoint `/joke` (issue #138)
  68. - Fixed wrong URLs in the documentation's JavaScript
  69. - Fixed crash when a client asks for a translation that doesn't exist
  70. - Slightly improved the documentation
  71. - Applied a few security patches
  72. [2.2.0] - The Pun Update
  73. - Added joke category "Pun" (issue #105)
  74. - Added "?amount" parameter to joke endpoint so multiple jokes can be fetched at once (issue #126)
  75. - Added support for jokes and error messages of different languages (issue #75)
  76. - /langcode/{LANGUAGE} endpoint
  77. - /languages endpoint
  78. - "?lang=code" URL parameter
  79. - Fixed ID caching (again, sigh) (issue #80)
  80. - Added pm2 custom metrics (issue #91)
  81. - Fixed HTTP 403 errors (issue #96)
  82. - Remade the URL parser using a package (issue #97)
  83. - Daemonized the API token refreshing (issue #102)
  84. - Rate limiting joke submissions more harshly now (issue #104)
  85. - Fixed error where the end of the payload were cut off, thus invalidating JSON (issue #119)
  86. - Joke submission property order is now enforced, improving uniformity (issue #120)
  87. - Joke submissions are now validated to make sure they don't contain fancy Unicode chars (issue #123)
  88. [2.1.5] - 2020 Q3 general patch #2
  89. - Ditched my botched rate limiting package for a "commercial" one (issue #113)
  90. - Added API token section to documentation (issue #114)
  91. - Client now receives a "Token-Valid" header with the value 0 or 1 depending on token validity (issue #115)
  92. - Renamed "X-Auth-Token" header to "Authorization" so requests don't get blocked by Cloudflare (issue #117)
  93. - Cleaned up a lot of code
  94. [2.1.4] - 2020 Q3 general patch #1
  95. - Fixed the IP getter module for like the 500th time now
  96. [2.1.3] - 2020 Q2 general patch #1
  97. - Added option to disable all console output but error messages (issue #72)
  98. - The content of jokes in the joke submission form is now correctly escaped and can no longer mess up the page (issue #68)
  99. - Fixed crash when parsing a malformatted URI (issue #69 (nice))
  100. - Re-flagged some jokes
  101. - Updated dependencies
  102. [2.1.2] - Plain Text update
  103. - Added file format "txt" to receive data as plain text
  104. - Fixed the joke submission URL in the /info endpoint data
  105. - Added HTTP error codes:
  106. - 413 Payload Too Large
  107. - 414 URI Too Long
  108. [2.1.1] - Auth update hotfix
  109. - Fixed incorrect error cause when using an out-of-range ID range parameter (see issue #54)
  110. - Added submission form (https://v2.jokeapi.dev/#submit)
  111. [2.1.0] - The auth update
  112. - Added an authorization header to make whitelisting possible without needing to have a static IP
  113. - Added the script "npm run add-token [amount]" to add one or more tokens
  114. - Improved the documentation (see issue #52)
  115. - Fixed a few bugs in the documentation
  116. [2.0.1] - A few hotfixes for the big 2.0.0 updates and some very very minor features I wanted to add
  117. - Hotfixed a few bugs from the big 2.0.0 update
  118. - Fixed joke ID caching (to not serve the same jokes multiple times)
  119. - Added three new commands that are run through CI and before contributing
  120. - Enabled automated code fixing with ESLint
  121. [2.0.0] - The complete rewrite - JokeAPI was completely rewritten and should now run like 100x better and be more easy to develop and maintain
  122. - Massively improved the "Try it out" section in the docs
  123. - Reformatted the jokes to always contain all flags
  124. - Added support for selecting multiple categories at once (for example: "https://v2.jokeapi.dev/joke/Dark,Miscellaneous/")
  125. - Massive performance improvements:
  126. - The documentation page and some static content are now able to be served with gzip, deflate and brotli encoding, decreasing the required bandwidth and speeding up page loading time
  127. - Reformatted the jokes to have the IDs beforehand, furthermore increasing performance and making it easier to know which joke ID belongs to which joke
  128. - Now the documentation page runs on a daemon, meaning it will only be recompiled if a file has changed, massively improving JokeAPIs perfomance
  129. - Static content like the stylesheet, client-side JS and images will now be loaded separately, through the "static" endpoint, decreasing page load time by an order of magnitude
  130. - Added a few new URL parameters:
  131. - Added the "?type" URL parameter to specify the type of the served joke ("single" or "twopart")
  132. - Added the "?contains" URL parameter to only serve jokes that match the provided search query
  133. - Added the "?idRange" URL parameter to get jokes from a single ID or an ID range (example: "https://v2.jokeapi.dev/joke/Any?id=50-75" or "...?id=15")
  134. - Added the "racist" and "sexist" flags for better filtering of offensive jokes
  135. - IP addresses are now hashed, protecting JokeAPI's users better and making it GDPR/DSGVO compliant
  136. - Added multiple scripts that should be run before contributing to the project / that are run through GitHub's Continuous Integration:
  137. - "npm run reformat" to reformat jokes from the old pre-2.0.0 syntax to the new 2.0.0 syntax
  138. - "npm run reassign-ids" to make sure all jokes have the correct IDs
  139. - "npm run validate-jokes" to make sure all jokes are in the correct format
  140. - "npm run add-joke" to add a joke
  141. - Renamed "category" endpoint to "joke"
  142. - The submission of empty jokes will now be prevented
  143. - Set up a new reverse proxy at "https://sv443.net/jokeapi/v2/" to let people slowly migrate to the new version
  144. - Re-validated all jokes and removed duplicates and re-flagged them
  145. - Added an analytics module that keeps track of everything and makes it possible for me to finally see some (anonymous) usage statistics (complies with the GDPR/DSGVO)
  146. - Joke IDs will now be cached to prevent the same joke from being served multiple times in a row (this is not perfect yet but much better than before)
  147. - The documentation page was completely rewritten and should now be easier to use and more concise
  148. - Updated dependencies and added some new ones
  149. - Updated the contributor guide (contributing.md file)
  150. [1.1.2]
  151. - joke categories are now case insensitive
  152. - trailing slashes now don't produce an "invalid category" error anymore
  153. [1.1.1]
  154. - better IP getter for the rate limiting
  155. - updated dependencies
  156. - very small improvements to the console window
  157. [1.1.0]
  158. - switched to ReadStreams instead of just loading the entire file to RAM to massively improve request performance (more details in issue #2)
  159. - this basically means it transmits the data over time, instead of loading it all to RAM and sending it at once
  160. - added rate limiting to counter DoS attacks (yes I've been getting some of those *sigh*)
  161. [1.0.0]
  162. - turned the single endpoint into multiple endpoints
  163. - "categories" to get all available categories
  164. - "info" to get all information about JokeAPI
  165. - "category/XY" to get a joke
  166. - added flag filter to blacklist certain jokes
  167. - added very sophisticated analytics
  168. - added "Allow" header to all incoming requests to better support preflight requests
  169. - added multiple file format support
  170. - JSON
  171. - XML
  172. - YAML
  173. - added JS and CSS injection into docs page to separate everything into three files (can be expanded to more files if needed)
  174. - fixed minor style glitches on the docs page
  175. - made the HTML and CSS of the docs way better
  176. - "scroll to top" button
  177. - smooth scroll
  178. - anchors to make linking to a certain header possible
  179. - turned "add joke" link into a button and moved it next to "scroll to top" button
  180. - fixed @import's
  181. - updated <meta>'s
  182. - turned "blank_" into "_blank" (sigh)
  183. - added flag filter to interactive example
  184. - did even more internal detail work
  185. - reformatted log files
  186. - clearing certain log files after a threshold is reached
  187. - updated dependencies
  188. - made better and more uniformly formatted error messages
  189. - added this changelog
  190. [0.1.2]
  191. - added "Dark" category
  192. - added joke submission form
  193. - improved interactive example
  194. - modified gitignore
  195. [0.1.1]
  196. - added interactive example on docs page
  197. - made icon on docs page smaller
  198. - added wrapper script
  199. [0.1.0]
  200. - basic functionality
  201. - 47 jokes
  202. - category filter