Add some missing dependencies and test dependencies.
1.1
~~~
Breaking changes:
* Drop support for Python 3.3. (#358)
* Drop support for Python 3.4. (#421)
Deprecations:
* Deprecate the ``html5lib`` sanitizer (``html5lib.serialize(sanitize=True)`` and
``html5lib.filters.sanitizer``). We recommend users migrate to `Bleach
<https://github.com/mozilla/bleach>`. Please let us know if Bleach doesn't suffice for your
use. (#443)
Other changes:
* Try to import from ``collections.abc`` to remove DeprecationWarning and ensure
``html5lib`` keeps working in future Python versions. (#403)
* Drop optional ``datrie`` dependency. (#442)
Move this over from pkgsrc-wip.
Introducing `Routinator 3000,' RPKI relying party software written
in Rust. If you have any feedback, we would love to hear from you.
Don't hesitate to create an issue on Github or post a message on
our RPKI mailing list. You can lean more about Routinator and RPKI
technology by reading our documentation on Read the Docs.
RMagick 4.2.3 (2021-10-10)
Bug Fixes
* Re-add block syntax deprecation warning and fix in RMagick source (#1279)
(#1280)
* Doc: Replace Magick::Montage with Magick::ImageList::Montage (#1281)
* Update shadow example (#1297)
* Escape the backslashes in windows error message (#1298)
* Also set the alpha value of the target pixel (#1299)
* Set alpha_trait to BlendPixelTrait when the alpha value of the pixel is
not opaque. (#1300)
1.124.0 (2021-10-28)
What's Changed
* Adyen: Add ACH Support by @almalee24 in #4105
* Paysafe: Adjust profile data by @meagabeth in #4112
* StripePaymentIntentsGateway: Add GSF claim_without_transaction_id by
@BritneyS in #4111
* RouteX: Support cardtype by @rachelkirk in #4115
* Routex: cardtype changelog fix by @rachelkirk in #4117
* Moka: make sure month is always two digits by @dsmcclain in #4118
* dlocal: Add device_id and ip to payer object and add additional_data by
@aenand in #4116
* Orbital: Scrub Payment Cryptogram by @naashton in #4121
* Paysafe: Add support for airline fields by @meagabeth in #4120
* Stripe and Stripe PI: Add Radar Session Option by @tatsianaclifton in
#4119
* PayArc: handle requests when billing_address is not present by @dsmcclain
in #4114
* Add UnionPay test card to BIN range by @leahriffell in #4122
* Global Collect: Support URL override by @naashton in #4127
* PayConex: scrub bank account info from transcripts by @mbreenlyles in
#4128
* Moka: Remove additional transaction data from subsequent calls by
@naashton in #4129
* Moka: Ensure CvcNumber can be an empty string by @jessiagee in #4130
* Fixup PR #4122 Add UnionPay test card to BIN range by @leahriffell in
#4132
* Maestro: allow card lengths for non-validated cards by @therufs in #4131
* Make "set" required by credit_card_methods.rb by @InPermutation in #4133
* Moka: Pass Currency on Capture transactions by @dsmcclain in #4134
* Paysafe: Update supported countries by @meagabeth in #4135
* Paysafe: Update field mapping for split_pay by @meagabeth in #4136
* SafeCharge: Account for non-fractional currencies by @dsmcclain in #4137
* CardStream: Support passing country_code in request by @dsmcclain in #4139
* Adyen: Adjust phone number mapping by @aenand in #4138
* MIT: Change how parameters are converted to JSON by @tatsianaclifton in
#4140
* Stripe: add account_number to scrubbing by @aenand in #4145
* Stripe PI: add name on card to billing details & do some refactoring by
@dsmcclain in #4146
* Updating CHANGELOG to remove conflict by @jessiagee in #4148
* TrustCommerce: Scrub bank account info by @mbreenlyles in #4149
* TransFirst: add acctNr to scrubbing by @aenand in #4152
* Paysafe: Update supported countries list by @meagabeth in #4154
* Add Support for Submerchant Data on Worldpay by @almalee24 in #4147
* dLocal: Update supported countries list by @mbreenlyles in #4155
* Nuvei (SafeCharge): Add support for email field in capture by @rachelkirk
in #4153
* Paysafe: Remove invalid code by @meagabeth in #4156
* NMI: Add descriptors by @ajawadmirza in #4157
* Add bank account info scrubbing tests for multiple gateways by @aenand in
#4159
* Moka: send correct amount in refund by @dsmcclain in #4160
* GlobalCollect: Append URI to the URL by @naashton in #4162
* Adyen: Add external platform information by @aenand in #4163
* Payflow: use proper case for 3DS 2.x element names by @bbraschi in #4113
* Realex: Add stored credential support by @dsmcclain in #4170
* Moka: add Installment field by @dsmcclain in #4172
* Payflow: include AuthenticationStatus with 3DS 2.x by @bbraschi in #4168
* Release 1.124.0 by @bbraschi in #4175
New Contributors
* @aenand made their first contribution in #4116
* @ajawadmirza made their first contribution in #4157
2.5.1 (20 October 2021)
* Restores support for namespaces that are not hashable. For example
namespaces that override the hash method with a different arity as shown
in #188.
2.5.0 (20 October 2021)
Breaking changes
* Requires Ruby 2.5.
* Deletes the long time deprecated preload API. Instead of:
loader.preload("app/models/user.rb")
just reference the constant on setup:
loader.on_setup { User }
If you want to eager load a namespace, use the constants API:
loader.on_setup do
Admin.constants(false).each { |cname| Admin.const_get(cname) }
end
Bug fixes
* Fixes a bug in which a certain valid combination of overlapping trees
managed by different loaders and ignored directories was mistakenly
reported as having conflicting directories.
* Detects external namespaces defined with Module#autoload. If your project
reopens a 3rd party namespace, Zeitwerk already detected it and did not
consider the namespace to be managed by the loader (automatically
descends, ignored for reloads, etc.). However, the loader did not do that
if the namespace had only an autoload in the 3rd party code yet to be
executed. Now it does.
Callbacks
* Implements Zeitwerk::Loader#on_setup, which allows you to configure blocks
of code to be executed on setup and on each reload. When the callback is
fired, the loader is ready, you can refer to project constants in the
block.
See the documentation for further details.
* There is a new catch-all Zeitwerk::Loader#on_load that takes no argument
and is triggered for all loaded objects:
loader.on_load do |cpath, value, abspath|
# ...
end
Please, remember that if you want to trace the activity of a loader,
Zeitwerk::Loader#log! logs plenty of information.
See the documentation for further details.
* The block of the existing Zeitwerk::Loader#on_load receives also the value
stored in the constant, and the absolute path to its corresponding file or
directory:
loader.on_load("Service::NotificationsGateway") do |klass, abspath|
# ...
end
Remember that blocks can be defined to take less arguments than passed. So
this change is backwards compatible. If you had
loader.on_load("Service::NotificationsGateway") do
Service::NotificationsGateway.endpoint = ...
end
That works.
* Implements Zeitwerk::Loader#on_unload, which allows you to configure
blocks of code to be executed before a certain class or module gets
unloaded:
loader.on_unload("Country") do |klass, _abspath|
klass.clear_cache
end
These callbacks are invoked during unloading, which happens in an
unspecified order. Therefore, they should not refer to reloadable
constants.
You can also be called for all unloaded objects:
loader.on_unload do |cpath, value, abspath|
# ...
end
Please, remember that if you want to trace the activity of a loader,
Zeitwerk::Loader#log! logs plenty of information.
See the documentation for further details.
Assorted
* Performance improvements.
* Documentation improvements.
* The method Zeitwerk::Loader#eager_load accepts a force flag:
loader.eager_load(force: true)
* If passed, eager load exclusions configured with do_not_eager_load are not
honoured (but ignored files and directories are).
* This may be handy for test suites that eager load in order to ensure all
files define the expected constant.
* Eliminates internal use of File.realpath. One visible consequence is that
in logs root dirs are shown as configured if they contain symlinks.
* When an autoloaded file does not define the expected constant, Ruby clears
state differently starting with Ruby 3.1. Unloading has been revised to be
compatible with both behaviours.
* Logging prints a few new traces.
3.5.1 (2021-11-08)
Fixes
* Fixed a bug that keep: true is ignored when data set is generated by
block. [Reported by Kenta Murata]
Thanks
* Kenta Murata
3.5.0 (2021-10-18)
Fixes
* Fixed a bug that keep: true is ignored when the last data doesn't have
keep: true.
3.4.9 (2021-10-18)
Improvements
* Added support for labeling each variable values by using Hash.
3.4.8 (2021-10-11)
Improvements
* Added support for omitting Ractor tests on Ruby 2.7 or earlier
automatically.
4.16.0 / (2021-10-27)
o 4 minor enhancements:
* Added Sexp#value (pushed up from ruby_parser).
* Aliased Sexp#concat to #_concat and use that so it can be overridden.
* Cache the #hash result.
* StrictSexp mode (4) now covers concat.
o 3 bug fixes:
* Fix some doco on each_sexp to clarify that it is not recursive.
* Fixed a bug calling enum_for when using each_of_type w/ no block.
* Minor fixes to pt_testcase.rb for custom timeouts and better error
handling.
3.10.3 (2021-11-03)
Bug Fixes:
* Use Mutex#owned? to allow RSpec::Support::ReentrantMutex to work in nested
Fibers on Ruby 3.0 and later. (Benoit Daloze, #503, #504)
* Support end-less methods in RSpec::Support::Source::Token so that RSpec
won't hang when an end-less method raises an error. (Yuji Nakayama, #505)
3.18.0 (2021-10-27)
Holy crap¡Ä 58 commits! 2.7 and 3.0 are feature complete. Strings &
heredocs have been rewritten.
o 9 major enhancements:
* !!! Rewrote lexer (and friends) for strings, heredocs, and %*[]
constructs.
* Massive overhaul on line numbers.
* Freeze input! Finally!!! No more modifying the input string for heredocs.
* Overhauled RPStringScanner. Removed OLD compatibility methods!
* Removed Sexp methods: value, to_sym, add, add_all, node_type, values.
- value moved to sexp_processor.
* Removed String#grep monkey-patch.
* Removed String#lineno monkey-patch.
* Removed string_to_pos, charpos, etc hacks for ancient ruby versions.
* Removed unread_many¡Ä NO! NO EDITING THE INPUT STRING!
o 31 minor enhancements:
* 2.7/3.0: many more pattern edge cases
* 2.7: Added `mlhs = rhs rescue expr`
* 2.7: refactored destructured args (`|(k,v)|`) and unfactored(?!)
case_body/args.
* 3.0: excessed_comma
* 3.0: finished most everything: endless methods, patterns, etc.
* 3.0: refactored / added new pattern changes
* Added RubyLexer#in_heredoc? (ie, is there old_ss ?)
* Added RubyLexer#old_ss and old_lineno and removed much of SSStack(ish).
* Added Symbol#end_with? when necessary
* Added TALLY and DEBUG options for ss.getch and ss.scan
* Added ignore_body_comments to make parser productions more clear.
* Added support for no_kwarg (eg `def f(**nil)`).
* Added support for no_kwarg in blocks (eg `f { |**nil| }`).
* Augmented generated parser files to have frozen_string_literal comments
and fixed tests.
* Broke out 3.0 parser into its own to ease development.
* Bumped dependencies on sexp_processor and oedipus_lex.
* Clean generated 3.x files.
* Extracted all string scanner methods to their own module.
* Fixed some precedence decls.
* Implemented most of pattern matching for 2.7+.
* Improve lex_state= to report location in verbose debug mode.
* Made it easier to debug with a particular version of ruby via rake.
* Make sure ripper uses the same version of ruby we specified.
* Moved all string/heredoc/etc code to ruby_lexer_strings.rb
* Remove warning from newer bisons.
* Sprinkled in some frozen_string_literal, but mostly helped by oedipus
bump.
* Switch to comparing against ruby binary since ripper is buggy.
* bugs task should try both bug*.rb and bad*.rb.
* endless methods
* f_any_kwrest refactoring.
* refactored defn/defs
o 15 bug fixes:
* Cleaned a bunch of old hacks. Initializing RubyLexer w/ Parser is
cleaner now.
* Corrected some lex_state errors in process_token_keyword.
* Fixed ancient ruby2 change (use #lines) in ruby_parse_extract_error.
* Fixed bug where else without rescue only raises on 2.6+
* Fixed caller for getch and scan when DEBUG=1
* Fixed comments in the middle of message cascades.
* Fixed differences w/ symbol productions against ruby 2.7.
* Fixed dsym to use string_contents production.
* Fixed error in bdot2/3 in some edge cases. Fixed p_alt line.
* Fixed heredoc dedenting in the presence of empty lines. (mvz)
* Fixed some leading whitespace / comment processing
* Fixed up how class/module/defn/defs comments were collected.
* Overhauled ripper.rb to deal with buggy ripper w/ yydebug.
* Removed dsym from literal.
* Removed tUBANG lexeme but kept it distinct as a method name
(eg: `def!@`).
pkgsrc change: update HOMEPAGE.
1.1.2 (2021-09-29)
- Dev and test against recent versions of Ruby (2.6+, 3.0+)
- Docker development support
- Remove tests for deprecated 'get_value()' method
- Use Rspec 'expect' in place of 'should'
=== 5.50.0 (2021-11-01)
* Make Migrator :allow_missing_migration_files also allow down migrations
where the current database version is greater than the last migration file
version (francisconeves97) (#1789)
* Fix Model#freeze in composition, serialization, and
serialization_modification_detection plugins to return self (jeremyevans)
(#1788)
* Fix typecasting of lazy columns when using lazy_attributes plugin in model
where dataset selects from subquery (jeremyevans)
* Add :before_preconnect Database option, for configuring extensions loaded
via :preconnect_extensions (MarcPer, jeremyevans) (#1786)
* Change Dataset#columns! to use a LIMIT 0 query instead of a LIMIT 1 query
(jeremyevans)
* Add sql_log_normalizer extension for normalizing logged SQL, helpful for
analytics and sensitive data (jeremyevans)
* Add support for range_merge, multirange, and unnest, and PGMultiRange#op
to pg_range_ops extension (jeremyevans)
* Add pg_multirange extension with support for PostgreSQL 14+ multirange
types (jeremyevans)
=== 5.49.0 (2021-10-01)
* Switch block_given? usage to defined?(yield) (jeremyevans)
* Support table aliases for JOIN USING columns on PostgreSQL 14+
(jeremyevans)
* Support calling PostgreSQL procedures without arguments (jeremyevans)
* Support hstore subscripts in pg_hstore_ops on PostgreSQL 14+, for updating
only part of an hstore value (jeremyevans)
* Support JSONB subscripts in pg_json_ops on PostgreSQL 14+, for updating
only part of a JSONB value (jeremyevans)
* Support SQL::Expression#sequel_ast_transform for custom AST transforms on
arbitrary expressions (jeremyevans)
* Add Database#create_trigger :replace option on PostgreSQL 14+ for CREATE
OR REPLACE TRIGGER (jeremyevans)
* Make auto_validations plugin automatically setup no_null_byte validations
(jeremyevans)
* Add Model#validates_no_null_byte to validation_helpers plugin
(jeremyevans)