Skip to content

Releases: basecamp/console1984

v0.1.22

22 Dec 16:49
v0.1.22
Compare
Choose a tag to compare
  • [FIX] Error when installing migration sin Rails 7.0.0 (official) PR.

v0.1.20

16 Dec 16:32
v0.1.20
6e19d39
Compare
Choose a tag to compare
  • FIX: Error when referencing thread attribute after Rails upgrade [#39]

v0.1.19

02 Nov 15:44
v0.1.19
2ca8b45
Compare
Choose a tag to compare
  • NEW: Add support for Ruby 3 [#37]

Thanks to @lewispb.

v0.1.18

27 Sep 19:46
v0.1.18
444f5cf
Compare
Choose a tag to compare
  • FIX: Don't freeze Active Record connection driver classes. This causes a problem with SQLite in fresh Rails apps and it's not really needed, since extending ActiveRecord classes is prevented by current anti-tampering mechanisms. 355c20a
  • FIX: Don't choke when processing SQL strings with invalid encodings. 2bec352

v0.1.17

24 Sep 12:21
v0.1.17
deedc45
Compare
Choose a tag to compare
  • FIX: Mark invocations to String#constantize that originate in the console as suspicious, unless they do originate in a direct command [#34]

v0.1.15

17 Sep 20:38
v0.1.15
0c45a96
Compare
Choose a tag to compare
  • FIX: Active resource invocations where being wrongly prevented. [#32]

v0.1.14

10 Sep 20:53
v0.1.14
b0f133e
Compare
Choose a tag to compare
  • NEW: Prevent tampering via reopening and altering Parser elements [#31].

v0.1.13

10 Sep 18:13
v0.1.13
07d2d8c
Compare
Choose a tag to compare
  • FIX: Fix class loading problem with ActiveRecord::Relation class. f0a5072

v0.1.12

09 Sep 12:41
v0.1.12
663668f
Compare
Choose a tag to compare
  • FIX: Avoid loading Parser constant unless in a console session. This prevents a "class not found" error when loading console1984 code outside of the console { } hook. 2addc58

v0.1.9

06 Sep 22:22
Compare
Choose a tag to compare
  • [NEW] Additional mechanisms to detect reopening forbidden classes. If a forbidden reopening materializes, it will log the command and force exiting from IRB [#28].

    Take this example:

    def my_constant
      ActiveRecord
    end
    
    class my_constant::Base
      def fake_save!(*args)
        puts "ActiveRecord::Base#save! overridden!"
      end
    end

    This code would skip existing static analysis. With the new system, code will run but will raise an error after new methods are added to the class. Because the code executes it exits immediately from IRB after flagging the command.